Nour
12/17/2025, 11:10 AMCeligo AI
12/17/2025, 11:10 AMAI generated answer (using internal Slack threads):It seems like you're having trouble displaying the sublist record (child record) on an Advanced PDF/HTML template. This is a common issue when working with custom records and sublists in NetSuite. Here are a few things you can try: 1. Make sure that the sublist field is properly referenced in your Advanced PDF/HTML template. The syntax should be something like this:
${record.sublistName.fieldName}.
2. If you're using a custom sublist, make sure that the sublist is properly loaded and accessible in your SuiteScript before you try to print it. You can use the record.getSublist({sublistId: 'customSublist'}) method to get the sublist.
3. If you're trying to access a sublist from a different record (like a sales order sublist from a fulfillment record), you might need to load the original record first using the record.load({type: record.Type.SALES_ORDER, id: salesOrderId}) method, and then access the sublist from there.
4. If none of the above solutions work, you might need to create a custom Suitelet that generates the PDF/HTML output. This Suitelet would load the record, get the sublist, and then pass the data to the Advanced PDF/HTML template.
Remember, the exact solution will depend on your specific use case and the structure of your records and sublists.
******
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
12/17/2025, 11:11 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843383849
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838806212
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836120486
Celigo AI
12/17/2025, 11:11 AM