Quintiq file version 2.0
#parent: ListUserImportProfile
Response OnUserCheckedChanged (
  structured[UserImportProfile] checkeditems
) id:Response_ListUserImportProfile_OnUserCheckedChanged
{
  #keys: '[150660.0.69620308]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebList_OnUserCheckedChanged'
  QuillAction
  {
    Body:
    [*
      // check
      importProfiles := selectset( MPSync, UserImportProfile, e, e.IsActive() );
      
      if( importProfiles.Size() > 0 )
      {
        UserImportProfile::SetActiveStatus( importProfiles, false );
      }
            
      traverse( checkeditems, Elements, e )
      {
        UserImportProfile::SetActiveStatus( checkeditems, true );
      }
    *]
    GroupServerCalls: false
  }
}
