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.
Querying Custom Records
I need to search against a custom record. The custom record has a parent record of type Customer - the Customer record is what I'm really trying to find.
Does anyone know why following C# doesn't work, after a successful login as administrator (role 3)...
NetSuite.RecordRef linkedCardRecordType = new NetSuite.RecordRef(); linkedCardRecordType.internalId = "17"; NetSuite.CustomRecordSearchBasic customRecordSearchBasic = new NetSuite.CustomRecordSearchBasic(); customRecordSearchBasic.recType = linkedCardRecordType; NetSuite.CustomRecordSearch customRecordSearch = new NetSuite.CustomRecordSearch(); customRecordSearch.basic = customRecordSearchBasic; NetSuite.SearchResult Results = NetSuiteService.search(customRecordSearch);
https://system.netsuite.com.au/app/common/custom/custrecordentrylist.nl?rectype=17 returns me the records that are defined in the custom record type.
In the SearchResult object returned I get no results. The Status field has isSuccess = false, and the StatusDetail array has one element with the following data:
0