codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 5511 "Graph Mgt - Purch. Cr. Memo"

Base Application · Microsoft.Integration.Graph

Across versions

  1. BC23-27present
  2. BC28declaration changed
  3. BC29-30unchanged

Neighbourhood 12 connected objects and pages

Codeunit 5465 "Graph Mgt - General Tools" (calls, 25 links)Graph Mgt - General ToolsPage 30083 "APIV2 - Purchase Credit Memos" (calls, 9 links)APIV2 - Purchase Credit MemosCodeunit 5529 "Purch. Inv. Aggregator" (calls, 6 links)Purch. Inv. AggregatorPage 30084 "APIV2 - Purch. Cr. Memo Lines" (calls, 4 links)APIV2 - Purch. Cr. Memo LinesCodeunit 10 "Type Helper" (calls, 3 links)Type HelperCodeunit 5477 "Sales Invoice Aggregator" (calls, 2 links)Codeunit 5503 "Graph Mgt - Attachment Buffer" (calls, 2 links)Graph Mgt - Attachment BufferCodeunit 57 "Document Totals" (calls, 2 links)Document TotalsCodeunit 9994 "API Data Upgrade" (calls, 2 links)API Data UpgradeCodeunit 5447 "Purch. Cr.Memo PDF Doc.Handler" (calls)Purch. Cr.Memo PDF Doc.HandlerCodeunit 5532 "Disable Aggregate Table Update" (calls)Disable Aggregate Table UpdateCodeunit 66 "Purch - Calc Disc. By Type" (calls)

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.Integration.Graph · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Purch. Cr. Memo Hdr.” = rimd, tabledata “Purch. Cr. Memo Entity Buffer” = rimd

Event subscriptions

  • OnAfterInsertPurchaseHeader subscribes to Table “Purchase Header” OnAfterInsertEvent
  • OnAfterModifyPurchaseHeader subscribes to Table “Purchase Header” OnAfterModifyEvent
  • OnAfterDeletePurchaseHeader subscribes to Table “Purchase Header” OnAfterDeleteEvent
  • OnAfterResetRecalculateCreditMemoDisc subscribes to Codeunit “Purch - Calc Disc. By Type” OnAfterResetRecalculateInvoiceDisc
  • OnAfterInsertPurchaseLine subscribes to Table “Purchase Line” OnAfterInsertEvent
  • OnAfterModifyPurchaseLine subscribes to Table “Purchase Line” OnAfterModifyEvent
  • OnAfterDeletePurchaseLine subscribes to Table “Purchase Line” OnAfterDeleteEvent
  • OnAfterInsertPurchaseCreditMemoHeader subscribes to Table “Purch. Cr. Memo Hdr.” OnAfterInsertEvent
  • OnAfterModifyPurchaseCreditMemoHeader subscribes to Table “Purch. Cr. Memo Hdr.” OnAfterModifyEvent
  • OnAfterRenamePurchaseCreditMemoHeader subscribes to Table “Purch. Cr. Memo Hdr.” OnAfterRenameEvent
  • OnAfterDeletePurchaseCreditMemoHeader subscribes to Table “Purch. Cr. Memo Hdr.” OnAfterDeleteEvent
  • OnAfterCalculatePurchaseDiscountOnPurchaseHeader subscribes to Codeunit “Purch.-Calc.Discount” OnAfterCalcPurchaseDiscount
  • OnAfterInsertVendorLedgerEntry subscribes to Table “Vendor Ledger Entry” OnAfterInsertEvent
  • OnAfterModifyVendorLedgerEntry subscribes to Table “Vendor Ledger Entry” OnAfterModifyEvent
  • OnAfterRenameVendorLedgerEntry subscribes to Table “Vendor Ledger Entry” OnAfterRenameEvent
  • OnAfterDeleteVendorLedgerEntry subscribes to Table “Vendor Ledger Entry” OnAfterDeleteEvent
  • OnAfterInsertCancelledDocument subscribes to Table “Cancelled Document” OnAfterInsertEvent
  • OnAfterModifyCancelledDocument subscribes to Table “Cancelled Document” OnAfterModifyEvent
  • OnAfterRenameCancelledDocument subscribes to Table “Cancelled Document” OnAfterRenameEvent
  • OnAfterDeleteCancelledDocument subscribes to Table “Cancelled Document” OnAfterDeleteEvent
  • OnBeforePurchCrMemoHeaderInsert subscribes to Codeunit “Purch.-Post” OnBeforePurchCrMemoHeaderInsert
  • HandleApiSetup subscribes to Codeunit “Graph Mgt - General Tools” ApiSetup

Procedures

  • PropagateOnInsert(var PurchCrMemoEntityBuffer: Record "Purch. Cr. Memo Entity Buffer"; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateOnModify(var PurchCrMemoEntityBuffer: Record "Purch. Cr. Memo Entity Buffer"; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateOnDelete(var PurchCrMemoEntityBuffer: Record "Purch. Cr. Memo Entity Buffer")
  • UpdateBufferTableRecords()
  • GetPurchaseCrMemoHeaderId(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."): Guid
  • GetPurchaseCrMemoHeaderFromId(Id: Text; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."): Boolean
  • RedistributeCreditMemoDiscounts(var PurchCrMemoEntityBuffer: Record "Purch. Cr. Memo Entity Buffer")
  • LoadLines(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate"; DocumentIdFilter: Text)
  • PropagateInsertLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateModifyLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateDeleteLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate")

Plus 24 local procedures.

Triggers

OnRun

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: "Graph Mgt - Purch. Cr. Memo"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources