xiaoding721
2024-09-03 2216fba3cc0585064f370ae8348bf6b90ef99e5a
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
31
32
33
34
35
36
37
38
Quintiq file version 2.0
#parent: #root
StaticMethod Test (
  ScenarioManager scenarioManager,
  MacroPlan macroPlan,
  Archive archive,
  RecycleBin recycleBin,
  ArchiveExecutionStatus archiveExecutionStatus
)
{
  TextBody:
  [*
    //name := "2020/04/01";
    //names := name.Tokenize( "/" );
    //  info( guard( Date::Construct( [Number]names.Element( 0 ),[Number]names.Element( 1 ),[Number]names.Element( 2 )),Date::MinDate() ));
    
    //traverse( archive,ScheduleSummaryOutputLine,line ){
    //  info( line.LineName() );
    //  traverse( line,ScheduleSummaryOutputData,data ){
    //    info( data.Date().Format( "Y-M2-D2 ") + " ->" + [String]data.Output() );
    //  } 
    //}
    
    //table := select( macroPlan,MP_Table,table,table.Name() = MP_Cell_ScheduleSummary::GetTableName() );
    //if( not isnull( table )){
    //  table.Delete(); 
    //}
    
    
    
    archiveExecutionStatus.RequirementImportExecutionStatus( relnew, 
                                                             ExecutionCode        := 500,
                                                             ExecutionIsSuccess   := false,
                                                             ExecutionRespMessage := "11111",
                                                             ExecutionStatus      := "Complete",
                                                             ExecutionUserName    := "vwedadmin" );
  *]
}