• EH Lim

Currency name versus currency code


When adding a Transaction.currency field into the sales invoice or receipt template, it prints the currency code used in the transaction. For example, to print an invoice total of US$1,000, you use:

Transaction.currency+Transaction.gross

The invoice total prints as 'USD1,000.00'.

On the other hand, it may be more appropriate to show the currency name instead of the currency code when converting the invoice total in English. That is, print the invoice total as 'US Dollar One thousand dollar only' is better than showing the currency code 'USD'.

The currency name, such as 'US Dollar', stores in the Off-ledger table, which require to use a Lookup function

Lookup (Transaction.currency, "Offledger.description")

to pull out the currency name.

It prints as 'US Dollar One thousand dollar only' when adding the formula in front of the DollarsToEnglish ( ) function of the Transaction.gross.

Lookup (Transaction.currency, "Offledger.description") + " " + DollarsToEnglish (Transaction.gross)

You may refer to the MoneyWorks user guide to have more information on form design and formula use.

Sign up a free demo to find out how MoneyWorks accounting software helps manage your business finance more efficiently.

#Macaccountingsoftware #MoneyWorksAccountingSingapore #Cloudbasedaccountingsystems #Template

9 views

Visit

33 Ubi Avenue 3 #07-50 VERTEX (Tower A) Singapore 408868 

Call

T: +65 6634 6065

F: +65 6337 2616

  • facebook

© 2013 by

LedgerWorks Pte Ltd

Proudly made by Wix.com