posP-D100.htm

PROCEDURES MENU - DAILY CLOSE

OVERVIEW

This document describes the Daily Closeout Process and the "Z-Out" process.

Close Drawer (Z-Out) reports

The Daily Close procedures and reports are designed to be done at the end of the day for the entire store. All data is accumulated and reported for all ports.

The Z-Out process is a quick report that can be done at any time for any individual port. The idea is to let a clerk close a register and get totals on what has been done in that period.




CLOSE

The daily close summarizes all activity for the day for the entire store. It makes some quick, temporary backups. It prepares files for reporting.

During the day all work is recorded real-time in the system's database. Many of those activities are also noted in the daily transaction file (sssADRDT.TXT or just DT). The DT records are just short records showing the action, the data and time, the key to the data in the main database, and sometimes a few useful numbers.

The most signifincant action of the DAILY CLOSE is to make copies of the DT file at the time of the close, then erase the file and start a fresh copy. Reports are then run using the copies. People can go back to work and new sales and activitiy will be recorded in the new copy of the DT file.

Think of it like this example of a manual store without a computer. The software works the same way as the manual procedure. The DT file is the box. When you run the daily close the software gathers all of the slips then starts a new, empty DT file. The manager can now run the reports from the slips and the clerks can begin putting new slips in the DT file for tomorrow.

REPORTS


PORT LOG


 1 03-05-10 00:14:20.SHOP5020 -----------START DAILY CLOSE------------
 1 03-05-10 00:14:20.SHOP5020 DS0000:Start daily CLOSEOUT.  
 1 03-05-10 00:14:20.SHOP5020 DS0001:SHOP5020 Rev:02/27/2010 12:52:49
 1 03-05-10 00:14:20.SHOP5020 DS0002:Run 03/05/2010 00:14:20
 1 03-05-10 00:14:20.SHOP5020 DS0006:   0 records in DT file
 1 03-05-10 00:14:20.SHOP5020 DS0010:Mark run in progress
 1 03-05-10 00:14:20.SHOP5020 DS0B30 
 1 03-05-10 00:14:20.SHOP5020 DS0B30:Daily ZIP backups
 1 03-05-10 00:14:20.SHOP5020 DS0B31: Erase  BCM-BK5.ZIP
 1 03-05-10 00:14:20.SHOP5020 DS0B32: Rename BCM-BK4.ZIP to BCM-BK5.ZIP
 1 03-05-10 00:14:20.SHOP5020 DS0B33: Rename BCM-BK3.ZIP to BCM-BK4.ZIP
 1 03-05-10 00:14:20.SHOP5020 DS0B34: Rename BCM-BK2.ZIP to BCM-BK3.ZIP
 1 03-05-10 00:14:20.SHOP5020 DS0B35: Rename BCM-BK1.ZIP to BCM-BK2.ZIP
 1 03-05-10 00:14:20.SHOP5020 DS0B40: PKZIP BCM-BK1 BCM*.TXT BCM*.ISI
 1 03-05-10 00:14:22.SHOP5020 DS0015 
 1 03-05-10 00:14:22.SHOP5020 DS0015:Roll Trans codes
 1 03-05-10 00:14:22.SHOP5020 DS0T01: Erase  BCMADRTC.BK5
 1 03-05-10 00:14:23.SHOP5020 DS0T02: Rename BCMADRTC.BK4 to BCMADRTC.BK5
 1 03-05-10 00:14:23.SHOP5020 DS0T02: Rename BCMADRTC.BK3 to BCMADRTC.BK4
 1 03-05-10 00:14:23.SHOP5020 DS0T02: Rename BCMADRTC.BK2 to BCMADRTC.BK3
 1 03-05-10 00:14:23.SHOP5020 DS0T02: Rename BCMADRTC.BK1 to BCMADRTC.BK2
 1 03-05-10 00:14:23.SHOP5020 DS0T40:  Copyfile BCMADRTC.TXT to BCMADRTC.BK1
 1 03-05-10 00:14:23.SHOP5020 DS0T50: RE-OPEN TC file BCMADRTC NIF:N
 1 03-05-10 00:14:23.SHOP5020 DS0T52: RE-OPEN TCR file BCMADRTR NIF:N
 1 03-05-10 00:14:23.SHOP5020 DS0T60 
 1 03-05-10 00:14:23.SHOP5020 DS0T60:ROLL TRANS CODES
 1 03-05-10 00:14:23.SHOP5020 DS0T68: Roll complete.  Re-open TC and TCR
 1 03-05-10 00:14:23.SHOP5020 DS0020:
 1 03-05-10 00:14:23.SHOP5020 DS0021:CYCLE DT BACKUPS
 1 03-05-10 00:14:23.SHOP5020 DS0D10: Erase  BCMADRDT.ISI
 1 03-05-10 00:14:23.SHOP5020 DS0D12: Erase BCMADRDT.BK5
 1 03-05-10 00:14:23.SHOP5020 DS0D21: Rename BCMADRDT.BK4 to BCMADRDT.BK5
 1 03-05-10 00:14:23.SHOP5020 DS0D22: Rename BCMADRDT.BK3 to BCMADRDT.BK4
 1 03-05-10 00:14:23.SHOP5020 DS0D23: Rename BCMADRDT.BK2 to BCMADRDT.BK3
 1 03-05-10 00:14:23.SHOP5020 DS0D24: Rename BCMADRDT.BK1 to BCMADRDT.BK2
 1 03-05-10 00:14:23.SHOP5020 DS0D30: Erase  BCMADRDT.TDY
 1 03-05-10 00:14:23.SHOP5020 DS0D40:  Copyfile BCMADRDT.TXT to BCMADRDT.TMP
 1 03-05-10 00:14:23.SHOP5020 DS0D50:
 1 03-05-10 00:14:23.SHOP5020 DS0D51: Append DT to cumulative monthly DT.
 1 03-05-10 00:14:23.SHOP5020 DS0D52:  Prep DT month file:BCMD1003.TXT
 1 03-05-10 00:14:23.SHOP5020 DS0D54:     21 records appended to monthly BCMD1003.TXT
 1 03-05-10 00:14:23.SHOP5020 DS0D55: EXTRA CLOSE OF DT FILE
 1 03-05-10 00:14:23.SHOP5020 DS0D60: Rename BCMADRDT.TXT to BCMADRDT.TDY
 1 03-05-10 00:14:23.SHOP5020 DS0100:
 1 03-05-10 00:14:23.SHOP5020 DS0100:SORT DT FILE MULTIPLE WAYS
 1 03-05-10 00:14:23.SHOP5020 DS0S10: SORT:BCMADRDT.TDY,BCMADRDT.BK1;19-24,7,08-18,30-47,73
 1 03-05-10 00:14:23.SHOP5020 DS0S20: SORT:BCMADRDT.TDY,BCMADRDB.TXT;7,30-31,71-72,32-36,124-131,37-45,19-29
 1 03-05-10 00:14:23.SHOP5020 DS0S30: SORT:BCMADRDT.TDY,BCMADRDI.TXT;7,16-18,92-112,19-29
 1 03-05-10 00:14:23.SHOP5020 DS0S40: SORT:BCMADRDT.TDY,BCMADRDS.TXT;7,16-18,128-137,92-112,19-29
 1 03-05-10 00:14:23.SHOP5020 DS0150
 1 03-05-10 00:14:23.SHOP5020 DS0150:PREP NEW DT:BCMADRDT
 1 03-05-10 00:14:23.SHOP5020 End of CLOSE OUT.  CHAIN TO SHOPD000
 1 03-05-10 00:14:23.SHOP5020 ------------END DAILY CLOSE-------------
 1 03-05-10 00:14:23.SHOP5020  
 1 03-05-10 00:14:23.SHOP5022 SHOP5022 DAILY CLOSEOUT REPORT start 
 1 03-05-10 00:14:39.SHOP5022 SHOP5022 Options:YYYYYY00
 1 03-05-10 00:14:41.SHOP5022 SHOP5022 complete
 1 03-05-10 00:16:29.SHOP5060  


NOTES FROM SHOP5022 program

........................................................................
.  SHOP5022                                        6/12/96
.
.             Sales system - Cash Out procedure
.
.        Search for:
.             DAILY_TC_REPORT
.               read  sssADRDT.BK1 Wrt sssPPz22.RAW sort to sssPPz22.TXT
.               Select DTRECODE="TCR"
.
.             TC_SUMMARY_REPORT     ;similar to report in I270
.               read and report sssADRTR.isi   TCR index
.               (Same page as DAILY_TC_REPORT)
.
.
.             ITEM_DETAIL_REPORT  (ORDER DETAIL)
.               read  sssADRDT.BK1 report as is.
.               Sorted by CORECKEY which basically gives ORDER sequence.
.               Select DTRECODE="PCO")              CO detail
.
.             SALES_SUMMARY_REPORT
.               read  sssADRDI.TXT sequence
.               Select DTRECODE="PCO")              CO detail
.
.             SALES_RECAP_REPORT
.               read  sssADRDI.TXT sequence
.               Select DTRECODE="PCO")         CO detail
.                      DTRECODE="PCH")         CO HEADER
.                      DTRECODE="CTX")         TAX RECORD
.                      DTRECODE="pcm")         CREDIT MEMO
.                      DTRECODE="pgc")         GIFT CERTIFICATES
.
.             SALES_ANALYSIS_REPORT
.               read  sssADRDT.BK1 Wrt sssPPz22.RAW sort to sssPPz22.TXT
.               Select DTRECODE="PCO")         CO detail
.
.             DEPOSIT_TICKET_REPORT
.               read  sssADRDT.BK1 Wrt sssPPz22.RAW sort to sssPPz22.TXT
.               Select "pxx" DTRECODES.        Payment transactions
.
......................................
.
.   DT sorted files:
.
.     sssADRDT.TDY
.        Renamed, UN-SORTED version of the DT file for the today.
.
.
.     sssADRDT.BK1:    19-24, 7, 08-18, 30-47, 73
.        19-24:  DTDATE   (MMDDYY)
.            7:  DTCAT
.         8-18:  DTSYSTEM, DTPROG
.        30-47:  DTKEY
.           73:  cents from DT06P2
.
.     sssADRDB.TXT:    7, 30-31, 71-72, 32-36, 124-131, 37-45, 19-29
.        (can't find that the DB file is used anywhere)
.            7:  DTCAT
.        30-31:  First 2 of DTKEY
.        71-72:  end of DT06P2
.        32-36:  inside DTKEY
.      124-131:  End of filler, start of MEMO
.        37-45:  inside of DTKEY
.        19-29:  DTDATE / DTTIME:   MMDDYYHH:MM
.
.     sssADRDI.TXT:    7, 16-18, 92-112, 19-29
.       Used by:  sales_recap_report
.
.       Used by   sales_summary_report
.
.            7:  DTCAT
.        16-18:  DTCODE
.       92-112:  Inside DTFILLER
.        19-29:  DTDATE / DTTIME:   MMDDYYHH:MM
.
.
.     sssADRDS.TXT:    7, 16-18, 128-137, 92-112, 19-29
.        (can't find that the DB file is used anywhere)
.            7:  DTCAT
.        16-18:  DTCODE
.      128-137:  DTMEMO
.       92-112:  Inside DTFILLER
.        19-29:  DTDATE / DTTIME:   MMDDYYHH:MM
.