Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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!