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

Codeunit 5529 "Purch. Inv. Aggregator"

Base Application · Microsoft.Integration.Entity

Across versions

  1. BC23-26present
  2. BC27declaration changed
  3. BC28-30unchanged

Neighbourhood 24 connected objects and pages

Codeunit 5465 "Graph Mgt - General Tools" (calls, 25 links)Graph Mgt - General ToolsPage 20042 "APIV1 - Purchase Invoices" (calls, 8 links)APIV1 - Purchase InvoicesPage 30042 "APIV2 - Purchase Invoices" (calls, 8 links)APIV2 - Purchase InvoicesCodeunit 5511 "Graph Mgt - Purch. Cr. Memo" (calls, 6 links)Graph Mgt - Purch. Cr. MemoPage 20047 "APIV1 - Purchase Invoice Lines" (calls, 4 links)Page 30047 "APIV2 - Purchase Invoice Lines" (calls, 4 links)APIV2 - Purchase Invoice LinesCodeunit 5503 "Graph Mgt - Attachment Buffer" (calls, 3 links)Graph Mgt - Attachment BufferCodeunit 9994 "API Data Upgrade" (calls, 3 links)API Data UpgradeCodeunit 5477 "Sales Invoice Aggregator" (calls, 2 links)Sales Invoice AggregatorCodeunit 57 "Document Totals" (calls, 2 links)Codeunit 9999 "Upgrade Tag" (calls, 2 links)Upgrade TagTable 81 "Gen. Journal Line" (calls, 2 links)Gen. Journal LineCodeunit 104000 "Upgrade - BaseApp" (calls)Upgrade - BaseAppCodeunit 5446 "Purch. Invoice PDF Doc.Handler" (calls)Purch. Invoice PDF Doc.HandlerCodeunit 5467 "PDF Document Management" (calls)PDF Document ManagementCodeunit 5470 "Graph Collection Mgt - Item" (calls)Graph Collection Mgt - ItemCodeunit 5497 "Graph Mgt - Purch Order Buffer" (calls)Codeunit 5527 "Graph Mgt - Purchase Invoice" (calls)Codeunit 5532 "Disable Aggregate Table Update" (calls)Codeunit 66 "Purch - Calc Disc. By Type" (calls)Codeunit 701 "Data Type Management" (calls)Codeunit 9998 "Upgrade Tag Definitions" (calls)Page 30066 "APIV2 - Purchase Orders" (calls)Page 30083 "APIV2 - Purchase Credit Memos" (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.Entity · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Purch. Inv. Header” = rimd, tabledata “Purch. Inv. Entity Aggregate” = rimd

Event subscriptions

  • OnAfterInsertPurchaseHeader subscribes to Table “Purchase Header” OnAfterInsertEvent
  • OnAfterModifyPurchaseHeader subscribes to Table “Purchase Header” OnAfterModifyEvent
  • OnAfterDeletePurchaseHeader subscribes to Table “Purchase Header” OnAfterDeleteEvent
  • OnAfterResetRecalculateInvoiceDisc 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
  • OnAfterInsertPurchaseInvoiceHeader subscribes to Table “Purch. Inv. Header” OnAfterInsertEvent
  • OnAfterModifyPurchaseInvoiceHeader subscribes to Table “Purch. Inv. Header” OnAfterModifyEvent
  • OnAfterRenamePurchaseInvoiceHeader subscribes to Table “Purch. Inv. Header” OnAfterRenameEvent
  • OnAfterDeletePurchaseInvoiceHeader subscribes to Table “Purch. Inv. Header” 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
  • OnBeforePurchInvHeaderInsert subscribes to Codeunit “Purch.-Post” OnBeforePurchInvHeaderInsert

Procedures

  • PropagateOnInsert(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateOnModify(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)
  • PropagateOnDelete(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate")
  • UpdateAggregateTableRecords()
  • GetPurchaseInvoiceHeaderId(var PurchInvHeader: Record "Purch. Inv. Header"): Guid
  • GetPurchaseInvoiceHeaderFromId(Id: Text; var PurchInvHeader: Record "Purch. Inv. Header"): Boolean
  • UpdateUnitOfMeasure(var Item: Record Item; JSONUnitOfMeasureTxt: Text)
  • RedistributeInvoiceDiscounts(var PurchInvEntityAggregate: Record "Purch. Inv. Entity Aggregate")
  • 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")
  • UpdateLineAmountsFromPurchaseLine(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate")
  • SetItemVariantId(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate"; ItemNo: Code[20]; VariantCode: Code[20])
  • UpdateInvoiceDiscountAmount(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate")
  • VerifyCanUpdateUOM(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate")
  • FixInvoicesCreatedFromOrders()
  • SetTaxGroupIdAndCode(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate"; TaxGroupCode: Code[20]; VATProductPostingGroupCode: Code[20]; VATIdentifier: Code[20])

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: "Purch. Inv. Aggregator"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources