RE: Unexpected Error on Inventory Item Creation in Restlet

I have a restlet written in Suitescript 1.0 (haven’t had the chance to convert it yet). I use this to create orders and customers and pull records in general. I’m using it for the first time to create items, but upon the execution of nlapiSubmitRecord it’s returning UNEXPECTED_ERROR. Has anyone dealt with this before or even have successful code with item creation. The most I can find is that possibly another onsubmit record may be interfering with this, but I’m not sure. Some guidance would be much appreciated!

 

Thanks

logancornelius Rookie Asked on March 10, 2021 in Items.

Share the code, preferably with hardcoded variables

on March 10, 2021.
Add Comment
4 Answers

Usually unexpected error comes when you set invalid value for any list based field .

Rookie Answered on March 16, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.