Hi All,
How to convert decimal to text field in business central, I tried this code ( FORMAT() ) but the result appear (0.00) in QR Code.
Hi All,
How to convert decimal to text field in business central, I tried this code ( FORMAT() ) but the result appear (0.00) in QR Code.
Hi, As mentioned above, the "Amount Including VAT" field in the SalesHeader table is FlowField.
When you read its value in a report, you need to use Record.CalcFields(Any [, Any,...]) Method or Record.SetAutoCalcFields([Any,...]) Method.
Hope this will help.
Thanks.
ZHU
Check your "Amount Including VAT" if it is a value or a flowfield.
If it is a flowfield, you need to call calcfields beforehand.
CALCFIELDS("Amount Including VAT");
Is it a flowfield you are getting the decimal value from?
And if so, have you run calcfileds ?
Hi NorthW,
Thank you for response,I tried this code But the result is zero.
I would try the standard format 9.
format(Amount,9)