Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2009-02-09 23:38:22
Size: 1262
Editor: DannyCheung
Comment:
Revision 6 as of 2009-02-10 01:45:40
Size: 1430
Editor: DannyCheung
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== 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
Line 3: Line 7:

1. EDI file is generated by {{{DIMWAspporepE}}}. See ["EDI"] for more details.
 1. EDI file is generated by {{{DIMWAspporepE}}}.
Line 10: Line 13:
Line 12: Line 14:
Line 19: Line 20:
----
CategoryEdi

CategoryDim

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:

  1. EDI file is generated by DIMWAspporepE.

  2. DIMWAspporepE calls /u/cc/binl/edi_commit.sh

  3. /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

  4. /u/cc/binl/edi_upload_dim.sh is run (Scheduled to run every minute in cron)

  5. /u/cc/binl/edi_upload_dim.sh sends the EDI files to head office via FTP

  6. 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:

  1. EDI files are placed in /u/cc/edi/outgoing/

    1. spporep calls /u/cc/binl/edi_commit.sh, which places the locally generated EDI files here

    2. Files generated at the stores are placed here via FTP
  2. 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

  3. /u/cc/binl/edi_upload.sh takes all EDI files in /u/cc/edi/outgoing/ and moves them to /u/cc/edi/outgoing/enabling/

  4. AccPack or Nexus (I can't remember which one) accesses the files via SMB


CategoryEdi

CategoryDim

DIM_EDI (last edited 2013-09-18 06:09:34 by localhost)