Quintiq file version 2.0
#parent: ContextMenuNode/MenuDrillDownNode
Response OnClick () id:Response_ContextMenuNode_MenuDrillDownNode_OnClick
{
  #keys: '[136682.0.1906948435]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return DataHolderSelectedNode.Data().Size() =1;
  *]
  QuillAction
  {
    Body:
    [*
      node := DataHolderSelectedNode.Data().Element( 0 );
      
      if ( node.istype( UnitNode ) )
      {
        DataHolderFocusedUnit.Data( node.astype( UnitNode).Unit() );
      }
      else if ( node.istype( StockingPointNode ) )
      {  
        DataHolderFocusedStockingPoint.Data ( node.astype( StockingPointNode).StockingPoint_MP() )  ;
      }
      
      DataHolderHighlight.Data().Flush();
    *]
  }
}
