fix: refs #7712 sizeLimit
This commit is contained in:
parent
adf6708682
commit
7632f33322
|
@ -194,9 +194,9 @@ BEGIN
|
||||||
OR (NOT pb.V AND vItemPackingTypeFk = 'V')
|
OR (NOT pb.V AND vItemPackingTypeFk = 'V')
|
||||||
OR (pc.isPreviousPreparationRequired AND pb.previousWithoutParking)
|
OR (pc.isPreviousPreparationRequired AND pb.previousWithoutParking)
|
||||||
OR LENGTH(pb.problem) > 0
|
OR LENGTH(pb.problem) > 0
|
||||||
OR (pb.lines > vLinesLimit AND vLinesLimit IS NOT NULL)
|
OR pb.lines > vLinesLimit
|
||||||
OR (pb.m3 > vVolumeLimit AND vVolumeLimit IS NOT NULL)
|
OR pb.m3 > vVolumeLimit
|
||||||
OR ((sub.maxSize > vSizeLimit OR sub.maxSize IS NOT NULL) AND vSizeLimit IS NOT NULL);
|
OR sub.maxSize > vSizeLimit;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
-- Es importante que el primer ticket se coja en todos los casos
|
-- Es importante que el primer ticket se coja en todos los casos
|
||||||
|
|
Loading…
Reference in New Issue