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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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