Source AL, 52 lines
src/Layers/W1/BaseApp/Sales/eServices/EDocument/SalesCrMemoPDFDocHandler.Codeunit.allines 14 to 29 of 52, Copyright (c) Microsoft Corporation. MIT
codeunit 5444 "Sales Cr.Memo PDF Doc.Handler" implements IPdfDocumentHandler{ var UnpostedSalesCreditMemoErr: Label 'You must post sales credit memo %1 before generating the PDF document.', Comment = '%1 - sales credit memo id'; CreditMemoLbl: Label 'Credit Memo'; /// <summary> /// Generates a PDF blob for Sales Credit Memo /// </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";
All 52 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 2 procedures in 17-22, 28-29
Changes 3 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | | | 1 | | | | | | | | 1 | |
|---|
| Procedures | | | | | | | | | | | | 2 | |
|---|
| codeunit 5444 "Sales Cr.Memo PDF Doc.Handler" | 17-22, 28-29 |
| no longer obsolete, was codeunit 5444 "Graph Business Setting" |
| GetMSPayBusinessSetting(): Text | gone after 22 |
| gone |
| GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Boolean | new in 28 |
| added |
All 4 changes in 17-22, 28-29