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

2022.R4 Patch Back CLONE - CFA Forecasting import errors

    Details

    • Type: Customer Defect
    • Status: In QA (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: CFA 2022R3
    • Fix Version/s: CFA 2022R4
    • Component/s: Imports
    • Labels:
      None
    • VTask #:
      VTASK0495916
    • Root cause - Reason:
      Code defect
    • Root Cause:
      Code changes are made

      Description

      CFA is continuing to receive calls about low forecasted usage when placing truck orders.
       

      They have spot checked a few restaurants and they are all missing Sales Item Forecasts for multiple items.
       

      Usually we handle those requests by re-importing the missing forecast days.

      The following are 2 errors where we found the task didn't continue to import the forecast after the error occurs, can we look for an improvements to get a retry to re-import the missing files after getting the error or just skip the file that caused the error and proceed with the other files.

      For day 7/25 -we should have imported on 7//10 found error message below and this is why we didn't import 7/25 .
      Error getting or saving forecast data for 00001 from https://api.cfascforecastprod.cfahome.com/v1/forecast/status/00001/?fromDate=07-25-2022&toDate=07-30-2022 to W:\MacromatiX\SiteData\Chick-fil-a\DataImports\ForecastAWS\Forecast_{storenumber}_{forecastdate}.xml: The remote name could not be resolved: 'api.cfascforecastprod.cfahome.com'
      
      Following error caused Forecast job to stop and is the reason why all stores didn't get forecast for 8/1. 
      Error getting or saving forecast data for 00016 from https://api.cfascforecastprod.cfahome.com/v1/forecast/status/00016/?fromDate=08-01-2022&toDate=08-06-2022 to W:\MacromatiX\SiteData\Chick-fil-a\DataImports\ForecastAWS\Forecast_{storenumber}_{forecastdate}.xml: could not execute query  [ SELECT this_.ForecastId as ForecastId149_0_, this_.EntityId as EntityId149_0_, this_.BusinessDay as Business3_149_0_, this_.GenerationDate as Generati4_149_0_, this_.ExternalGenerationDate as External5_149_0_, this_.Status as Status149_0_, this_.SystemSales as SystemSa7_149_0_, this_.SystemTransactionCount as SystemTr8_149_0_, this_.ManagerSales as ManagerS9_149_0_, this_.ManagerTransactionCount as Manager10_149_0_, this_.ItemMgrDetailsChanged as ItemMgr11_149_0_, this_.ForecastBasis as Forecas12_149_0_ FROM Forecasting.Forecast this_ WHERE this_.EntityId = @p0 and this_.BusinessDay between @p1 and @p2 ]  Positional parameters:  #0>17 #1>8/1/2022 12:00:00 AM #2>8/7/2022 12:00:00 AM  [SQL: SELECT this_.ForecastId as ForecastId149_0_, this_.EntityId as EntityId149_0_, this_.BusinessDay as Business3_149_0_, this_.GenerationDate as Generati4_149_0_, this_.ExternalGenerationDate as External5_149_0_, this_.Status as Status149_0_, this_.SystemSales as SystemSa7_149_0_, this_.SystemTransactionCount as SystemTr8_149_0_, this_.ManagerSales as ManagerS9_149_0_, this_.ManagerTransactionCount as Manager10_149_0_, this_.ItemMgrDetailsChanged as ItemMgr11_149_0_, this_.ForecastBasis as Forecas12_149_0_ FROM Forecasting.Forecast this_ WHERE this_.EntityId = @p0 and this_.BusinessDay between @p1 and @p2]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Marwa.Abdelwahed Marwa Abdelwahed
                Reporter:
                wesam.el-gendy Wesam El-Gendy
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  PagerDuty

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