Shelby Owens
10/02/2025, 7:02 PMCeligo AI
10/02/2025, 7:02 PMAI generated answer (using internal Slack threads):To include a list of custom child records on a Support Case email template, similar to how items show on transaction email templates, you can use the Freemarker syntax in your email template. Here's a step-by-step guide: 1. Create a custom field on your Support Case record that will reference the parent custom record. This field should be of type List/Record and should reference the custom record you want to be referred to. Make sure to check the "Record is Parent" checkbox. 2. In your email template, you can use the following syntax to loop through the child records:
html
<#list transaction.recmachcustrecord159 as rec>${rec.custrecord158}</#list>
In this example, recmachcustrecord159 is the id of the custom field you created in step 1, and custrecord158 is the id of the field in the child record that you want to display.
3. Make sure that the child records are properly attached to the parent record. Even if the record is showing in the sublist, it might not be properly attached. You need to press the attach button to properly attach it to the transaction.
4. If you're having trouble seeing the sublist in your transaction, you can use the NetSuite Field Explorer extension to take a look at the data behind your transaction. This can help you ensure that you have the correct ids for your fields.
5. If the sublist still doesn't appear, you might need to use SuiteScript to load the record and log it. This can help you debug any issues with your setup.
Please note that this method only works if the "Enable Mail Merge" option is unchecked on your custom record, and the "Show in List" and "Store Value" options are checked on the field you want to display.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/02/2025, 7:02 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.852294922
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850158691
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846740723
Celigo AI
10/02/2025, 7:02 PM