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.
Cannot complete online sale because class isn't set
We use classes and though it's a required field, web orders (via WSDK) would be created without this value set and all was well.
Since the NetSuite upgrade, it appears that for non-inventory items with or without drop-ship enabled, sales orders fail on the very last step (submit order) with a complaint about the class not being set. In our sandbox, I've disabled all user event scripts and the problem persists. The non-inventory items have their classes set, and I don't see a way to set a default class for sales orders. I attempted to create a user event script to set the class when a sales order is created, but I can't get it to run (as it appears the problem occurs before
0