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): Boolean | new in 28 |
All 12 procedures in 17-20, 28-29
Changes 18 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | 1 | | | | | | | | | | 1 | |
|---|
| Procedures | | 2 | | | | | | | | | | 12 | |
|---|
| Events | | | | | | | | | | | | 5 | |
|---|
All 21 changes in 17-20, 28-29