changed the query for event order, getting serial numbers from b_allocation,b_owned_hardware