Create a related custom object record
Learn how to create a related custom object record on a standard object detail page.
- Open the standard object detail page. For example, if you want to create a record for a custom object that relates to the Invoice object, navigate to in the left navigation menu and click an invoice number.
- Scroll to the Related Objects section. All custom object definitions related to the current standard object are displayed as tabs.
- Click the tab for the custom object that you want to create the record for.
- Click the Create Record icon
.
- In the displayed Add Record Information dialog, specify the field values as needed. When specifying the relationship-type field that connects the custom object and the standard object, you can select any standard object record, including the current one that this detail page refers to.
- Click Save.
Zuora creates a new custom object record regardless of whether you selected the current standard object record for the relationship-type field in step 5. However, the custom object record is displayed in the Related Objects section after the creation only if the custom object record is associated with the current standard object record.
For example, suppose that the current invoice number is
INV-001
and the relationship-type field on the custom object is
related_invoice__c:
-
If you specify
INV-001for therelated_invoice__cfield in step 5, the field will be created and displayed in the Related Objects section after the creation. -
If you specify
INV-002(or leave blank if it is not a required field) for therelated_invoice__cfield in step 5, the field will be created but not displayed in the Related Objects section on the current page. You can only find the record on the invoice detail page ofINV-002.