Strangely, it does not affect Sales Orders created through the UI. It is only affecting the ones we create via script. Actually, I don't even know why a client script is running for sales orders created via restlet, but not when created through the UI.