I've got a 2.0 script on a custom transaction that I am attempting to set the native amount field to 0. When i do this, i get the error:
Exception: {"type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"Invalid number (must be between 5e-324 and 1.7976931348623157e+308)","stack":["INVALID_FLD_VALUE: Invalid number (must be between 5e-324 and 1.7976931348623157e+308)"
I am logging the value out prior to setting and its 0 which I want. I can also set 0 via the console it worked fine and the same error isn't thrown. Has anyone run across this?