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

Prompt For Cover Until Time does not respect the, Create Order - Duplicate Order Tolerance Check, setting

    Details

      Description

      When placing an order, and there is already an order placed for the same distributor with the same delivery date and time, AND the setting, Create Order - Duplicate Order Tolerance Check = true.
      The user should be informed that an order has already been placed for this time, and should not be able to place the order.

      However, when the setting Create Order - Prompt to enter Cover Until date and time = True, this doesn't happen, the user is not warned, and they are able to place the order.

      The following checks should be performed, assuming that config is correct:

      • [Create Order - Open Order Management] This config checks for orders for the same vendor that have been placed but not received
      • [Create Order - Duplicate Order Tolerance Check] This config checks for orders placed at the same time +/- the configured hours
      • [Create Order - Max days in the future] This config restricts the days available on the calendar. Delivery day = today + config, Cover Until Day = Delivery Day + Config, or if delivery day is not yet set today + (2 x config)
      • [Create Order - Prompt to enter Cover Until date and time] This is the new config

      All of these should work together.
      Gareth Leibbrandt writing an automation test that creates and steps thru each of these scenarios would be awesome!!

        Attachments

        1. OpenOrderMgmt.png
          OpenOrderMgmt.png
          34 kB
        2. DupOrdTolCheck.png
          DupOrdTolCheck.png
          36 kB
        3. 1-feature_not_set.png
          1-feature_not_set.png
          66 kB
        4. 2-existing_order.png
          2-existing_order.png
          21 kB
        5. 1-feature_not_set.png
          1-feature_not_set.png
          66 kB
        6. 3-working_01.png
          3-working_01.png
          40 kB
        7. 4-working_02.png
          4-working_02.png
          35 kB
        8. 5-working_03.png
          5-working_03.png
          39 kB
        9. 1-feature-set.png
          1-feature-set.png
          68 kB
        10. 3-working-not-auto-completing.png
          3-working-not-auto-completing.png
          34 kB
        11. 4-work-01.png
          4-work-01.png
          39 kB
        12. 1-existing-placed-order.png
          1-existing-placed-order.png
          45 kB
        13. 2-open-order.png
          2-open-order.png
          45 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h Original Estimate - 8h
                  8h
                  Remaining:
                  Time Spent - 17h Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - 17h Remaining Estimate - 2h
                  17h

                    PagerDuty

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