xiaoding721
2024-11-11 331f46d96ef1e2140042d3c2f7938fe0d9635c27
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_CreateFullTable.qbl
@@ -10,7 +10,7 @@
  TextBody:
  [*
    // rislai Aug-7-2024 (created)
    tables := MP_Table::GetMP_Tables_ScheduleSummary( owners );
    tables := selectset( owners,Elements.MP_Table,table,table.Name() = MP_Cell_ScheduleSummary::GetTableName() );
    
    scheduleSummaryOutputDataIndexTree := NamedValueTree::Create();
    scheduleSummaryOutputDatas := selectset( archive,ScheduleSummaryOutputLine.ScheduleSummaryOutputData,data,
@@ -23,7 +23,11 @@
      scheduleSummaryOutputDataIndexTree.Root().AddChild( scheduleSummaryOutputDataHandle,i );
    }
    
    traverse( recycleBin,LocalTable,table,table.Name() = MP_Cell_ScheduleSummary::GetTableName() ){
      table.Delete();
    }
    localTable := recycleBin.LocalTable( relnew,Name := MP_Cell_ScheduleSummary::GetTableName() );
    startDate := minselect( tables,Elements.MP_Column,column,column.CustomDate() ).CustomDate();
    endDate := maxselect( tables,Elements.MP_Column,column,column.CustomDate() ).CustomDate();
    
@@ -146,7 +150,7 @@
    //  columnIndexTree.Root().AddChild( columnHandle,columns.Size() - 1 );
    //}
    
    AsyncFlag::Success( recycleBin,MP_Cell_ScheduleSummary::GetTableName() );
    return localTable;
  *]
}