Hi Guys,
I have a question regarding the Dynamics NAV Standard Check,
I'm Having trouble formatting the Amount in words Part of the check, since the requirement is to remove the 0/100
if the amount in payment journal Lines, has no decimal value
to be exact.
if the amount is 1000.00 the amount in words should be
-ONE THOUSAND (Currency) ONLY
and if the amount is 1000.25
- ONE THOUSAND AND 25/100 (CURRENCY) ONLY
hope someone knows how to edit the code for the report 1401
for this scenario
Thanks in advance.
have a nice day
0
Comments
In this Function, you will find
AddToNoText(NoText,NoTextIndex,PrintExponent,(FORMAT(No * DecimalPosition) + '/' + FORMAT(DecimalPosition)));
You can check If No = 0.00 then set the it to blank as
AddToNoText(NoText,NoTextIndex,PrintExponent,' ')
Hope it helps ! Do not forget your documentation.
Hi imclever1205
Thank you for this, bit late to receive the notification on this forum. I totally forgot how to mark your comment as answer. thank you very much!