Handle EDI for new eCommerce partner Source Logistics and bring into X3.
Go to file
bleeson a6c460cc3a Additional steps to clean data from SL. 2024-08-05 08:32:47 -07:00
incoming_orders Initial commit 2024-03-05 14:42:03 -08:00
ssh Added 944 file (needs review and testing). 2024-03-13 14:43:32 -07:00
edi_944.py Added 944 file (needs review and testing). 2024-03-13 14:43:32 -07:00
readme.txt Production updates & pulling Shopify information from closed orders instead of new. 2024-05-28 07:28:13 -07:00
sample.csv Initial commit 2024-03-05 14:42:03 -08:00
source_ecommerce_file_alerts.py file encoding, email alerts 2024-07-05 15:10:08 -07:00
source_ecommerce_load_shipping.py Additional steps to clean data from SL. 2024-08-05 08:32:47 -07:00
source_ecommerce_make_order-fromfileonly.py SL go live updates. 2024-04-19 10:17:30 -07:00
source_ecommerce_make_order.py file encoding, email alerts 2024-07-05 15:10:08 -07:00
source_ecommerce_make_shipment.py file encoding, email alerts 2024-07-05 15:10:08 -07:00
source_ecommerce_make_shipment.py-old SL go live updates. 2024-04-19 10:17:30 -07:00

readme.txt

Goal:
Take shipping files from Source and turn them into X3 Sales Orders via ZSHPORD
Use same files and turn them into X3 Deliveries for the above orders via ZSHIP945S

Problems:
Source does not send accurate unit price, shipping charge, tax, and discounts. To
bring something accurate in we use the old Shopify integration. This brings up 
another issue that the old integration brings in orders at creation, if these fields
get modifed (like from a refund) we are brining in the wrong amount.

Questions:
How does Source handle multiple lots on a line?

---------------------------------------------------------------------------------------

General process flow
-read in file(s) from Source ecomm FTP and archive file on FTP
-load shipment information into SQL table to report on, pass file to order creation process
-create ZSHPORD import from file, pass file to shipment process, ask X3 to process import
-create ZSHIP945S import from file, archive, ask X3 to process import

Recurring tasks in X3 have been set up named ZECMSL and ZECMSLSHIP.

--------------------------------------------------------------------------------------
Reporting on eCommerce:
To catch issues we need to look at:
-possible sales order duplicates that have the same Shopify PO number
-missing sales orders, that came into the shipping table, but failed to import in
-missing deliveries, that failed during import, e.g. not enough stock

To find these use the sql files in "daily sql reports"

----------------------------------------------------------------------------------------
Reimporting:
The open orders report finds eCommerce orders that should have shipped. This is typically
a problem because of stock shortages that we need to disassemble cases for. The 
'source_ecommerce_reimport_from_archive.py' script can help mass reimport the
missing shipments