Microsoft SQL Server Native Client 11.0 error '80040e57' Arithmetic overflow error converting expression to data type int. /vsadmin/inc/incfunctions.asp, line 1861
It's strange because I had a small stack of orders to cancel which I was doing one at a time and it was working fine until about half way down the stack.
It's strange because I had a small stack of orders to cancel which I was doing one at a time and it was working fine until about half way down the stack.
I think I've figured it out. I did a test order and cancelled it successfully. The orders I was trying to cancel were all from the same customer who regularly places upwards of 30 orders then comes in to the store and cancels half of them. It appears that resulted in his having somethin like -240000000 loyalty points. I changed the number to -100000 and it appears to be working again.
Hi David Thanks for letting us know the cause of this problem, which saved a lot of hunting around for us. But I've tried reproducing the conditions where cancelling an order causes the number of loyalty points to go negative and can't seem to do so. Could you let me know the steps you take when cancelling as you may be doing something I'm not thinking of.