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
Atla MasthanaiahAtla Masthanaiah 

Foreign key

How to Use foreign key and  expalin? It is posible invidual objects?
RD@SFRD@SF
Hi Atla ,

Foreign keys are primary keys in another objects records, with salesforce perspective any lookup relation or a master detail relation record is assgined a record id from another object records.

I guess yes it is possible for individual objects

Hope it helps
RD
NagendraNagendra (Salesforce Developers) 
Hi Atla,

Please check with below link from success community for Foreign key concept.
Note:To establish a foreign key, create a Lookup or a Master-Detail relationship from one object to another. This field is the foreign key, and will contain the .id of the of record it is linking to.

Please mark this as solved if it's resolved.

Best Regards,
Nagendra.