code change · fixPurchasing & Payablesofficial - Microsoftreviewed - checked by Opus

#10176 [Main][all-e]Prepayment Invoice and Quantity Change Issue in Business Central

Fixes an issue with prepayment invoices when the quantity is changed on purchase or sales lines. Purchase Line and Sales Line tables were updated in many localization layers, and tests were added.

Pull request · merged into main (BC30) on 2026-08-21 by Shikhverma · 28 files (+152 -26), 26 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixes prepayment invoice handling when line quantities change
  • Purchase Line updated in APAC, BE, CH, DACH, ES, FI, GB, IT, NA, NL, NO, RU, SE and W1
  • Sales Line updated in the same layers except DACH and NL
  • Prepayment tests added in the W1 and RU layers
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646718
  • Labels: Team: SCM
  • Systems: purchasing, 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).