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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
getValue(name,join,summary)
I have a saved search that is based on a transaction, and returns the item internalid from all bills for that item, with the maximum amount paid for it. What i intend to do is update the purchase price on the item record with this new amount, so margins displayed on the sales transactions are correct.
The saved search is fine, but when I use the getValue method to retrieve the amount, I keep getting null. I have tried:
searchresults[i].getValue('internalid','item','group')
searchresults[i].getValue('internalid','inventoryitem','group')
searchresults[i].getValue('internalid','item')
and a few other combinations. What am I missing please? The rest of the code is below.
0