Quintiq file version 2.0
#parent: pActions526/ButtonOK338
Response OnClick () id:Response_pActions526_ButtonOK338_OnClick
{
  #keys: '[412672.1.6984288]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return efEditEmployeeType.Text() <> "";
  *]
  QuillAction
  {
    Body:
    [*
      if( not isnull( dhEditEmployeeType.Data())){
        dhEditEmployeeType.Data().Edit( efEditEmployeeType.Text() );
      }else{
        EmployeeType::Create( MacroPlan, efEditEmployeeType.Text() );
      }
      pEditEmployeeType.Visible( false );
    *]
  }
}
