codeunitManufacturingofficial - Microsoftderived - from the source, no model text

Codeunit 99000770 "Where-Used Management"

Base Application · Microsoft.Manufacturing.ProductionBOM

Across versions

  1. BC23-24present
  2. BC252 events added
  3. BC26-30unchanged

Neighbourhood 5 connected objects and pages

Page 99000811 "Prod. BOM Where-Used" (calls, 4 links)Prod. BOM Where-UsedCodeunit 99000756 "VersionManagement" (calls, 3 links)VersionManagementCodeunit 5402 "Unit of Measure Management" (calls)Unit of Measure ManagementCodeunit 99000758 "Mfg. Cost Calculation Mgt." (calls)Mfg. Cost Calculation Mgt.Codeunit 99000769 "Production BOM-Check" (calls)Production BOM-Check

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.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"): Boolean
  • NextRecord(Steps: Integer; var WhereUsedList2: Record "Where-Used Line"): Integer
  • WhereUsedFromItem(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.

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: "Where-Used Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources