Embarassing... I can`t figure out the solution myself. I also searched the forum and found similar postings but none of them could help me either.
I get following error message:
"Type conversion is not possible because 1 of the operators contains an invalid type.
Code + Decimal"
What I try to do:
Report: Sales Invoice
New Variable: CurrCode
I fill this variable with the corresponding currency code symbol.
I want to show the amount as
CurrCode + Amount
SourceExpr: CurrCode+"Sales Invoice Line"."Amount Including VAT"
and then I get the error message which I understand.
I tried different DataTypes for CurrCode
I also tried FORMAT and EVALUATE but I can`t make it work...
0
Answers
the problem with your solution is, that it does not print two decimal places any more. It just prints the actual decimal places - and if there aren`t any then none get printed:
e. g.
€ 63
or
€ 63,1
or
€ 63,11
But it should always print two decimal places.
This is a very elegant solution and it works fine!
http://www.BiloBeauty.com
http://www.autismspeaks.org