Can you explain what do you want to accomplish?
If you are in sugar 7.x or higher you exend the record view in
custom/modules/<module>/clients/base/views/record/record.js
If you are in sugar 7.x or higher you exend the record view in
custom/modules/<module>/clients/base/views/record/record.js