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
Help with the field INTERNAL id and SCRIPT id conundrum?
I've just made an attempt to move configuration data that I would normally hardcode (bad!) or store as JSON in a script parameter to a configuration Custom Record. The record defines several Custom Fields that have relationships. What I mean is, the custom record has a couple fields that are List/Record of Field. The problem I have is that when you access those fields from SuiteScript you get the [numerical] internal id with nlobjRecord.getFieldValue() or the field Name with nlobjRecord.getFieldText(). What you don't get is the SCRIPT id (e.g. 'custentity_somegreatwonder'). This is bad news because all of the field APIs
Steve Klett | Senior Developer
NetValue Technology
0