Codeunit 5446 Purch. Invoice PDF Doc.Handler

Base Application, Microsoft.EServices.EDocument

Source AL, 58 lines

src/Layers/W1/BaseApp/Purchases/eServices/EDocument/PurchInvoicePDFDocHandler.Codeunit.allines 15 to 30 of 58, Copyright (c) Microsoft Corporation. MIT

codeunit 5446 "Purch. Invoice PDF Doc.Handler" implements IPdfDocumentHandler{    var        UnpostedPurchaseInvoiceErr: Label 'You must post purchase invoice %1 before generating the PDF document.', Comment = '%1 - purchase invoice id';        PurchaseInvoiceLbl: Label 'Purchase Invoice';    /// <summary>    /// Generates a PDF blob for Purchase Invoice    /// </summary>    /// <param name="DocumentId">Document ID</param>    /// <param name="DocumentType">Document Type</param>    /// <param name="TempAttachmentEntityBuffer">The buffer to store successfully generated report</param>    /// <returns>True if the generated report successfully added to the buffer, otherwise false.</returns>    procedure GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Boolean    var        PurchaseHeader: Record "Purchase Header";

All 58 lines

Public procedures 1 in 29

GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Booleannew in 28

All 6 procedures in 17-20, 28-29

Changes 8 in 28

List17181920212223242526272829
Object11
Procedures6
Events1
codeunit 5446 "Purch. Invoice PDF Doc.Handler"17-20, 28-29
no longer obsolete, was codeunit 5446 "Graph Webhook Sync To NAV"
GetGraphSubscriptionChangeTypes(): Text[250]gone after 20
gone
GetGraphSubscriptionCreatedChangeType(): Text[50]gone after 20
gone
GetGraphSubscriptionUpdatedChangeType(): Text[50]gone after 20
gone
GetGraphSubscriptionDeletedChangeType(): Text[50]gone after 20
gone
GetGraphSubscriptionMissedChangeType(): Text[50]gone after 20
gone

All 9 changes in 17-20, 28-29