add or update a record in the database (modify) using record (peoplecode)