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

Codeunit 91 "Purch.-Post (Yes/No)"

Base Application · Microsoft.Purchases.Posting

Across versions

  1. BC23present
  2. BC241 procedures added
  3. BC25unchanged
  4. BC261 events added, 1 events removed
  5. BC27-30unchanged

Neighbourhood 7 connected objects and pages

Table 38 "Purchase Header" (relates to)Purchase HeaderCodeunit 90 "Purch.-Post" (calls, 3 links)Purch.-PostCodeunit 99 "Posting Selection Management" (calls, 3 links)Posting Selection ManagementCodeunit 19 "Gen. Jnl.-Post Preview" (calls, 2 links)Gen. Jnl.-Post PreviewCodeunit 9070 "Document Errors Mgt." (calls)Document Errors Mgt.Codeunit 98 "Purchase Post via Job Queue" (calls)Purchase Post via Job QueuePage 50 "Purchase Order" (calls)Purchase Order

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

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

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: "Purch.-Post (Yes/No)"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources