Controllo regola checkCanDeleteOrder se steps non presenti
This commit is contained in:
@@ -403,7 +403,7 @@ rule "checkCanCloseOrder"
|
||||
no-loop
|
||||
when
|
||||
eval(checkRulesEnabled)
|
||||
$entity: DtbOrdt(operation == OperationType.UPDATE && gestione == "L" && flagEvasoProd == "E" && flagEvasoForzato == "S")
|
||||
$entity: DtbOrdt(operation == OperationType.UPDATE && gestione == "L" && !dtbOrdSteps.isEmpty() && flagEvasoProd == "E" && flagEvasoForzato == "S")
|
||||
then
|
||||
ProductionsRules.checkCanCloseOrder(conn, $entity);
|
||||
end
|
||||
Reference in New Issue
Block a user