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.
Error when creating CASH SALE via RESTLET
I have created RESTlet that will accept a series of SALES ORDER internal ids and from them create CASH SALES using nlapiTransformRecord to go from SALES ORDER to CASH SALE (code at below message).
In testing my RESTLET I receive the following error message:
{ "error": { "code": "USER_ERROR", "message": "You must enter at least one line item for this transaction." } }However when I go into NetSuite the system created the CASH SALE based on the given SALES ORDER with all the appropriate items.
Additionally, when I view the CASH SALE that was created it listing the items in the item list as BACKORDERED when there is clearly enough inventory.
0