FILENAME = MRGEMAIL.TXT							PAGE 1

This file contains a listing of files used for Automated Polling
using Email and Microsoft Outlook(or any other MAPI Email program).
The Keystroke programs required are SENDMAIL.EXE and GETMAIL.EXE.
These 2 programs are included in the add-on User Bundle ($495 List).

Terms:

Master:  The location of the computer(or network) where all data files will be.
	 This is where the Consolidated Data directory(DATA\) will be and where
	 the sub-directories(STORE1\ & STORE2\) will be.

Remote:  The physical store located at a different location than the Master.



File List:  (Files below are sorted based on their function)
-------------------------------------------------------------------------------
MRGEMAIL.TXT    This text file.

MRGEMAIL.ZIP    ZIP file containing all of the files listed here.


**FUNCTION:  Extract and send transaction data to the master location
             via Email, sending the files MERGE1.ZIP and/or MERGE2.ZIP	
-------------------------------------------------------------------------------
EXT1.BAT        This file is used on a scheduler to extract transaction data
		and Email the zipped up merge file.
                Place this file in the \keystrok directory at Store1 remote.

EXT1.INI        This file used by EXT1.BAT to specify how to send the Email.
		You will need to modify this file to include User Name, 
		Password (if used in your email profile), and Email Address.
                Place this file in the \keystrok directory at Store1 remote.

EXT2.BAT        This file is used on a scheduler to extract transaction data
		and Email the zipped up merge file.
                Place this file in the \keystrok directory at Store2 remote.

EXT2.INI        This file used by EXT2.BAT to specify how to send the Email.
		You will need to modify this file to include User Name, 
		Password (if used in your email profile), and Email Address.
                Place this file in the \keystrok directory at Store2 remote.


**FUNCTION:  Get the transaction data (MERGE1.ZIP and/or MERGE2.ZIP)
             from the Email Program and merge it into the Consolidated
             database and the sub-directories at the master location.
-------------------------------------------------------------------------------
MRGSALES.BAT    This file is used on a scheduler to check for Emails and
                processes them.  NOTE: This is written for 2 REMOTE locations.
                You will need to edit this file if one store is at the master.
                Place this file in the \keystrok directory at the Master.

GETSALE1.INI    File used by MRGSALES.BAT to specify how to receive the Email
		You will need to modify this file to include User Name, 
		Password (if used in your email profile), and Email Address.
                Place this file in the \keystrok directory at the Master.

GETSALE2.INI    File used by MRGSALES.BAT to specify how to receive the Email.
		You will need to modify this file to include User Name, 
		Password (if used in your email profile), and Email Address.
                Place this file in the \keystrok directory at the Master.


	 		   Continued Next Page...






**FUNCTION:  Send updated inventory & customers to remote locations.	PAGE 2
             after verifying the merge file has been received. 
-------------------------------------------------------------------------------
SENDINV.BAT     File used to send Inventory files to both Store1 & Store2.
                Place this file in the \keystrok directory at the Master.

SENDINV1.BAT    File used to send Inventory files to Store1 only.
                Place this file in the \keystrok directory at the Master.

SENDINV1.INI    File used by SENDINV1.BAT to specify how to send the Email.
                Place this file in the \keystrok directory at the Master.

SENDINV2.BAT    File used to send Inventory files to Store2 only.
                Place this file in the \keystrok directory at the Master.

SENDINV2.INI    File used by SENDINV2.BAT to specify how to send the Email.
                Place this file in the \keystrok directory at the Master.


**FUNCTION:  Get updated inventory & customers to replace remote data.
-------------------------------------------------------------------------------
GETINV1.BAT     File used to process Inventory files received from the Master.
                Place this file in the \keystrok directory at Store1.

GETINV1.INI     File used by GETINV1.BAT to specify how to receive the Email.
                Place this file in the \keystrok directory at Store1.

GETINV2.BAT     File used to process Inventory files received from the Master.
                Place this file in the \keystrok directory at Store2.

GETINV2.INI     File used by GETINV2.BAT to specify how to receive the Email.
                Place this file in the \keystrok directory at Store2.

NOTES:
-------------------------------------------------------------------------------
1)  The following directories need to be created:
        \KEYSTROK\STORE1   at the Master.
        \KEYSTROK\STORE2   at the Master.
        \KEYSTROK\DATA\HOLD     at Store1.
        \KEYSTROK\DATA\HOLD     at Store2.
Refer to the Keystroke Multistore Appendix for information on setting up
Multistore and preparing for polling.

2)  Here is a suggested schedule for nightly polling (once a day)
        SEND1.BAT       (scheduled to run at 10:30pm each night at Store1)
        SEND2.BAT       (scheduled to run at 10:30pm each night at Store2)
        MRGSALES.BAT    (scheduled to run at 11:00pm each night at the Master)
        SENDINV.BAT     (scheduled to run at 11:30pm each night at the Master)
        GETINV1.BAT     (scheduled to run at 12:00am each night at Store1)
        GETINV2.BAT     (scheduled to run at 12:00am each night at Store2)
        MRGSALES.BAT    (scheduled to run at 12:30am each night at the Master)
        
3)  Additionaly, each store can send their transactions to the Master
    Location more often throughout the day.

    Files to run at remote stores at 10:00am, 2:00pm, 6:00pm are:
        SEND1.BAT       (scheduled to run multiple times at Store1)
        SEND2.BAT       (scheduled to run multiple times at Store2)

    Files to run at the Master at 10:30am, 2:30pm, 6:30pm are:
        MRGSALES.BAT    (scheduled to run multiple times at the Master)
