title: Check if created record is the first record
body: <p>Is there any way to check if a record that is being created is the first record or not?</p>
  
  <p>To clear up my question:</p>
  
  <p>If I insert a phone number on a customer, I want to check if it is the first inserted phone number on that customer; if so, I want to set that phone number as primary, any phone numbers entered while the previous phone number still exists, may not be set primary automatically.</p>