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.
Return a line item value from a search
I am building a suitlet that basically builds a sales report.
I have a search of transactions that returns the item and the itemid for the line item.
What I cant find is how to return these values using java script.
sstransactions = nlapiSearchRecord('transaction','customsearch_softskills');
for (i=0;i<sstransactions.length;i++)
{
response.write('TL is '+SStransactions.length);
tranId = SStransactions[i].getValue('item',1,'itemid');
response.write('TL is '+tranId);
}
any help appreciated.
0