Codeunit 95 Purch Post Batch via Job Queue

Base Application, Microsoft.Purchases.Posting

Source AL, 263 lines

src/Layers/W1/BaseApp/Purchases/Posting/PurchPostBatchViaJobQueue.Codeunit.allines 15 to 30 of 263, Copyright (c) Microsoft Corporation. MIT

codeunit 95 "Purch Post Batch via Job Queue"{    TableNo = "Job Queue Entry";    trigger OnRun()    begin        PostPurchaseBatch(Rec);    end;    var        UnpostedDocumentsErr: Label '%1 purchase documents out of %2 have errors during posting.', Comment = '%1 - number of documents with errors, %2 - total number of documents';        UnprintedDocumentsErr: Label '%1 purchase documents out of %2 have errors during printing.', Comment = '%1 - number of documents with errors, %2 - total number of documents';        DefaultCategoryCodeLbl: Label 'PURCHBCKGR', Locked = true;        DefaultCategoryDescLbl: Label 'Def. Background Purch. Posting', Locked = true;        PostingDescriptionTxt: Label 'Post purchase documents batch.';        PostAndPrintDescriptionTxt: Label 'Post and print purchase documents batch.';

All 263 lines

Events 2 in 29

[IntegrationEvent] OnPrintToPDFOnAfterReportInboxInsert(var ReportInbox: Record "Report Inbox"; var PurchaseHeader: Record "Purchase Header"; var RecRef: RecordRef)new in 18
[IntegrationEvent] OnPrintToPDFOnBeforeReportRun(ReportId: Integer; RecRef: RecordRef; var OStream: OutStream; var IsSuccess: Boolean; var IsHandled: Boolean)new in 21

Public procedures 1 in 29

EnqueuePurchaseBatch(var PurchaseHeader: Record "Purchase Header"; var JobQueueEntry: Record "Job Queue Entry")17-29

Changes 1 in 21

List17181920212223242526272829
Events11
[IntegrationEvent] OnPrintToPDFOnBeforeReportRun(ReportId: Integer; RecRef: RecordRef; var OStream: OutStream; var IsSuccess: Boolean; var IsHandled: Boolean)new in 21
added

All 2 changes in 17-29