changes to support order reports, order locking