Quintiq file version 2.0
#parent: customdrawContextMenuSCO/MenuDrillUpToParent_844
Response OnClick () id:Response_ContextMenuNode_MenuDrillUpToParent_OnClick_603
{
  #keys: '[136682.0.1906976262]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return not ( isnull( DataHolderFocusedUnit.Data() ) and isnull( DataHolderFocusedStockingPoint.Data() ) )
  *]
  QuillAction
  {
    Body:
    [*
      //Drill up 
      if ( not isnull( DataHolderFocusedStockingPoint.Data() ) )
      {
        DataHolderFocusedStockingPoint.Data( null( StockingPoint_MP ) )
      }
      else if( not isnull( DataHolderFocusedUnit.Data() ) )
      {
        DataHolderFocusedUnit.Data( DataHolderFocusedUnit.Data().Parent() )
      }
    *]
  }
}
