| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SetOptimizerFulfilledTargetInventoryQuantity ( | 
|   CapacityPlanningSuboptimizer_CapacityPlanningAlgorithm program, | 
|   ProductInStockingPointInPeriodPlanning pispip | 
| ) | 
| { | 
|   TextBody: | 
|   [* | 
|     if ( pispip.IsLeafPlanning() and pispip.GetHasTargetInventory() )  | 
|     { | 
|       pispip.OptimizerFulfilledTargetInventoryQuantity( this.GetOptimalValue( program.TargetInvQtyVariables().Get( pispip ) ) );  | 
|     } | 
|     else | 
|     { | 
|       pispip.OptimizerFulfilledTargetInventoryQuantity( 0.0 );  | 
|     } | 
|   *] | 
|   InterfaceProperties { Accessibility: 'Module' } | 
| } |