|  |  |  | 
|---|
|  |  |  | CCEngineLogisticsCostRow row, | 
|---|
|  |  |  | CCEngineLogisticsCostColumn column, | 
|---|
|  |  |  | CCEngineLogisticsCostCell cell, | 
|---|
|  |  |  | Number value, | 
|---|
|  |  |  | Number oldvalue | 
|---|
|  |  |  | String value, | 
|---|
|  |  |  | String oldvalue | 
|---|
|  |  |  | ) id:Response_MatrixEditorTable_358_OnUpdateValue | 
|---|
|  |  |  | { | 
|---|
|  |  |  | #keys: '[415136.0.989501207]' | 
|---|
|  |  |  | 
|---|
|  |  |  | Body: | 
|---|
|  |  |  | [* | 
|---|
|  |  |  | table            := selectobject( MacroPlan, CCEngineLogisticsCostReport, report, not report.IsShow() ); | 
|---|
|  |  |  | cell.Coefficient( value ); | 
|---|
|  |  |  | cell.CoefficientValue( value ); | 
|---|
|  |  |  | traverse( table, Row, trow, trow.Name() = row.Name() ){ | 
|---|
|  |  |  | traverse( trow, Cell, tcel, tcel.Column().Name() = column.Name() ){ | 
|---|
|  |  |  | tcel.RentEnterCost( cell.RentEnterCost() ); | 
|---|
|  |  |  | tcel.RentOutCost( cell.RentOutCost() ); | 
|---|
|  |  |  | tcel.FactoryToRentTransCost( cell.FactoryToRentTransCost() ); | 
|---|
|  |  |  | tcel.RentStorageCost( cell.RentStorageCost() ); | 
|---|
|  |  |  | tcel.Coefficient( cell.Coefficient() ); | 
|---|
|  |  |  | tcel.RentInCost( cell.RentInCost() ); | 
|---|
|  |  |  | tcel.RentOutOfCost( cell.RentOutOfCost() ); | 
|---|
|  |  |  | tcel.WerkToRentTransCost( cell.WerkToRentTransCost() ); | 
|---|
|  |  |  | tcel.RentStorCost( cell.RentStorCost() ); | 
|---|
|  |  |  | tcel.CoefficientValue( cell.CoefficientValue() ); | 
|---|
|  |  |  | estimatetotalcost := tcel.RentInCost() + tcel.RentOutOfCost() + tcel.WerkToRentTransCost() + tcel.RentStorCost(); | 
|---|
|  |  |  | tcel.AllCost( estimatetotalcost * [Real]tcel.CoefficientValue() ); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | *] | 
|---|