---
id: object/codeunit/4770
type: object
title: Codeunit 4770 "Create Mfg Item"
summary: Codeunit 4770 "Create Mfg Item" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Manufacturing). 33 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - contosocoffeedemodataset
versions:
  introduced: "29"
  last_changed: null
  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: fdf30e19a2960b34f402e7bdf87cd37b2d6672cdab09c2976ebaba069880c633
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Manufacturing/2.Master%20Data/CreateMfgItem.Codeunit.al
    title: src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Manufacturing/2.Master Data/CreateMfgItem.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: 4770
name: Create Mfg Item
namespace: Microsoft.DemoData.Manufacturing
app: ContosoCoffeeDemoDataset
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 40
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 15
  called_by: 4
  implements: 0
---

# Codeunit 4770 "Create Mfg Item"

> Codeunit 4770 "Create Mfg Item" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Manufacturing). 33 public procedures. Introduced in BC29, still in BC30.

ContosoCoffeeDemoDataset · Microsoft.DemoData.Manufacturing · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Manufacturing/2.Master%20Data/CreateMfgItem.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata Item = rm |

## Procedures

- `SPSCM1004(): Code[20]`
- `SPSCM1006(): Code[20]`
- `SPSCM1009(): Code[20]`
- `SPSCM1011(): Code[20]`
- `SPBOM1101(): Code[20]`
- `SPBOM1102(): Code[20]`
- `SPBOM1103(): Code[20]`
- `SPBOM1104(): Code[20]`
- `SPBOM1105(): Code[20]`
- `SPBOM1106(): Code[20]`
- `SPBOM1107(): Code[20]`
- `SPBOM1108(): Code[20]`
- `SPBOM1109(): Code[20]`
- `SPBOM1110(): Code[20]`
- `SPBOM1111(): Code[20]`
- `SPBOM1112(): Code[20]`
- `SPBOM1201(): Code[20]`
- `SPBOM1207(): Code[20]`
- `SPBOM1208(): Code[20]`
- `SPBOM1301(): Code[20]`
- `SPBOM1302(): Code[20]`
- `SPBOM1303(): Code[20]`
- `SPBOM1304(): Code[20]`
- `SPBOM1305(): Code[20]`
- `SPBOM2000(): Code[20]`
- `SPBOM2001(): Code[20]`
- `SPBOM2002(): Code[20]`
- `SPBOM2003(): Code[20]`
- `SPBOM2004(): Code[20]`
- `SPBOM2005(): Code[20]`
- `SPBOM3001(): Code[20]`
- `SPBOM3002(): Code[20]`
- `SPBOM3003(): Code[20]`

Plus 7 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 5134 "Create Common Posting Group"](../codeunit/5134.md) (14 calls: `CreateBOMAndRoutingItems → NonTaxable`, `CreateBOMAndRoutingItems → RawMaterial`, `CreateBOMAndRoutingItems → Retail`, …)
- [Codeunit 4762 "Create Mfg GL Account"](../codeunit/4762.md) (8 calls: `CreateInvPostingSetup → CapacityVariance`, `CreateInvPostingSetup → CapOverheadVariance`, `CreateInvPostingSetup → FinishedGoods`, …)
- [Codeunit 4766 "Create Mfg Item Category"](../codeunit/4766.md) (8 calls: `CreateBOMAndRoutingItems → CommercialModelCode`, `CreateBOMAndRoutingItems → PartCode`, `CreateFlushingItems → ConsumerModelCode`, …)
- [Codeunit 4785 "Manufacturing Media"](../codeunit/4785.md) (8 calls: `CreateBOMAndRoutingItems → GetAirPotLiteWhitePicture`, `CreateBOMAndRoutingItems → GetAirPotPicture`, `CreateFlushingItems → GetAutoDripPicture`, …)
- [Codeunit 5142 "Contoso Utilities"](../codeunit/5142.md) (8 calls: `CreateBOMAndRoutingItems → AdjustPrice`, `CreateBOMAndRoutingItems → EmptyPicture`, `CreateFlushingItems → AdjustPrice`, …)
- [Codeunit 4782 "Create Mfg Posting Group"](../codeunit/4782.md) (5 calls: `CreateBOMAndRoutingItems → Finished`, `CreateFlushingItems → Finished`, `CreateInvPostingSetup → Finished`, …)
- [Codeunit 5143 "Contoso Item"](../codeunit/5143.md) (5 calls: `CreateBOMAndRoutingItems → InsertItem`, `CreateFlushingItems → InsertItem`, `CreateItemTrackingItems → InsertItem`, …)
- [Codeunit 5116 "Create Common Customer/Vendor"](../codeunit/5116.md) (4 calls: `CreateBOMAndRoutingItems → DomesticVendor1`, `CreateFlushingItems → DomesticVendor1`, `CreateItemTrackingItems → DomesticVendor1`, …)
- [Codeunit 5130 "Create Common Unit Of Measure"](../codeunit/5130.md) (4 calls: `CreateVariantsPhantomBOMItems → Can`, `OnRun → ML`, `OnRun → Piece`, …)
- [Codeunit 5135 "Create Common GL Account"](../codeunit/5135.md) (3 calls: `CreateInvPostingSetup → RawMaterials`, `CreateInvPostingSetup → Resale`, `CreateInvPostingSetup → ResaleInterim`)
- [Codeunit 5812 "Calculate Standard Cost"](../codeunit/5812.md) (2 calls: `CalcStandardCost → CalcItems`, `CalcStandardCost → SetProperties`)
- [Codeunit 5129 "Contoso Unit of Measure"](../codeunit/5129.md) (1 call: `OnRun → InsertItemUnitOfMeasure`)
- [Codeunit 5136 "Contoso Posting Setup"](../codeunit/5136.md) (1 call: `CreateInvPostingSetup → InsertInventoryPostingSetup`)
- [Codeunit 5144 "Create Common Item Tracking"](../codeunit/5144.md) (1 call: `CreateItemTrackingItems → SNSpecificTrackingCode`)
- [Codeunit 5804 "ItemCostManagement"](../codeunit/5804.md) (1 call: `CalcStandardCost → UpdateStdCostShares`)

## Called by

- [Codeunit 4771 "Create Mfg Prod. BOMs"](../codeunit/4771.md) (59 calls: `Scenario1 → SPBOM1101`, `Scenario1 → SPBOM1102`, `Scenario1 → SPBOM1103`, …)
- [Codeunit 4779 "Create Mfg Item Jnl Line"](../codeunit/4779.md) (19 calls: `OnRun → SPBOM1101`, `OnRun → SPBOM1102`, `OnRun → SPBOM1103`, …)
- [Codeunit 4772 "Create Mfg Prod. Routing"](../codeunit/4772.md) (3 calls: `Scenario1 → SPBOM2000`, `Scenario1 → SPSCM1009`, `Scenario3Flushing → SPSCM1004`)
- [Codeunit 4783 "Manufacturing Module"](../codeunit/4783.md) (1 call: `CreateMasterData → (object)`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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