Codeunit 9066 "Check Purchase Document Line"
Base Application · Microsoft.Purchases.Document
Across versions
- BC23-24present
- BC252 procedures added, 2 events added
- BC26unchanged
- BC271 procedures added, 1 procedures removed
- BC28-30unchanged
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.Purchases.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Purchase Line |
Events published
OnBeforeCheckPurchaseLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)+ BC25 (integration)OnCheckPurchLineOnAfterPurchLineSetFilters(Item: Record Item; var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)+ BC25 (integration)
Event subscriptions
- ItemOnBeforeCheckDocuments subscribes to Table “Item” OnAfterCheckDocuments
Procedures
SetPurchaseHeader(NewPurchaseHeader: Record "Purchase Header")CheckPurchaseLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)+ BC25 (internal)
Plus 1 local procedures.
Triggers
OnRun
Relations
- runs on Table 39 “Purchase Line”
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” (1 call:
RunCheck → TestPurchLine)
Called by
- Codeunit 9068 “Check Purch. Doc. Backgr.” (2 calls:
RunPurchaseDocLineCheckCodeunit → (object),RunPurchaseDocLineCheckCodeunit → SetPurchaseHeader)
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: "Check Purchase Document Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.