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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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