Routing#

Routing is the ordered sequence of operations (departments, work centers, standard times) required to build an assembly. Routings can be defined per-product or built from templates.

Structure#

  • Routing header (WORTG on a WO; PRODUCT_ROUTING on the product master).
  • Routing detail — one row per operation with department, work center, standard setup / run times, and required tools / equipment.
  • Templates — reusable operation sequences that can be applied to many products.
HelperPurpose
RoutingTemplateHelperCRUD for routing templates.
RoutingProductSetupHelperApplies a routing (or template) to a product.
ECRoutingProductSetupHelperApplies routing changes carried by an ECO.
ImportRoutingHeaderHelper / ImportRoutingFieldsHelper / ImportRoutingAssemblyInfoHelperBulk-import routings from CSV.
AssemblyEquipmentHelper, AssemblyToolHelperAssemblies-to-equipment / -tools mapping used by routing to know what’s needed per op.
WOEquipmentsHelper, WOToolsHelperThe equipment / tools actually allocated to a specific WO.

Business rules#

  • A WO’s routing is a snapshot of the product routing at WO-open time — later product-routing changes don’t retroactively affect open WOs (they flow through an ECO if needed).
  • Work-center and equipment availability are checked by Shop Floor Tracking when a move is recorded, not when the WO is opened.
  • Routing operations tie into ActvQtyHelper (per-operation completed quantity) and DeptQtyHelper (per-department completed quantity).

Where it lives#

LayerFile
ControllerRoutingSetupController.cs, RoutingTemplateController.cs, RoutingUploadController.cs, AssemblyEquipmentSetupController.cs, AssemblyToolController.cs
HelperRoutingTemplateHelper.cs, RoutingProductSetupHelper.cs, ECRoutingProductSetupHelper.cs, AssemblyEquipmentHelper.cs, AssemblyToolHelper.cs
RelatedWork Orders, Shop Floor Tracking, ECO