rounding stickers down
This commit is contained in:
parent
c4907d1a33
commit
cf0d7e04a1
|
@ -17,7 +17,7 @@ BEGIN
|
||||||
|
|
||||||
CALL productionControl(vWarehouseFk, 0);
|
CALL productionControl(vWarehouseFk, 0);
|
||||||
|
|
||||||
-- Products with vn.item.isBoxPickingMode = TRUE, pay atention to vn.itemShelving.packing
|
-- Products with vn.item.isBoxPickingMode = TRUE, pay attention to vn.itemShelving.packing
|
||||||
CREATE OR REPLACE TEMPORARY TABLE tmp.sale
|
CREATE OR REPLACE TEMPORARY TABLE tmp.sale
|
||||||
(saleFk INT PRIMARY KEY)
|
(saleFk INT PRIMARY KEY)
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -74,7 +74,7 @@ BEGIN
|
||||||
s.quantity,
|
s.quantity,
|
||||||
MAKETIME(pb.HH,pb.mm,0) etd,
|
MAKETIME(pb.HH,pb.mm,0) etd,
|
||||||
pb.routeFk,
|
pb.routeFk,
|
||||||
s.quantity / i.packingOut stickers,
|
FLOOR(s.quantity / i.packingOut) stickers,
|
||||||
i.packingOut,
|
i.packingOut,
|
||||||
pc.defaultBigPackageFk
|
pc.defaultBigPackageFk
|
||||||
FROM sale s
|
FROM sale s
|
||||||
|
|
Loading…
Reference in New Issue