When you create a custom record that relates to a parent record (like Sales Order, Customer, etc.) using a List/Record field and enable the “Record is Parent” option, NetSuite automatically exposes the related child records as a sublist on the parent record.
– How Sublist Internal IDs Are Formed
The internal ID of the sublist that appears on the parent record will follow this format:
recmachcustrecord_<parent_link_field_id>
– `custrecord_<parent_link_field_id>` = internal ID of the List/Record field in the custom record that links to the parent.
– The prefix `recmach` is short for “record machine”, used by NetSuite for automated sublist rendering.
Example:
If your custom record has a List/Record field:
– Label: `eXtendFiles – Sales Order`
– Internal ID: `custrecord_extfile_so_pref`
– “Record is Parent” is checked
Then, the sublist ID on the Sales Order form will be:
recmachcustrecord_extfile_so_pref