by Chuck Hartle » Sun Jan 06, 2002 5:14 pm
ajz,
From Function Code go to ENG;
at the ? prompt, enter the following statement:
? LIST PDA.PARTS BY SO BREAK-ON SO TOTAL <enter>
? T-SALE TOTAL T-COST TOTAL GROSS ID-SUPP
<enter>
? DET-SUPP (P)
<enter>
This will report all parts sales, cost of sales, and gross profit totals based on the number of months you have set up in PDA; Setups; Retention Periods. If you have enough disk space I would highly recommend that you save 365 days. This gives you a full 12 months of sales history in the PDA.PARTS file.
If you want to know your gross profit by month, you would have to go to the PDA.CUST file for this. The dict-items are GJAN;GFEB;GMAR; etc.......
From ENG enter
? LIST PDA.CUST TOTAL GDEC ID-SUPP DET-SUPP
? (P)
<enter>
Unfortunately, the PDA.CUST file does not have the SO (source dict item) to look at monthly gross profit by source.
However, here is one way to narrow it down and look at monthly gross profit by source in the PDA.PARTS file:
Again, from ENG enter:
? LIST PDA.PARTS BY SO BREAK-ON SO TOTAL
<enter>
? T-SALE TOTAL T-COST TOTAL GROSS WITH
<enter>
? T-DATE GE "01DEC01" AND WITH T-DATE LE
<enter>
? "31DEC01" ID-SUPP DET-SUPP (P)
<enter>
This will narrow down the first English Statement above to just sales in December 2001 by source.
One thing to metion about the above English Statements. If you enter PDA.PARTS or PDA.CUST and the statement comes back that PDA.PARTS or PDA.CUST are not valid file names, call your ADP Support Center and have a support person add both PDA.CUST and PDA.PARTS to your "Title Library" file. By default, these files are not added to the library but can easily be done and then you don't have to worry about it anymore. IT IS NOT CUSTOM PROGRAMMING. It is a simple fix for any ADP Internal.
Good Luck and I hope it helps....
Chuck Hartle
PartsEdge