Quintiq file version 2.0
#parent: lstKpiMetaData
Response OnClick (
  structured[KpiMetaData] selection
) id:Response_lstKpiMetaData_MenuDeleteKpiMetaData_OnClick
{
  #keys: '[136398.1.474837882]'
  Body:
  [*
    // Delete the selected KpiMetaData(s)
    if ( MessageBox::Question( this,
        Translations::Kpi_ConfirmDeletion(), Translations::Kpi_MessageBoxButtons_YesNo_ThinClient() ) = 0 )
    {
      traverse( selection, Elements, meta )
      {
        meta.Delete();
      }
    }
  *]
  CanBindMultiple: false
  DefinitionID => /lstKpiMetaData/Responsedef_lstKpiMetaData_Menu_OnClick
  GroupServerCalls: true
  Initiator: 'MenuDeleteKpiMetaData'
  Precondition:
  [*
    return KpiMetaData::CanDelete( selection );
  *]
}
