IDEMPIERE-3064 Importing InventoryMovements is violating AD_Client scope / integrating patch contributed by Daniel Haag (dhdx)

This commit is contained in:
Carlos Ruiz 2016-08-06 22:43:16 +02:00
parent cfa02576fb
commit 96cdd1e89e
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ public class ImportInventoryMove extends SvrProcess
*/
private int getID(String tableName, String whereClause, Object[] values)
{
return new Query(getCtx(),tableName,whereClause,get_TrxName())
return new Query(getCtx(),tableName,whereClause,get_TrxName()).setClient_ID()
.setParameters(values).firstId();
}