| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetRow ( |
| | | const AssemblyOnlinePlanRow aoprow |
| | | const NewOfflinePlanRow noprow |
| | | ) as OfflinePlanArchiveRow |
| | | { |
| | | TextBody: |
| | | [* |
| | | // 甄兰鸽 Oct-11-2024 (created) |
| | | row := selectobject( this, Row, row, row.ProductID() = aoprow.ProductID() and row.ProductionLine() = aoprow.ProductionLine() and row.Type() = aoprow.Type() ); |
| | | row := selectobject( this, Row, row, row.ProductID() = noprow.ProductID() and row.ProductionLine() = noprow.ProductionLine() and row.Type() = noprow.Type() ); |
| | | |
| | | if( isnull( row ) ){ |
| | | row := this.Row( relnew, ProductID := aoprow.ProductID(), ProductionLine := aoprow.ProductionLine(), Type := aoprow.Type() ); |
| | | row := this.Row( relnew, ProductID := noprow.ProductID(), ProductionLine := noprow.ProductionLine(), Type := noprow.Type() ); |
| | | //初始化单元格 |
| | | row.InitializeCell(); |
| | | } |