Codeunit 6108 E-Document Processing

E-Document Core, Microsoft.eServices.EDocument

Source AL, 832 lines

src/Apps/W1/EDocument/App/src/Processing/EDocumentProcessing.Codeunit.allines 31 to 46 of 832, Copyright (c) Microsoft Corporation. MIT

codeunit 6108 "E-Document Processing"{    Permissions = tabledata "E-Document Service Status" = rim,                tabledata "E-Document" = m;    var        RelatedRecordCaptionWithDashTxt: Label '%1 - %2', Comment = '%1 - Record Text, %2 - Record Caption', Locked = true;        EDocTelemetryCategoryLbl: Label 'E-Document', Locked = true;        EDocTelemetryIdLbl: Label 'E-Doc %1', Locked = true;        EDocTok: Label 'W1 E-Document', Locked = true;    /// <summary>    /// Inserts E-Document Service Status record. Throws runtime error if record does exists.    /// </summary>    procedure InsertServiceStatus(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocumentStatus: Enum "E-Document Service Status")    var

All 832 lines

Events 3 in 29

[IntegrationEvent] OnAfterGetTypeFromSourceDocument(RecordVariant: Variant; var EDocumentType: Enum "E-Document Type")new in 27
[InternalEvent] OnAfterModifyEDocumentStatus(var EDocument: Record "E-Document"; var EDocumentServiceStatus: Record "E-Document Service Status")new in 27
[InternalEvent] OnAfterModifyServiceStatus(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; var EDocumentServiceStatus: Record "E-Document Service Status")new in 27

Public procedures 23 in 29

GetDocSendingProfileForDocRef(var RecRef: RecordRef): Record "Document Sending Profile"new in 23
GetLines(EDocument: Record "E-Document"; var SourceDocumentLines: RecordRef)new in 23
GetEDocumentCount(Status: Enum "E-Document Status"; Direction: Enum "E-Document Direction"): Integernew in 23
OpenEDocuments(Status: Enum "E-Document Status"; Direction: Enum "E-Document Direction"): Integernew in 23
GetRecordLinkText(var EDocument: Record "E-Document"): Textnew in 23
GetRecord(var EDocument: Record "E-Document"; var RelatedRecord: Variant): Booleannew in 23

All 28 procedures in 23-29

Changes 3 in 28

List17181920212223242526272829
Procedures45453
Events3
internal ErrorIfNotAllowedToLinkToExistingDoc(EDocument: Record "E-Document"; EDocumentPurchaseHeader: Record "E-Document Purchase Header")new in 28
added
OpenPurchaseDocumentList(EDocumentType: Enum "E-Document Type"; var PurchaseHeader: Record "Purchase Header"): Booleannew in 28
added
SendOrderRejection(EDocument: Record "E-Document")new in 28
added

All 24 changes in 23-29