---
id: object/codeunit/4772
type: object
title: Codeunit 4772 "Create Mfg Prod. Routing"
summary: Codeunit 4772 "Create Mfg Prod. Routing" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Manufacturing). 13 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: 961afd64f1159df70e502d02fc2b886e775c7e67ef5644cd2970951143a5243e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Manufacturing/2.Master%20Data/CreateMfgProdRouting.Codeunit.al
    title: src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Manufacturing/2.Master Data/CreateMfgProdRouting.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9278
    - change/bcapps/9276
    - change/bcapps/9179
object_type: codeunit
object_id: 4772
name: Create Mfg Prod. Routing
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: 19
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 2
  implements: 0
---

# Codeunit 4772 "Create Mfg Prod. Routing"

> Codeunit 4772 "Create Mfg Prod. Routing" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Manufacturing). 13 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/CreateMfgProdRouting.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Item" = rm, tabledata "Routing Header" = rm |

## Procedures

- `OperationNo10(): Code[10]`
- `OperationNo20(): Code[10]`
- `OperationNo30(): Code[10]`
- `RoutingLink100(): Code[10]`
- `RoutingLink300(): Code[10]`
- `RoutingLink500(): Code[10]`
- `SPBOM2000(): Code[20]`
- `SPSCM1009SERIAL(): Code[20]`
- `SPSCM1009PARALLEL(): Code[20]`
- `SPSCM1004(): Code[20]`
- `SPSCM1009SUB1(): Code[20]`
- `SPSCM1009SUBF(): Code[20]`
- `SPSCM1009SUB2(): Code[20]` (obsolete 29.0: Routing renamed to SP-SCM1009-SUB-F. Use SPSCM1009SUBF instead.)

Plus 6 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 4775 "Create Mfg Capacity"](../codeunit/4775.md) (11 calls: `Scenario1 → MachineCenter110`, `Scenario1 → MachineCenter210`, `Scenario1 → WorkCenter100`, …)
- [Codeunit 4786 "Create Mfg Standard Task"](../codeunit/4786.md) (10 calls: `Scenario1 → BodyAssembly`, `Scenario1 → ElectricalWiring`, `Scenario1 → Packing`, …)
- [Codeunit 4763 "Contoso Manufacturing"](../codeunit/4763.md) (7 calls: `CreateRoutingLinks → InsertRoutingLink`, `Scenario1 → InsertRoutingHeader`, `Scenario1 → InsertRoutingLine`, …)
- [Codeunit 4770 "Create Mfg Item"](../codeunit/4770.md) (3 calls: `Scenario1 → SPBOM2000`, `Scenario1 → SPSCM1009`, `Scenario3Flushing → SPSCM1004`)
- [Codeunit 5142 "Contoso Utilities"](../codeunit/5142.md) (1 call: `Scenario5Subcontracting → AdjustPrice`)

## Called by

- [Codeunit 4771 "Create Mfg Prod. BOMs"](../codeunit/4771.md) (1 call: `Scenario3 → RoutingLink100`)
- [Codeunit 4783 "Manufacturing Module"](../codeunit/4783.md) (1 call: `CreateMasterData → (object)`)

## Recent changes

- 2026-08-14 [#9278 Add Standard Tasks with work instructions to Contoso Coffee manufacturing demo data](../../changes/bcapps/9278.md) (main, BC30, feature)
- 2026-08-13 [#9276 Add second subcontractor (Local Assembly) to Contoso Coffee manufacturing demo data](../../changes/bcapps/9276.md) (main, BC30, feature)
- 2026-07-10 [#9179 Contoso demodata renaming](../../changes/bcapps/9179.md) (main, BC30, refactor)

## Across versions

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

## Deprecations

- procedure SPSCM1009SUB2: Pending 29.0 (#if not CLEAN29), "Routing renamed to SP-SCM1009-SUB-F. Use SPSCM1009SUBF instead."

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