---
id: object/codeunit/99000756
type: object
title: Codeunit 99000756 "VersionManagement"
summary: Codeunit 99000756 "VersionManagement" in Base Application (Microsoft.Manufacturing.ProductionBOM). 3 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC25.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "25"
  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: 00fb154186d6cbdf29f6a4c818cee8a246f7f2518704ff661ee0a49e0d503a16
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/VersionManagement.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/VersionManagement.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: 99000756
name: VersionManagement
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:
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 21
  implements: 0
---

# Codeunit 99000756 "VersionManagement"

> Codeunit 99000756 "VersionManagement" in Base Application (Microsoft.Manufacturing.ProductionBOM). 3 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC25.

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Production BOM Header" = r |

## Events published

- `OnBeforeGetBOMVersion(BOMHeaderNo: Code[20]; Date: Date; OnlyCertified: Boolean; var VersionCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnBeforeGetBOMUnitOfMeasure(BOMHeaderNo: Code[20]; VersionCode: Code[20]; var UoMCode: Code[10]; var IsHandled: Boolean)` (integration)
- `OnBeforeGetRtngVersion(RoutingNo: Code[20]; Date: Date; OnlyCertified: Boolean; var VersionCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnGetBOMVersionOnBeforeProdBOMVersionFindLast(var ProductionBOMVersion: Record "Production BOM Version"; BOMHeaderNo: Code[20]; Date: Date; OnlyCertified: Boolean)` (integration)

## Procedures

- `GetBOMVersion(BOMHeaderNo: Code[20]; Date: Date; OnlyCertified: Boolean): Code[20]`
- `GetBOMUnitOfMeasure(BOMHeaderNo: Code[20]; VersionCode: Code[20]): Code[10]`
- `GetRtngVersion(RoutingNo: Code[20]; Date: Date; OnlyCertified: Boolean): Code[20]`

## Triggers

OnRun

## 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.

- [Codeunit 99000771 "BOM Matrix Management"](../codeunit/99000771.md) (4 calls: `BuildMatrix → GetBOMUnitOfMeasure`, `BuildMatrix → GetBOMVersion`, `CompareTwoItems → GetBOMUnitOfMeasure`, …)
- [Codeunit 99000770 "Where-Used Management"](../codeunit/99000770.md) (3 calls: `BuildWhereUsedList → GetBOMUnitOfMeasure`, `BuildWhereUsedList → GetBOMVersion`, `BuildWhereUsedListWithCheck → GetBOMVersion`)
- [Codeunit 3687 "Low-Level Code Calculator"](../codeunit/3687.md) (2 calls: `CheckItemProductionBOMIsCertified → GetBOMVersion`, `PopulateFromSKUAndRelatedBOMs → GetBOMVersion`)
- [Codeunit 5812 "Calculate Standard Cost"](../codeunit/5812.md) (2 calls: `CalcProdBOMCost → GetBOMUnitOfMeasure`, `SetProdBOMFilters → GetBOMVersion`)
- [Codeunit 99000769 "Production BOM-Check"](../codeunit/99000769.md) (2 calls: `CheckBOMStructure → GetBOMVersion`, `CheckCircularReferencesInProductionBOM → GetBOMVersion`)
- [Codeunit 99000773 "Calculate Prod. Order"](../codeunit/99000773.md) (2 calls: `Calculate → GetBOMUnitOfMeasure`, `TransferBOM → GetBOMVersion`)
- [Codeunit 99000819 "Mfg. Planning Line Management"](../codeunit/99000819.md) (2 calls: `OnCalculateOnTransferBOM → GetBOMUnitOfMeasure`, `TransferBOM → GetBOMVersion`)
- [Codeunit 99000820 "Mfg. Bom Buffer"](../codeunit/99000820.md) (2 calls: `OnInitFromItemOnAfterSetReplenishmentSystem → GetBOMUnitOfMeasure`, `OnInitFromItemOnAfterSetReplenishmentSystem → GetBOMVersion`)
- [Codeunit 99000869 "Mfg. Invt. Profile Offsetting"](../codeunit/99000869.md) (2 calls: `OnFillTempSKUForLocation → GetRtngVersion`, `OnGetComponentsOnNewActionMessage → GetBOMVersion`)
- [Codeunit 99000758 "Mfg. Cost Calculation Mgt."](../codeunit/99000758.md) (1 call: `FindRoutingLine → GetRtngVersion`)
- [Codeunit 99000781 "Mfg. Calculate BOM Tree"](../codeunit/99000781.md) (1 call: `GenerateProdCompSubTree → GetBOMVersion`)
- [Page 99000766 "Routing"](../page/99000766.md) (1 call: `RefreshActiveVersionCode → GetRtngVersion`)
- [Page 99000786 "Production BOM"](../page/99000786.md) (1 call: `RefreshActiveVersionCode → GetBOMVersion`)
- [Report 6216 "Sust. Prod. BOM Calculate CO2e"](../report/6216.md) (1 call: `UpdateCO2ePerUnit → GetBOMVersion`)
- [Report 6218 "Sust. Routing Calculate CO2e"](../report/6218.md) (1 call: `UpdateCO2ePerUnit → GetRtngVersion`)
- [Report 99000754 "Rolled-up Cost Shares"](../report/99000754.md) (1 call: `CalcMfgItemQtyBase → GetBOMUnitOfMeasure`)
- [Report 99001043 "Exchange Production BOM Item"](../report/99001043.md) (1 call: `IsActiveBOMVersion → GetBOMVersion`)
- [Table 5405 "Production Order"](../table/5405.md) (1 call: `GetDefaultBin → GetRtngVersion`)
- [Table 99000764 "Routing Line"](../table/99000764.md) (1 call: `CertifiedRoutingVersionExists → GetRtngVersion`)
- [Table extension 99000750 "Mfg. Item"](../tableextension/99000750.md) (1 call: `OpenActiveProdBOMForItem → GetBOMVersion`)
- [Table extension 99000759 "Mfg. Stockkeeping Unit"](../tableextension/99000759.md) (1 call: `OpenActiveProductionBOMForSKUItem → GetBOMVersion`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25

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