Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-6300

Receipt Advice - Add new Receipt Advice Import - UBL v2.2 Format

    Details

    • 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

      Description

      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-5970 for 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

      1. Confirm that the final file format is documented and complies with the UBL schema
      2. Confirm that the InFORM Order number must be referenced in the file
      3. Confirm that the Receipt Advice can be processed before the ASN is processed
      4. Confirm that the Receipt Advice can be processed after the ASN is processed
      5. Confirm that the Receipt Advice marks the order as Received once successfully processed
      6. Confirm that the Delivery date in the Receipt Advice is in the future, disregard the file
      7. Confirm that the Receipt Advice cannot mark an order as received that is in Draft
      8. Confirm that the Receipt Advice cannot mark an order as received that is Deleted
      9. Confirm that the Receipt Advice cannot mark an order as received that is Cancelled
      10. Confirm that the Receipt Advice cannot mark an order as received that is On Hold
      11. Confirm that the Receipt Advice cannot mark an order as received that is Received
      12. Confirm that the Receipt Advice can mark an order as received that is Placed
      13. Confirm that the Receipt Advice can mark an order as received that is Shipped
      14. 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)
      15. 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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 63h
                  63h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 56.5h Time Not Required
                  56.5h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.