---
id: object/codeunit/99001023
type: object
title: Codeunit 99001023 "Prod. Def. ProdOrdLine Bind"
summary: Codeunit 99001023 "Prod. Def. ProdOrdLine Bind" in Base Application (Microsoft.Manufacturing.Wizard). 2 public procedures, 3 event subscribers. Introduced in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-07T23:32:29.863Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: f6239924f5852539be9b41495d7be01ab9274f2cb7c6c48ba4eff00d44c41927
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Layers/W1/BaseApp/Manufacturing/Wizard/ProdDefProdOrdLineBind.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/Wizard/ProdDefProdOrdLineBind.Codeunit.al (main)
    date: null
    commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9067
object_type: codeunit
object_id: 99001023
name: Prod. Def. ProdOrdLine Bind
namespace: Microsoft.Manufacturing.Wizard
app: Base Application
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 5
  events: 0
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 1
  implements: 0
---

# Codeunit 99001023 "Prod. Def. ProdOrdLine Bind"

> Codeunit 99001023 "Prod. Def. ProdOrdLine Bind" in Base Application (Microsoft.Manufacturing.Wizard). 2 public procedures, 3 event subscribers. Introduced in BC30.

Base Application · Microsoft.Manufacturing.Wizard · BC30 · [source at f18567dc](https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Layers/W1/BaseApp/Manufacturing/Wizard/ProdDefProdOrdLineBind.Codeunit.al) · facts from BC30

## Event subscriptions

- OnBeforeGetProdOrderForProdOrderLine subscribes to Table "Prod. Order Line" OnBeforeGetProdOrder
- OnBeforeGetProdOrderNeedsForProdOrderComp subscribes to Table "Prod. Order Component" OnBeforeGetProdOrderNeeds
- OnBeforeGetProdOrderLineForRoutingLine subscribes to Table "Prod. Order Routing Line" OnBeforeGetProdOrderLine

## Procedures

- `SetProdOrder(ProdOrder: Record "Production Order")` (internal): Stores the production order to return for temporary production order lines. Must be called before BindSubscription.
- `SetProdOrderLine(ProdOrderLine: Record "Prod. Order Line")` (internal): Stores the production order line to return for temporary routing lines. Must be called before BindSubscription.

## Called by

From the extracted call graph of BC30 (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 99001016 "Prod. Definition Temp Data"](../codeunit/99001016.md) (2 calls: `BindProdOrderSubscriber → SetProdOrder`, `BindProdOrderSubscriber → SetProdOrderLine`)

## Recent changes

- 2026-08-16 [#9067 Production Definition Wizard - Implementation](../../changes/bcapps/9067.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- 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 BC30 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: "Prod. Def. ProdOrdLine Bind")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
