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

Auto Notifications - (R4/5/6) INTL - Support language based Auto Notifications

    Details

    • INF Reference Number:
      INF-12262

      Description

      Add support to InFORM that allows an Operator to select the language used within auto notifications that are sent to the Store Contact

      Notes/Stories

      • Do NOT leverage the language that is set of the entity, this should be a separate setting
      • Only support those languages that are configured for use in MxConnect
      • Display a list of All auto notifications that will be sent to the specific store
        • Could this be included in the Notifications Settings page?
          • User icon > Settings > Store Settings > Notification
        • Note: there are some vendor based notifications that will not be sent to every store, so this list needs to be thinned out
        • There is a Vendor selection in some auto-notifications, perhaps expanding this could help?
        • If it is decided that we don't want to show the list of available A/N's to the store, there is no need to do this piece
      • Provide the user that ability to set a language for the store
      • Provide a mechanism to translate the different components of Auto Notifications
        • Subject - System Generated
        • Subject - As Below (Custom text)
        • Message - System Generated
        • Message - As Below (Custom Text)
        • XSLT Transform (Example: DI - CFA Supply ASN Import Success for DI)
        • Note: this could be an existing page, or a new page in MxConnect
      • Update the Auto Notification engine to look at the new store language preference when generating the email, and correctly include the appropriate language (English/Spanish) within the email
      • Provide flexibility to that as new auto notifications are configured, they too can be translated
        • For example, a new vendor would result in a new set of notifications, which already exist, but are only generated for that vendor based on configuration

      Query for auto notifications that are configured for Store Contact

      select tdi.SourceFileName,an.* from tbAutoNotification an with(nolock)
      left join tbTaskDataImport tdi with(nolock) on an.TaskNameId=tdi.TaskNameId
      where an.NotifyWho = 'StoreContact'

      INF_12262-ProdAutoNote_StoreContact.xlsx

      Updated Details.

      Details

      The goal of this feature is to send auto notifications in the right language to any contact type except for the custom "As Below" option.

      In order to create a complete list of auto notifications translated into Spanish (or any other language) we will need to be able to create a new notification of the same "Type" (Admin > Auto Notifications > Notification Type > Type) but with a different language flag. This will allow us to recognize an action that triggers an auto notification based on "Type", determine the default language of the store, and send the right notification.

      Acceptance Criteria

      1. A new "Language" dropdown exists in MMS.
        1. Admin > Auto Notification > Notification Type
          1. Note: The auto notification option is also accessible via "Admin > Setup" in MMS. I assume that this is actually the same page as the one in Admin but we need to check and make sure.
      2. Default language to blank. This language option is a valid save state and all existing auto notifications should default to this.
        1. Dropdown options include:
          1. American English
          2. French (Canada)
          3. Spanish
      3. Sending the right notification to the "Contact". _For this story, we will always assume that the contact is anything EXCEPT "As Below". We can already create a new translated version of an auto notification to custom "As Below" email addresses.
        1. The correct auto notification is sent to the "Contact". Spanish notifications to stores configured to Spanish, French (Canadian) notifications to stores configured to French (Canadian), American English to stores configure to American English.
        2. If the store language option is not configured, aka set to default, send the "Default" configured auto notification.

      Cross Check of A/Ns

      Notice Subject Message Jira # Attachment
      1. Daily Sales Report sent at Finalize Day System Generated System Generated CFAMX-14771  
      5. DI - ASN Import Success for DI Custom Custom - XSLT Transform CFAMX-15069  
      4./6. DI - Order Confirmation Import Success for DI Custom Custom + System Info CFAMX-14807  
      7. DI - Order Sent Custom Custom + System Info (with attachment) CFAMX-15075 Yes CFAMX-15230
      9. EOM Expense To Be Transferred Custom + System Info System Generated CFAMX-14795  
      8. EOM Success Notification Custom + System Info System Generated CFAMX-14789  
      10. Inventory Extension Report sent when monthly count is applied System Generated System Generated (with Attachment) CFAMX-14801 Yes CFAMX-15506
      3. Sales after Finalize Day Custom + {System Info} Custom + System Info (with attachment) CFAMX-15057 Yes CFAMX-15795
      12. Transfer Note for Receiving Store System Generated Custom - XSLT Transform CFAMX-15592  
      11. Transfer Request Declined System Generated Custom - XSLT Transform CFAMX-14783  
      2. Unfinalized Days Alert Custom System Generated CFAMX-14777  

        Attachments

        1. AutoNotificationINTLFlowChart-Page-1.pdf
          38 kB
          Soma Dixon
        2. INF_12262-ProdAutoNote_StoreContact.xlsx
          16 kB
          Will Englefield
        3. LanguageDropdown.png
          935 kB
          Jason Powell
        4. screenshot-1.png
          15 kB
          Will Englefield

          Issue Links

            Activity

              People

              • Assignee:
                jason.powell Jason Powell
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  PagerDuty

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