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

#12813 [GB] Fix reverse charge VAT sales posting

GB reverse-charge VAT sales posting now correctly handles zero-quantity lines and uses line-based applicability checks instead of header-copied state, with legacy item validation isolated behind the feature flag.

Pull request · merged into main (BC30) on 2026-10-20 by ventselartur · 5 files (+417 -17), 4 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixed reverse-charge calculation to skip zero-quantity sales lines during posting
  • Changed applicability checks to read from the sales line’s posting state rather than a copied header
  • Isolated legacy item flag validation behind the reverse-charge feature status to preserve backward compatibility
  • Added eight regression test scenarios covering feature states, conflicting setups, partial invoicing, thresholds, and edge cases
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13073 into releases/29.x on 2026-10-22

Context

  • Work items: AB#654053
  • Labels: Ownership: Needs Review, Team: Other
  • Systems: sales, administration, finance
  • From the description: “Sales posting still validates legacy item flags, preventing items configured only for GB reverse charge from posting.”

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