Dhiraj Gore
12/07/2020, 11:24 AMscottvonduhn
12/07/2020, 1:27 PMDhiraj Gore
12/07/2020, 1:34 PMscottvonduhn
12/07/2020, 1:39 PMamt?currency
is the easiest way, but will always use your account’s base currency, so probably not helpful here. nsformat_currency(amt)
may help, but only if this is a transaction and the currency is set correctly on the transaction. It sounds like you are using something else, like a country or locale setting, so again, that may not help.
And yes, if you are not actually changing the currency value on the estimate from USD to something else, it will remain in USD. The easiest, and best way is to actually change the currency on the estimate if you can, then you avoid a lot of unnecessary work, as you can leverage the native currency formatting in NetSuite to do things correctly for you. Maybe you can set the currency using your user event script?Dhiraj Gore
12/07/2020, 1:46 PMscottvonduhn
12/07/2020, 1:46 PMDhiraj Gore
12/07/2020, 1:47 PMscottvonduhn
12/07/2020, 1:48 PMDhiraj Gore
12/07/2020, 1:49 PMscottvonduhn
12/07/2020, 1:50 PMDhiraj Gore
12/07/2020, 1:50 PMDhiraj Gore
12/07/2020, 1:51 PMscottvonduhn
12/07/2020, 1:52 PMscottvonduhn
12/07/2020, 1:53 PMDhiraj Gore
12/07/2020, 1:55 PMDhiraj Gore
12/07/2020, 1:56 PMDhiraj Gore
12/07/2020, 1:56 PMscottvonduhn
12/07/2020, 2:22 PMDhiraj Gore
12/07/2020, 2:24 PMDhiraj Gore
12/07/2020, 2:25 PMDhiraj Gore
12/07/2020, 2:25 PMscottvonduhn
12/07/2020, 2:26 PMscottvonduhn
12/07/2020, 2:26 PMDhiraj Gore
12/07/2020, 2:26 PMscottvonduhn
12/07/2020, 2:26 PMDhiraj Gore
12/07/2020, 2:26 PMscottvonduhn
12/07/2020, 2:27 PMDhiraj Gore
12/07/2020, 2:27 PMscottvonduhn
12/07/2020, 2:27 PMscottvonduhn
12/07/2020, 2:28 PMDhiraj Gore
12/07/2020, 2:28 PMDhiraj Gore
12/07/2020, 2:28 PMscottvonduhn
12/07/2020, 2:28 PM<#setting number_format=",##0.00">
to set the number format just once, at the top of the document, based on the country selectedscottvonduhn
12/07/2020, 2:29 PMamt?string.number
on your number valuesscottvonduhn
12/07/2020, 2:29 PMDhiraj Gore
12/07/2020, 2:30 PMscottvonduhn
12/07/2020, 2:30 PMDhiraj Gore
12/07/2020, 2:32 PMDhiraj Gore
12/07/2020, 2:32 PMscottvonduhn
12/07/2020, 2:33 PMDhiraj Gore
12/07/2020, 2:34 PMscottvonduhn
12/07/2020, 2:35 PMDhiraj Gore
12/07/2020, 2:35 PMscottvonduhn
12/07/2020, 2:35 PMscottvonduhn
12/07/2020, 2:35 PMscottvonduhn
12/07/2020, 2:36 PM<#else if record.pdf_countryc?matches('US|CA', 'i')>
Dhiraj Gore
12/07/2020, 2:37 PMDhiraj Gore
12/07/2020, 2:38 PMscottvonduhn
12/07/2020, 2:38 PMDhiraj Gore
12/07/2020, 2:38 PMmichoel
12/07/2020, 4:59 PMDhiraj Gore
12/08/2020, 9:49 AMscottvonduhn
12/08/2020, 2:38 PMDhiraj Gore
12/09/2020, 6:29 AMDhiraj Gore
12/09/2020, 6:30 AMDhiraj Gore
12/09/2020, 6:30 AMDhiraj Gore
12/09/2020, 6:30 AMscottvonduhn
12/09/2020, 2:08 PM