I'm trying to get the string formatting of currenc...
# suitescript
j
I'm trying to get the string formatting of currencies that aren't our base currency from a scripted search of invoices. Our base is USD, but we also deal with EUR and CHF. The 'fxamount' column returns a string 12345.00, in CHF that should be formatted 12'345.00.
format.format({value: '12345.00', type: format.Type.CURRENCY});
Returns '12,345.00' which looks like USD formatting. Is there a way to get the formatting of the currency record via script?