/**
  * Call this method to convert the data as well, this should be called after `doMetadataConvert`
  */
 public function doDataConvert()
 {
     $this->resetForecastData('Opportunities');
     // fix the reports
     SugarAutoLoader::load('modules/Opportunities/include/OpportunityReports.php');
     $reports = new OpportunityReports();
     $reports->migrateToOpportunities();
     // soft delete all the RLI Reports
     $reports->deleteAllRevenueLineItemReports();
     $this->queueRevenueLineItemsForNotesOnOpportunities();
     $this->setOpportunityDataFromRevenueLineItems();
     $this->deleteRevenueLineItems();
 }
 /**
  * Call this method to convert the data as well, this should be called after `doMetadataConvert`
  */
 public function doDataConvert()
 {
     $this->resetForecastData('RevenueLineItems');
     // fix the reports
     SugarAutoLoader::load('modules/Opportunities/include/OpportunityReports.php');
     $reports = new OpportunityReports();
     $reports->migrateToRevenueLineItems();
     $this->createRevenueLineItems();
 }