IDEMPIERE-372 Improve error messages

This commit is contained in:
Carlos Ruiz 2013-02-22 10:05:33 -05:00
parent 725d6fc305
commit 9862bfb37f
1 changed files with 1 additions and 1 deletions

View File

@ -1672,7 +1672,7 @@ public class MCost extends X_M_Cost
{
if (CurrentQty.signum() < 0)
{
throw new AverageCostingNegativeQtyException("Product(ID)="+getM_Product_ID()+", Current Qty="+getCurrentQty()+", New Current Qty="+CurrentQty
throw new AverageCostingNegativeQtyException("Product="+getM_Product().getName()+", Current Qty="+getCurrentQty()+", New Current Qty="+CurrentQty
+", CostElement="+ce.getName()+", Schema="+getC_AcctSchema().getName());
}
}