System Fields in Salesforce | Techila
single,single-post,postid-2125,single-format-standard,ajax_updown_fade,page_not_loaded,,qode_grid_1300,footer_responsive_adv,hide_top_bar_on_mobile_header,qode-content-sidebar-responsive,qode-theme-ver-9.4.2,bridge,wpb-js-composer js-comp-ver-4.12,vc_responsive

System Fields in Salesforce


System Fields in Salesforce

All objects have a number of read-only system fields automatically associated with them. These fields are automatically updated during API operations. For example, the ID field is automatically generated during a create operation. Below mentioned is a complete list:

  1. CreatedDate: The Date and time when the object was created
  2. ID: Globally unique string that identifies a record. Because this field exists in every object, it is not listed in the field table for each object.
  3. CreatedById: The ID of the User who created the object
  4. LastModifiedById: The ID of the User who last modified the object
  5. Created By: User who created the record.
  6. Last Modified By: User who most recently changed the record.
  7. LastModifiedDate: The date and time when the object was last modified by a user
  8. Name: Identifier for the custom object record. This name appears in page layouts, related lists, lookup dialogs, search results, and key lists on tab home pages. By default, this field is added to the custom object page layout as a required field.
  9. Owner: Assigned owner of the custom object record. If the custom object becomes the detail side of a master-detail relationship, this field is removed, as ownership of the data is controlled by the master object, or by the primary master object for a custom object with two master-detail relationships.
  10. SystemModstamp: Date and time when a user or automated process (such as a trigger) last modified this record. SystemModstamp fields have Defaulted on create and Filter 

CreatedById, CreatedDate, LastModifiedById , LastModifiedDate , SystemModstamp are also known as audit fields.

If you import data into Salesforce and want to retain the audit field values of the source system, you can set the values for audit fields on the following objects: Account, ArticleVersion, Attachment, CampaignMember, Case, CaseComment, Contact, ContentVersion, Contract, Event, Idea, IdeaComment, Lead, Opportunity, Question, Task, Vote, and custom objects. The only audit field you cannot set a value for is systemModstamp.

  1. From Setup, enter User Interface in the Quick Find/Search box, then select User Interface under Customize.
  2. Under Setup, select Enable “Set Audit Fields upon Record Creation” and “Update Records with Inactive Owners” User Permissions.
  3. In the permission set or profile that you want to set audit fields with, enable the permission Set Audit Fields upon Record Creation.
  4. Using the API, create a record and set its audit fields.



Not all standard objects have all audit fields. Check the Enterprise WSDL to verify which audit fields are available for a given object.

Courtesy :

“Know more about Salesforce Consulting at Techila”

Author: techila

No Comments

Post A Comment