Quintiq file version 2.0
#parent: #root
Method SelectBookmark (
  String bookmarkname
) id:Method_ApplicationLibMacroPlanner_SelectBookmark
{
  #keys: '[127238.1.370205918]'
  Body:
  [*
    // Retrieve bookmark base on the bookmarkname
    
    bookmark := select( ScenarioManager, 
                        Bookmark,
                        bm,
                        bm.Name() = bookmarkname )
    
    if( not isnull( bookmark ) )
    {
      ApplicationLibMacroPlanner.RetrieveBookmark( bookmark );
    }
  *]
}
