codeunitPurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Codeunit 1372 "Purchase Batch Post Mgt."

Base Application · Microsoft.Purchases.Posting

Across versions

  1. BC23-24present
  2. BC252 procedures added
  3. BC26-27unchanged
  4. BC281 events changed
  5. BC29-30unchanged

Neighbourhood 12 connected objects and pages

Table 38 "Purchase Header" (relates to)Purchase HeaderCodeunit 1380 "Batch Processing Mgt." (calls, 9 links)Batch Processing Mgt.Codeunit 28 "Error Message Management" (calls, 4 links)Error Message ManagementCodeunit 1535 "Approvals Mgmt." (calls)Approvals Mgmt.Codeunit 29 "Error Message Handler" (calls)Error Message HandlerCodeunit 410 "Update Analysis View" (calls)Update Analysis ViewCodeunit 415 "Release Purchase Document" (calls)Release Purchase DocumentCodeunit 431 "IC Outbox Export" (calls)Codeunit 70 "Purch.-Calc.Discount" (calls)Purch.-Calc.DiscountCodeunit 7150 "Update Item Analysis View" (calls)Update Item Analysis ViewCodeunit 95 "Purch Post Batch via Job Queue" (calls)Purch Post Batch via Job QueueCodeunit 98 "Purchase Post via Job Queue" (calls)Purchase Post via Job Queue

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.Purchases.Posting · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
TableNo Purchase Header
Permissions TableData “Batch Processing Parameter” = rimd, TableData “Batch Processing Session Map” = rimd

Events published

  • OnAfterPreparePurchaseHeader(var PurchaseHeader: Record "Purchase Header") (integration)
  • OnAfterRunBatch(var PurchaseHeader: Record "Purchase Header"; var TempErrorMessage: Record "Error Message" temporary) (integration)
  • OnBeforeRunBatch(var PurchaseHeader: Record "Purchase Header"; var ReplacePostingDate: Boolean; var PostingDate: Date; var ReplaceDocumentDate: Boolean; Receive: Boolean; Invoice: Boolean) Δ BC28 (integration)
  • OnRunBatchOnAfterAddParameters(var BatchProcessingMgt: Codeunit "Batch Processing Mgt.") (integration)
  • OnGetICBatchFileName(var Result: Text) (integration)
  • OnAfterReleasePurchaseHeader(var PurchaseHeader: Record "Purchase Header"; var Result: Boolean) (integration)

Event subscriptions

  • PreparePurchaseHeaderOnBeforeBatchProcessing subscribes to Codeunit “Batch Processing Mgt.” OnBeforeBatchProcessing
  • CheckPurchaseHeaderOnVerifyRecord subscribes to Codeunit “Batch Processing Mgt.” OnVerifyRecord
  • HandleOnCustomProcessing subscribes to Codeunit “Batch Processing Mgt.” OnCustomProcessing
  • OnIsPostWithJobQueueEnabledHandler subscribes to Codeunit “Batch Processing Mgt.” OnIsPostWithJobQueueEnabled
  • OnProcessBatchInBackgroundHandler subscribes to Codeunit “Batch Processing Mgt.” OnProcessBatchInBackground
  • OnBatchProcessOnBeforeResetBatchID subscribes to Codeunit “Batch Processing Mgt.” OnBatchProcessOnBeforeResetBatchID
  • OnBeforeUpdateAnalysisView subscribes to Codeunit “Update Analysis View” OnBeforeUpdateAll
  • OnBeforeUpdateItemAnalysisView subscribes to Codeunit “Update Item Analysis View” OnBeforeUpdateAll

Procedures

  • RunBatch(var PurchaseHeader: Record "Purchase Header"; ReplacePostingDate: Boolean; PostingDate: Date; ReplaceDocumentDate: Boolean; CalcInvoiceDiscount: Boolean; Receive: Boolean; Invoice: Boolean)
  • RunWithUI(var PurchaseHeader: Record "Purchase Header"; TotalCount: Integer; Question: Text)
  • GetBatchProcessor(var ResultBatchProcessingMgt: Codeunit "Batch Processing Mgt.")
  • SetBatchProcessor(NewBatchProcessingMgt: Codeunit "Batch Processing Mgt.")
  • Code(var PurchaseHeader: Record "Purchase Header")
  • SetPostingCodeunitId(NewPostingCodeunitId: Integer)
  • SetParameter(ParameterId: Enum "Batch Posting Parameter Type"; ParameterValue: Variant)

Plus 11 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.

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: "Purchase Batch Post Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources