dennysutanto
06/23/2025, 8:26 AMCeligo AI
06/23/2025, 8:26 AMAI generated answer (using internal Slack threads):To use
recmach
in Advanced PDF, you need to understand that recmach
is used to reference sublists or line items in NetSuite records. In the context of Advanced PDF, you would use it to loop through and display line items on a transaction, for example.
Here's a basic example of how you might use recmach
in an Advanced PDF template:
xml
<#list record.item as item>
<tr>
<td>${item.item}</td>
<td>${item.description}</td>
<td>${item.quantity}</td>
<td>${item.rate}</td>
<td>${item.amount}</td>
</tr>
</#list>
In this example, record.item
is using recmach
to reference the line items on the transaction. Each item
in the list is a line on the transaction, and you can access its fields (like item
, description
, quantity
, rate
, and amount
) directly.
Remember, the exact usage of recmach
may vary depending on the specific record type and the fields you want to access.
******
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
06/23/2025, 8:26 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.76360321
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.756506145
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.75140053
Celigo AI
06/23/2025, 8:26 AM