1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Quintiq file version 2.0
| #parent: #root
| Method GetRow (
| const NewOfflinePlanRow noprow
| ) as OfflinePlanArchiveRow
| {
| TextBody:
| [*
| // 甄兰鸽 Oct-11-2024 (created)
| 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 := noprow.ProductID(), ProductionLine := noprow.ProductionLine(), Type := noprow.Type() );
| //初始化单元格
| row.InitializeCell();
| }
|
| return row;
| *]
| }
|
|