Hi Guy,
I am implementing Variant configuration and using super routing.
I have the next problem:
I created a procedure to select the work center in a super routing. This procedure has a list with the different work center (WC) names with the specification to select the WC if its meets the dimensions.
The example of the code is:
$SELF.WORKCENTER = 'MART1200' if $ROOT.NUMERODECOLORES =<2 AND
WJ <= 2500 AND
WJ >= 640 AND
WA <= 1120 AND
WA >= 350 AND
ESTILODECOMPONENTE <> 'T',
$SELF.WORKCENTER = 'MARTI618' if $ROOT.NUMERODECOLORES =<4 AND
WJ <= 1880 AND
WJ >= 640 AND
WA <= 635 AND
WA >= 220 AND
ESTILODECOMPONENTE <> 'T'
Does anybody knows if there a way to stop the execution of the procedure when a work center meets the criteria, because at the moment the procedure continue until the end and always select the bigger machine (work center). Due to the capacity of this machine is overload.
In the above example the machine MART1200' is the bigger so all the production order has this work center even the machine MARTI618 meets the dimension also.
Any help will be very useful.
Regards,
Isaias