Quintiq file version 2.0
|
#parent: #root
|
StaticMethod CreateData (
|
const GlobalOTDTable globalOTDTable,
|
GlobalOTDSOP this
|
)
|
{
|
TextBody:
|
[*
|
traverse ( globalOTDTable, Global_MappingAnnualBudgetData, gmabd ) {
|
productCode := gmabd.ProductID();
|
row := CapacityAndSaleBudgeCompareItemRow::CreateIfNotExist( this, gmabd.BusinessType(), gmabd.OrganCode() );
|
CapacityAndSaleBudgeCompareItemRowProduct::CreateIfNotExist( row, productCode );
|
}
|
|
columnBusinessType := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "事业部" );
|
columnPlaceOfProductionOfArray := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "面板基地" );
|
traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) {
|
cell := columnBusinessType.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := row.BusinessType() );
|
cell.CapacityAndSaleBudgeCompareItemRow( relset, row );
|
cell := columnPlaceOfProductionOfArray.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := row.PlaceOfProductionOfArray() );
|
cell.CapacityAndSaleBudgeCompareItemRow( relset, row );
|
}
|
*]
|
}
|