Formula Field to convert transaction line foreign currency using transaction date

时间:2019-04-16 23:04:12

标签: netsuite

I'm specifically trying to use the SuiteAnalytics Workbook to create a transaction report. We are a OneWorld account with multiple currencies and multiple subsidiaries. I want a list of all transactions from a list of specific currencies from 2018 and I want to convert all those different currencies to euro based on the transaction date, not just a random date selected in the Convert To window in the workbook columns.

The formula I'm using is: TO_NUMBER({transactionlines.foreignamount#converted[4;2018-12-31]})

I've tried replacing 2018-12-31 with trandate and I get an unsupported element error. I tried adding {} around trandate and that didn't work. I've tried nesting a formula to convert trandate to a date with something like TO_NUMBER(TO_CHAR(trandate)) and that also didn't work.

I was expecting that replacing the date in the formula (2018-12-31) to be the field id (trandate) that it would result in a dynamic conversion dependent on that transaction's date, but I cannot get the syntax correct. Or this just isn't possible with formula fields.

0 个答案:

没有答案