Codeunit 5506 "Graph Mgt - Sales Quote Buffer"
Base Application · Microsoft.Integration.Graph
Across versions
- BC23-27present
- BC28declaration changed
- BC29-30unchanged
Neighbourhood 12 connected objects and pages
Base Application · Microsoft.Integration.Graph · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Sales Quote Entity Buffer” = rimd |
Event subscriptions
- OnAfterInsertSalesHeader subscribes to Table “Sales Header” OnAfterInsertEvent
- OnAfterModifySalesHeader subscribes to Table “Sales Header” OnAfterModifyEvent
- OnAfterDeleteSalesHeader subscribes to Table “Sales Header” OnAfterDeleteEvent
- OnAfterResetRecalculateInvoiceDisc subscribes to Codeunit “Sales - Calc Discount By Type” OnAfterResetRecalculateInvoiceDisc
- OnAfterInsertSalesLine subscribes to Table “Sales Line” OnAfterInsertEvent
- OnAfterModifySalesLine subscribes to Table “Sales Line” OnAfterModifyEvent
- OnAfterDeleteSalesLine subscribes to Table “Sales Line” OnAfterDeleteEvent
- OnAfterCalculateSalesDiscountOnSalesHeader subscribes to Codeunit “Sales-Calc. Discount” OnAfterCalcSalesDiscount
Procedures
PropagateOnInsert(var SalesQuoteEntityBuffer: Record "Sales Quote Entity Buffer"; var TempFieldBuffer: Record "Field Buffer" temporary)PropagateOnModify(var SalesQuoteEntityBuffer: Record "Sales Quote Entity Buffer"; var TempFieldBuffer: Record "Field Buffer" temporary)PropagateOnDelete(var SalesQuoteEntityBuffer: Record "Sales Quote Entity Buffer")UpdateBufferTableRecords()RedistributeInvoiceDiscounts(var SalesQuoteEntityBuffer: Record "Sales Quote Entity Buffer")LoadLines(var SalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate"; DocumentIdFilter: Text)PropagateInsertLine(var SalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)PropagateModifyLine(var SalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate"; var TempFieldBuffer: Record "Field Buffer" temporary)PropagateDeleteLine(var SalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate")PropagateMultipleLinesUpdate(var TempNewSalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate" temporary)GetFieldSetBufferWithAllFieldsSet(var TempFieldBuffer: Record "Field Buffer" temporary)
Plus 17 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.
- Codeunit 5465 “Graph Mgt - General Tools” (10 calls:
CheckValidLineRecord → IsApiEnabled,OnAfterCalculateSalesDiscountOnSalesHeader → IsApiEnabled,OnAfterDeleteSalesHeader → IsApiEnabled, …) - Codeunit 10 “Type Helper” (3 calls:
PropagateOnInsert → TransferFieldsWithValidate,PropagateOnModify → TransferFieldsWithValidate,TransferSalesInvoiceLineAggregateToSalesLine → TransferFieldsWithValidate) - Codeunit 5477 “Sales Invoice Aggregator” (3 calls:
TransferFromSalesLine → GetIdFromDocumentIdAndSequence,TransferFromSalesLine → SetItemVariantId,TransferFromSalesLine → SetTaxGroupIdAndCode) - Codeunit 5532 “Disable Aggregate Table Update” (1 call:
CheckUpdatesDisabled → OnGetAggregateTablesUpdateEnabled) - Codeunit 56 “Sales - Calc Discount By Type” (1 call:
RedistributeInvoiceDiscounts → (object)) - Codeunit 57 “Document Totals” (1 call:
AssignTotalsFromSalesLine → CalculateSalesTotals) - Codeunit 9994 “API Data Upgrade” (1 call:
UpdateBufferTableRecords → CountRecordsAndCommit)
Called by
- Page 20037 “APIV1 - Sales Quotes” (6 calls:
OnAfterGetRecord → RedistributeInvoiceDiscounts,OnDeleteRecord → PropagateOnDelete,OnInsertRecord → PropagateOnInsert, …) - Page 30037 “APIV2 - Sales Quotes” (6 calls:
OnAfterGetRecord → RedistributeInvoiceDiscounts,OnDeleteRecord → PropagateOnDelete,OnInsertRecord → PropagateOnInsert, …) - Page 20045 “APIV1 - Sales Quote Lines” (4 calls:
OnDeleteRecord → PropagateDeleteLine,OnFindRecord → LoadLines,OnInsertRecord → PropagateInsertLine, …) - Page 30045 “APIV2 - Sales Quote Lines” (4 calls:
OnDeleteRecord → PropagateDeleteLine,OnFindRecord → LoadLines,OnInsertRecord → PropagateInsertLine, …) - Codeunit 5477 “Sales Invoice Aggregator” (1 call:
PropagateMultipleLinesUpdate → GetFieldSetBufferWithAllFieldsSet) - Codeunit 5505 “Graph Mgt - Sales Quote” (1 call:
HandleApiSetup → UpdateBufferTableRecords) - Codeunit 9994 “API Data Upgrade” (1 call:
OnRun → UpdateBufferTableRecords)
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 - Sales Quote Buffer"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.