fixed error params on getQtyOnHand
This commit is contained in:
parent
ed5084972e
commit
061a7deb5a
|
@ -646,7 +646,8 @@ public class MStorageOnHand extends X_M_StorageOnHand
|
||||||
.append(" WHERE oh.M_Product_ID=?")
|
.append(" WHERE oh.M_Product_ID=?")
|
||||||
.append(" AND EXISTS(SELECT 1 FROM M_Locator loc WHERE oh.M_Locator_ID=loc.M_Locator_ID AND loc.M_Warehouse_ID=?)");
|
.append(" AND EXISTS(SELECT 1 FROM M_Locator loc WHERE oh.M_Locator_ID=loc.M_Locator_ID AND loc.M_Warehouse_ID=?)");
|
||||||
|
|
||||||
params.add(M_Product_ID,M_Warehouse_ID);
|
params.add(M_Product_ID);
|
||||||
|
params.add(M_Warehouse_ID);
|
||||||
|
|
||||||
// With ASI
|
// With ASI
|
||||||
if (M_AttributeSetInstance_ID != 0) {
|
if (M_AttributeSetInstance_ID != 0) {
|
||||||
|
|
Loading…
Reference in New Issue