use of com.axelor.apps.production.db.UnitCostCalcLine in project axelor-open-suite by axelor.
the class UnitCostCalculationServiceImpl method updateUnitCosts.
public void updateUnitCosts(UnitCostCalculation unitCostCalculation) throws AxelorException {
for (UnitCostCalcLine unitCostCalcLine : unitCostCalculation.getUnitCostCalcLineList()) {
updateUnitCosts(unitCostCalcLineRepository.find(unitCostCalcLine.getId()));
JPA.clear();
}
updateStatusProductCostPriceUpdated(unitCostCalculationRepository.find(unitCostCalculation.getId()));
}
Aggregations