Quintiq file version 2.0
#parent: #root
Method SmartPlan (
  structured[ProductInStockingPointInPeriodPlanning] pispips,
  Boolean isplanonestepupstream
) id:Method_DialogSmartPlan_SmartPlan
{
  #keys: '[137862.0.112803222]'
  Body:
  [*
    // Smart plan PISPIPs
    data := shadow( pispips.Element( 0 ) );
    DataHolderDialogData.Data( &data );
    DataHolderSelections.Data( pispips.Copy() );
    DataHolderIsOneStepVisible.Data( isplanonestepupstream );
    DialogSmartPlan.CheckboxOnlyPlanOneStepUpstream().Visible( isplanonestepupstream );
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
