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

INF-12290 Bypass Daily Sales section if there are no open workflows in the business period

    Details

    • Type: Feature Request
    • Status: Ready for Functional Review (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: CFA 2021R6
    • Component/s: None
    • Labels:
      None
    • INF Reference Number:
      INF-12290

      Description

      CFA Request

      We will need a way to bypass the Daily Sales section of EOM for stores that have been closed for Remodeling. In these cases, the store has no business dates available to finalize, but the "Complete" button in the Daily Sales section of EOM will redirect the user to a generic Finalize Day page with no workflow date.

      The request is to have the "Complete" button of the Daily Sales section of EOM flag the section as completed if there are no open workflows listed in the section. There should also be an option to undo/revert this flag in the event that the flag was mistakenly set before all valid business days had been created in InFORM. Newly opened business dates for the business period will reactivate complete button in Daily Sales section to prevent EOM submission until resolved

      Current Feature Details

      How it works now

      When the user loads the EOM page for the first time, there are validation checks that run for each line item. The validation check for the "Daily Sales" section looks back to see if the workflow for the last day of the month is complete. If this workflow day has been finalized we know that all the previous days have also been finalized and the user can complete the Daily Sales task. If the last workflow if the month has not been finalized, the validation check will return a list of relevant incomplete workflow days the need to be completed in order to close the Daily Sales task.

      Once the Daily Sales task is complete, the line item is flagged as such and "Complete" displays in the UI instead of "Review Task"

      Changes that CFA Would Like to Make

      1. Automatically complete the Daily Sales task when all relevant Workflow days have been finalized.
        1. If, during the validation check, we do not have any outstanding workflow days that have not been finalized, automatically complete the Daily Sales section for the user.
      2. Add a "Rollback" option to a completed Daily Sales row.
        1. This option should reset the completed flag for that Daily Sales row and rerun the validation checks. If we find relevant unfinished workflows, revert the Daily Sales task back to "Review Task" and list the relevant Workflow dates.
        2. If we do not find any relevant open Workflows, the task should again be flagged as "Complete"
      3. Add a confirmation modal to the rollback process
        1. This modal should outline the action the user is about to take and require them to "Confirm" or "Cancel" the rollback action.

      No longer required - this will be covered by CFAMX-15575

      HLE

      Small

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason.powell Jason Powell
                Reporter:
                jason.powell Jason Powell
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  PagerDuty

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