Admin Upskill Center

-Infinity Error

Resolve the NetSuite '-Infinity outside valid min/max range' error by validating numeric inputs before setting field values.

The Error: Value -Infinity outside of valid min/max range for field custcol_myfield

The findings:

  • Sometimes, value that looks like null is actually -Infinity

Resolutions:

if (isFinite(myValue)) { // use JS isFinite() function
  //set value only then
}