1
2
3
4
5
6
7
8
9
10
11
12
13
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method GetNextDataPiece () as LibDEF_DataPiece 
 |  { 
 |    Description: 'Get the next DataPiece which has not completed, order by SequenceNr.' 
 |    TextBody: 
 |    [* 
 |      // Jacky CHAN Aug-2-2016 (created) 
 |      return minselect( this, DataPiece, piece, 
 |                        not piece.IsCompleted(), 
 |                        piece.SequenceNr() ); 
 |    *] 
 |  } 
 |  
  |