Codeunit "Purch Post Batch via Job Queue"

ID 95
Namespace: Microsoft.Purchases.Posting

Properties

Name Value
TableNo Table System.Threading."Job Queue Entry"

Methods

EnqueuePurchaseBatch

procedure EnqueuePurchaseBatch(var PurchaseHeader: Record "Purchase Header", var JobQueueEntry: Record "Job Queue Entry")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
JobQueueEntry Table System.Threading."Job Queue Entry"

Events

OnPrintToPDFOnAfterReportInboxInsert

[IntegrationEvent(False,False)]
local procedure OnPrintToPDFOnAfterReportInboxInsert(var ReportInbox: Record "Report Inbox", var PurchaseHeader: Record "Purchase Header", var RecRef: RecordRef)

Parameters

Name Type Description
ReportInbox Table Microsoft.EServices.EDocument."Report Inbox"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
RecRef RecordRef

OnPrintToPDFOnBeforeReportRun

[IntegrationEvent(False,False)]
local procedure OnPrintToPDFOnBeforeReportRun(ReportId: Integer, RecRef: RecordRef, var OStream: OutStream, var IsSuccess: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReportId Integer
RecRef RecordRef
OStream OutStream
IsSuccess Boolean
IsHandled Boolean

See also