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
specifying an array as an nlobjField source
I needed to add a shipping method field to RMA records. I'm using a BeforeLoad script to add the field and set the options. Shipping Items aren't support by SuiteScript so I'm having to do this with script.
create and edit contexts are fine, prettu straightforward but edit requires a hack that bums me out.
I'm wondering if there is a trick to pass an array as a source to a select nlobjField? I've looked at the docs and they say something like "sourceId or script id" - I'm not sure what is meant by script ID? Anyone know?
If we COULD pass an array as a source the below code could be cleaned up quite a bit.
Steve Klett | Senior Developer
NetValue Technology
0