If you are trying to cancel the order on a stock record but receive the below error, to avoid this you must go into the PX stock record, accept the vehicle into stock, then back to the host stock, PX detail tab and click make pending.
After this is done you should be able to cancel the order.