RE: Print a custom record, including specified sublists, on an advanced PDF template

I have a custom record with sublists for SOs and POs that are associated to the custom record. I need to print this record with the “header” data as well as the sublists organized into sections. Does anyone have tips or sample code for this use case?

kellycmorgan Rookie Asked on October 10, 2020 in How To's.
Add Comment
2 Answers

I tried this but didn’t get it to show. Code is validating, but sublist not printing.

 

ID of the saved search is customsearch_load_plan_pickups

any ideas?

 

<#if record.customsearch_load_plan_pickups?has_content><table><#list record.customsearch_load_plan_pickups as pickups><#if pickups_index == 0>
<thead>
<tr>
<th>${pickups.vendor@label}</th>
<th>${pickups.pickupaddress@label}</th>
</tr>
</thead>
</#if><tr>
<td>${pickups.vendor}</td>
<td>${pickups.pickupaddress}</td>

Rookie Answered on October 10, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.