- Salesforce Lightning Reporting and Dashboards
- Johan Yu
- 235字
- 2021-07-15 17:13:21
Object relationships
You can relate an object to other objects in Salesforce. For example, relating a custom object Expense to custom object Project. With this relation, you'll know which expense record is used for which project. Project, in this example, will be considered as the parent object, and Expense as a child object. From the record-level perspective, one parent can have many children, while the child can only have one parent. To build this relationship from the child object, create a Lookup Relationship or Master-Detail Relationship field to the parent object.
There are three types of object relationships in Salesforce, which are as follows:
- Master-Detail Relationship
- Lookup Relationship
- Hierarchical Relationship
The following table compares the Master-Detail Relationship and Lookup Relationship:

Hierarchical Relationship is a special Lookup relationship available for the user object only. It lets users use a lookup field to associate one user with another, which does not directly or indirectly refer to itself. For example, you can create a custom Hierarchical Relationship field to store each user's reporting manager.
- Computer Vision for the Web
- Cocos2d-x游戲開發:手把手教你Lua語言的編程方法
- Servlet/JSP深入詳解
- Android 7編程入門經典:使用Android Studio 2(第4版)
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- Silverlight魔幻銀燈
- Building an RPG with Unity 2018
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- Visual FoxPro 6.0程序設計
- Scala Functional Programming Patterns
- Photoshop智能手機APP界面設計
- Python Web自動化測試設計與實現
- WordPress Search Engine Optimization(Second Edition)
- Professional JavaScript