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!
SuiteScript - How do I target the numeric field of a 'dual (int : list) field'?
I'm doing some scripting where I'm trying to target, in the image, the numeric fields.
However, both the numeric and the list fields use the same id of landedcostsource6/7/8/9/10. Firstly, what are these dual type of fields called?
But more importantly, how do I target just the numeric field? I'm doing some scripting where I target landedcostsource6 but keep getting back the value 'Manual'. I have also tried using landedcostsource1/2/3/4/5 but that doesn't seem to be it.
Code example:
Logs when updating the numeric value of landedcostsource3 and 4 to new values:
landedcostsource1/2/3/4&5 are undefined.
Thank you for your insights!
0