ericrsmith35 / DatatableV2

28 stars 24 forks source link

Added multicurrency support #70

Open Novarg1 opened 3 years ago

Novarg1 commented 3 years ago

Added a query with convertCurrency function and replaced currency fields with these new values to show currency fields in the user's currency in the datatable.

Example: we had an opportunity with amount 100k and currency RUB. When viewing it as a user with EUR currency, we would see amount as "RUB 100,000.00 (EUR 1,106.31)", but when seeing this opp in the DatatableV2, we would see the Amount as "€100,000.00". After this change, the DatatableV2 shows the amount as "€1,106.31"

ericrsmith35 commented 3 years ago

Thank You, this has been implemented in Datatable Version 3.1.1. https://unofficialsf.com/datatable-lightning-web-component-for-flow-screens-2/

ericrsmith35 commented 3 years ago

@Novarg1 How do you suggest we update this to support "read-only" currency fields such as rollup summaries?