#14481 [Main] Generate Lines from Allocation Account Line leaves incorrect Non-deductible VAT amounts when Prices Including VAT is enabled.
Fixed a bug where generating lines from allocation account lines produced incorrect non-deductible VAT amounts when prices including VAT was enabled.
- 6files
- 2AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-26 by Shikhverma · 6 files (+502 -4), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Non-deductible VAT amounts are now correct when lines are generated from an allocation account line with Prices Including VAT enabled
- Fix made in codeunit Purchase Alloc. Acc. Mgt. in the W1 and ES layers
- Applies to purchase documents
- End-to-end tests added for the W1, IT, NL and NO layers
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 2679 “Purchase Alloc. Acc. Mgt.”, Base Application: modified
src/Layers/ES/BaseApp/Finance/AllocationAccount/Purchase/PurchaseAllocAccMgt.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#658146
- Labels: Team: Finance
- Systems: finance
- From the description: “Generate Lines from Allocation Account Line leaves incorrect Non-deductible VAT amounts when Prices Including VAT is enabled.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Set Up Nondeductible VAT in Business Central — possibly related: Documents nondeductible VAT setup and configuration in purchase transactions. (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).