Codeunit 99000770 "Where-Used Management"
Base Application · Microsoft.Manufacturing.ProductionBOM
Across versions
- BC23-24present
- BC252 events added
- BC26-30unchanged
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Manufacturing.ProductionBOM · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Production BOM Header” = r, TableData “Production BOM Version” = r, TableData “Where-Used Line” = rimd |
Events published
OnAfterBuildWhereUsedList(Type: Option " ",Item,"Production BOM"; No: Code[20]; CalcDate: Date; var WhereUsedList: Record "Where-Used Line" temporary; NextWhereUsedEntryNo: Integer; Level: Integer; Quantity: Decimal; MultiLevel: Boolean)(integration)OnBeforeIsActiveProductionBOM(ProductionBOMLine: Record "Production BOM Line"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeBuildWhereUsedList(Type: Option; No: Code[20]; var Multilevel: Boolean; var CalcDate: Date; var Level: Integer; var Quantity: Decimal; var NextWhereUsedEntryNo: Integer; var TempWhereUsedLine: Record "Where-Used Line" temporary)(integration)OnBeforeWhereUsedListInsert(var WhereUsedLine: Record "Where-Used Line"; var ItemAssembly: Record Item; var CalcDate: Date; var Quantity: Decimal)(integration)OnBuildWhereUsedListOnLoopProdBomComponent(var ProductionBOMLine: Record "Production BOM Line"; var TempWhereUsedLine: Record "Where-Used Line" temporary; var NextWhereUsedEntryNo: Integer; No: Code[20]; CalcDate: Date; var Level: Integer)(integration)OnBuildWhereUsedListOnAfterItemAssemblySetFilters(var Item: Record Item; var No: Code[20])(integration)OnBuildWhereUsedListOnBeforeFindSetProdBOMComponent(var ProductionBOMLine: Record "Production BOM Line")(integration)OnBeforeBuildWhereUsedListWithCheck(ProductionBOMLineType: Enum "Production BOM Line Type"; No: Code[20]; CalcDate: Date; IsMultiLevel: Boolean; var TempWhereUsedLine: Record "Where-Used Line" temporary; var IsHandled: Boolean)+ BC25 (integration)OnBeforeGetItemBOMNo(ItemNo: Code[20]; var Item: Record Item; var IsHandled: Boolean)+ BC25 (integration)
Procedures
FindRecord(Which: Text[30]; var WhereUsedList2: Record "Where-Used Line"): BooleanNextRecord(Steps: Integer; var WhereUsedList2: Record "Where-Used Line"): IntegerWhereUsedFromItem(Item: Record Item; CalcDate: Date; NewMultiLevel: Boolean)WhereUsedFromProdBOM(ProdBOM: Record "Production BOM Header"; CalcDate: Date; NewMultiLevel: Boolean)IsActiveProductionBOM(ProductionBOMLine: Record "Production BOM Line"): Boolean
Plus 5 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 99000756 “VersionManagement” (3 calls:
BuildWhereUsedList → GetBOMUnitOfMeasure,BuildWhereUsedList → GetBOMVersion,BuildWhereUsedListWithCheck → GetBOMVersion) - Codeunit 5402 “Unit of Measure Management” (1 call:
BuildWhereUsedList → GetQtyPerUnitOfMeasure) - Codeunit 99000758 “Mfg. Cost Calculation Mgt.” (1 call:
BuildWhereUsedList → CalcCompItemQtyBase) - Codeunit 99000769 “Production BOM-Check” (1 call:
BuildWhereUsedListWithCheck → CheckBOM)
Called by
- Page 99000811 “Prod. BOM Where-Used” (4 calls:
BuildForm → WhereUsedFromItem,BuildForm → WhereUsedFromProdBOM,OnFindRecord → FindRecord, …)
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: "Where-Used Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.