How to fetch data for multiple values ?


So basically my organisation wants me to pull data from JD Edwards E1.

The records are pretty huge around 120000 for one year.. need to pull for atleast 5 years.
I have a master with customer names and their unique number which incidentally also is entered in JDE among other details.

Now, the problem is the customer names and numbers are also huge..around 800.
How to do I find 5 years of data for all these 800 customers and export to do some analysis.
I'm sorry but I'm new to JDE. Kindly help.