Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
How do you get the itemId of a line item in a transaction?
Hi Guys,
Can anyone tell me how to get item.itemId for a line item in BFO?
The only way I can get the itemid for each item is by using {item.item?split(' ')[0]} (see below for example).
<tr>
<td align="left" text-align="left" colspan="6">${item.item?split(' ')[0]}</td>
<td align="left" colspan="16">${item.description}</td>
<td align="right" colspan="3">${item.rate}</td>
<td align="center" colspan="2">${item.quantity}</td>
<td align="right" colspan="3">${item.amount}</td>