Quintiq file version 2.0
#parent: #root
Response OnClick (
  structured[Entity] selection
) id:Response_ListUnitTree_MenuDeleteUnit_OnClick
{
  #keys: '[11660.0.16634429]'
  Body:
  [*
    // Delete entities          
    // We take entities here because
    // ListUnitTree will subclass to
    // navigation ListEntityTreeInPanel
    Entity::Delete( selection );
  *]
  DefinitionID => /Responsedef_ListUnitTree_Menu_OnClick
  Initiator: 'MenuDeleteUnit'
  UserRequiresReadWrite: true
}
