Bug Fix [ 1725345 ] Material Receipt - Create Lines From - Invalid column index
This commit is contained in:
parent
899c9e0042
commit
994b1a5d65
|
@ -319,7 +319,7 @@ public final class MLocatorLookup extends Lookup implements Serializable
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
PreparedStatement pstmt = DB.prepareStatement(finalSql, null);
|
PreparedStatement pstmt = DB.prepareStatement(finalSql, null);
|
||||||
int index = 1;
|
int index = 0;
|
||||||
if (getOnly_Warehouse_ID() != 0)
|
if (getOnly_Warehouse_ID() != 0)
|
||||||
pstmt.setInt(index++, getOnly_Warehouse_ID());
|
pstmt.setInt(index++, getOnly_Warehouse_ID());
|
||||||
if (getOnly_Product_ID() != 0)
|
if (getOnly_Product_ID() != 0)
|
||||||
|
|
Loading…
Reference in New Issue