At this point, you only have one object defined, so you will have to create another object to implement any relationships. The Position object is used to hold information about positions at Universal Containers, such as a description of the job.
1. | |
2. | Give the new object a Label of Position, a Plural Label of Positions, and a Description of Position to be filled. |
3. | Set the Record Name to Position ID, the Data Type as Auto Number, the display format to POS-{00000}, and the Starting Number to 1. |
4. | |
5. | Click Save, which will launch the Tab Wizard. Select an appropriate Tab Style, such as the Treasure Chest, and click Next. |
6. | |
7. | Since you will only want to display this tab as part of the Recruiting application, click Include Tab to deselect all the custom apps and then the Recruiting app checkbox to include this tab as part of your new app. Click Save to add the tab to your application. The main page for the Position Object displays. |
You can create a relationship in the same way that you created fields for the Location object.
Voice of the Developer
When setting up master-detail relationships, you should keep in mind that the relationship between the master object and the detail object is expressed by adding a field to the detail object and not, as you might expect, the master object. |
Adding relationships with a few mouse clicks results in quite a bit of functionality in your application. For any type of real-world application, you need to add more fields to the Position object.
18.191.202.240