cost.setC_AcctSchema_ID(baseCost.getC_AcctSchema_ID());
cost.setM_CostElement_ID(baseCost.getM_CostElement_ID());
cost.setM_AttributeSetInstance_ID(0);
}
cost.setCurrentCostPriceLL(costPrice);
cost.saveEx();
costPriceTotal = costPriceTotal.add(costPrice);
}
// Update Base Cost:
if(costPriceTotal.signum() != 0)
{