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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
Saved Search returns internal ID on columns
I am trying to retrieve a saved search. In the NS UI the search will display the names of the customer and sales rep. When I use web services the response only returns the internal IDs for those fields.
What am I missing?
here is a portion of the code:
Dim tsa As TransactionSearchAdvanced = New TransactionSearchAdvanced tsa.savedSearchId = 100 _searchPreferences = New SearchPreferences _searchPreferences.bodyFieldsOnly = False _searchPreferences.returnSearchColumns = True _service.searchPreferences = _searchPreferences Dim result As SearchResult result = _service.search(tsa)
and here is a row from the response:
<platformCore:searchRow xsi:type="tranSales:TransactionSearchRow" xmlns:tranSales="urn:sales_2009_1.transactions.webservices.netsuite.com"> <tranSales:basic xmlns:platformCommon="urn:common_2009_1.platform.webservices.netsuite.com"> <platformCommon:entity> <platformCore:searchValue internalId="12430"/> <platformCore:customLabel>Client</platformCore:customLabel> </platformCommon:entity> <platformCommon:internalId> <platformCore:searchValue internalId="57803"/> </platformCommon:internalId> <platformCommon:status> <platformCore:searchValue>picked</platformCore:searchValue> </platformCommon:status> </tranSales:basic> <tranSales:appliedToTransactionJoin xmlns:platformCommon="urn:common_2009_1.platform.webservices.netsuite.com"> <platformCommon:salesRep> <platformCore:searchValue internalId="-5"/> </platformCommon:salesRep> <platformCommon:shipDate> <platformCore:searchValue>2009-10-18T21:00:00.000-07:00</platformCore:searchValue> </platformCommon:shipDate> <platformCommon:tranDate> <platformCore:searchValue>2009-10-13T21:00:00.000-07:00</platformCore:searchValue> </platformCommon:tranDate> <platformCommon:tranId> <platformCore:searchValue>WO20111</platformCore:searchValue> <platformCore:customLabel>Work Order</platformCore:customLabel> </platformCommon:tranId> <platformCommon:customFieldList> <platformCore:customField xsi:type="platformCore:SearchColumnBooleanCustomField" internalId="appliedtotransaction_custbody4"> <platformCore:searchValue>false</platformCore:searchValue> </platformCore:customField> <platformCore:customField xsi:type="platformCore:SearchColumnBooleanCustomField" internalId="appliedtotransaction_custbody5"> <platformCore:searchValue>true</platformCore:searchValue> </platformCore:customField> </platformCommon:customFieldList> </tranSales:appliedToTransactionJoin> </platformCore:searchRow>
0