{"title":"Codeunit 1373 Batch Posting Print Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1373-batch-posting-print-mgt/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":1373,"name":"Batch Posting Print Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1373-batch-posting-print-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1373-batch-posting-print-mgt/source/","path":"src/Layers/W1/BaseApp/Foundation/BatchProcessing/BatchPostingPrintMgt.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":{"codeunit:1380":{"name":"Batch Processing Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1380-batch-processing-mgt/"},"codeunit:453":{"name":"Job Queue - Enqueue","url":"https://jonas-paprotka.de/ref/codeunit/453-job-queue-enqueue/"}},"procs":[{"name":"PrintDocumentOnAfterBatchPosting","line":28,"kind":"procedure","access":"local","params":2,"steps":[[33,"event","OnBeforePrintDocumentOnAfterBatchPosting",0],[37,"ext","codeunit",1380,"GetBooleanParameter",3],[40,"call","PrintSalesDocument",1],[41,"call","PrintPurchaseDocument",1]]},{"name":"PrintSalesDocument","line":44,"kind":"procedure","params":1,"steps":[[67,"call","PrintDocument",4],[75,"call","PrintDocument",4],[88,"call","PrintDocument",4],[100,"call","PrintDocument",4],[107,"event","OnAfterPrintSalesDocument",0]]},{"name":"PrintPurchaseDocument","line":110,"kind":"procedure","params":1,"steps":[[133,"call","PrintDocument",4],[142,"call","PrintDocument",4],[147,"call","PrintDocument",4],[161,"call","PrintDocument",4],[166,"call","PrintDocument",4],[178,"call","PrintDocument",4],[185,"event","OnAfterPrintPurchaseDocument",0]]},{"name":"PrintJournal","line":188,"kind":"procedure","params":1,"steps":[[204,"call","PrintCustReceiptReport",3],[207,"call","PrintVendorReceiptReport",3],[210,"call","PrintPostingReport",3]]},{"name":"PrintCustReceiptReport","line":214,"kind":"procedure","access":"local","params":3,"steps":[[220,"event","OnBeforePrintCustReceiptReport",1],[226,"call","SchedulePrintJobQueueEntry",3]]},{"name":"PrintVendorReceiptReport","line":231,"kind":"procedure","access":"local","params":3,"steps":[[237,"event","OnBeforePrintVendorReceiptReport",1],[243,"call","SchedulePrintJobQueueEntry",3]]},{"name":"PrintPostingReport","line":248,"kind":"procedure","access":"local","params":3,"steps":[[254,"event","OnBeforeGLRegPostingReportPrint",0],[259,"call","SchedulePrintJobQueueEntry",3]]},{"name":"PrintDocument","line":264,"kind":"procedure","params":4,"steps":[[270,"event","OnBeforePrintDocument",1],[280,"call","SchedulePrintJobQueueEntry",3]]},{"name":"SchedulePrintJobQueueEntry","line":286,"kind":"procedure","params":3,"steps":[[298,"run","codeunit",453]]}]}