Adding Custom Sublists to Forms
Sublists are automatically displayed in forms that correspond to the record types specified in the sublist object. For example, specifying a T
value for the payment field displays the sublist on all forms for the payment record type. You do not need to modify a form to display the sublist.
Consider the following information regarding sublists and forms:
-
The sublist only displays on a form when that form is used by your user to create or edit a record. The sublist does not display on the form when the form is being edited in a NetSuite account. The sublist does not exist in the XML definition of the form object.
-
The tab element determines the subtab location for the sublist. For example, to display the sublist on a form’s Communication tab, specify a tab value of TRANSACTIONCOMMUNICATION if the
sublisttype
value is TRANSACTION. -
The
field
element is required for the sublist to display on forms. If thefield
element is missing, the sublist passes validation but it does not display on the intended forms.
To assist with testing the sublist in a NetSuite account, you can enable the Show ID Field on Sublists preference to display the sublist ID in the form. For more information, see SuiteCloud Development Framework Account Preferences (SDF Developers Only).