code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#14579 [29.x][Genrate Lines from Allocation Account Line leaves incorrect Non-deductible VAT amounts when Prices Including VAT is enabled.

Fixed a bug where generating purchase lines from allocation account entries calculated incorrect non-deductible VAT amounts when prices include VAT.

Pull request · merged into releases/29.x (BC29) on 2026-11-27 by Shikhverma · 6 files (+502 -4), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Corrects non-deductible VAT calculation in purchase allocation account line generation
  • Issue occurred specifically when prices including VAT mode was enabled
  • Fix applied to Purchase Allocation Account Management codeunit
  • Test coverage added across multiple localization layers (W1, IT, NL, NO)
  • Affects the allocation account feature for purchase transactions
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#660780
  • 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.”

No source states these links: they share an object, a model read them, or a person found the same subject.

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).