codeunitSales & Receivablesofficial - Microsoftderived - from the source, no model text

Codeunit 85 "Sales Post Batch via Job Queue"

Base Application · Microsoft.Sales.Posting

Across versions

  1. BC23present
  2. BC243 events added, 1 procedures added
  3. BC25-26unchanged
  4. BC271 procedures changed
  5. BC28-30unchanged

Neighbourhood 5 connected objects and pages

Table 472 "Job Queue Entry" (relates to)Job Queue EntryCodeunit 28 "Error Message Management" (calls, 2 links)Error Message ManagementCodeunit 1371 "Sales Batch Post Mgt." (calls)Sales Batch Post Mgt.Codeunit 453 "Job Queue - Enqueue" (calls)Job Queue - EnqueueCodeunit 80 "Sales-Post" (calls)Sales-Post

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Sales.Posting · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
TableNo Job Queue Entry

Events published

  • OnPrintToPDFOnAfterReportInboxInsert(var ReportInbox: Record "Report Inbox"; var SalesHeader: Record "Sales Header"; var RecRef: RecordRef) (integration): Raised after inserting the report into the report inbox after printing to PDF.
  • OnPrintToPDFOnBeforeReportRun(ReportId: Integer; RecRef: RecordRef; var OStream: OutStream; var IsSuccess: Boolean; var IsHandled: Boolean) (integration): Raised before running the report to generate the PDF.
  • OnPostSalesBatchOnBeforeRunSalesPost(var SalesHeader: Record "Sales Header") + BC24 (integration): Raised before the Sales-Post codeunit runs for each document in the batch.
  • OnPostSalesBatchOnAfterRunSalesPost(var SalesHeader: Record "Sales Header") + BC24 (integration): Raised after the Sales-Post codeunit has successfully run for each document in the batch.
  • OnBeforePrintDocument(ReportUsage: Enum "Report Selection Usage"; RecRef: RecordRef; SalesHeader: Record "Sales Header"; JobQueueEntry: Record "Job Queue Entry"; var Result: Boolean; var IsHandled: Boolean) + BC24 (integration): Raised before printing a document in the batch.

Procedures

  • EnqueueSalesBatch(var SalesHeader: Record "Sales Header"; var JobQueueEntry: Record "Job Queue Entry"): Enqueues a batch of sales documents for posting via the job queue.

Plus 13 local procedures.

Triggers

OnRun

Relations

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Sales Post Batch via Job Queue"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources