Codeunit 5467 PDF Document Management

Base Application, Microsoft.EServices.EDocument

Source AL, 187 lines

src/Layers/W1/BaseApp/eServices/EDocument/PDFDocumentManagement.Codeunit.allines 18 to 33 of 187, Copyright (c) Microsoft Corporation. MIT

codeunit 5467 "PDF Document Management"{    trigger OnRun()    begin    end;    var        CannotFindDocumentErr: Label 'The document %1 cannot be found.', Comment = '%1 - Error Message';        CannotOpenFileErr: Label 'Opening the file failed because of the following error: \%1.', Comment = '%1 - Error Message';        UnpostedSalesCreditMemoErr: Label 'You must post sales credit memo %1 before generating the PDF document.', Comment = '%1 - sales credit memo id';        UnpostedPurchaseInvoiceErr: Label 'You must post purchase invoice %1 before generating the PDF document.', Comment = '%1 - sales credit memo id';        BlobEmptyErr: Label 'Opening the file failed.';        CreditMemoTxt: Label 'Credit Memo';        PurchaseInvoiceTxt: Label 'Purchase Invoice';

All 187 lines

Public procedures 3 in 29

GeneratePdf(DocumentId: Guid; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Boolean17-29
GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Booleannew in 20
GeneratePdfBlobWithDocumentType(ParentId: Guid; DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Booleannew in 25

All 5 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures2111
internal AddToTempAttachmentEntityBuffer(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; TempBlob: Codeunit "Temp Blob"; Name: Text[250]; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Booleannew in 28
added

All 5 changes in 17-29