Codeunit 6148 E-Document Helper

E-Document Core, Microsoft.eServices.EDocument

Source AL, 199 lines

src/Apps/W1/EDocument/App/src/Helpers/EDocumentHelper.Codeunit.allines 14 to 29 of 199, Copyright (c) Microsoft Corporation. MIT

codeunit 6148 "E-Document Helper"{    procedure GetEDocumentBlob(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob");    var        EDocumentLog: Codeunit "E-Document Log";    begin        if not EDocumentLog.GetDocumentBlobFromLog(EDocument, EDocumentService, TempBlob, Enum::"E-Document Service Status"::Imported) then            Error(FailedToGetBlobErr);    end;    /// <summary>    /// Returns the inbound PDF preview (unstructured E-Doc. Data Storage entry) for a posted purchase    /// document that originated from an E-Document, matching by the document's RecordId.    /// Returns 0 when the document has no linked PDF preview.    /// </summary>

All 199 lines

Public procedures 9 in 29

IsElectronicDocument(var RecRef: RecordRef): Booleannew in 23
AllowEDocumentCoreHttpCalls()new in 23
GetEdocumentService(Edocument: Record "E-Document"; var EdocumentService: Record "E-Document Service")new in 23
GetEDocumentBlob(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob")new in 26
GetServicesInWorkflow(Workflow: Record Workflow; var EDocumentService: Record "E-Document Service"): Booleannew in 26
OpenDraftPage(var EDocument: Record "E-Document")new in 26

All 10 procedures in 23-29

Changes 2 in 28

List17181920212223242526272829
Procedures412
GetInboundPdfPreviewEntryNo(SourceRecordId: RecordId): Integernew in 28
added
GetInboundPdfPreviewEntryNo(SourceRecordId: RecordId; EDocumentLink: Guid): Integernew in 28
added

All 7 changes in 23-29