| Quintiq file version 2.0 | 
| #parent: #root | 
| Method ShowHideComponents ( | 
|   Boolean isviableonestepupstream | 
| ) id:Method_DialogSmartPlan_ShowHideComponents | 
| { | 
|   #keys: '[125850.0.1071781637]' | 
|   Body: | 
|   [* | 
|     //Make 1 step upstream checkbox only visible in case it is a viable option. | 
|     //It is viable when smart plan is directly called from a ProductInStockingPointInPeriod | 
|     CheckBoxOnlyPlanOneStepUpstream.Visible( isviableonestepupstream ); | 
|   *] | 
| } |