Is this possible to Add Custom Record Type Sublist fields in NetSuite Advanced PDF/HTML Template
I am trying to add a custom record type sublist on an Itemfufillmet packingslip Advanced PDF/Templetes template.
I tried below two but it’s not working.
Is it possible to do this with advanced PDF/HTML temples? if not what is the best way to do this?
—————————————————————————————–
<#if record.MY_CUSTOMRECORD?has_content>
<table class=”itemtable” style=”width: 100%;”><!– start –><#list record.MY_CUSTOMRECORD as sublist ><#if sublist_index==0>
<thead>
<tr>
<th colspan=”12″>${sublist.custrecord_field@label}</th>
</tr>
</thead>
</#if><tr>
<td colspan=”12″>${sublist.custrecord_field}</td>
</tr>
</#list><!– end –></table>
</#if>
———————————————————————–
<table>
<thead>
<tr>
<th>myfield_lable</th>
</tr>
</thead>
<tbody>
<#list record.MY_CUSTOMRECORD as sublist>
<tr>
<td>${sublist.custrecord_field}</td>
</tr>
</#list>
</tbody>
</table>
———————————————————————————
From my understanding, came across these links:
https://www.reddit.com/r/Netsuite/comments/xob6ra/advanced_pdf_sourcing_data_from_sublist_from/
If its not available from this list https://suiteanswers.custhelp.com/app/answers/detail/a_id/73900/kw/suitebuilder%20template%20reference as reference on reddit comments then its likely not available.
Both articles mentions to create a custom field to source.
Hope it helps.