Fix regola checkDeleteMtbColrWithoutDoc
This commit is contained in:
@@ -338,7 +338,7 @@ rule "checkDeleteMtbColrWithoutDoc"
|
||||
no-loop
|
||||
when
|
||||
eval(checkRulesEnabled)
|
||||
$entity : MtbColr(operation == OperationType.DELETE && !hasDocument || !hasQuantity)
|
||||
$entity : MtbColr(operation == OperationType.DELETE && (!hasDocument || !hasQuantity))
|
||||
then
|
||||
PackagesRules.checkForAnyColloRif(conn, $entity.getGestione(), $entity.getSerCollo(), $entity.getNumCollo(), $entity.getDataCollo());
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user