code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

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

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

Also merged into

  • #11816 into releases/29.x on 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).