#11815 Improvements to E-Documents PO matching (E2E findings)
E-Documents PO matching now correctly handles draft page warnings based on receipt status, prevents match state cleanup issues when resetting drafts, and shows finalized matches in the draft view for better visibility.
- 7files
- 6AL files
- 6objects
Pull request · merged into main (BC30) on 2026-09-24 by mynjj · 7 files (+557 -94), 6 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Draft page warnings update dynamically when draft changes through OnAfterGetCurrRecord
- Exceeded Quantity Received warning no longer appears for lines with Receipt on Invoice enabled
- DeleteAll trigger properly executes when resetting drafts to clean up PO matching state
- New finalized PO match table stores completed matches for informational display in draft without affecting matching logic
- Behaviour changes for users or extensions.
AL objects touched
- Page 6183 “E-Doc. Purchase Draft Subform”, EDocument: modified
- Table 6100 “E-Document Purchase Header”, EDocument: modified
- Table 6117 “E-Doc. Finalized PO Match”, EDocument: added
- Codeunit 6196 “E-Doc. PO Matching”, EDocument: modified
- Codeunit 6234 “E-Doc. Purchase Draft Utility”, EDocument: modified
- Codeunit 5831 “PO Matching”, Base Application: modified
Also merged into
- #11816 into
releases/29.xon 2026-09-25
Context
- Work items: AB#635078, AB#648156, AB#649804, AB#649808
- Labels: AL: Apps (W1), Ownership: Manual, Team: Finance
- Systems: integration, inventory
- From the description: “The warning for “Exceeded Quantity Received” shouldn’t show when matching against a line that has set “Receipt on Invoice””
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).