lihongji
2024-11-20 440be21e24e4cfb15e85ee1cf8522cd7d4acf21b
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
Method CleanUpRuns (Number expected_new_runs)
{
  Description: 'Automatically clean up the runs that are no longer needed.'
  TextBody:
  [*
    traverse( this.GetRunsForCleanup( expected_new_runs ), Elements, run )
    {
      run.Delete();
    }
  *]
}