Work Order Status query, and entity mapping