Codeunit 6102 E-Doc. Export

E-Document Core, Microsoft.eServices.EDocument

Source AL, 760 lines

src/Apps/W1/EDocument/App/src/Processing/EDocExport.Codeunit.allines 26 to 41 of 760, Copyright (c) Microsoft Corporation. MIT

codeunit 6102 "E-Doc. Export"{    Permissions =        tabledata "E-Document" = im,        tabledata "E-Doc. Mapping" = im,        tabledata "E-Doc. Mapping Log" = im;    internal procedure CheckEDocument(var EDocSourceRecRef: RecordRef; EDocumentProcessingPhase: Enum "E-Document Processing Phase")    var        EDocumentService: Record "E-Document Service";        DocumentSendingProfile: Record "Document Sending Profile";        WorkFlow: Record Workflow;        EDocWorkFlowProcessing: Codeunit "E-Document WorkFlow Processing";        IsHandled: Boolean;        Type: Enum "E-Document Type";    begin

All 760 lines

Events 5 in 29

[IntegrationEvent] OnBeforeEDocumentCheck(RecRef: RecordRef; EDocumentProcessingPhase: Enum "E-Document Processing Phase"; var IsHandled: Boolean)new in 23
[IntegrationEvent] OnAfterEDocumentCheck(RecRef: RecordRef; EDocumentProcessingPhase: Enum "E-Document Processing Phase")new in 23
[IntegrationEvent] OnBeforeCreateEDocument(var EDocument: Record "E-Document"; var SourceDocumentHeader: RecordRef)new in 23
[IntegrationEvent] OnAfterCreateEDocument(var EDocument: Record "E-Document"; var SourceDocumentHeader: RecordRef)new in 27
[IntegrationEvent] OnExportEDocumentAfterCreateEDocument(EDocumentService: Record "E-Document Service"; EDocument: Record "E-Document"; SourceDocumentHeaderMapped: RecordRef; SourceDocumentLineMapped: RecordRef; var TempBlob: Codeunit "Temp Blob"; Success: Boolean)new in 29

All 6 events in 23-29

Public procedures 3 in 29

CreateEDocument(var EDocument: Record "E-Document"; var DocumentHeader: RecordRef; var EDocumentService: Record "E-Document Service"; EDocumentType: Enum "E-Document Type"): Booleannew in 27changed in 28
IsDocumentTypeSupported(EDocService: Record "E-Document Service"; EDocumentType: Enum "E-Document Type"): Booleannew in 28
CreateAndExportEDocument(var DocumentHeader: RecordRef; var EDocumentService: Record "E-Document Service"; WorkflowCode: Code[20]; DocumentSendingProfileCode: Code[20]; EDocumentType: Enum "E-Document Type"; AllowReExport: Boolean): Booleannew in 29

All 12 procedures in 23-29

Changes 4 in 29

List17181920212223242526272829
Procedures12143
Events21
internal CreateEDocument(DocumentHeader: RecordRef; DocumentSendingProfile: Record "Document Sending Profile"; EDocumentType: Enum "E-Document Type"): Booleannew in 28changed in 29
changed, was internal CreateEDocument(DocumentHeader: RecordRef; DocumentSendingProfile: Record "Document Sending Profile"; EDocumentType: Enum "E-Document Type")
internal CreateEDocument(DocumentHeader: RecordRef; DocumentSendingProfile: Record "Document Sending Profile"; EDocumentType: Enum "E-Document Type"; AllowReExport: Boolean): Booleannew in 29
added
CreateAndExportEDocument(var DocumentHeader: RecordRef; var EDocumentService: Record "E-Document Service"; WorkflowCode: Code[20]; DocumentSendingProfileCode: Code[20]; EDocumentType: Enum "E-Document Type"; AllowReExport: Boolean): Booleannew in 29
added
[IntegrationEvent] OnExportEDocumentAfterCreateEDocument(EDocumentService: Record "E-Document Service"; EDocument: Record "E-Document"; SourceDocumentHeaderMapped: RecordRef; SourceDocumentLineMapped: RecordRef; var TempBlob: Codeunit "Temp Blob"; Success: Boolean)new in 29
added

All 14 changes in 23-29