-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2020R1
-
Component/s: Ordering
-
Labels:
-
Sprint:CFAMX 2020R1 Sprint 1, CFAMX 2020R1 Sprint 2
-
SCRUM Team:Brotherhood of Mutants
-
Story Points:5
-
SOW (Time Tracking) Project:44918
-
Work Type Classification:Sustaining
As InFORM I want to import the UBL v2.2 Receipt Advice so that orders can be automatically updated and received
Use case
After the PDC has made a delivery, the driver will document what was actually delivered (vs ordered & ASN), this will generate a Receipt Advice which will be sent to InFORM.
The Receipt Advice will be imported into InFORM and used to set received quantities and mark the order as received
Notes
- Use UBL v2.2 - See
CFAMX-5970for links to this document - Determine the minimum fields that we need to import to Receipt Advice
- UBL Documents tend to have lots of optional fields, many that we don't need
- Document the final file format on Confluence: https://fourthlimited.atlassian.net/wiki/spaces/RBCD/pages/1658443231/CFA+UBL+Receipt+Advice+Import+Template
- Order Process (files transmitted via AS2)
- Order created in InFORM
- -> Order sent to distributor
- Distributor sends order acknowledgement <-
- Distributor sends ASN <-
- Product received at restaurant
- Distributor sends Receipt Advice <-
- Order Received
Notes:
- The ASN may not be received before the Receipt Advice (Error in file, not generated, etc)
- The order may be Auto Received from ASN before Receipt Advice is imported
- The order may be manually Received before Receipt Advice is imported
Acceptance Criteria
- Confirm that the final file format is documented and complies with the UBL schema
- Confirm that the InFORM Order number must be referenced in the file
- Confirm that the Receipt Advice can be processed before the ASN is processed
- Confirm that the Receipt Advice can be processed after the ASN is processed
- Confirm that the Receipt Advice marks the order as Received once successfully processed
- Confirm that the Delivery date in the Receipt Advice is in the future, disregard the file
- Confirm that the Receipt Advice cannot mark an order as received that is in Draft
- Confirm that the Receipt Advice cannot mark an order as received that is Deleted
- Confirm that the Receipt Advice cannot mark an order as received that is Cancelled
- Confirm that the Receipt Advice cannot mark an order as received that is On Hold
- Confirm that the Receipt Advice cannot mark an order as received that is Received
- Confirm that the Receipt Advice can mark an order as received that is Placed
- Confirm that the Receipt Advice can mark an order as received that is Shipped
- Confirm that only items contained in both the Receipt Advice and the Order will be updated and received
- If an item is in the order but not in the Receipt Advice, the received quantity should be set to zero
- If an item is in the Receipt Advice but not in the Order the line item record should be skipped (Do not try to insert the item)
- Confirm that the Receipt Advice can be used to update the Received Quantity
- Received quantity can be different to the Ordered Quantity
- Received quantity can be different to the Shipped Quantity
- implements
-
CFAMX-5970 SC - Receipt Advice - Ability to import UBL document to update order receipt quantities
- Closed
- is blocked by
-
CFAMX-6529 2020R1(S1):Receipt Advice-Able to receive negative Quantities
- Done
-
CFAMX-6545 2020R1(S1):Receipt Advice- Bad Order Number produces a log message, but no auto-notification
- Done
-
CFAMX-6546 2020R1(S1): Receipt Advice - If the time element is missing, the time defaults to 12 AM instead of generating an error
- Done
- is related to
-
CFAMX-6597 2020R1(S1): Receipt Advice - Investigate Cannot Receive things that were ordered but not shipped
- Done
-
CFAMX-6548 2020R1(S1):Receipt Advice - Investigate processing an import for an 'on hold' order
- Done
1.
|
Review Test Scripts | Done | Gareth Leibbrandt (Inactive) |
|
|||||||||
2.
|
Deploy | Done | Soma Dixon (Inactive) |
|
|||||||||
3.
|
Functional Review with QA | Done | Sree Surapaneni |
|
|||||||||
4.
|
DIT | Done | Sree Surapaneni |
|
|||||||||
5.
|
Create Test Cases | Done | Soma Dixon (Inactive) |
|
|||||||||
6.
|
Execute Test Cases | Done | Soma Dixon (Inactive) |
|
|||||||||
7.
|
Design the UBL document | Done | Sree Surapaneni |
|
|||||||||
8.
|
Create new business objects | Done | Sree Surapaneni |
|
|||||||||
9.
|
New service method | Done | Kevin Reid (Inactive) |
|
|||||||||
10.
|
Implement Pre-processor XSLT | Done | Sree Surapaneni |
|
|||||||||
11.
|
Implement Import Validator | Done | Sree Surapaneni |
|
|||||||||
12.
|
Implement Import Map Provider | Done | Sree Surapaneni |
|
|||||||||
13.
|
Implement Import Provider | Done | Sree Surapaneni |
|