Tuesday, June 7, 2011

Overwrite system fields

You can Overwrite the system fields like createdby,createdDateTime etc by using
overwriteSystemfields() method.
table.overwriteSystemfields(true);

This method takes a boolean as parameter, whether to Overwrite or not.
You can make use of this method only at the time of inserting the records into the table.***You cannot do an update to the system fields...