Codeunit 6208 E-Doc Sample Purch.Inv. PDF

E-Document Core, Microsoft.eServices.EDocument.Processing.Import.Purchase

Source AL, 91 lines

src/Apps/W1/EDocument/App/src/SampleInvoice/EDocSamplePurchInvPDF.Codeunit.allines 15 to 30 of 91, Copyright (c) Microsoft Corporation. MIT

codeunit 6208 "E-Doc Sample Purch.Inv. PDF"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        TempEDocPurchHeader: Record "E-Document Purchase Header" temporary;        TempEDocPurchLine: Record "E-Document Purchase Line" temporary;    /// <summary>    /// Adds a new header record to the temporary buffer.    /// </summary>    procedure AddHeader(NewEDocPurchHeader: Record "E-Document Purchase Header")    begin        TempEDocPurchHeader := NewEDocPurchHeader;

All 91 lines

Public procedures 5 in 29

AddHeader(NewEDocPurchHeader: Record "E-Document Purchase Header")new in 27
AddLine(NewEDocPurchLine: Record "E-Document Purchase Line")new in 27
GeneratePDF(): Codeunit "Temp Blob"new in 27
GeneratePDF(var TempEDocPurchHeaderToSet: Record "E-Document Purchase Header" temporary; var TempEDocPurchLineToSet: Record "E-Document Purchase Line" temporary): Codeunit "Temp Blob"new in 27
SetSamplePurchInvoiceLayout(LayoutName: Text[250])new in 27