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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Transform PO to Item Receipt with Bins
[SOLVED - Need to set customform of itemreceipt]
Hope someone can help me with this before the dent in my forehead gets any deeper.
I am trying to transform a Purchase Order to an Item Receipt, with the Items using Advanced Bin Management via a RESTlet. No matter what I try, on submission the transformed record returns the extremely helpful error that I am missing an "id".
My SuiteScript code for this is:
function itemReceipt(dataIn) { /* * Have to look up items by itemname. * * @param {Array} items List of items received from the cache * @param {String} itemname The itemname from the itemreceipt's item list. * 0