Quintiq file version 2.0
#parent: ListUnitOfMeasurement
Response OnClick (
  UnitOfMeasure_MP selection
) id:Response_ListUnitOfMeasurement_MenuSetAsDefaultUOM_OnClick
{
  #keys: '[113694.1.1150711320]'
  Body:
  [*
    // Set the selected uom as default uom
    selection.SetAsDefault();
  *]
  CanBindMultiple: false
  DefinitionID => /ListUnitOfMeasurement/Responsedef_ListUnitOfMeasurement_Menu_OnClick
  Initiator: 'MenuSetAsDefaultUOM'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
  UserRequiresReadWrite: true
}
