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
1 Answer(s)

From my understanding, came across these links:

https://www.reddit.com/r/Netsuite/comments/xob6ra/advanced_pdf_sourcing_data_from_sublist_from/

https://stackoverflow.com/questions/71464855/add-custom-record-type-sublist-in-netsuite-advanced-pdf-html-template 

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.

 

Beginner Answered on March 24, 2023.
Add Comment

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