Codeunit 91 "Purch.-Post (Yes/No)"
Base Application · Microsoft.Purchases.Posting
Across versions
- BC23present
- BC241 procedures added
- BC25unchanged
- BC261 events added, 1 events removed
- BC27-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.Purchases.Posting · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Purchase Header |
Events published
OnAfterPost(var PurchaseHeader: Record "Purchase Header")(integration)OnAfterConfirmPost(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)+ BC26 − BC26 (integration)OnBeforeConfirmPost(var PurchaseHeader: Record "Purchase Header"; var HideDialog: Boolean; var IsHandled: Boolean; var DefaultOption: Integer)(integration)OnBeforeConfirmPostProcedure(var PurchaseHeader: Record "Purchase Header"; var DefaultOption: Integer; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeOnRun(var PurchaseHeader: Record "Purchase Header")(integration)OnBeforeRunPurchPost(var PurchaseHeader: Record "Purchase Header")(integration)OnBeforeSelectPostOrderOption(var PurchaseHeader: Record "Purchase Header"; DefaultOption: Integer; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeSelectPostReturnOrderOption(var PurchaseHeader: Record "Purchase Header"; DefaultOption: Integer; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeRunPreview(var Result: Boolean; RecVar: Variant; var IsHandled: Boolean)(integration)OnRunPreviewOnBeforePurchPostRun(var PurchaseHeader: Record "Purchase Header")(integration)
Event subscriptions
- OnRunPreview subscribes to Codeunit “Gen. Jnl.-Post Preview” OnRunPreview
Procedures
Preview(var PurchaseHeader: Record "Purchase Header")MessageIfPostingPreviewMultipleDocuments(var PurchaseHeaderToPreview: Record "Purchase Header"; DocumentNo: Code[20])+ BC24
Plus 4 local procedures.
Triggers
OnRun
Relations
- runs on Table 38 “Purchase Header”
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 90 “Purch.-Post” (3 calls:
Code → (object),OnRunPreview → (object),OnRunPreview → SetPreviewMode) - Codeunit 99 “Posting Selection Management” (3 calls:
ConfirmPost → ConfirmPostPurchaseDocument,SelectPostOrderOption → ConfirmPostPurchaseDocument,SelectPostReturnOrderOption → ConfirmPostPurchaseDocument) - Codeunit 19 “Gen. Jnl.-Post Preview” (2 calls:
MessageIfPostingPreviewMultipleDocuments → MessageIfPostingPreviewMultipleDocuments,Preview → Preview) - Codeunit 9070 “Document Errors Mgt.” (1 call:
OnRun → GetNothingToPostErrorMsg) - Codeunit 98 “Purchase Post via Job Queue” (1 call:
Code → EnqueuePurchDoc)
Called by
- Page 50 “Purchase Order” (1 call:
ShowPreview → Preview)
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: "Purch.-Post (Yes/No)"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.