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>

———————————————————————————

Rookie Asked on February 9, 2023 in Other.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor