Quintiq file version 2.0
#parent: #root
Method ShowProductDashboard (
  Boolean createform
) id:Method_ApplicationLibMacroPlanner_ShowProductDashboard
{
  #keys: '[110880.5.1891705589]'
  Body:
  [*
    //show dashboard
    form := Application.Frame().FindChildObject( 'FormProductDashboard' ).astype( FormProductDashboard );
    
    if( isnull( form ) )
    {
      if( createform )
      {
        newform := construct( FormProductDashboard );
        ApplicationLibMacroPlanner.ActiveWindow().Frame().ShowForm( &newform );
      }
    }
    else
    {
      form.SetFocus();
    }
  *]
}
