Quintiq file version 2.0
#parent: #root
Method SmartPlan (
  structured[SalesDemandBase] salesdemands,
  Boolean isplanonestepupstream
) id:Method_DialogSmartPlan_SmartPlan_549
{
  #keys: '[136682.1.799918077]'
  Body:
  [*
    // Smart plan PISPIPs in sales demands
    pispips := selectset( salesdemands, Elements.PlanningSalesDemandInPeriod.AsPlanningBaseSalesDemandInPeriod, pispip, true );
    
    Form.SmartPlan( pispips, isplanonestepupstream );
  *]
}
