Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automate Reports at EOD 1

Status
Not open for further replies.

TOTTToddz

IS-IT--Management
Sep 5, 2006
1
US
Is there a way to run a series of daily reports at EOD? We are looking to run void, payment detail, labor, EDC transaction report(for AMEX & VISANET) and 2 copies of sales. Can this be setup to run from Task Scheduler or Winhook(I've had problems running anything through winhook in the past)
 
If you are still looking for this, I can send you the AKB document. It's a little too long to post on here. send me your email address.

Adam
 
I'm interested in this as-well, my biggest problem is getting the 'set' command to work. I can automate my reports, but whatever report was last used is what prints (within that type). I've tried all kinds of combinations but to no avail. What is the best way to get you an e-mail address on this board?


As always thanks for your help!
 
I have seen others encrypt it by spelling out dot and at in a complete sentence. People of this forum will now know it, but it wont be found by others using search engines to obtain them for spamming and solicting. But I do not know forum rules exactly. xyzbodotsmithatboogerdotcomxyz.

Bo

Kentucky phone support-
"Mash the Kentrol key and hit scape."
 
Welcome back Adam. Not alot of deep disscussion going on here lately.[sleeping2] Gave you a star for your Micros msr help. Wish I knew more about the other POS, but that is why I'm here. Changed my screen name. I wanted something cool like everyone else.[bigglasses] (Remember that thread?)

Bo

Kentucky phone support-
"Mash the Kentrol key and hit scape."
 
LOL, Yes I remember that thread. By the end of it, I was drunk and getting ready for my vacation. Good times!!

Anyway, anyone that wants that document, write me an email to adrothenbuhl<at>google<dot>com

As far as the last report used is the one that prints out, I have the same problem. I only have one client that uses it,so I have never been too concerned about it. But if you find a fix using the document please share!!

Adam
 
OK, I'm a moron!! If I would have just looked at the bottom of the document, I would have found a fix. Here it is:

You can enable Winhook-specific copies of RPT.SET to ensure the same settings are used each time the report Winhook prints a report. For example, in version 5.0x and lower, you might want a Product Mix report with only the desserts sold, but somebody previously printed a Product Mix for all items without changing the report settings back to their original configuration when they were finished. Use the following steps to create and enable Winhook-specific report templates:

(Although this method is no longer needed for the Sales Report, Labor Report or Product Mix Report in versions 5.2x and higher, you can still use this for other reports that do not use individual report settings files.)

1. Edit the report settings to the desired settings.
2. The report settings are saved in the RPT.SET file in the DATA folder. Copy this file to RPT.ONE.
3. If you are printing multiple versions of the same report (for example, two different Product Mix Reports), edit the report settings to the second configuration and copy RPT.SET to RPT.TWO.
4. Add command lines similar to the following to your Winhook batch file:

rem Delete RPT.SAV if it already exists.
DEL %IBERDIR%\DATA\RPT.SAV

rem Save a copy of the current RPT.SET.
REN %IBERDIR%\DATA\RPT.SET %IBERDIR%\DATA\RPT.SAV

rem Enable the preferred settings.
REN %IBERDIR%\DATA\RPT.ONE %IBERDIR%\DATA\RPT.SET

rem Print a Sales Report and Product Mix Report.
%IBERDIR%\BIN\RPT.EXE /DATE %1 /RC
%IBERDIR%\BIN\RPT.EXE /DATE %1 /RP

rem Rename the set file to its original name.
REN %IBERDIR%\DATA\RPT.SET %IBERDIR%\DATA\RPT.ONE

rem Enable the second preferred settings.
REN %IBERDIR%\DATA\RPT.TWO %IBERDIR%\DATA\RPT.SET

rem Print a second Product Mix Report.
%IBERDIR%\BIN\RPT.EXE /DATE %1 /RP

rem Rename the set file to its original name.
REN %IBERDIR%\DATA\RPT.SET %IBERDIR%\DATA\RPT.TWO

rem Bring back the original set file.
REN %IBERDIR%\DATA\RPT.SAV %IBERDIR%\DATA\RPT.SET
 
Adam, your e-mail address is bouncing....



THANKS
 
Hmmm, strange. I've been receiving other requests with no problem. You can never rely on those free email accounts!! Can you post your email address? I don't post my business emails on forums for obvious reasons.

Adam
 
Tried the address above again, bounced, you can send it to me @

las<at>jhu<d>edu


THANKS
 
Ah, Adam is back.. I thought certainly he had been killed in an industrial accident. I had not seen postings on the food service blogs from either.. good to know he is still breathing
 
Thank you for your concern!!

I just got very busy with installs, and new employees. Didn't have anytime for anything. Good to see that you guys care about me!! J/K.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top