Discussions
Very Interesting - Old Code Creeping Up
We have the script below (server side user event) that runs when a new customer is created from an online form. It basically creates a sales order based on he quantity of items they pick.
We are using non-serialized inventory items. It works fine if quantity if 1,2,3,4 or 5. If a customer selected 6, it returns 'serial numbers submitted does not equal item quantity'. The wild thing is, we aren't submitting any serial numbers, ever.
The other thing to note is that WAY back when we were developing this thing, we were using serial numbers. That code has not been in there for months. It is possible that the old JS file is out in the ozone somewhere and still being called?