Resource Reservation with Calendar

I am trying to push a new field value on the calendar to the resource reservation database, when it books the room as being busy. Can someone tell me where that code is?