yanweiyuan3
2023-09-26 96376f881d2511382f1063242206cff71781ea0b
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
Function CalcSequnceNumber
{
  TextBody:
  [*
    // DWE2 Jan-28-2016 (created)
    
    value := guard( this.PreviousStep().SequenceNumber() + 1, 1 );
    
    this.SequenceNumber( value );
  *]
}