Differences between revisions 1 and 2
Revision 1 as of 2008-09-18 07:42:52
Size: 1734
Editor: DannyCheung
Comment:
Revision 2 as of 2009-01-15 06:35:27
Size: 1930
Editor: DannyCheung
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
For retailers, this means that purchase orders can be automatically sent to a supplier or customers orders can be received and processed.When generating purchase order, spporep can specify to generate a file and place it in the appropriate folder for sending by an external EDI vendor. For retailers, this means that purchase orders can be automatically sent to a supplier or customers orders can be received and processed. When generating purchase order, {{{spporep}}} can specify to generate a file and place it in the appropriate folder for sending by an external EDI vendor.
Line 6: Line 6:
All files must follow the format specified by the vendor. The vendor checks the file, imports the file into its database and generates a corresponding file for the recipient.
Allphones use B2BE as their EDI vendor. I am not sure who DIM use for there EDI.
All files must follow the format specified by the vendor. The vendor checks the file, imports the file into its database and generates a corresponding file for the recipient. Allphones use B2BE as their EDI vendor. I am not sure who DIM use for their EDI.
Line 12: Line 11:
 1. (Optional) Setup EDI email alerts (gencont -> EDI Manager Email)   1. {{{craad}}}->Purchase Order (Email/Print) = E
  1. {{{
> ln -s /u/cc/std/binl/B2BEspporep /u/cc/std/binl/<CRED_CODE>spporepE}}}
 1. (Optional) Setup EDI email alerts ({{{gencont}}} -> EDI Manager Email)
Line 14: Line 16:
 1. stpost runs spporep
 1. spporep creates file in /u/cc/
 1. spporep calls the script edi_commit.sh
 1. edi_commit.sh moves newly generated file into the appropriate directory
 1. {{{stpost}}} runs {{{spporep}}}
 1. {{{spporep}}} creates file in /u/cc/
 1. {{{spporep}}} calls the script {{{edi_commit.sh}}}
 1. {{{edi_commit.sh}}} moves newly generated file into the appropriate directory
Line 21: Line 23:
 1. crontab schedules edi_import.sh to run periodically
 1. edi_import.sh processes file to create order/invoice
 1. crontab schedules {{{edi_import.sh}}} to run periodically
 1. {{{edi_import.sh}}} processes file to create order/invoice

EDI

EDI is a system that allows businesses exchange and process documents via a third party with little or no human intervention.

For retailers, this means that purchase orders can be automatically sent to a supplier or customers orders can be received and processed. When generating purchase order, spporep can specify to generate a file and place it in the appropriate folder for sending by an external EDI vendor.

All files must follow the format specified by the vendor. The vendor checks the file, imports the file into its database and generates a corresponding file for the recipient. Allphones use B2BE as their EDI vendor. I am not sure who DIM use for their EDI.

General Overview

Outgoing Files

  1. Setup creditor to generate EDI files
    1. craad->Purchase Order (Email/Print) = E

    2. > ln -s /u/cc/std/binl/B2BEspporep /u/cc/std/binl/<CRED_CODE>spporepE
  2. (Optional) Setup EDI email alerts (gencont -> EDI Manager Email)

  3. User creates a PO
  4. stpost runs spporep

  5. spporep creates file in /u/cc/

  6. spporep calls the script edi_commit.sh

  7. edi_commit.sh moves newly generated file into the appropriate directory

  8. EDI vendor software retrieves file and imports into their system

Incoming Files (Allphones only)

  1. EDI vendor software creates file in appropriate directory
  2. crontab schedules edi_import.sh to run periodically

  3. edi_import.sh processes file to create order/invoice

  4. On success, file extension is changed to .success
  5. On failure,
    • For "Soft Errors", leave file for processing at another time
      • Delivery docket not found
      • After 2-3 days, generate warnings
      • Later on, upgrade to "Hard Error" status
    • For "Hard Errors", file extension is changed to .err
      • Invoice references PO/stock/etc. that does not exist

CategoryAllphones

EDI (last edited 2013-09-18 06:09:33 by localhost)