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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Async Search Results Different from non-async
When calling a search asynchronously using 'getAsyncResult', I receive missing values in the search results and the field 'type' is wrong.
When I call the same search results with 'searchMoreWithId' the field is properly typed and the value is returned.
Request:
<SOAP-ENV:Body> <ns1:getAsyncResult> <ns1:jobId>ASYNCWEBSERVICES_6784...</ns1:jobId> <ns1:pageIndex>1</ns1:pageIndex> </ns1:getAsyncResult>
Response of AsyncResult:
<soapenv:Body> <getAsyncResultResponse> <asyncResult xsi:type="AsyncSearchResult"> <platformCore:searchResult> <platformCore:status isSuccess="true"/> <platformCore:totalRecords>3816</platformCore:totalRecords> <platformCore:pageSize>1000</platformCore:pageSize> <platformCore:totalPages>4</platformCore:totalPages> <platformCore:pageIndex>1</platformCore:pageIndex> <platformCore:searchId>ASYNCWEBSERVICES_678....</platformCore:searchId> <platformCore:searchRowList> <platformCore:searchRow xsi:type="tranSales:TransactionSearchRow"> <tranSales:basic> <platformCommon:internalId> <platformCore:searchValue internalId="16354"/> <platformCore:customLabel>Transaction Internal ID</platformCore:customLabel> </platformCommon:internalId> <platformCommon:internalId> ** NOTE should be 'type' <platformCore:searchValue/> ** NOTE value missing <platformCore:customLabel>Transaction Type</platformCore:customLabel> </platformCommon:internalId> </tranSales:basic>
0