|
Size: 4912
Comment:
|
Size: 5369
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 38: | Line 38: |
| 1. Copy data from HO into polling files | 1. When installing for Windows based store (ISHKA) 1. Create required location by CLONING (F4) from existing one 1. Copy data from one of the existing PC - pkzip 1. 1. Copy data from HO into polling files |
| Line 63: | Line 66: |
| 1. Extract all Stock Adjustments, Purchase Orders, Customer Orders and Debtor Payments (sendpost -f tran.dat -o rsendtrn.dat -B <BRANCH> 12 14 26 23) | 1. Extract all transactions relating to this store (sendpost -f tran.dat -o rsendtrn.dat -B <BRANCH> 1 12 14 16 17 21 22 30) 1. Extract ALL Customer Orders, Debtor Payments Gift Vouchers, etc. (sendpost -f tran.dat -o rsendtrn.dat 22 23 24 25 26 36) |
| Line 104: | Line 108: |
| 1. After polling runs once, list out the voucher redemptions (salstr 8). Make sure the redemption location matches what is in head office. | |
| Line 105: | Line 110: |
| ---- . CategoryInstallation |
Installing CONTROL on an Oxford Store branch computer
- At Head Office:
- Create polling directories:
$CCDIR/OXFORD/<BRANCH>
$CCDIR/OXFORD/<BRANCH>/send
$CCDIR/OXFORD/<BRANCH>/receive
- Create the branch as needed in the OXFORD company. Should be copy of an existing store with appropriate modifications.
- Create the polling location as needed in the OXFORD company. Should be copy of an existing store with appropriate modifications.
- If the branch is a new branch, copy stock and category records to branch from ??HO?? (sicrep)
- Tar (retain absolute path) the following into control.tgz.
- /u/cc/adm.store
- /u/cc/pixmap
- /u/cc/standard
- /u/cc/blank
- /u/cc/std
- /u/cc/binl
- /u/cc/binx11
- /u/cc/lib
- Tar (retain absolute path) the following user files into users.tgz
- /u/cc/usr/common.sh
- /u/cc/usr/ccc/.bash_profile
- /u/cc/usr/ccc/.bash_logout
- /u/cc/usr/pos/.bash_profile
- /u/cc/usr/pos/.bash_logout
- If the store does not have a VPN connection, tar (retain absolute path) the following VPN files into vpn.tgz
- /etc/ppp/peers/oxford
- /etc/ppp/peers/oxford_id_dsa
- /etc/ppp/connect-script
- /etc/ppp/ip-up.local
- Tar (absolute path) the following into eftpos.tgz:
- /u/eftpos
- /usr/java/j2re1.4.2_01/lib/i386/librxtxSerial-2.0.5.so
- /usr/java/j2re1.4.2_01/lib/i386/librxtxSerial.so
- /usr/java/j2re1.4.2_01/lib/ext/comm.jar
- /usr/java/j2re1.4.2_01/lib/ext/jcl.jar
- /usr/java/j2re1.4.2_01/lib/javax.comm.properties
- /etc/X11/fvwm2/system.fvwm2rc
- When installing for Windows based store (ISHKA)
- Create required location by CLONING (F4) from existing one
- Copy data from one of the existing PC - pkzip
- 1. Copy data from HO into polling files
- Make sure there isn't a copy of rslog.dat in the local directory and copy standard rslog.dat into the local directory
- Make sure there isn't a copy of rsendtrn.dat in the local directory and copy standard rsendtrn.dat into the local directory
- Dump the following records to the local copy of rslog.dat IN THE FOLLOWING ORDER:
- Menus (menurep -l rslog.dat)
- Branches (brurep -l rslog.dat)
- Branch Code = 1
- Branch Code = HO
- Employees (empurep -l rslog.dat)
- Creditor Types (cutrep -l rslog.dat)
- Creditors (cutrep -l rslog.dat)
- Companies (courep -l rslog.dat)
- Salespeople (smurep -l rslog.dat)
- Colours (clrurep -l rslog.dat)
- Sizes (sizurep -l rslog.dat)
- Categories (catrep -l rslog.dat)
- Stock Items (sturep -l rslog.dat)
- The stock in the branch
- Stock from warehouse location
- BOMs (bomrep -l rslog.dat)
- Debtor Types (dutrep -l rslog.dat)
- Debtors (dutrep -l rslog.dat)
- Debtor Notes (dutrep -l rslog.dat)
- Process all polling files received (commpost -s)
- Post all transactions (postal)
Extract all transactions relating to this store (sendpost -f tran.dat -o rsendtrn.dat -B <BRANCH> 1 12 14 16 17 21 22 30)
- Extract ALL Customer Orders, Debtor Payments Gift Vouchers, etc. (sendpost -f tran.dat -o rsendtrn.dat 22 23 24 25 26 36)
- Zip up rslog.dat and rsendtrn.dat into rsend1.zip
- Send all of the tar and zip files to the new store.
- Create polling directories:
- At the Store:
- Install the following packages: (Should be available at HO server or Greenwood server)
- fribidi-0.10.1-2.i386.rpm
- libstroke-0.4-1mdk.i586.rpm
- fvwm-2.5.5-1.i386.rpm
- xloadimage-4.1-24.i386.rpm
- telnet-server-0.17-23.i386.rpm
- mgetty-1.1.28-9.i386.rpm
- ncompress-4.2.4-31.i386.rpm
- rxvt-2.7.5-15.i386.rpm
- vsftpd-1.1.0-1.i386.rpm
- pine-4.44-13.i386.rpm
- rsh-server-0.17-10.i386.rpm
- postfix-1.1.11-5.i386.rpm
- Install j2re1.4.2_01. It is important that you use this EXACT version of Java.
- Create the /u/ and /u/cc/ directories with world-readable/writable/executable permissions
- Link /cc/ to /u/cc/
- Untar the contents of control.tgz to the appropriate directory.
- Rename the adm.store directory to adm
- Copy the blank company directory to be called OXFORD
- Export CCDIR=/u/cc
- Export NODEID=DEMO
- Run conset to change to the OXFORD company
Rename the branch code "1" to be <BRANCH>
Rename the polling location "1" to <BRANCH>
- Create the necessary system users
- cc
- pos
- polling
- Untar users.tgz to the appropriate directory
- If necessary, untar vpn.tgz to the appropriate directory and insert the necessary inittab command.
- Untar eftpos.tgz into the appropriate directory.
- Edit serialPortName in /u/eftpos/eftclt/eftclt.settings so that the eftpos client accesses the correct serial port.
- Link /usr/share/fvwm/system.fvwm2rc to /etc/X11/fvwm2/system.fvwm2rc
Place rsend1.zip in the /u/cc/OXFORD/<BRANCH>/receive/ directory. Polling should automatically process this.
- Setup the appropriate cron jobs
- Run and test EVERYTHING !!
- After polling runs once, list out the voucher redemptions (salstr 8). Make sure the redemption location matches what is in head office.
- Update this piece of documentation.
- Install the following packages: (Should be available at HO server or Greenwood server)
