#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.
- 30files
- 26AL files
- 2objects
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
- Table 39 “Purchase Line”, Base Application: modified
- 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#659616
- Labels: Team: SCM
- Systems: purchasing, sales
Possibly related
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).