code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#10216 Fix Purchase Journal document amount decimal formatting

The Purchase Journal page now refreshes its Document Amount field formatting when a vendor is validated, so it immediately reflects the correct decimal-place settings from the vendor's currency instead of retaining the previous format.

Pull request · merged into main (BC30) on 2026-08-13 by PredragMaricic · 8 files (+8 -0), 8 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Validating a vendor updates the journal line’s currency but the page did not refresh the field format
  • Document Amount field uses Currency Code as its auto-format expression
  • Page now refreshes without saving after account validation so the field immediately applies the vendor currency’s decimal-place settings
  • Change applied to W1 and all localized versions
  • Existing test verifies three-decimal values are preserved correctly
  • Behaviour changes for users or extensions.

AL objects touched

  • Page 254 “Purchase Journal”, Base Application: modified
  • src/Layers/APAC/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot
  • src/Layers/CH/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot
  • src/Layers/ES/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot
  • src/Layers/FI/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot
  • src/Layers/IT/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot
  • src/Layers/NO/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot
  • src/Layers/RU/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#642737
  • Labels: Team: Finance
  • Systems: finance

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).