function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ramesh babu 114ramesh babu 114 

what is cross object in salesforce

what is cross object in salesforce
learn_sfdclearn_sfdc
Hello Ramesh,

Please check below post.
https://help.salesforce.com/HTViewHelpDoc?id=customize_cross_object.htm
https://help.salesforce.com/HTViewHelpDoc?id=fields_creating_cross_object_notes.htm

Cross-object formulas
Cross-object formulas are formulas that span two related objects and reference merge fields on those objects. 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. Cross-object formulas also work with lookup relationships.You can reference fields from objects that are up to 10 relationships away. Cross-object formulas are available anywhere formulas are used except when creating default values

NOTE:- If you create a formula that references a field on another object and display that formula in your page layout, users can see the field on the object even if they don’t have access to that object record. For example, if you create a formula field on the Case object that references an account field, and display that formula field in the case page layout, users can see this field even if they don’t have access to the account record.


Cross-Object Field Updates
For all custom objects and some standard objects, you can create workflow and approval actions where a change to a detail record updates a field on the related master record. Cross-object field updates work for custom-to-custom master-detail relationships, custom-to-standard master-detail relationships, and a few standard-to-standard master-detail relationships
https://help.salesforce.com/apex/HTViewHelpDoc?id=workflow_cross_object_field_updates.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=workflow_cross_object_field_updates.htm&language=en)
http://releasenotes.docs.salesforce.com/en-us/spring15/release-notes/rn_forcecom_process_visually_automate.htm#rn_forcecom_visually_automate
https://help.salesforce.com/apex/HTViewHelpDoc?id=workflow_defining_field_updates.htm

Thanks
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,

The name says it all – Cross Object. There are two terms that basically goes with Cross Object. Those are Cross Object Formulas and Cross Object Field Updates. A Cross Object Formula is a Formula that retrieves a value in a field that lies on another Object say Y on to the Object named say X. So in other words, there need to be a relation between the Object X and Y in such way that the X is Child and Y is the Parent. More technically, there would be a Lookup Relationship or a Master-Detail Relationship field on the Object X that would look up to the Object Y. This is a very powerful feature since it allows you to fetch values on the related Object very easily. Another powerful feature is that Cross Object Formulas are capable of traversing relationships even beyond Y which means that if the Y has Lookup/M-D relation to Object Z, then we can even retrieve values on the Object Z too right on to Object X. But we have to be careful when creating Cross Object Formulas since there is an upper limit to this too. You cannot create more than 10 Unique Cross Object Formulas on a Standard or Custom object. This is maintained so that there won’t be any performance degradation. The Formulas as always are not stored in the Database rather they are calculated when they are referenced.

Cross-Object Field Updates is where you can actually update a Field on the immediate Parent via Workflow Rule Field Update. Also, Cross Object Field Updates are only available if the relationship between the Parent and the Child is a Master-Detail in nature. Unlike the Cross Object Formulas, Cross Object Field Updates are not available on Lookup Relationship bound objects. For example, you can run a Cross Object Field Update from an Opportunity (Child) record on a field on the Account (Parent).

Hope it helps.

Please mark it as best answer if the information is informative.

Thanks
Rahul Kumar