Codeunit "Batch Posting Print Mgt."

ID 1373
Namespace: Microsoft.Foundation.BatchProcessing

Methods

PrintSalesDocument

procedure PrintSalesDocument(RecRef: RecordRef)

Parameters

Name Type Description
RecRef RecordRef

PrintPurchaseDocument

procedure PrintPurchaseDocument(RecRef: RecordRef)

Parameters

Name Type Description
RecRef RecordRef

PrintJournal

procedure PrintJournal(RecRef: RecordRef)

Parameters

Name Type Description
RecRef RecordRef

PrintDocument

procedure PrintDocument(ReportUsage: Enum "Report Selection Usage", RecVariant: Variant, PrintViaJobQueue: Boolean, ReportOutputType: Enum "Job Queue Report Output Type")

Parameters

Name Type Description
ReportUsage Enum Microsoft.Foundation.Reporting."Report Selection Usage"
RecVariant Variant
PrintViaJobQueue Boolean
ReportOutputType Enum System.Threading."Job Queue Report Output Type"

SchedulePrintJobQueueEntry

procedure SchedulePrintJobQueueEntry(RecVar: Variant, ReportId: Integer, ReportOutputType: Option)

Parameters

Name Type Description
RecVar Variant
ReportId Integer
ReportOutputType Option

Events

OnAfterPrintSalesDocument

[IntegrationEvent(False,False)]
local procedure OnAfterPrintSalesDocument(RecRef: RecordRef)

Parameters

Name Type Description
RecRef RecordRef

OnAfterPrintPurchaseDocument

[IntegrationEvent(False,False)]
local procedure OnAfterPrintPurchaseDocument(RecRef: RecordRef)

Parameters

Name Type Description
RecRef RecordRef

OnBeforeGLRegPostingReportPrint

[IntegrationEvent(False,False)]
local procedure OnBeforeGLRegPostingReportPrint(var ReportID: Integer, ReqWindow: Boolean, SystemPrinter: Boolean, var GLRegister: Record "G/L Register", var Handled: Boolean)

Parameters

Name Type Description
ReportID Integer
ReqWindow Boolean
SystemPrinter Boolean
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
Handled Boolean

OnBeforePrintDocument

[IntegrationEvent(False,False)]
local procedure OnBeforePrintDocument(ReportUsage: Option, RecVar: Variant, var IsHandled: Boolean)

Parameters

Name Type Description
ReportUsage Option
RecVar Variant
IsHandled Boolean

OnBeforePrintDocumentOnAfterBatchPosting

[IntegrationEvent(False,False)]
local procedure OnBeforePrintDocumentOnAfterBatchPosting(var RecRef: RecordRef, PostingResult: Boolean)

Parameters

Name Type Description
RecRef RecordRef
PostingResult Boolean

OnBeforePrintCustReceiptReport

[IntegrationEvent(False,False)]
local procedure OnBeforePrintCustReceiptReport(GLReg: Record "G/L Register", GenJnlTemplate: Record "Gen. Journal Template", GeneralLedgerSetup: Record "General Ledger Setup", var IsHandled: Boolean)

Parameters

Name Type Description
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GenJnlTemplate Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Template"
GeneralLedgerSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
IsHandled Boolean

OnBeforePrintVendorReceiptReport

[IntegrationEvent(False,False)]
local procedure OnBeforePrintVendorReceiptReport(GLReg: Record "G/L Register", GenJnlTemplate: Record "Gen. Journal Template", GeneralLedgerSetup: Record "General Ledger Setup", var IsHandled: Boolean)

Parameters

Name Type Description
GLReg Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GenJnlTemplate Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Template"
GeneralLedgerSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
IsHandled Boolean

See also