Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogExport_OnOK
{
  #keys: '[136682.0.2054593074]'
  Body:
  [*
    //OnOK
    DataHolderDialogData.Data().Commit();
    is3Ddrive := RadioButtonGroupSource.BoundValue() = MPSyncUtility::ID_Source_3DDrive();
    isDEF := RadioButtonGroupSource.BoundValue() = MPSyncUtility::ID_Source_DEF();
    isExcel := RadioButtonGroupSource.BoundValue() = MPSyncUtility::ID_Source_Excel();
    
    if( is3Ddrive or isExcel )
    {
      Form.ExportTo3DDriveOrExcel();  
    }
    else if( isDEF )
    {
      Form.ExportToDataManager();
    }
  *]
}
