IDEMPIERE-2636 MPriceListVersion error in getProductPrice

This commit is contained in:
Diego Ruiz 2015-05-22 11:13:06 -05:00
parent 7c80d8caa4
commit 39f6c0b5b4
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class MPriceListVersion extends X_M_PriceList_Version
*/
public MProductPrice[] getProductPrice (String whereClause)
{
String localWhereClause = I_M_ProductPrice.COLUMNNAME_M_PriceList_Version_ID+"=?"+whereClause;
String localWhereClause = I_M_ProductPrice.COLUMNNAME_M_PriceList_Version_ID+"=?";
if (whereClause != null)
localWhereClause += " " + whereClause;
List<MProductPrice> list = new Query(getCtx(),I_M_ProductPrice.Table_Name,localWhereClause,get_TrxName())