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

Auto Create Order Should never create orders if an Order Manually Created Within Threshold

    Details

    • Sprint:
      CFAMX 2020R1 Hardening

      Description

       

      I have confirmed two things:

       

      Assumption today is Friday.  

      1) If there is a weekly scheduled order and lets say scheduled to on Fridays. If for any reasons last weeks schedule order did not get created then it will never be created again. Only most recent scheduled order will be created. In this example lets assume that last weeks schedule did not get created and today is Friday again. It will only create the order for todays schedule. Last weeks order will never get created. 

       

      2) Manually created order within the threshold

      Assume that we have a scheduled order for Today at 2 pm and our threshold value is 2 hours. And an order is created at 10 am.

      When the task runs at 12:30 pm (Look forward in minutes is set to 90 min) It will pick up 2pm's scheduled order and look for if there is any most recent order within 2 hours in this case it will find one. At this time it will not create the order because we are still within the threshold value. But in the next run lets say 1:30 pm then it will not find any recent orders created (because it is not withing the threshold value) but still it creates the order from the schedule. This is the issue it should not.

       

      No action need to be taken for #1 but we need to come up with a solution for #2 for we should never be creating orders for the schedule in case there was manually created order within the threshold. 

       

      CC - Soma Dixon Will Englefield Kevin Reid

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                charles.wheeler Charles Wheeler
                Reporter:
                caner.saritac Caner Saritac
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h Time Not Required
                  1h

                    PagerDuty

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