Codeunit 99001022 "Prod. Def. Source Initializer"
Base Application · Microsoft.Manufacturing.Wizard
Across versions
- BC23-29not present
- BC30added
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Manufacturing.Wizard · BC30 · source at f18567dc · facts from BC30
Events published
OnBeforeInitializeFromSource(var TempData: Codeunit "Prod. Definition Temp Data"; Source: Variant; var IsHandled: Boolean)(integration): Raised before built-in dispatch. Set IsHandled to true to skip default Item/SalesLine handling and to prevent OnInitializeFromSource from firing as the fallback.OnInitializeFromSource(var TempData: Codeunit "Prod. Definition Temp Data"; Source: Variant; var IsHandled: Boolean)(integration): Raised when the source type is not handled natively (i.e. not Item, Stockkeeping Unit, or Sales Line). Subscribe here to support additional source types such as Purchase Line. Set IsHandled to true once the initialization is complete.
Procedures
InitializeFromSource(var TempData: Codeunit "Prod. Definition Temp Data"; Source: Variant)(internal): Dispatches initialization of the temporary production definition data based on the type of the source record. Built-in handling is provided for Item, Stockkeeping Unit, and Sales Line. For other source types (such as Purchase Line in the Subcontracting app), subscribe to OnInitializeFromSource and s…
Plus 1 local procedures.
Calls
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” (3 calls:
InitializeFromSource → InitializeFromItem,InitializeFromSource → InitializeFromSalesLine,InitializeFromSource → InitializeFromSKU) - Codeunit 701 “Data Type Management” (1 call:
InitializeFromSource → GetRecordRef)
Recent changes
- 2026-08-16 #9067 Production Definition Wizard - Implementation (main, BC30, feature, added)
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. Source Initializer"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.