Codeunit 6103 "E-Document Subscribers"
EDocument · Microsoft.eServices.EDocument
Across versions
- BC23-28not present
- BC29present
- BC30changed
EDocument · Microsoft.eServices.EDocument · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “E-Document” = m |
Event subscriptions
- HandleOnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
- OnAfterValidateDraftPageVendorNo subscribes to Page “E-Document Purchase Draft” OnAfterValidateEvent (Vendor No.)
- OnAfterValidateDraftPageDiscount subscribes to Page “E-Document Purchase Draft” OnAfterValidateEvent (Invoice Discount)
- OnAfterValidateDraftPageVAT subscribes to Page “E-Document Purchase Draft” OnAfterValidateEvent (Total VAT)
- OnAfterValidateDraftPageLineType subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Line Type)
- OnAfterValidateDraftPageNo subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (No.)
- OnAfterValidateDraftPageItemReferenceNo subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Item Reference No.)
- OnAfterValidateDraftPageUnitOfMeasure subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Unit Of Measure)
- OnAfterValidateDraftPageVariantCode subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Variant Code)
- OnAfterValidateDraftPageQuantity subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Quantity)
- OnAfterValidateDraftPageDirectUnitCost subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Direct Unit Cost)
- OnAfterValidateDraftPageTotalDiscount subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Total Discount)
- OnAfterValidateDraftPageDeferralCode subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Deferral Code)
- OnAfterValidateDraftPageShortcutDim1 subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Shortcut Dimension 1 Code)
- OnAfterValidateDraftPageShortcutDim2 subscribes to Page “E-Doc. Purchase Draft Subform” OnAfterValidateEvent (Shortcut Dimension 2 Code)
- OnBeforeReleaseSalesDoc subscribes to Codeunit “Release Sales Document” OnBeforeReleaseSalesDoc
- OnBeforeReleasePurchaseDoc subscribes to Codeunit “Release Purchase Document” OnBeforeReleasePurchaseDoc
- OnBeforeReleaseServiceDoc subscribes to Codeunit “Release Service Document” OnBeforeReleaseServiceDoc
- OnAfterReleasePurchaseDoc subscribes to Codeunit “Release Purchase Document” OnAfterReleasePurchaseDoc
- OnAfterCheckAndUpdateSales subscribes to Codeunit “Sales-Post” OnAfterCheckAndUpdate
- OnAfterCheckAndUpdatePurch subscribes to Codeunit “Purch.-Post” OnAfterCheckAndUpdate
- OnAfterInitializeService subscribes to Codeunit “Service-Post” OnAfterInitialize
- OnBeforeIssueFinChargeMemo subscribes to Codeunit “FinChrgMemo-Issue” OnBeforeIssueFinChargeMemo
- OnBeforeIssueReminder subscribes to Codeunit “Reminder-Issue” OnBeforeIssueReminder
- OnAfterPostSalesDoc subscribes to Codeunit “Sales-Post” OnAfterPostSalesDoc
- OnAfterPostPurchaseDoc subscribes to Codeunit “Purch.-Post” OnAfterPostPurchaseDoc
- CreateEDocumentFromPostedTransferShipment subscribes to Codeunit “TransferOrder-Post Shipment” OnAfterTransferOrderPostShipment
- OnAfterPostWhseActivityCompleted subscribes to Codeunit “Whse.-Activity-Post” OnAfterPostWhseActivityCompleted
- OnShouldDocumentTotalAmountsBeChecked subscribes to Table “Purchases & Payables Setup” OnAfterShouldDocumentTotalAmountsBeChecked
- OnCanDocumentTotalAmountsBeEditable subscribes to Table “Purchases & Payables Setup” OnCanDocumentTotalAmountsBeEditable
- OnAfterPostServiceDoc subscribes to Codeunit “Service-Post” OnAfterPostServiceDoc
- OnAfterIssueFinChargeMemo subscribes to Codeunit “FinChrgMemo-Issue” OnAfterIssueFinChargeMemo
- OnAfterIssueReminder subscribes to Codeunit “Reminder-Issue” OnAfterIssueReminder
- OnCheckElectronicSendingEnabled subscribes to Table “Document Sending Profile” OnCheckElectronicSendingEnabled
- OnAfterPostGLAcc subscribes to Codeunit “Gen. Jnl.-Post Line” OnAfterPostGLAcc
- OnAfterVendLedgEntryInsert subscribes to Codeunit “Gen. Jnl.-Post Line” OnAfterVendLedgEntryInsert
- OnAfterDeleteEventGenJournalLine subscribes to Table “Gen. Journal Line” OnAfterDeleteEvent
- OnBeforeOnDeletePurchaseHeader subscribes to Table “Purchase Header” OnBeforeOnDelete
- OnDeleteOnBeforeArchiveSalesDocumentSalesHeader subscribes to Table “Sales Header” OnDeleteOnBeforeArchiveSalesDocument
- ClassifyDataSensitivity subscribes to Codeunit “Data Classification Eval. Data” OnCreateEvaluationDataOnAfterClassifyTablesToNormal
- OnBeforeValidateElectronicFormats subscribes to Codeunit “Sales-Post and Send” OnBeforeValidateElectronicFormats
- OnAfterSendEDocument subscribes to Table “Document Sending Profile” OnAfterSend
- OnAfterSendToEMailEDocument subscribes to Table “Document Sending Profile” OnAfterSendToEMail
- OnSendWithReportDistributionManagementDisableIfEDocument subscribes to Table “Document Sending Profile” OnSendWithReportDistributionManagement
- OnAfterSendVendorEDocument subscribes to Table “Document Sending Profile” OnAfterSendVendor
- OnAfterReleaseSalesDoc subscribes to Codeunit “Release Sales Document” OnAfterReleaseSalesDoc
Procedures
CreateEDocumentFromPostedDocument(PostedRecord: Variant; DocumentSendingProfile: Record "Document Sending Profile"): Boolean: Creates a new E-Document for the provided posted document if possible.CreateEDocumentFromPostedDocument(PostedRecord: Variant; DocumentSendingProfile: Record "Document Sending Profile"; DocumentType: Enum "E-Document Type"): Boolean: Creates a new E-Document of specified type for the provided posted document if possible.CreateEDocumentFromPostedDocument(PostedRecord: Variant; DocumentSendingProfile: Record "Document Sending Profile"; DocumentType: Enum "E-Document Type"; AllowReExport: Boolean): Boolean: Creates a new E-Document of specified type for the provided posted document if possible.
Plus 10 local procedures.
Recent changes
- 2026-10-07 #12306 Warn before releasing a purchase order that was already sent electronically (main, BC30, feature)
- 2026-10-07 #11560 [E-Documents Core] [Peppol] - Enabling EDI capabilities with E-Documents. Send path (Self-Billed Purchase Invoice/Credit Memo → E-Document) (main, BC30, feature)
- 2026-09-30 #12070 Fix inconsistent CLEAN27/CLEAN28 tags in E-Document apps (main, BC30, fix)
- 2026-09-24 #11483 [E-Documents Core] - Linkage & Traceability (main, BC30, feature)
- 2026-09-10 #11096 PEPPOL FR improvements (main, BC30, feature)
- 2026-08-11 #9578 [E-Documents Core] - Enabling remittance advice export via E-Documents (payment journal + posted payments) (main, BC30, feature)
- 2026-08-11 #9208 [Enforced Digital Vouchers] - Attaching EDocuments when using Digital Vouchers (main, BC30, feature)
- 2026-07-27 #8698 [E-Documents Core] [Peppol] - Enabling EDI capabilities with E-Documents. PEPPOL Order Response Message Handling (main, BC30, feature)
- 2026-07-14 #8183 Handle failure to manually create E-Document from posted doc with no … (main, BC30, fix)
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "E-Document Subscribers"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.