| | |
| | | |
| | | sumcell := selectobject( column, Cell, c, c.Row() = sumrow ); |
| | | if( isnull( sumcell ) ){ |
| | | sumcell := sumrow.Cell( relnew, RentEnterCost := 0 |
| | | , RentOutCost := 0 |
| | | , FactoryToRentTransCost := 0 |
| | | , RentStorageCost := 0 ); |
| | | sumcell := sumrow.Cell( relnew, RentInCost := 0 |
| | | , RentOutOfCost := 0 |
| | | , WerkToRentTransCost := 0 |
| | | , RentStorCost := 0 ); |
| | | column.Cell( relinsert, sumcell ); |
| | | } |
| | | |
| | | showcell := showrow.Cell( relnew, RentEnterCost := cell.RentEnterCost(), RentOutCost := cell.RentOutCost(), FactoryToRentTransCost := cell.FactoryToRentTransCost(), RentStorageCost := cell.RentStorageCost() ); |
| | | showcell := showrow.Cell( relnew, RentInCost := cell.RentInCost(), RentOutOfCost := cell.RentOutOfCost(), WerkToRentTransCost := cell.WerkToRentTransCost(), RentStorCost := cell.RentStorCost() ); |
| | | column.Cell( relinsert, showcell ); |
| | | sumcell.RentEnterCost( cell.RentEnterCost() + sumcell.RentEnterCost() ); |
| | | sumcell.RentOutCost( cell.RentOutCost() + sumcell.RentOutCost() ); |
| | | sumcell.FactoryToRentTransCost( cell.FactoryToRentTransCost() + sumcell.FactoryToRentTransCost() ); |
| | | sumcell.RentStorageCost( cell.RentStorageCost() + sumcell.RentStorageCost() ); |
| | | sumcell.RentInCost( cell.RentInCost() + sumcell.RentInCost() ); |
| | | sumcell.RentOutOfCost( cell.RentOutOfCost() + sumcell.RentOutOfCost() ); |
| | | sumcell.WerkToRentTransCost( cell.WerkToRentTransCost() + sumcell.WerkToRentTransCost() ); |
| | | sumcell.RentStorCost( cell.RentStorCost() + sumcell.RentStorCost() ); |
| | | } |
| | | } |
| | | } |