{"title":"Codeunit 6134 E-Doc. Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","changedSince":"2026-09-22","source":{"feed":"https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json","package":"Microsoft.E-DocumentCore.symbols.e1d97edc-c239-46b4-8d84-6368bdf67c8b","build":"29.0.54011.55644","builds":{"23":"23.5.16502.31399","24":"24.5.23489.36097","25":"25.5.30849.36072","26":"26.5.38752.40541","27":"27.5.46862.47359","28":"28.5.54151.54365","29":"29.0.54011.55644"},"code":{"28":{"url":"https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/source/?v=28","repo":"https://github.com/microsoft/BCApps","branch":"releases/28.x","commit":"408a4cc8d3a4c54b60464cc14c964479facb9ba0","path":"src/Apps/W1/EDocument/App/src/Integration/EDocIntegrationManagement.Codeunit.al","license":"MIT"},"29":{"url":"https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/source/","repo":"https://github.com/microsoft/BCApps","branch":"releases/29.x","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","path":"src/Apps/W1/EDocument/App/src/Integration/EDocIntegrationManagement.Codeunit.al","license":"MIT"}},"note":"Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."},"object":{"type":"codeunit","id":6134,"name":"E-Doc. Integration Management","app":"E-Document Core","appByVersion":[{"app":"E-Document Core","from":23}],"nameByVersion":[{"name":"E-Doc. Integration Management","from":23}],"namespace":"Microsoft.eServices.EDocument","versions":"23-29","majors":[23,24,25,26,27,28,29],"countries":["W1","DE","US"],"minors":{"W1":"23.0-29.0","DE":"23.0-29.0","US":"23.0-29.0"},"minorsUrl":"https://jonas-paprotka.de/ref/codeunit/6134-e-doc-integration-management/editions.json","extends":null,"extendsUrl":null,"sourceTable":null,"properties":null,"extendedBy":[],"implementedBy":[],"sourceFile":"src/Integration/EDocIntegrationManagement.Codeunit.al","obsolete":null,"obsoleteSeenFrom":null,"byVersion":{"23":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":9,"values":0},"stub":false},"24":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":9,"values":0},"stub":false},"25":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":9,"values":0},"stub":false},"26":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"27":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"28":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"29":{"app":"E-Document Core","name":"E-Doc. Integration Management","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":14,"values":0},"stub":false}},"fields":[],"keys":[],"procedures":[{"name":"Send","sig":"(var Record E-Document, Record E-Document Service, var Boolean)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var IsAsync: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"23-25","first":23,"last":25,"obsoleteSince":null,"spans":[{"from":23,"to":25,"named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var IsAsync: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"SendBatch","sig":"(var Record E-Document, Record E-Document Service, var Boolean)","named":"(var EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var IsAsync: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var IsAsync: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetApproval","sig":"(Record E-Document, Record E-Document Service)","named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-25","first":23,"last":25,"obsoleteSince":null,"spans":[{"from":23,"to":25,"named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"Cancel","sig":"(Record E-Document, Record E-Document Service)","named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-25","first":23,"last":25,"obsoleteSince":null,"spans":[{"from":23,"to":25,"named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"Send","sig":"(var Record E-Document, Record E-Document Service, Codeunit SendContext, var Boolean)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; SendContext: Codeunit SendContext; var IsAsync: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; SendContext: Codeunit SendContext; var IsAsync: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"ReceiveDocument","sig":"(Record E-Document Service, Interface E-Document Integration)","named":"(EDocService: Record \"E-Document Service\"; EDocIntegration: Interface \"E-Document Integration\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(EDocService: Record \"E-Document Service\"; EDocIntegration: Interface \"E-Document Integration\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"ReceiveDocuments","sig":"(var Record E-Document Service, Codeunit ReceiveContext)","named":"(var EDocumentService: Record \"E-Document Service\"; ReceiveContext: Codeunit ReceiveContext)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(var EDocumentService: Record \"E-Document Service\"; ReceiveContext: Codeunit ReceiveContext)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"InvokeAction","sig":"(var Record E-Document, var Record E-Document Service, Enum Integration Action Type, Codeunit ActionContext)","named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\"; ActionType: Enum \"Integration Action Type\"; ActionContext: Codeunit ActionContext)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\"; ActionType: Enum \"Integration Action Type\"; ActionContext: Codeunit ActionContext)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetApprovalStatus","sig":"(Record E-Document, Record E-Document Service, Codeunit ActionContext)","named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; ActionContext: Codeunit ActionContext)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; ActionContext: Codeunit ActionContext)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetCancellationStatus","sig":"(Record E-Document, Record E-Document Service, Codeunit ActionContext)","named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; ActionContext: Codeunit ActionContext)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; ActionContext: Codeunit ActionContext)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"RunOnAfterUpdateToPostedPurchaseEDocument","sig":"(var Record E-Document, Variant, Code[20], Enum E-Document Type)","named":"(var EDocument: Record \"E-Document\"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum \"E-Document Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"29","first":29,"last":29,"obsoleteSince":null,"spans":[{"from":29,"to":29,"named":"(var EDocument: Record \"E-Document\"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum \"E-Document Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]}],"events":[{"name":"OnCancelEDocumentReturnsFalse","sig":"(Record E-Document, Record E-Document Service, HttpRequestMessage, HttpResponseMessage, var Boolean)","named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is obsoleted for GetApprovalStatus in \"Default Int. Actions\" interface.","tag":"26.0"},"range":"23-29","first":23,"last":29,"obsoleteSince":26,"spans":[{"from":23,"to":25,"named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":29,"named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is obsoleted for GetApprovalStatus in \"Default Int. Actions\" interface.","tag":"26.0"}}]},{"name":"OnGetEDocumentApprovalReturnsFalse","sig":"(Record E-Document, Record E-Document Service, HttpRequestMessage, HttpResponseMessage, var Boolean)","named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is obsoleted for GetCancellationStatus in \"Default Int. Actions\" interface.","tag":"26.0"},"range":"23-29","first":23,"last":29,"obsoleteSince":26,"spans":[{"from":23,"to":25,"named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":29,"named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is obsoleted for GetCancellationStatus in \"Default Int. Actions\" interface.","tag":"26.0"}}]},{"name":"OnBeforeIsEDocumentInStateToSend","sig":"(Record E-Document, Record E-Document Service, var Boolean, var Boolean)","named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var IsInStateToSend: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var IsInStateToSend: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeSendDocument","sig":"(Record E-Document, Record E-Document Service, HttpRequestMessage, HttpResponseMessage)","named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterSendDocument","sig":"(Record E-Document, Record E-Document Service, HttpRequestMessage, HttpResponseMessage)","named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(EDocuments: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateToPostedPurchaseEDocument","sig":"(var Record E-Document, Variant, Code[20], Enum E-Document Type)","named":"(var EDocument: Record \"E-Document\"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum \"E-Document Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"29","first":29,"last":29,"obsoleteSince":null,"spans":[{"from":29,"to":29,"named":"(var EDocument: Record \"E-Document\"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum \"E-Document Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}],"values":[],"controls":[],"actions":[]}}