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!
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.