= 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}}}. 1. {{{DIMWAspporepE}}} calls {{{/u/cc/binl/edi_commit.sh}}} 1. {{{/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 1. {{{/u/cc/binl/edi_upload_dim.sh}}} is run (Scheduled to run every minute in cron) 1. {{{/u/cc/binl/edi_upload_dim.sh}}} sends the EDI files to head office via FTP 1. 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 1. Files generated at the stores are placed here via FTP 1. 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 1. {{{/u/cc/binl/edi_upload.sh}}} takes all EDI files in {{{/u/cc/edi/outgoing/}}} and moves them to {{{/u/cc/edi/outgoing/enabling/}}} 1. AccPack or Nexus (I can't remember which one) accesses the files via SMB ---- CategoryEdi CategoryDim