Parent-Child Record Relationships

A child record type is a record that is referenced from another record in NetSuite. The information in the child record is associated with another record at a higher level, which is the parent record. You can use a child record to track multiple fields of specific information that are related to the parent record. Child records are always of the List/Record type. For more information, see Using Child Records.

For example, a typical customer record includes sublists, represented as tables in subtabs on a form, for note and message record instances. In this case the customer record is a parent of the note and message records, and therefore the notes and messages are child records of the customer record. The name of a child record sublist on the parent record is the plural of the name of the parent record type.

Parent Record: Customer

Child Records: Notes, Messages (sublists)

You can also create your own parent-child relationships. For example, you can create a custom record type called Service Note and associate it with an Equipment custom record type. In this example, the Service Note record is associated as the child of the parent Equipment record type. On the Service Note record type definition, you can create custom fields for service person, price of service, whether the service was covered under warranty, and the equipment's next date of service. With this parent-child relationship established, defined as a custom field, employees can then view these service notes when they are working on the parent Equipment records.

Parent–child relationships can exist between:

The following diagram demonstrates the parent-child record relationship. In this example both the parent and child records are custom records.

Parent-child record relationship diagram.

To add a child record to a parent record, the parent record must already exist, meaning that previously it must have been created and saved. When you reopen the parent record in edit mode, you can then add existing child records or create new ones. You cannot add child records at the time when you are creating a new parent record.

Note:

A child record may not be available on a form for a parent record that was created through transformation from another record type. For example, if you define a custom record as a child record of sales order, this custom child record is not available on forms for sales orders transformed from quotes

For more information, see the following topics:

Watch the following video for an overview of parent-child record relationships.

Also, see:

Related Topics

General Notices