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.
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