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

Testing (S2.R2) EOM - Auto notification for Expenses to be Transferred

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • SCRUM Team:
      Great White
    • Story Points:
      2
    • Work Type Classification:
      Sustaining

      Description

      Story

      As a user, I would like an auto notification sent to the receiving store when I complete an end of month that includes and expense to be transferred.

      Details

      Create an auto notification that sends email to the charged store when an Expense to be Transferred is entered during EOM. This email should be sent once the user has marked EOM.

      Notes:

      • Auto Notification should be sent when the Event that marked the EOM a done is fired "Mark Month End"
      • Details for the Auto Notification
        • Send To: Store Contact
        • Subject: An EOM Expense has been transferred from [_sendingstore_] to [_receivingstore_]
        • Message Body: An EOM Expense has been transferred from [_sendingstore_] to [_receivingstore_].
          Expense Category: FromRecord
          Description: FromRecord
          Amount: $x.xx

          For any questions regarding this transferred expense, please contact [_sendingstore_].

      For Example:

      EOM - Expenses to be transferred

      Subject:
      An EOM Expense has been transferred from 01640 - St. Johns Town Center FSU to 00440 - Colony Square
      Message:
      An EOM Expense has been transferred from 01640 - St. Johns Town Center FSU to 00440 - Colony Square.
      Expense Category: Dues & Subscriptions
      Description: Paying for InFORM
      Amount: $99.65

      For any questions regarding this transferred expense, please contact 01640 - St. Johns Town Center.

      AC

      Confirm

      1. When a user marks an end of month that includes an expense to be transferred, an auto notification is sent to the receiving store user email.
      2. The auto notification is formatted like the example above
      3. If an end of month is marked without an expense to be transferred, no related auto notification is sent.

      Developer's Notes:

      • Remember that the notification has to be manually set up in MMS after deployment; we will not be setting it up through deployed script (see attached image).
      • See the attached sql script to switch the EOM endpoints from CFA's testing environment to our deployed Swagger
      • See the other attached sql script to reset the EOM for a store. This will also mark all sections as completed and sent to CFA (except for Supplier Invoices, see below), so the month is ready Mark End of Month.
      • To configure the Supplier Invoice endpoint, go to http://testapi.inform.jatesting.cfahome.com/swagger/ui/index#!/SupplierInvoice/SupplierInvoice_Post and post: { "status": "PASS", "unpaidInvoices": [] }

        then click "Try it out!"

        Attachments

        1. EOM Endpoint Switch.sql
          6 kB
          Jason Powell
        2. Example.png
          436 kB
          Jason Powell
        3. ResetEomSections.sql
          2 kB
          Jason Powell
        4. screenshot-1.png
          39 kB
          Jason Powell

          Issue Links

            Activity

              People

              • Assignee:
                charles.wheeler Charles Wheeler
                Reporter:
                jason.powell Jason Powell
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h 16m
                  8h 16m

                    PagerDuty

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