code change · fixSales & Receivablesofficial - Microsoftreviewed - checked by Opus

#8183 Handle failure to manually create E-Document from posted doc with no …

E-Document creation now correctly reports failure when a posted document cannot be converted to an e-document instead of incorrectly showing a success message.

Pull request · merged into main (BC30) on 2026-07-14 by georgepomazkov (community contribution) · 11 files (+89 -23), 11 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • CreateEDocumentFromPostedDocumentPage now returns whether the e-document was actually created
  • The creation result is passed back through the export and processing codeunits
  • When creation fails, users see ‘The e-document could not be created.’
  • Fixes the false success message when creation failed without an explicit error, for example for an unsupported document type
  • Posted document page extensions updated to act on the result
  • Behaviour changes for users or extensions.

AL objects touched

Context

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