Routing
The Routing feature is extended by the Bricklead Production Optimization app to include a new field called Production Line, enabling tighter integration with the planning and scheduling process. By linking Routings directly to Production Lines, manufacturers can optimize capacity usage, reduce idle time, and enable more accurate planning execution. A new field called Maintenance Routing was also added, enabling precise control over maintenance operations within the production planning process. By designating specific routings as Maintenance Routings, manufacturers can clearly separate maintenance activities from standard production workflows, ensuring that maintenance tasks are scheduled, tracked, and executed with dedicated logic.

Business Rules
The following logic governs how the Production Line field behaves within the Routing module:
-
Certification Restrictions: The Production Line field is only editable if the Routing status is not Certified. If a user attempts to modify this field when the Routing is certified, the system will display a standard error message and block the change.
-
Production Line Deletion: A Production Line cannot be deleted if it is currently assigned to any Routing. If deletion is attempted, the system will display an error message.
-
Updating Production Line Numbers: If a Production Line No. is changed and is already in use within a Routing, the system prompts the user with a message before applying the change.
-
Upon confirmation, the updated value is cascaded to all Routings that reference the original Production Line.
The following logic governs how the Maintenance Routing field behaves within the Routing module:
-
Certification Restrictions: The Maintenance Routing field is only editable if the Routing status is not Certified. If a user attempts to modify this field when the Routing is certified, the system will display a standard error message and block the change.
-
Single-Line Enforcement: When Maintenance Routing is enabled, the Routing must contain exactly one line, with Type set to Work Center and No. set to the Maintenance Work Center defined in Factory Planning Setup. If these conditions are not met, the system will display an error and prevent changes.
-
Routing Versions Restriction: Maintenance Routings cannot have Routing Versions. If a user tries to create or keep a Routing Version when Maintenance Routing is enabled, the system will block the action and display an error message.
-
Certification Validation: It is not possible to certify a Routing as a Maintenance Routing if it does not contain a valid Maintenance Work Center line. Attempting to do so will result in an error message.
-
Work Center Validation: If the Maintenance Work Center is not defined in Factory Planning Setup, the system will prevent enabling Maintenance Routing and prompt the user to complete the required setup.