title: Check duplicate when inserting new record
body: <p>I am new to Sugar CRM and I have made an custom module.
  Now when creating a record I want to check that same name record exist then throw validation.</p>
  
  <p>How can I do this? </p>