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.
| Helper | Purpose |
|---|
RoutingTemplateHelper | CRUD for routing templates. |
RoutingProductSetupHelper | Applies a routing (or template) to a product. |
ECRoutingProductSetupHelper | Applies routing changes carried by an ECO. |
ImportRoutingHeaderHelper / ImportRoutingFieldsHelper / ImportRoutingAssemblyInfoHelper | Bulk-import routings from CSV. |
AssemblyEquipmentHelper, AssemblyToolHelper | Assemblies-to-equipment / -tools mapping used by routing to know what’s needed per op. |
WOEquipmentsHelper, WOToolsHelper | The 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#
| Layer | File |
|---|
| Controller | RoutingSetupController.cs, RoutingTemplateController.cs, RoutingUploadController.cs, AssemblyEquipmentSetupController.cs, AssemblyToolController.cs |
| Helper | RoutingTemplateHelper.cs, RoutingProductSetupHelper.cs, ECRoutingProductSetupHelper.cs, AssemblyEquipmentHelper.cs, AssemblyToolHelper.cs |
| Related | Work Orders, Shop Floor Tracking, ECO |