yanweiyuan3
2023-08-09 98db93a55d7079e89c706c18b15eeaecd0ec539a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 );
  *]
}