How do we prevent un-necessary updates on a record? For example, a User(say A) is owner and creator of a record. There is a visualforce page which updates this record.
Can we prevent the Lastmodifieddate from being updated even though there aren't any changes to the record?
Please don't say that you have to query the record, compare the changes and then update the record.
LastViewedDate
, but there are no tricks for getting around theLastModifiedDate
. If an operation is performed on a record, theLastModifiedDate
field will be updated.