Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method RemoveUnusedInstancesBeforeOptimizerRun 
 | 
{ 
 | 
  Description: 'Returns unused instances before optimizer run.' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Clean up data, remove the redundant data in the dataset. 
 | 
     
 | 
    // Delete unused product in stocking point 
 | 
    this.RemoveUnusedProductInStockingPoints(); 
 | 
     
 | 
    // Delete unused stocking point units 
 | 
    this.RemoveUnusedStockingPointUnits(); 
 | 
     
 | 
    // Delete unused account assignments 
 | 
    this.RemoveUnusedAccountAssignments(); 
 | 
     
 | 
    // Delete unused PISP specifications 
 | 
    this.RemoveUnusedPISPSpecifications(); 
 | 
     
 | 
    // Delete invalid postponed sales demands 
 | 
    this.RemoveInvalidPostponedSalesDemandInPeriod(); 
 | 
  *] 
 | 
} 
 |