#13171 [Fixed Assets] Prevent change of FA Posting group after acquisition and FA journal cancellation line with empty Document No.
Two Fixed Assets bugs are fixed: FA Posting Group field is now protected after acquisition posting, and FA journal cancellation creates a valid document number when the batch is not empty.
- 12files
- 8AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-27 by dcenic · 12 files (+863 -0), 8 AL · fix · tier official · reviewed (checked by Opus)
What changed
- FA Posting Group validation now blocks changes after acquisition cost is posted, preventing G/L account mismatch
- New CheckFAPostingGroupChangeAfterAcquisition validation prevents unguarded posting group modification
- Cancel FA Ledger Entries now uses the last batch line’s document number when creating cancellation entries in non-empty batches
- Fixes applied across W1 and localized versions (DACH, FR, GB, RU)
- Comprehensive test cases added to verify both correction scenarios
- Behaviour changes for users or extensions.
AL objects touched
- Table 5612 “FA Depreciation Book”, Base Application: modified
- Codeunit 5624 “Cancel FA Ledger Entries”, Base Application: modified
src/Layers/FR/BaseApp/FixedAssets/FixedAsset/CancelFALedgerEntries.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/RU/BaseApp/FixedAssets/FixedAsset/CancelFALedgerEntries.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#651299, AB#651316
- Labels: Team: Finance
- Systems: fixed-assets
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Depreciate or amortize FA — possibly related: touches Codeunit 5624 “Cancel FA Ledger Entries”
- Depreciation bonus in Russia — possibly related: touches Codeunit 5624 “Cancel FA Ledger Entries”
- Preview Posting Results — possibly related: Documents posting preview and ledger entry posting functionality for journals. (model-linked)
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).