Tyler Fox
09/26/2024, 10:50 PM<#if lineitem.picktype!=""> <table width="100%" class="tableStyleGeneral"> <tr> <td style="align: right; font-size:13pt"><b>${lineitem.otherrefnum@label}: ${lineitem.otherrefnum}</b><br/><br/><br/></td> </tr> </table> <table width="100%" class="tableStyleGeneral"> <tr> <td style="align: right; font-size:13pt"><b>DELIVERY DATE RANGE - FROM: ${lineitem.custbody_ss_delivery_date_from}</b><br/><br/><br/></td> </tr> </table> <table width="100%" class="tableStyleGeneral"> <tr> <td style="align: right; font-size:13pt"><b>DELIVERY DATE RANGE - TO: ${lineitem.custbody_ss_delivery_date_to}</b><br/><br/><br/></td> </tr> </table>
Celigo AI
09/26/2024, 10:50 PMAI generated answer (using internal Slack threads):The issue you're experiencing might be due to the scope of the field you're trying to access. The
lineitem.otherrefnum
field is a standard field that is available on the line level of a transaction, hence it can be accessed directly in the Freemarker template.
However, the custbody_ss_delivery_date_from
and custbody_ss_delivery_date_to
fields seem to be custom fields. If these are body-level fields, they cannot be accessed directly from the lineitem scope. You would need to use record.custbody_ss_delivery_date_from
and record.custbody_ss_delivery_date_to
instead.
If these are line-level fields, ensure that they are correctly set up and populated. Also, make sure that the fields are marked to "Show In List" in the custom field settings. If they are not, they will not be accessible in the Freemarker template.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/26/2024, 10:50 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825233
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822277904
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82017082
Celigo AI
09/26/2024, 10:50 PM