.getBufferedValue(ICostableModel.PROPERTY_COSTS)));
if (costsList.size() == 0 && addInternalCost) {
CostTypeManager costTypeManager = (CostTypeManager) ModelUtil
.getBean("costTypeManager");
CostUnitManager costUnitManager = (CostUnitManager) ModelUtil
.getBean("costUnitManager");
CostType costTypeDev = costTypeManager.findByName("Avvik");
CostUnit costUnitInternal = costUnitManager.findByName("Intern");
OrderCost defaultOrderCost = new OrderCost();
defaultOrderCost.setCostAmount(BigDecimal.valueOf(500));
defaultOrderCost.setCostType(costTypeDev);
defaultOrderCost.setCostUnit(costUnitInternal);