Codeunit 1325 "Cancel PstdPurchInv (Yes/No)"
Base Application · Microsoft.Purchases.History
Across versions
- BC23-27present
- BC281 events added
- BC291 procedures added
- BC30unchanged
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.Purchases.History · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Purch. Inv. Header |
| Permissions | TableData “Purch. Inv. Header” = rm, TableData “Purch. Cr. Memo Hdr.” = rm |
Events published
OnBeforeShowPostedPurchaseCreditMemo(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var IsHandled: Boolean)(integration)OnCancelInvoiceOnBeforeTestCorrectInvoiceIsAllowed(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)+ BC28 (integration)
Procedures
CancelInvoice(var PurchInvHeader: Record "Purch. Inv. Header"): Boolean
Plus 1 local procedures.
Triggers
OnRun
Relations
- runs on Table 122 “Purch. Inv. 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 1313 “Correct Posted Purch. Invoice” (2 calls:
CancelInvoice → CancelPostedInvoice,CancelInvoice → TestCorrectInvoiceIsAllowed) - Page 140 “Posted Purchase Credit Memo” (1 call:
CancelInvoice → (object))
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: "Cancel PstdPurchInv (Yes/No)"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.