Added switch to processOrder() that tells us whether order is coming
from data, in which case an idNum is accepted rather than assigned