Quintiq file version 2.0
#parent: #root
Method FindCreateAllImportObjectGroupInProfile () id:Method_DialogImportObjectGroupInProfile_FindCreateAllImportObjectGroupInProfile
{
  #keys: '[132894.0.15465129]'
  Body:
  [*
    // When we create a profile, we need to also generate all 
    // ImportObjectGroupInProfile from ImportObjectGroups
    traverse( MPSync, ImportObjectGroup, importobjectgroup, not importobjectgroup.IsGlobal() )
    {
      Dialog.Data().ImportObjectGroupInUserProfile( relnew,
                                                    ProfileName := 'temp',
                                                    ObjectGroupName := importobjectgroup.Name(),
                                                    ImportObjectGroup := importobjectgroup );
    }
  *]
}
