Codeunit 98 "Purchase Post via Job Queue"
Base Application · Microsoft.Purchases.Posting
Across versions
- BC23present
- BC241 procedures added, 1 procedures removed
- BC25-30unchanged
Neighbourhood 10 connected objects and pages
Base Application · Microsoft.Purchases.Posting · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Job Queue Entry |
Events published
OnBeforeEnqueuePurchDoc(var PurchaseHeader: Record "Purchase Header"; var Handled: Boolean)(integration)OnBeforeReleasePurchDoc(var PurchaseHeader: Record "Purchase Header")(integration)OnBeforeSetJobQueueStatus(PurchaseHeader: Record "Purchase Header"; NewJobQueueStatus: Option " ","Scheduled for Posting",Error,Posting; JobQueueEntry: Record "Job Queue Entry")(integration)OnEnqueueJobEntryOnBeforeRunJobQueueEnqueue(PurchaseHeader: Record "Purchase Header"; var JobQueueEntry: Record "Job Queue Entry")(integration)OnBeforeBatchProcessingErrorReset(var JobQueueEntry: Record "Job Queue Entry"; var IsHandled: Boolean)(integration)
Procedures
EnqueuePurchDoc(var PurchHeader: Record "Purchase Header")EnqueuePurchDocWithUI(var PurchHeader: Record "Purchase Header"; WithUI: Boolean)CancelQueueEntry(var PurchHeader: Record "Purchase Header")
Plus 7 local procedures.
Triggers
OnRun
Relations
- runs on Table 472 “Job Queue Entry”
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.
- Codeunit 1380 “Batch Processing Mgt.” (3 calls:
OnRun → DeleteBatchProcessingSessionMapForRecordId,OnRun → GetBatchFromSession,OnRun → ResetBatchID) - Codeunit 1373 “Batch Posting Print Mgt.” (1 call:
OnRun → PrintPurchaseDocument) - Codeunit 415 “Release Purchase Document” (1 call:
EnqueuePurchDocWithUI → (object)) - Codeunit 453 “Job Queue - Enqueue” (1 call:
EnqueueJobEntry → (object)) - Codeunit 90 “Purch.-Post” (1 call:
OnRun → (object))
Called by
- Codeunit 1372 “Purchase Batch Post Mgt.” (1 call:
HandleOnCustomProcessing → EnqueuePurchDocWithUI) - Codeunit 91 “Purch.-Post (Yes/No)” (1 call:
Code → EnqueuePurchDoc) - Codeunit 92 “Purch.-Post + Print” (1 call:
Code → EnqueuePurchDoc) - Table 38 “Purchase Header” (1 call:
CancelBackgroundPosting → CancelQueueEntry)
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 Post via Job Queue"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.