John Griffin
11/19/2019, 9:38 PMbattk
11/19/2019, 9:48 PMbattk
11/19/2019, 9:48 PMbattk
11/19/2019, 9:49 PMbattk
11/19/2019, 9:49 PMbattk
11/19/2019, 9:50 PMbattk
11/19/2019, 9:51 PMvar piItem = (searchResult[i].getText({name: 'Name'}));
usebattk
11/19/2019, 9:51 PMvar piItem = searchResult[i].getValue({name: 'itemid'});
John Griffin
11/19/2019, 10:06 PMbattk
11/19/2019, 10:06 PMbattk
11/19/2019, 10:08 PMJohn Griffin
11/19/2019, 10:08 PMbattk
11/19/2019, 10:08 PMbattk
11/19/2019, 10:08 PMbattk
11/19/2019, 10:10 PMitemid
and the label is Name
battk
11/19/2019, 10:12 PMbattk
11/19/2019, 10:12 PMJohn Griffin
11/19/2019, 10:15 PMJohn Griffin
11/19/2019, 10:16 PMJohn Griffin
11/22/2019, 10:06 PMvar piItem = searchResult[i].getValue({name:'itemid', summary:'GROUP'});
var piLoc = searchResult[i].getValue({name:'location',join:'binonhand', summary:'GROUP'});
I have been trying to get the output to display the names instead of the internal ids for location and binnumber. I found the SuiteAnswers below, but I still have not been able to figure this out. Can I get there from how I approached this with a saved search?
https://netsuite.custhelp.com/app/answers/detail/a_id/65117/kw/search%20returns%20internal%20id%20instead%20of%20name
https://netsuite.custhelp.com/app/answers/detail/a_id/46602/kw/display%20name%20instead%20of%20internal%20idbattk
11/22/2019, 10:16 PMJohn Griffin
11/22/2019, 10:22 PM