Codeunit 5447 Purch. Cr.Memo PDF Doc.Handler
Source AL, 52 lines
src/Layers/W1/BaseApp/Purchases/eServices/EDocument/PurchCrMemoPDFDocHandler.Codeunit.allines 14 to 29 of 52, Copyright (c) Microsoft Corporation. MIT
codeunit 5447 "Purch. Cr.Memo PDF Doc.Handler" implements IPdfDocumentHandler{ var UnpostedPurchaseCreditMemoErr: Label 'You must post purchase credit memo %1 before generating the PDF document.', Comment = '%1 - purchase credit memo id'; CreditMemoLbl: Label 'Credit Memo'; /// <summary> /// Generates a PDF blob for Purchase 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 PurchaseHeader: Record "Purchase Header";Public procedures 1 in 29
| Generate | new in 28 |