Change the (trunat) flow so that only orders pending for the current day are auto-closed; orders pending from earlier days are no longer auto-closed and must be closed/completed manually.

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: Highest
    • 2.3
    • Affects Version/s: None
    • None
    • STOP TB Sprint 10

      Background / Context
      The trunat flow is used to clear out pending orders. Its closure logic is being revised so that older pending orders are not silently closed by the system.

      Problem Statement
      The current tru nat flow closes all pending orders regardless of when they were created. The business now requires that only same-day pending orders be auto-closed, while older pending orders stay open until a user manually closes or completes them.

      Current Behaviour

      • When the trunat flow runs, all pending orders are closed automatically, irrespective of order date.

      Expected Behaviour / Requirement

      • When the trunat flow runs, only orders that are pending for that day are closed automatically.
      • All remaining pending orders (i.e., pending from previous days) are not auto closed. They remain pending and must be closed/completed manually.

        1. shared image (86).jpeg
          382 kB
          Brijesh Singh
        2. shared image (87).jpeg
          406 kB
          Brijesh Singh

              Assignee:
              Brijesh Singh
              Reporter:
              Shivani Garg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: