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

#14283 [Master]-Sales or purchase order with 100% prepayment: Prepmt. Line Amount drifts below Prepmt. Amt. Inv. after partial invoices, so the order can't be released or posted

Prepayment line amount drift is fixed for sales and purchase orders with 100% prepayment by correcting rounding calculations after partial invoicing, allowing orders to be released and posted successfully.

Pull request · merged into main (BC30) on 2026-11-20 by neeleshsinghal · 30 files (+616 -116), 26 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Prepmt. Line Amount no longer drifts below Prepmt. Amt. Inv. after partial invoices on orders with 100% prepayment
  • Such sales and purchase orders can be released and posted again
  • Sales Line and Purchase Line tables changed in W1 and many country layers
  • Full prepayment rounding tests added for sales and purchases in the W1 and NA layers
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#659616
  • Labels: Team: SCM
  • Systems: purchasing, sales

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

  • Create prepayment invoices — possibly related: Create prepayment invoices explains prepayment setup and invoicing for sales orders. (model-linked)
  • Invoice prepayments — possibly related: Invoice prepayments covers prepayment invoicing and credit memo processing. (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).