Bug 5336: (follow-up) use understandable codes rather than magic numbers for orderstatus