1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| Quintiq file version 2.0
| #parent: #root
| StaticMethod CraeteCellValueForRow (
| EnginePipelineReport table,
| EnginePipelineColumn productcolumn,
| EnginePipelineColumn attricolumn,
| String productname,
| String attriname,
| Number rownr,
| Boolean isfirst
| ) as EnginePipelineRow
| {
| TextBody:
| [*
| // 甄兰鸽 Jul-11-2024 (created)
| row := table.Row( relnew, Name := productname, RowNr := rownr );
| if( not isfirst ){
| productname := '';
| }
| pcell := productcolumn.CellValue( relnew, Value := productname );
| acell := attricolumn.CellValue( relnew, Value := attriname );
| row.CellValue( relinsert, pcell );
| row.CellValue( relinsert, acell );
| traverse( table, Column, column, column.Index() > 1 ){
| cell := column.CellValue( relnew, Value := '0' );
| row.CellValue( relinsert, cell );
| }
| return row;
| *]
| }
|
|