LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

Datatable - Inconsistent Currency Display

Open CamilleGuillory opened this issue 10 months ago • 1 comments

Steps to reproduce

Steps to reproduce the behavior:

  1. Org with advanced currency management
  2. 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:

Image

Video of bug and solution: https://app.screencast.com/jwR0JK1nCRjSd

CamilleGuillory avatar Feb 26 '25 10:02 CamilleGuillory

I'm not sure why the extra assignment makes a difference, but I'm glad you have a wrokaround.

ericrsmith35 avatar Feb 26 '25 14:02 ericrsmith35