---
id: object/codeunit/99000769
type: object
title: Codeunit 99000769 "Production BOM-Check"
summary: Codeunit 99000769 "Production BOM-Check" in Base Application (Microsoft.Manufacturing.ProductionBOM). 4 public procedures, 11 events. Present since at least BC23, still in BC30, changed in BC24-26, BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 79117302969e9be0adf5eeb36eb0d7d71bd14c03644dc3005e5a8c6023039266
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/ProductionBOMCheck.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/ProductionBOMCheck.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 99000769
name: Production BOM-Check
namespace: Microsoft.Manufacturing.ProductionBOM
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 19
  events: 11
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 2
  implements: 0
---

# Codeunit 99000769 "Production BOM-Check"

> Codeunit 99000769 "Production BOM-Check" in Base Application (Microsoft.Manufacturing.ProductionBOM). 4 public procedures, 11 events. Present since at least BC23, still in BC30, changed in BC24-26, BC29.

Base Application · Microsoft.Manufacturing.ProductionBOM · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/ProductionBOMCheck.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | Production BOM Header |
| Permissions | TableData Item = r, TableData "Routing Line" = r, TableData "Manufacturing Setup" = r |

## Events published

- `OnAfterCode(var ProductionBOMHeader: Record "Production BOM Header"; VersionCode: Code[20])` (integration)
- `OnAfterProdBomLineCheck(ProductionBOMLine: Record "Production BOM Line"; VersionCode: Code[20])` (integration)
- `OnBeforeOpenDialogWindow(var Window: Dialog; var IsHandled: Boolean)` (integration)
- `OnBeforeProcessItems(var ProdBOMHeader: Record "Production BOM Header"; VersionCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnBeforeUpdateDialogWindow(var Item: Record Item; ItemCounter: Integer; NoOfItems: Integer; var Window: Dialog; var IsHandled: Boolean)` (integration)
- `OnProcessItemsOnAfterItemSetFilters(var Item: Record Item; var ProductionBOMHeader: Record "Production BOM Header")` (integration)
- `OnCheckCircularReferencesInProductionBOMOnAfterProdBOMLineSetFilters(var ProductionBOMLine: Record "Production BOM Line"; TempProductionBOMHeader: Record "Production BOM Header" temporary; VersionCode: Code[20])` (integration)
- `OnCheckCircularReferencesInProductionBOMOnBeforeProdBOMLineCheck(var ProductionBOMLine: Record "Production BOM Line"; var IsHandled: Boolean)` (integration)
- `OnCheckBOMStructureOnAfterGetProdBOMHeader(ProductionBOMHeader: Record "Production BOM Header"; var VersionCode: Code[20]; var Item: Record Item)` (integration)
- `OnCheckBOMStructureOnBeforeFindProdBOMComponent(var ProdBOMComponent: Record "Production BOM Line")` (integration)
- `OnCheckBOMStructureOnBeforeCheckRoutingLine(Item: Record Item; ProductionBOMLine: Record "Production BOM Line"; BOMHeaderNo: Code[20]; VersionCode: Code[20]; Level: Integer; var IsHandled: Boolean)` (integration)

## Procedures

- `Code(var ProdBOMHeader: Record "Production BOM Header"; VersionCode: Code[20])`
- `CheckBOMStructure(var FirstLevelItem: Record Item; BOMHeaderNo: Code[20]; VersionCode: Code[20]; Level: Integer)`
- `ProdBOMLineCheck(ProdBOMNo: Code[20]; VersionCode: Code[20])`
- `CheckBOM(ProductionBOMNo: Code[20]; VersionCode: Code[20])`

Plus 4 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 99000771 "Production BOM Header"](../table/99000771.md)

## 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 99000793 "Calculate Low-Level Code"](../codeunit/99000793.md) (4 calls: `Code → CalcLevels`, `Code → RecalcLowerLevels`, `Code → SetActualProdBOM`, …)
- [Codeunit 99000756 "VersionManagement"](../codeunit/99000756.md) (2 calls: `CheckBOMStructure → GetBOMVersion`, `CheckCircularReferencesInProductionBOM → GetBOMVersion`)

## Called by

- [Codeunit 99000770 "Where-Used Management"](../codeunit/99000770.md) (1 call: `BuildWhereUsedListWithCheck → CheckBOM`)
- [Codeunit 99000820 "Mfg. Bom Buffer"](../codeunit/99000820.md) (1 call: `OnInitFromItemOnAfterSetReplenishmentSystem → CheckBOM`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26, BC29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## 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: "Production BOM-Check")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
