Codeunit 6193 E-Doc. Empty Draft

E-Document Core, Microsoft.eServices.EDocument.Processing.Import

Source AL, 56 lines

src/Apps/W1/EDocument/App/src/Processing/Import/EDocEmptyDraft.Codeunit.allines 12 to 27 of 56, Copyright (c) Microsoft Corporation. MIT

codeunit 6193 "E-Doc. Empty Draft" implements IStructureReceivedEDocument, IStructuredDataType, IStructuredFormatReader{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    procedure StructureReceivedEDocument(EDocumentDataStorage: Record "E-Doc. Data Storage"): Interface IStructuredDataType    begin        // Nothing to do to structure: this is used for already structured data or empty drafts        exit(this);    end;    procedure GetFileFormat(): Enum "E-Doc. File Format"    begin        Session.LogMessage('0000PIU', 'GetFileFormat should not be called when data is already structured. This implementation should not be used for other IStructureDataType implementations.', Verbosity::Warning, DataClassification::SystemMetadata, TelemetryScope::All, 'Category', 'E-Document');    end;

All 56 lines

Public procedures 6 in 29

StructureReceivedEDocument(EDocumentDataStorage: Record "E-Doc. Data Storage"): Interface IStructuredDataTypenew in 26
GetFileFormat(): Enum "E-Doc. File Format"new in 26
GetContent(): Textnew in 26
GetReadIntoDraftImpl(): Enum "E-Doc. Read into Draft"new in 26
ReadIntoDraft(EDocument: Record "E-Document"; TempBlob: Codeunit "Temp Blob"): Enum "E-Doc. Process Draft"new in 26
View(EDocument: Record "E-Document"; TempBlob: Codeunit "Temp Blob")new in 26