Currently in Ifrs17/Utils/Queries/3.2 (Current Yield Curve) the check for yield curve data by currency is done so:
if (!loadedYc.TryGetValue(key.ContractualCurrency, out var currentYcDict))
ApplicationMessage.Log(Error.YieldCurveNotFound, key.ContractualCurrency, args.Year.ToString(), args.Month.ToString());
foreach(var dn in dnByValAppContrCurrYcName[key])
currentYieldCurveByGoc[dn] = loadedYc[key.ContractualCurrency];
which gives an error at compile time.
Possible solution would be to create some fake data for that currency so that the computations run, and then the ActivityLog displays the correct error.
Currently in Ifrs17/Utils/Queries/3.2 (Current Yield Curve) the check for yield curve data by currency is done so:
if (!loadedYc.TryGetValue(key.ContractualCurrency, out var currentYcDict))
ApplicationMessage.Log(Error.YieldCurveNotFound, key.ContractualCurrency, args.Year.ToString(), args.Month.ToString());
foreach(var dn in dnByValAppContrCurrYcName[key])
currentYieldCurveByGoc[dn] = loadedYc[key.ContractualCurrency];
which gives an error at compile time.
Possible solution would be to create some fake data for that currency so that the computations run, and then the ActivityLog displays the correct error.