Quintiq file version 2.0
#parent: PanelInitSequence/ButtonGotoNext
Response OnClick () id:Response_PanelInitSequence_ButtonGotoNext_OnClick
{
  #keys: '[121114.1.2065621905]'
  Body:
  [*
    // goto next step
    
    next := DataHolderCurrentInitSequence.Data().GotoNext( false, false );
    
    if( not isnull( next ) )
    {
      ListInitElement.SelectByKey( next.Key() );
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    feedback := "This is the last step of initialization process";
    return guard( not DataHolderCurrentInitSequence.Data().IsLastStep(), false )
           or guard( DataHolderCurrentInitSequence.Data().Children( relsize ) > 0, false );
  *]
}
