Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
"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: