Finding Subrecord Details in the Records Browser

As with records, you can find important information about subrecords in the SuiteScript Records Browser. The Records Browser has details on each subrecord type. It also includes information about record types that can be parents to subrecords. For more information, see the following sections:

Finding Details About Parent Record Types

Every subrecord instance must have a parent record. An instance of a subrecord exists only to provide information about an instance of a record.

The parent record has a field that holds or references the subrecord. To create a subrecord, you need to reference this field. These fields are always identified in the Records Browser as fields of type summary. For example:

The Records Browswer fields for the Item record with the orderschedule field highlighted.

Summary fields can be on the parent record's body or in a sublist. Knowing where the field is helps you create the subrecord correctly. In the reference page for each record type in the Records Browser, the Fields table lists all of the record type’s body fields. The tables listed under the heading Sublists shows sublist fields. See also Body Field Subrecords and Sublist Subrecords.

In some cases, the values set for other fields on a record can affect the availability or behavior of the summary field. For example:

Finding Details About Subrecord Types

The Records Browser has a reference page for each subrecord type, like record types. Subrecords are listed alphabetically alongside records.

Each subrecord has a label below its internal ID.

The order schedule record shown in the Records Brower for the subrecord fields.

The reference page displays a subrecord's scriptable fields and sublists, like record types.

In the UI, subrecord sublists usually don't have labels. But the Records Browser shows the name of each sublist.

Related Topics

General Notices