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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Querying Customer Lists
I want to query a custom list via Web Services. I am following the example on page 151 of the Web Services Records user guide (version 1.3.2). The same example was also presented in the old user forum as well, as follows.
CustomRecordSearch customRecordSearch = new CustomRecordSearch();
RecordRef recordRef = new RecordRef();
recordRef.setInternalId("3");
customRecordSearch.setRecType(recordRef);
SearchResult result = port.search(customRecordSearch);
I am using the internal id "3" obtained from my custom lists' URL:
https://system.netsuite.com/app/common/custom/custlist.nl?id=3&e=T&ord=F
I am also using CustomRecordSearchBasic in place of CustomRecordSearch in the 1.3.2 WSDL.
When I run this code I get back a failed status Code = USER_ERROR, Message = Invalid Record Type.