| | |
| | | sumcell.WerkToRentTransCost( cell.WerkToRentTransCost() + sumcell.WerkToRentTransCost() ); |
| | | sumcell.RentStorCost( cell.RentStorCost() + sumcell.RentStorCost() ); |
| | | } |
| | | yearcell.EstimateTotalCost( yearcell.CalcEstimateTotalCost() ); |
| | | yearcell.AllCost( yearcell.EstimateTotalCost() * [Real]yearcell.CoefficientValue() ); |
| | | } |
| | | } |
| | | Transaction::Transaction().Propagate( attribute( CCEngineLogisticsCostCell, EstimateTotalCost ) ); |
| | | traverse( yearcolumn, Cell, cell ){ |
| | | cell.EstimateTotalCost( cell.CalcEstimateTotalCost() ); |
| | | cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | | } |
| | | traverse( sumrow, Cell, cell ){ |
| | | cell.EstimateTotalCost( cell.CalcEstimateTotalCost() ); |
| | | cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | | if( exists( cell.Column(), Cell, acell, acell.IsUpdate() ) ){ |
| | | cell.IsUpdate( true ); |
| | | } |
| | | cell.IsAllCostUpdate( exists( cell.Column(), Cell, acell, acell.IsAllCostUpdate() ) ); |
| | | cell.IsCoefficientUpdate( exists( cell.Column(), Cell, acell, acell.IsCoefficientUpdate() ) ); |
| | | cell.IsEstimateTotalCostUpdate( exists( cell.Column(), Cell, acell, acell.IsEstimateTotalCostUpdate() ) ); |
| | | cell.IsRentInCostUpdate( exists( cell.Column(), Cell, acell, acell.IsRentInCostUpdate() ) ); |
| | | cell.IsRentOutOfCostUpdate( exists( cell.Column(), Cell, acell, acell.IsRentOutOfCostUpdate() ) ); |
| | | cell.IsRentStorCostUpdate( exists( cell.Column(), Cell, acell, acell.IsRentStorCostUpdate() ) ); |
| | | cell.IsWerkToRentTransCostUpdate( exists( cell.Column(), Cell, acell, acell.IsWerkToRentTransCostUpdate() ) ); |
| | | } |
| | | *] |
| | | } |