I want to get sales order report collection programmatically. I don't know by which class I can able to fetch. Can anyone please help me?

I want to get same records which display in screenshot.

enter image description here

1 Answer 1


You should be able to get the data you want by using the collection:


Magento is implementing the grid in your screenshot in this file:


where you should be able to get examples on how to implement it (with filters).

  • Can you please add full code?
    – Mehta Prem
    Commented Sep 2, 2021 at 11:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.