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

# Codeunit 99000768 "Production BOM-Copy"

> Codeunit 99000768 "Production BOM-Copy" in Base Application (Microsoft.Manufacturing.ProductionBOM). 2 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC26.

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

## Properties

| Property | Value |
|---|---|
| TableNo | Production BOM Header |

## Events published

- `OnAfterCopyBOM(BOMHeaderNo: Code[20]; var CurrentBOMHeader: Record "Production BOM Header"; FromVersionCode: Code[20]; ToVersionCode: Code[20])` (integration)
- `OnBeforeCopyBOM(var ProdBOMHeader: Record "Production BOM Header"; BOMHeaderNo: Code[20]; FromVersionCode: Code[20]; ToVersionCode: Code[20]; var SkipBOMDeletion: Boolean; var LineNo: Integer)` (integration)
- `OnAfterInsertProdBOMComponent(var ToProductionBOMLine: Record "Production BOM Line"; var FromProductionBOMLine: Record "Production BOM Line"; var ProductionBOMHeader: Record "Production BOM Header"; var SkipBOMDeletion: Boolean; var LineNo: Integer)` (integration)
- `OnBeforeInsertProdBOMComponent(var ToProductionBOMLine: Record "Production BOM Line"; var FromProductionBOMLine: Record "Production BOM Line")` (integration)

## Procedures

- `CopyBOM(FromProductionBOMNo: Code[20]; FromVersionCode: Code[20]; ProductionBOMHeader: Record "Production BOM Header"; ToVersionCode: Code[20])`
- `CopyFromVersion(var ToProductionBOMVersion: Record "Production BOM Version")`

## Triggers

OnRun

## Relations

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

## Across versions

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

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