Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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>
0