Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogCustomerDemandPPAIDS_OnOK
{
  #keys: '[415136.0.1022502154]'
  Body:
  [*
    // On ok
    Form.ApplyChanges();
    
    if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){
      CustomerDemandPPAIDS::GenerateData( MacroPlan, InterfaceDataset, QuintiqUser::CurrentUser().DisplayName(), ifexpr( rbgVersionFlag.BoundValue() = "true", true, false ) );
    }
    
    Form.Close();
  *]
}
