Quintiq file version 2.0
#parent: ListImportObjectGroupInProfile
Response OnClick (
  structured[shadow[ImportObjectGroupInUserProfile]] selection
) id:Response_ListImportObjectGroupInProfile_MenuSourceFromDB_OnClick
{
  #keys: '[132894.0.16754325]'
  Body:
  [*
    // change all the selected importobjectgroupinprofile source to database
    Dialog.ChangeSource( selection, MPSyncUtility::ID_Source_Database() );
  *]
  CanBindMultiple: false
  DefinitionID => /ListImportObjectGroupInProfile/Responsedef_ListImportObjectGroupInProfile_Menu_OnClick
  Initiator: 'MenuSourceFromDB'
  Precondition:
  [*
    datas := selectset( selection, Elements.ImportObjectGroup, data, true );
    return ImportObjectGroup::IsDatabaseCompatible( datas,feedback );
  *]
}
