I am trying to do a currency conversion and get this error :
var convertedAllowedAmount = allowedAmount.ConvertCurrency(tempNodeResults.GetFirst().totalExpenseinOneCurrency.currencyCode);
parameter type currencyCode(Basis.global) is not valid.
In the above statement both allowedAmount and totalExpenseinOneCurrency are of type Amount.
Not sure what is the issue.
Regards,
Kapil Pokharna