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

Auto Create Order from Schedule - Update process to deal with existing orders for same vendor

    Details

    • Sprint:
      CFAMX 2020R1 Sprint 1, CFAMX 2020R1 Sprint 2, CFAMX 2020R1 Sprint 3
    • SCRUM Team:
      Brotherhood of Mutants
    • Story Points:
      5
    • SOW (Time Tracking) Project:
      44918
    • Work Type Classification:
      Sustaining

      Description

      As an Operator I want the Auto Create Order process to be updated to not create an order if another order has already been placed for that vendor so that duplicate orders are not sent to the Distributor

      Notes

      Process to auto create an order
      • Process to auto create an order: IN-SuggestedOrder-AutoCreateOrderusingInFORMSchedule-110919-1545.pdf
        1. Create Order Schedule (an order schedule is for a specific vendor)
        2. Run Sever Manager Task (Service Method Name: Create Scheduled Orders)
        3. This task:
          • Create an order in Draft mode
          • Puts a message on the queue to Auto Submit the order (assuming the schedule is configured to support this)
        4. Review the order, or not
        5. At Cutoff (Auto Submit) time, the Order is placed (if still in draft mode)
      • This feature will require a new configuration, and an update to the current process
      When to auto submit

      Schedules can be created in advance, either manually, or imported (CFAMX-6231)
      Notes about when the order should auto submit:

      1. Schedule Manually Created - Cut off time entered - Order should be auto submitted
      2. Schedule Manually Created - Cut off time NOT entered - Order should NOT be auto submitted
      3. Schedule Manually Created - Cut off time entered - User creates a Draft order against that schedule - Order should be auto submitted
      4. Schedule Manually Created - Cut off time entered - User creates a Draft order against that schedule - User Deletes Draft Order - Order should still be auto generated/submitted
      5. Schedule Manually Created - Cut off time entered - User Submits an order against that schedule - Order should NOT be auto submitted a second time

      Acceptance Criteria

      1. Confirm that there is a new configuration setting:
        • Mobile > Ordering > Create Scheduled Order - Previous Order Threshold
        • text - The value entered, in hours, is used when checking for orders submitted for the same vendor within this many hours, used when creating orders manually and automatically using the Create Scheduled Orders Service Method task
        • By default this should be blank/zero/Null, meaning that there is no check performed
      2. Confirm that the Create Scheduled Orders Service Method Task is updated to use the configuration when auto creating an order
      3. Confirm that if the setting is set to X hours, and no orders have been submitted for the same vendor, within less than X hours of the task running, an order will be created for the vendor
        • Note: If the order is Placed, Shipped, On Hold, Order Acknowledged it is to be considered submitted
      4. Confirm that if the setting is set to X hours, and an orders has been submitted for the same vendor, within less than X hours of the task running, an order is not created for the vendor
      5. Confirm that if the setting is set to X hours, and an orders has been created (and is in Draft, Deleted or has been Cancelled) for the same vendor, within less than X hours of the task running, an order will be created for the vendor

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            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 - 24h Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 28h 11m
                  28h 11m

                    PagerDuty

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