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!
"Invalid Field Value" error for custom field of type integer number
Hello,
I am having an issue where I am trying to set a custom field value of type integer number on new record using the N/record.record's setCurrentSublistValue. This is usually extremely straight forward. The value is initially read as a string so when it is time to set the value, it is of type string. I've tried Number(<value>), String(<value>) and parseInt(<value>) and all of the return the same error of :
"You have entered an Invalid Field Value <value> for the following field: <custom field id>" which for example if it the value i am trying to set is 36, it is trying to set this as 36.0 whether string or number. Has anyone ran into this? This is the ONLY field that is causing this type of issue. I know that for the most part, fields are happy with string values but this one is causing me problems :h_a_w: