---
id: change/bcapps/10216
type: change
title: "#10216 Fix Purchase Journal document amount decimal formatting"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page purchase journal
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:03.746Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 530a10648f985569ef20750a5ab68c5292b8ae98
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10216
    title: "microsoft/BCApps#10216: Fix Purchase Journal document amount decimal formatting"
    date: "2026-08-13"
    commit: 530a10648f985569ef20750a5ab68c5292b8ae98
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/254
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10216
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10216
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-13T13:04:50Z"
author: PredragMaricic
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 8
  additions: 8
  deletions: 0
  al: 8
apps:
  - Base Application
objects_touched:
  - key: page/254
    page: page/254
    type: page
    id: 254
    name: Purchase Journal
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Finance/GeneralLedger/Journal/PurchaseJournal.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 642737
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #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](https://github.com/microsoft/BCApps/pull/10216) · 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"](../../objects/page/254.md), 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).
