Source AL, 662 lines
src/Apps/W1/EDocument/App/src/Integration/EDocIntegrationManagement.Codeunit.allines 14 to 29 of 662, Copyright (c) Microsoft Corporation. MIT
codeunit 6134 "E-Doc. Integration Management"{ Permissions = tabledata "E-Document" = im; #region Send internal procedure Send(var EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; SendContext: Codeunit SendContext; var IsAsync: Boolean) Success: Boolean var TempBlob: Codeunit "Temp Blob"; ErrorCount: Integer; begin Success := false; if not IsEDocumentInStateToSend(EDocument, EDocumentService) then exit; if not EDocumentLog.GetDocumentBlobFromLog(EDocument, EDocumentService, TempBlob, Enum::"E-Document Service Status"::Exported) then begin
All 662 lines
Events 6 in 29
| [IntegrationEvent] OnCancelEDocumentReturnsFalse(EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean) | new in 23 |
| Pending, tag 26.0, obsolete since 26: This event is obsoleted for GetApprovalStatus in "Default Int. Actions" interface. |
| [IntegrationEvent] OnGetEDocumentApprovalReturnsFalse(EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsHandled: Boolean) | new in 23 |
| Pending, tag 26.0, obsolete since 26: This event is obsoleted for GetCancellationStatus in "Default Int. Actions" interface. |
| [IntegrationEvent] OnBeforeIsEDocumentInStateToSend(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var IsInStateToSend: Boolean; var IsHandled: Boolean) | new in 23 |
| [IntegrationEvent] OnBeforeSendDocument(EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | new in 23 |
| [IntegrationEvent] OnAfterSendDocument(EDocuments: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | new in 23 |
| [IntegrationEvent] OnAfterUpdateToPostedPurchaseEDocument(var EDocument: Record "E-Document"; PostedRecord: Variant; PostedDocumentNo: Code[20]; DocumentType: Enum "E-Document Type") | new in 29 |
Public procedures 2 in 29
| ReceiveDocuments(var EDocumentService: Record "E-Document Service"; ReceiveContext: Codeunit ReceiveContext) | new in 26 |
| InvokeAction(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; ActionType: Enum "Integration Action Type"; ActionContext: Codeunit ActionContext) | new in 26 |
All 11 procedures in 23-29
Changes 2 in 29
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | 9 | | | 1 |
|---|
| Events | | | | | | | | | | 2 | | | 1 |
|---|
All 13 changes in 23-29