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