#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.
- 11files
- 11AL files
- 11objects
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
- Page extension 6149 “E-Doc. Issued Fin. Charge Memo”, EDocument: modified
- Page extension 6148 “E-Doc. Issued Reminder”, EDocument: modified
- Page extension 6145 “E-Doc. Posted Sales Cr. Memo”, EDocument: modified
- Page extension 6144 “E-Doc. Posted Sales Inv.”, EDocument: modified
- Page extension 6103 “E-Doc. Posted Sales Shipment”, EDocument: modified
- Page extension 6143 “E-Doc. Posted Service Cr. Memo”, EDocument: modified
- Page extension 6142 “E-Doc. Posted Service Inv.”, EDocument: modified
- Page extension 6106 “E-Doc. Posted Transfer Shpmnt.”, EDocument: modified
- Codeunit 6102 “E-Doc. Export”, EDocument: modified
- Codeunit 6108 “E-Document Processing”, EDocument: modified
- Codeunit 6103 “E-Document Subscribers”, EDocument: modified
Context
- Fixes: #8181 [Bug]: [E-Document] The system tells that the e-document has been created from a posted document when it was not actually created (closed)
- Work items: AB#636180
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Integrations
- Systems: sales, integration, service, inventory
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).