+ Start a Discussion
meghana yamarthimeghana yamarthi 

what is cross object formula field in salesforce

what is cross object formula field in salesforce
Saroja MuruganSaroja Murugan
Hi,

Cross-object formulas can reference merge fields from a master (“parent”) object if an object is on the detail side of a master-detail relationship. You can reference fields from objects that are up to ten relationships away. Cross-object formulas are available anywhere formulas are used except when creating default values

For example, enter Contact.Account.Name to reference the Account Name for a contact associated with a case in a formula field on the Case object. Be sure to use the relationship names of the objects, not the labels. Although the relationship name is often the same as the object name, it is technically the field name of the relationship field. For example, to reference the parent account name from Account object, the syntax is Parent.Name, not Account.Name. Also, when referencing a custom object, add two underscores and the letter r to its name. For example, Position__r.title__c references the Job Title field (title__c) on a Position custom object.

For more information please refer following link-->https://www.youtube.com/watch?v=3UlN7iyFKqg

Thanks,
SPT Salesforce team