Custom Record Type Object Sublists

In SuiteCloud Development Framework (SDF), custom record sublists are defined in a custom record type object. Custom record sublists display saved search results on the custom record type. You must create a saved search that obtains your preferred results before you can display them on the custom record.

Custom record sublists are grouped within the recordsublists structure. In this structure, you can create as many custom sublists as needed by specifying a recordsublist structure for every sublist. The order that you define each sublist determines where they appear on the custom record in the NetSuite UI. The first sublist in the object appears toward the top of the custom record while the last sublist appears toward the bottom.

Each sublist structure contains elements that define it. For more information about the elements that you can specify for a custom record sublist, see recordsublist.

The following example shows a custom sublist labelled Documents that displays the results of a saved search is named customsearch_esc_my_documents. The customrecord_sample.custrecord_samplefield custom field is the field by which the sublist is filtered:

          <customrecordtype scriptid="customrecord_sample">
    ...
    <recordsublists>
        <recordsublist scriptid="sublist_1_4775004_219">
            <recorddescr>Documents</recorddescr>
            <recordfield>[scriptid=customrecord_sample.custrecord_samplefield]</recordfield>
            <recordsearch>[scriptid=customsearch_esc_my_documents]</recordsearch>
            <recordtab></recordtab>
        </recordsublist>
     </recordsublists>
    ...
</customrecordtype> 

        

Related Topics

General Notices