bs_create_record function

Create a record in a repo