Schedule Reports

stewartsetter

New Member
Good Afternoon,

Can any advise if it is possible to schedule MFG/PRO v9 reports.

I need to run a batch of reports on a Friday from the pending invoice register and output them to a file. Can this be scheduled earlier in the day to run that evening?

Thanks,
 

shoam.boinus

New Member
Hi
Yes, it is possible.
First you need create a batch file like:

pendinginvoice.bat

SET DLC=C:\DLC91B
SET BTH=d:\BATCH
D:
cd %BTH%

%DLC%\bin\prowin32.exe -d dmy -yy 1980 -ininame %BTH%\batch.ini -pf %BTH%\qadprod.pf -b -p %BTH%\pendinginvoice.p > %BTH%\pendinginvoice.err

pendinginvoice.p
INPUT from pendinginvoice.inp.
OUTPUT to pendinginvoice.out.
PAUSE 0 BEFORE-HIDE.
RUN MF.P.
INPUT CLOSE.
OUTPUT CLOSE.

pendinginvoice.inp
"mfg" "mfg"
soinvpst.p
.
.
.


Then enable your schedule task to run pendinginvoice.bat

Hope this can help you, if you need more help, please send email to shoam.boinus@gmail.com
I am glad to help.

Best Rgds
Shoam Boinus
 
Top