{"title":"Codeunit 6208 E-Doc Sample Purch.Inv. PDF, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6208-e-doc-sample-purch-inv-pdf/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6208,"name":"E-Doc Sample Purch.Inv. PDF","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6208-e-doc-sample-purch-inv-pdf/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6208-e-doc-sample-purch-inv-pdf/source/","path":"src/Apps/W1/EDocument/App/src/SampleInvoice/EDocSamplePurchInvPDF.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:6100":{"name":"E-Document Purchase Header","url":"https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/"},"table:6101":{"name":"E-Document Purchase Line","url":"https://jonas-paprotka.de/ref/table/6101-e-document-purchase-line/"},"report:6102":{"name":"E-Doc Sample Purchase Invoice","url":"https://jonas-paprotka.de/ref/report/6102-e-doc-sample-purchase-invoice/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:9654":{"name":"Design-time Report Selection","url":"https://jonas-paprotka.de/ref/codeunit/9654-design-time-report-selection/"}},"procs":[{"name":"AddHeader","line":28,"kind":"procedure","params":1,"steps":[[31,"write",6100,"Insert"]]},{"name":"AddLine","line":37,"kind":"procedure","params":1,"steps":[[40,"write",6101,"Insert"]]},{"name":"GeneratePDF","line":47,"kind":"procedure","params":0,"steps":[[56,"ext","report",6102,"SetData",2],[57,"ext","codeunit",419,"ServerTempFileName",0],[59,"ext","codeunit",419,"BLOBImportFromServerFile",2]]},{"name":"GeneratePDF","line":68,"kind":"procedure","params":2,"steps":[[74,"ext","report",6102,"SetData",2],[75,"ext","codeunit",419,"ServerTempFileName",0],[77,"ext","codeunit",419,"BLOBImportFromServerFile",2]]},{"name":"SetSamplePurchInvoiceLayout","line":84,"kind":"procedure","params":1,"steps":[[88,"ext","codeunit",9654,"SetSelectedLayout",1]]}]}