Bug Fix [ 1725345 ] Material Receipt - Create Lines From - Invalid column index

This commit is contained in:
Carlos Ruiz 2007-05-25 07:11:27 +00:00
parent 899c9e0042
commit 994b1a5d65
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ public final class MLocatorLookup extends Lookup implements Serializable
try
{
PreparedStatement pstmt = DB.prepareStatement(finalSql, null);
int index = 1;
int index = 0;
if (getOnly_Warehouse_ID() != 0)
pstmt.setInt(index++, getOnly_Warehouse_ID());
if (getOnly_Product_ID() != 0)