Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Function CalcTotalGoaValue 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    value := this.GoalValueFixed() 
 | 
             + this.GoalValueInventoryHolding() 
 | 
             + this.GoalValueInventoryValue() 
 | 
             + this.GoalValueLot() 
 | 
             + this.GoalValueNrOfUnits() 
 | 
             + this.GoalValueSales() 
 | 
             + this.GoalValueTime() 
 | 
             + this.GoalValueVolume() 
 | 
             + this.GoalValueChangeOver() 
 | 
             + this.GoalValueOneTimeCost() 
 | 
             + this.GoalValueStaffing(); 
 | 
     
 | 
    this.TotalGoalValue( value ); 
 | 
  *] 
 | 
} 
 |