IDEMPIERE-2500 : Inventory valuation fail if there is no standard cost configured
This commit is contained in:
parent
09dbc18820
commit
64de4900fb
|
@ -114,8 +114,9 @@ public class InventoryValue extends SvrProcess
|
|||
.append("WHERE w.M_Warehouse_ID=").append(p_M_Warehouse_ID);
|
||||
int noInsertStd = DB.executeUpdateEx(sql.toString(), get_TrxName());
|
||||
if (log.isLoggable(Level.FINE)) log.fine("Inserted Std=" + noInsertStd);
|
||||
if (noInsertStd == 0)
|
||||
return "No Standard Costs found";
|
||||
//IDEMPIERE-2500 - This may be invalid check. Removing still some one not admit reason
|
||||
/*if (noInsertStd == 0)
|
||||
return "No Standard Costs found";*/
|
||||
|
||||
// Insert addl Costs
|
||||
int noInsertCost = 0;
|
||||
|
|
Loading…
Reference in New Issue