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

#12306 Warn before releasing a purchase order that was already sent electronically

A warning now appears when releasing a purchase order that was already electronically sent, preventing silent re-export of the same e-document with the same identifier that would later cause conflicts.

Pull request · merged into main (BC30) on 2026-10-07 by Explorer986 · 3 files (+268 -2), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Adds a confirmation prompt when releasing a purchase order that already has a sent e-document
  • The first release and retries after a failed export stay silent
  • Prevents quiet re-export with the same cbc:ID, which later caused duplicate external document number errors for the receiver
  • Stopgap until Peppol OrderChange, which is not supported yet, is available
  • Internal change only: one local procedure, one label and one call in an existing subscriber
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#648951
  • Labels: AL: Apps (W1), Ownership: Manual, Team: Finance
  • Systems: integration
  • From the description: “Releasing an order that already has a sent e-document now asks first, so they can back out.”

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