Codeunit 1373 Batch Posting Print Mgt.

Base Application, Microsoft.Foundation.BatchProcessing

Source AL, 338 lines

src/Layers/W1/BaseApp/Foundation/BatchProcessing/BatchPostingPrintMgt.Codeunit.allines 21 to 36 of 338, Copyright (c) Microsoft Corporation. MIT

codeunit 1373 "Batch Posting Print Mgt."{    trigger OnRun()    begin    end;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Batch Processing Mgt.", 'OnAfterBatchProcessing', '', false, false)]    local procedure PrintDocumentOnAfterBatchPosting(var RecRef: RecordRef; PostingResult: Boolean)    var        BatchProcessingMgt: Codeunit "Batch Processing Mgt.";        Print: Boolean;    begin        OnBeforePrintDocumentOnAfterBatchPosting(RecRef, PostingResult);        if not PostingResult then            exit;

All 338 lines

Events 7 in 29

[IntegrationEvent] OnAfterPrintSalesDocument(RecRef: RecordRef)17-29
[IntegrationEvent] OnAfterPrintPurchaseDocument(RecRef: RecordRef)17-29
[IntegrationEvent] OnBeforeGLRegPostingReportPrint(var ReportID: Integer; ReqWindow: Boolean; SystemPrinter: Boolean; var GLRegister: Record "G/L Register"; var Handled: Boolean)17-29
[IntegrationEvent] OnBeforePrintDocument(ReportUsage: Option; RecVar: Variant; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforePrintCustReceiptReport(GLReg: Record "G/L Register"; GenJnlTemplate: Record "Gen. Journal Template"; GeneralLedgerSetup: Record "General Ledger Setup"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnBeforePrintVendorReceiptReport(GLReg: Record "G/L Register"; GenJnlTemplate: Record "Gen. Journal Template"; GeneralLedgerSetup: Record "General Ledger Setup"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnBeforePrintDocumentOnAfterBatchPosting(var RecRef: RecordRef; PostingResult: Boolean)new in 23

Public procedures 5 in 29

PrintSalesDocument(RecRef: RecordRef)17-29
PrintPurchaseDocument(RecRef: RecordRef)17-29
PrintJournal(RecRef: RecordRef)17-29
SchedulePrintJobQueueEntry(RecVar: Variant; ReportId: Integer; ReportOutputType: Option)new in 22
PrintDocument(ReportUsage: Enum "Report Selection Usage"; RecVariant: Variant; PrintViaJobQueue: Boolean; ReportOutputType: Enum "Job Queue Report Output Type")new in 27

Changes 1 in 27

List17181920212223242526272829
Procedures11
Events21
PrintDocument(ReportUsage: Enum "Report Selection Usage"; RecVariant: Variant; PrintViaJobQueue: Boolean; ReportOutputType: Enum "Job Queue Report Output Type")new in 27
added

All 5 changes in 17-29