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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Inventory Adjustment Out w/ Adv. Bin/SN Management Enabled
Has anyone scripted an inventory adjustment of product out of inventory when advanced bin/serial number management is enabled? I'm running into an issue with the Quantity field on the inventoryassignment sublist of the inventorydetail subrecord on the adjustment line items. When I set the value to -1 for quantity, I receive the following error:
com.netledger.common.exceptions.NLUserError: You have entered an Invalid Field Value -1.0 for the following field: quantity
When doing adjustments in, everything works beautifully. Tried taking the value out and hoping for a default, but doesn't work as the sublist doesn't get committed correctly.
0