Readme additions and production uncomment.
parent
150b26c58a
commit
7c50f8b6c7
|
@ -53,7 +53,7 @@ def main():
|
||||||
if SHANDEX_846_FILENAME_RE.match(edi_filename.name):
|
if SHANDEX_846_FILENAME_RE.match(edi_filename.name):
|
||||||
process_file(edi_filename)
|
process_file(edi_filename)
|
||||||
# file moved to 997 processing folder to be sent later
|
# file moved to 997 processing folder to be sent later
|
||||||
#shutil.move(edi_filename, EDI_997_DIRECTORY / edi_filename.name)
|
shutil.move(edi_filename, EDI_997_DIRECTORY / edi_filename.name)
|
||||||
|
|
||||||
|
|
||||||
def tokens_from_edi_file(
|
def tokens_from_edi_file(
|
||||||
|
|
13
readme.txt
13
readme.txt
|
@ -1,5 +1,8 @@
|
||||||
Process EDI documents between YU and Shandex
|
Process EDI documents between YU and Shandex
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
EDI types accepted:
|
||||||
|
|
||||||
997 Functional acknowledgment Tell Shandex we received an EDI
|
997 Functional acknowledgment Tell Shandex we received an EDI
|
||||||
944 Stock transfer receipt Receive qty and lots from replenishment shipment
|
944 Stock transfer receipt Receive qty and lots from replenishment shipment
|
||||||
947 Inventory advice Tell Stash of Q and R status inventory
|
947 Inventory advice Tell Stash of Q and R status inventory
|
||||||
|
@ -7,7 +10,15 @@ Process EDI documents between YU and Shandex
|
||||||
867 Resale report Tell Stash qty, price, and lot sold
|
867 Resale report Tell Stash qty, price, and lot sold
|
||||||
943 Stock transfer Tell Shandex qty and lots being shipped
|
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.
|
master_controller takes EDI files from the Shandex FTP, processes them, and loads our EDI files.
|
||||||
|
|
||||||
Sales come in via 867 and the shandex_dashboard script stores which files have been received.
|
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue