Amount in Text on Documents

Hello Support Team,

we came across a request to spell an amount (on an invoice total,but could be any field) in Text.

For example, instead of visualising this like a number, it would be visualised as a text, so “150” will be “One Hundred Fifty”.

Just wondering if anyone has come across this request before or if you have any solution to suggest.

Also, could this be language dependant?

Thanks a lot!

Hi Pierluigi,

Thank you for your question, and welcome to our community!

If I understand correctly, you want to implement similar functionality to what is used on the check report:

In that case, using an X++ approach would be the most straightforward solution. There’s a built-in method called Global::numeralsToTxt() that converts numbers to words. You can read more about it here:
:link: https://360dynamics.blogspot.com/2017/09/dynamics-ax-x-code-amount-to-word.html

You can use this method to create a custom data field (e.g., @AmountInWords), which you can then expose and use in your invoice template with Docentric.

To implement this, you’ll need assistance from a developer or your implementation partner.

Wishing you a great day!

1 Like