LightningFlowComponents
LightningFlowComponents copied to clipboard
Datatable - Inconsistent Currency Display
Steps to reproduce
Steps to reproduce the behavior:
- Org with advanced currency management
- Record currency different than user currency
By default with data table, currency fields always display the € (EUR), even when the record is in CHF (not showed in video). A “Special Type Attributes” was used to enforce record currency display.
When displaying records from a Get Record element, behavior is inconsistent (see video)
- Sometimes, the correct currency is shown.
- Other times, it defaults to the user currency. This occurs even when using ‘Automatically store all fields’.
Workaround:
- Adding records from the same Get Record element to a new collection via an Assignment step seems to correct the currency display in the data table.
Screenshots
In the error below: My user is in EUR and I view a record in CHF. Here is the QLI displayed correctly from the Standard Lightning UI:
Video of bug and solution: https://app.screencast.com/jwR0JK1nCRjSd
I'm not sure why the extra assignment makes a difference, but I'm glad you have a wrokaround.