Fetch value from custom field in advanced pdf template

To fetch value from a custom field created using script in advanced pdf template.

<td align="center" margin="0px" padding-bottom="3px" padding-top="3px" style="border-color: #a09fa3; border-bottom:thin; border-right:thin;" width="8%">
    <#if record.custpage_jj_item_data?has_content>
        <#assign itemData = record.custpage_jj_item_data?eval>
        <#list itemData as itData>
            <#if item.item == itData.itemName>
                ${itData.itemOrgn}
            </#if>
        </#list>
    </#if>
    </td>ns c

Leave a comment

Your email address will not be published. Required fields are marked *