Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogImportCIM_OnOK
{
  #keys: '[146140.2.696789656]'
  Body:
  [*
    // Import from CIM
    id := selectvalues(  DataHolderDialogData.Data(), ImportObjectGroupCIMInUserProfile, iopi, iopi.IsIncludeInImportExport(), iopi.ObjectGroupName() );
    
    MPSync.ImportFromCIMAndSynchronizeToMacroplan( MacroPlan,
                                              	   CheckboxRefreshFromSource.Checked(),
                                                   ImportObjectGroupCIM::IsIncluded( id, MPSyncUtility::ID_ObjectGroupCIM_Equipments() ),
                                                   ImportObjectGroupCIM::IsIncluded( id, LibDII_CalendarDataTransformation::ID() ) );
  *]
}
