Quintiq file version 2.0
#parent: #root
Method ToggleCheckBox (
  shadow[BaseImportObjectGroupInProfile] baseioprofile,
  shadow[UserImportProfile] userprofile,
  shadow[DefaultImportProfile] defaultprofile,
  internal[WebCheckbox] scenariospeccheckbox,
  internal[WebCheckbox] globalcheckbox
) id:Method_ApplicationMacroPlanner_ToggleCheckBox
{
  #keys: '[136682.0.2038922489]'
  Body:
  [*
    // Toogle include/exclude ImportObjGroupInProfile
    if( not isnull( baseioprofile ) )
    {
      baseioprofile.IsIncludeInImportExport( not baseioprofile.IsIncludeInImportExport() );
    }  
    
    ApplicationMacroPlanner.CheckUncheckCheckBox(  userprofile, defaultprofile, scenariospeccheckbox, globalcheckbox );
  *]
}
