Codeunit 5833 "Item Statistics"
Base Application · Microsoft.Inventory.Analysis
Across versions
- BC23-27not present
- BC28added
- BC29-30unchanged
Neighbourhood 1 connected objects and pages
Base Application · Microsoft.Inventory.Analysis · BC28-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Subtype | Normal |
Procedures
CalculateSalesGrowthRate(var Item: Record Item; DateFilterText: Text; PriorPeriodDateFilter: Text): Decimal(internal): Calculates the sales growth rate for an item over a specified period compared to a prior period.DrilldownSalesGrowthRate(var Item: Record Item; DateFilterText: Text; PriorPeriodDateFilter: Text)(internal): Drilldown into detailed sales data for the current and prior periods to analyze sales growth.CalculateNetSales(var Item: Record "Item"; DateFilterText: Text): Decimal(internal): Calculates the net sales for an item over a specified period.CalculateGrossMarginPercentage(var Item: Record "Item"; DateFilterText: Text): Decimal(internal): Calculates the gross margin percentage for an item over a specified period.CalculateProductReturnRate(var Item: Record "Item"; DateFilterText: Text): Decimal(internal): Calculates the product return rate for an item over a specified period.DrilldownProductReturnRate(var Item: Record "Item"; DateFilterText: Text)(internal): Drilldown into detailed item ledger entries to analyze product returns for the specified period.CalculateCurrentInventoryValue(var Item: Record "Item"): Decimal(internal): Calculates the current inventory value for an item based on its value entries.DrilldownCurrentInventoryValue(var Item: Record "Item")(internal): Drilldown into detailed value entries to analyze the current inventory value for the item.CalculateExpiredStockValue(var Item: Record Item): Decimal(internal): Calculates the value of expired stock for an item based on its item to value entries.DrilldownExpiredStockValue(var Item: Record Item)(internal): Drilldown into detailed item ledger entries to analyze the expired stock value for the item.DrilldownSalesAmount(var Item: Record Item; DateFilterText: Text)(internal): Drilldown into detailed sales data for an item over a specified period.
Plus 6 local procedures.
Called by
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.
- Table 5310 “Item Statistics Cache” (6 calls:
UpdateForItemLedgerEntry → CalculateProductReturnRate,UpdateForValueEntry → CalculateCurrentInventoryValue,UpdateForValueEntry → CalculateExpiredStockValue, …)
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: "Item Statistics"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.