Hello. Would it be possible to have POS export the stock table to a file automatically when the global register is closed (all lines with non-zero stock number & sales)? Or a way of exporting it without going into POSCONFIG where employees can mess up stock numbers?
Thanks.
Export stock table when global register closed.
Moderators:daleadmin, Dale Harris, Alan, Andrew
- Dale Harris
- Forum Owner
- Posts:1171
- Joined:Sun Dec 28, 2003 10:19 pm
- Location:Chicago
- Contact:
Export stock table at close.
Guest,
Nope.
Although when the POS program closes you can set it up to run another program. For example a .BAT file that will backup the entire stock table to a floppy or other drive / folder.
Nope.
Although when the POS program closes you can set it up to run another program. For example a .BAT file that will backup the entire stock table to a floppy or other drive / folder.
Dale
If you want to make DHPOS run a batch (.BAT) file upon closing, the instructions about this feature are at http://www.dhpos.com/discuss/phpBB2/viewtopic.php?t=322
Basically you need a file called POS_NEXT.DAT which contains the path/filename of a program/batch file to run. DHPOS checks for the presence of this file upon exiting.
The program you would want to run would most likely be a batch file which contains the DOS commands to copy your stock table (TBL) files to another location. For example (untested):
This code is in three parts:
1) COPY is the DOS command to copy files/folders.
2) MARTHA.TBL is the name of your register, plus the .TBL extension.
3) C:\POSBKUP\MARTHA.TBL tells the computer to copy the file in part 2, to the folder POSBKUP on C drive.
Basically you need a file called POS_NEXT.DAT which contains the path/filename of a program/batch file to run. DHPOS checks for the presence of this file upon exiting.
The program you would want to run would most likely be a batch file which contains the DOS commands to copy your stock table (TBL) files to another location. For example (untested):
Code: Select all
COPY MARTHA.TBL C:\POSBKUP\MARTHA.TBL
1) COPY is the DOS command to copy files/folders.
2) MARTHA.TBL is the name of your register, plus the .TBL extension.
3) C:\POSBKUP\MARTHA.TBL tells the computer to copy the file in part 2, to the folder POSBKUP on C drive.
Who is online
Users browsing this forum: No registered users and 28 guests