Changes to save the contractor ID in the Order table when creating a new order.