EDI for DIM Furniture
Setup
See EDI for more details.
- HO needs to be running a FTP server
The stores need to be running a FTP client that understands .netrc files
At the store:
EDI file is generated by DIMWAspporepE.
DIMWAspporepE calls /u/cc/binl/edi_commit.sh
/u/cc/binl/edi_commit.sh moves the EDI file from /u/cc/ to /u/cc/edi/outgoing/ and assigns it a random, unique filename
/u/cc/binl/edi_upload_dim.sh is run (Scheduled to run every minute in cron)
/u/cc/binl/edi_upload_dim.sh sends the EDI files to head office via FTP
- The FTP username, password and other settings are stored in ~ccc/.netrc. You should make sure that there is a blank line at the end of the file
At Head Office:
EDI files are placed in /u/cc/edi/outgoing/
spporep calls /u/cc/binl/edi_commit.sh, which places the locally generated EDI files here
- Files generated at the stores are placed here via FTP
cron is scheduled to run /u/cc/binl/edi_upload_dim.sh every minute. NOTE: This script is different to the one at the stores
/u/cc/binl/edi_upload.sh takes all EDI files in /u/cc/edi/outgoing/ and moves them to /u/cc/edi/outgoing/enabling/
AccPack or Nexus (I can't remember which one) accesses the files via SMB
