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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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