Codeunit 5450 Sales Invoice PDF Doc.Handler

Base Application, Microsoft.EServices.EDocument

Source AL, 54 lines

src/Layers/W1/BaseApp/Sales/eServices/EDocument/SalesInvoicePDFDocHandler.Codeunit.allines 15 to 30 of 54, Copyright (c) Microsoft Corporation. MIT

codeunit 5450 "Sales Invoice PDF Doc.Handler" implements IPdfDocumentHandler{    /// <summary>    /// Generates a PDF blob for Sales 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        SalesHeader: Record "Sales Header";        SalesInvoiceHeader: Record "Sales Invoice Header";        ReportSelections: Record "Report Selections";        DocumentMailing: Codeunit "Document-Mailing";        SalesInvoiceAggregator: Codeunit "Sales Invoice Aggregator";

All 54 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 12 procedures in 17-20, 28-29

Changes 18 in 28

List17181920212223242526272829
Object11
Procedures212
Events5
codeunit 5450 "Sales Invoice PDF Doc.Handler"17-20, 28-29
no longer obsolete, was codeunit 5450 "Graph Subscription Management"
AddOrUpdateGraphSubscription(var FirstTimeSync: Boolean; WebhookExists: Boolean; var WebhookSubscription: Record "Webhook Subscription"; EntityEndpoint: Text[250])gone after 20
gone
CleanExistingWebhookSubscription(ResourceUrl: Text[250]; CompName: Text[30])gone after 20
gone
GetDestinationRecordRef(var NAVRecordRef: RecordRef; WebhookNotification: Record "Webhook Notification"; TableID: Integer): Booleangone after 20
gone
GetGraphSubscriptionType(): Text[250]gone after 20
gone
GetGraphSubscriptionCreatedChangeType(): Text[50]gone after 20
gone

All 21 changes in 17-20, 28-29