codeunitManufacturingofficial - Microsoftderived - from the source, no model text

Codeunit 99000792 "Create Prod. Order from Sale"

Base Application · Microsoft.Manufacturing.Document

Across versions

  1. BC23-25present
  2. BC262 events added, 1 events removed
  3. BC27-30unchanged

Neighbourhood 7 connected objects and pages

Codeunit 6500 "Item Tracking Management" (calls, 2 links)Item Tracking ManagementCodeunit 99000787 "Create Prod. Order Lines" (calls, 2 links)Create Prod. Order LinesPage extension 99000883 "Mfg. Sales Order Planning" (calls, 2 links)Mfg. Sales Order PlanningCodeunit 5402 "Unit of Measure Management" (calls)Unit of Measure ManagementCodeunit 5404 "Lead-Time Management" (calls)Lead-Time ManagementCodeunit 5407 "Prod. Order Status Management" (calls)Prod. Order Status ManagementCodeunit 99000832 "Sales Line-Reserve" (calls)Sales Line-Reserve

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Manufacturing.Document · BC23-30 · source at 4e6a307c · facts from BC29

Events published

  • OnAfterCreateProdOrder(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line") (integration)
  • OnAfterCreateProdOrderFromSalesLine(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line") (integration)
  • OnBeforeCreateProdOrderLines(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line"; var IsHandled: Boolean; OrderType: Enum "Create Production Order Type") + BC26 − BC26 (integration)
  • OnBeforeUpdateSalesLineReserve(var SalesLine: Record "Sales Line"; var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean) (integration)
  • OnCreateProdOrderOnAfterProdOrderInsert(var ProductionOrder: Record "Production Order"; SalesLine: Record "Sales Line") (integration)
  • OnCreateProdOrderOnBeforeProdOrderInsert(var ProductionOrder: Record "Production Order"; SalesLine: Record "Sales Line") (integration)
  • OnCreateProductionOrderOnBeforeProdOrderLineModify(var ProdOrderLine: Record "Prod. Order Line"; var SalesLine: Record "Sales Line"; var ProdOrder: Record "Production Order"; var SalesLineReserve: Codeunit "Sales Line-Reserve") (integration)
  • OnCreateProductionOrderOnAfterProdOrderLineModify(var ProdOrderLine: Record "Prod. Order Line"; var SalesLine: Record "Sales Line") (integration)
  • OnCreateProdOrderOnBeforeProcessItemSourceType(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line"; var IsHandled: Boolean) (integration)
  • OnCreateProductionOrderOnBeforeItemOrder(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line") (integration)
  • OnCreateProductionOrderOnOrderTypeElse(var ProductionOrder: Record "Production Order"; var SalesLine: Record "Sales Line") + BC26 (integration)

Procedures

  • CreateProductionOrder(SalesLine: Record "Sales Line"; ProdOrderStatus: Enum "Production Order Status"; OrderType: Enum "Create Production Order Type")
  • SetHideValidationDialog(NewHideValidationDialog: Boolean)

Plus 1 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.

Called by

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Create Production Orders from Sales Orders — possibly related: Create Prod. Order from Sale implements the process of creating production orders from sales orders. (model-linked)
  • How to reserve items — possibly related: Documents reserving items for sales, production, and other orders, which affects production order creation. (model-linked)

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

Evidence 1 sources