Argos Cancellation Read FTP
Summary of Changes: (The purpose of this table is to keep traceability and Product team to highlight the things that were changed into the scope, based on comments or discussions)
Date | Version | Author | Comment |
---|---|---|---|
15.04.20024 | v1.0 | Bogomil Pavlov | First Publish |
The purpose of this document is to detail the read of cancellations from Argos and all accompanying functions to ensure seamless and sameness in the process of management on Marketplaces
The Edge will be exporting each cancellation request in a separate file that we have to read and store in Hemi. Each cancellation request will be in a txt file on the designated FTP folder and we should only read said order when we find the same file name with a “.DONE” extension at the end. We are not to read the .DONE file but use it only to acknowledge the original file is actually competed and can be processed. Please note If only some of the order lines have been requested to be cancelled, they will have the cancelled quantity defined and those that are not to be cancelled, will show null in the quantity field.
Each CancellationRequest we would like to store it as a claim within Hemi with type “cancel”
Standard Order Filename Format: cancel-yyyymmddhhmmssnnnnnn.txt
Standard Folder structure: /live/incoming/ (for testing /uat structure will be used)
Ftp Path Label for the setting: CancellationRequest
Example order file:
Example Mapping: Please note there are two mapping sections below for better differentiation between the main order section and the ordered items section
Integration Field | Integration Notes | Integration Format | Hemi Mapping | Hemi Notes |
---|---|---|---|---|
order_number | The unique purchase order reference (to be used when updating The Edge) | 1 alphabetic character followed by 9 numeric digits | Order > Marketplace Order ID | |
supplier_ref | Your system’s unique reference for the order. | N/A | ||
test_flag | 'Y' or 'N' | N/A | We don’t have use of this field at the moment | |
line_ref | Unique identifier for the line within an order | |||
part_number | Unique identifier for the SKU | |||
quantity | Quantity you’d like to cancel | |||
reason |