Quintiq file version 2.0
#parent: ListUOM
Response OnClick (
  UnitOfMeasure_MP selection
) id:Response_ListUOM_MenuSetAsDefault_OnClick
{
  #keys: '[139394.0.551295382]'
  CanBindMultiple: false
  DefinitionID => /ListUOM/Responsedef_ListUOM_WebMenu_OnClick
  Initiator: 'MenuSetAsDefault'
  Precondition:
  [*
    UnitOfMeasure_MP::CanSetAsDefault( selection, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Set the selected uom as default uom
      selection.SetAsDefault();
    *]
    GroupServerCalls: false
  }
}
