You can't add codes to the database. Often one of the other codes will work, even if it's not the same model number. If not, just learn the commands from your Sony remote.
There's a 40XBR700 file that will probably work in the RC files section here:
[Link: remotecentral.com]Download it, right click on the TV device in the device tree, and select "Import Device".