Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Create a Sales Order from RESTlet issue
Hi Fellow NetSuiters,
I'm running into this issue where I cannot create a sales order from SuiteScript. I constantly get the below message when I try to call the RESTlet:
error code: JS_EXCEPTION error message:{"type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"You have entered an Invalid Field Value 387 for the following field: item","stack":["anonymous(N/recordService)","doGet(/SuiteScripts/IMS Demo/cadran_rl_create_sales_order.js:34)"],"cause":{"type":"internal error","code":"INVALID_FLD_VALUE","details":"You have entered an Invalid Field Value 387 for the following field: item","userEvent":null,"stackTrace":["anonymous(N/recordService)","doGet(/SuiteScripts/IMS Demo/cadran_rl_create_sales_order.js:34)"],"notifyOff":false},"id":"","notifyOff":false} 0