code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#12551 [Main]- Since Business Central 28.4, we have observed changed behaviour when the VAT Prod.

Fixes a change in Sales Line behaviour around the VAT Prod. field that has been observed since Business Central 28.4. The same one-line change is made to table 37 Sales Line in 12 layers, and new tests are added for documents with prices including VAT.

Pull request · merged into main (BC30) on 2026-10-15 by DeepsShukla · 14 files (+96 -12), 12 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixes a regression in Sales Line behaviour related to the VAT Prod. field, seen since version 28.4
  • The same one-line change is applied to table 37 Sales Line in 12 layers
  • Adds tests to the ERM Prices Incl. VAT Doc test codeunits for W1 and ES
  • Behaviour changes for users or extensions.

AL objects touched

  • Table 37 “Sales Line”, Base Application: modified
  • src/Layers/BE/BaseApp/Sales/Document/SalesLine.Table.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#652465
  • Labels: Team: SCM
  • Systems: sales

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