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!
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
Search Custom Record ID
Is it not possible to search a custom record be specifying the ID entered when the custom record was created e.g. 'customrecord_person' rather than the internal ID. We are going to deploy these custom records to another account where the internal ID is sure to be different.
The following code works:
CustomRecordSearchBasic customRecordSearchBasic = new CustomRecordSearchBasic(); RecordRef cusRecRef = new RecordRef(); cusRecRef.setInternalId("114"); cusRecRef.setType(RecordType.customRecord); customRecordSearchBasic.setRecType(cusRecRef); I have tried cusRecRef.setExternalId("customrecord_person");
and cusRecRef.setName("customrecord_person");
but I just get an "Invalid custom record type" error.
Thanks,
Wayne Wundram
www.miraculum.com
0