How do I list sale lines and search/filter them?

Could be linked to this discuss : Purchase/Sale history of a product