25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
Process EDI documents between YU and Shandex
|
|
|
|
-----------------------------------------------------------
|
|
EDI types accepted:
|
|
|
|
997 Functional acknowledgment Tell Shandex we received an EDI
|
|
944 Stock transfer receipt Receive qty and lots from replenishment shipment
|
|
947 Inventory advice Tell Stash of Q and R status inventory
|
|
846 Inventory inquiry Inventory comparison
|
|
867 Resale report Tell Stash qty, price, and lot sold
|
|
943 Stock transfer Tell Shandex qty and lots being shipped
|
|
|
|
-----------------------------------------------------------
|
|
General operation:
|
|
master_controller takes EDI files from the Shandex FTP, processes them, and loads our EDI files.
|
|
|
|
Sales come in via the 867 script and the shandex_dashboard script stores which files have been received.
|
|
The corresponding control numbers can be matched to X3 Sales Deliveries in the YLICPLATE_0 field.
|
|
|
|
-----------------------------------------------------------
|
|
Currently runs in the 30 minute X3 recurring task
|
|
|
|
To switch between PROD and DEV, database connections need to be passed 'test'
|
|
and the schema names in SQL queries need to be correct for the test folder being used.
|