1/24/2021 6:00:02 PM processDataUsingPostTableXML ### dtFinalFav Count = 3 1/24/2021 6:00:02 PM ProcessData ### Inside Pre Processed Report 1/24/2021 6:00:02 PM processDataUsingPostTableXML strScript for BAYER QA Distributor File Upload Status 2021Jan24233002503 ### SELECT distinct cast(cast(t.distributorid as int) as varchar) + replace(convert(varchar(8), getdate(), 112)+convert(varchar(8), getdate(), 114), ':','') as ID,cast(getdate() as varchar(50)) as ScheduledDateTime,Distributor,t.LastImportDate,LastInvoiceDate FROM filewisehashcode t INNER JOIN (SELECT distributorid,MAX(LastImportDate) LastImportDate FROM filewisehashcode where filetype='IN' GROUP BY distributorid) MaxDate ON t.distributorid = MaxDate.distributorid AND t.LastImportDate = MaxDate.LastImportDate Inner join pdistributor pd on t.DistributorId=pd.DistributorId inner join usermaster um on pd.UserId=um.id where pd.IsActive =1 and t.MinDate IS NOT NULL and datediff(day,( CAST ( MaxDate.LastImportDate as Date)) ,( cast(GETDATE() as DATE) )) >10 1/24/2021 6:00:02 PM Post Favourite ### After Fill DataSet 1/24/2021 6:00:02 PM Excel Favourite Report ### Html Case 1/24/2021 6:00:02 PM Excel Favourite Report ### Before Checking File Exist For Path D:\BAYER\Zylem\ZylemImportFolders\REPORTS\000000000000001_BAYER QA Distributor File Upload Status 24Jan2021060002.html 1/24/2021 6:00:02 PM Excel Favourite Report ### After Checking File Exist Or Create New File 1/24/2021 6:00:02 PM Excel Favourite Report ### After Writing to File 1/24/2021 6:00:02 PM processDataUsingPostTableXML ### Write PendingXml BAYER QA Distributor File Upload Status 2021Jan24233002503 1/24/2021 6:00:02 PM processDataUsingPostTableXML ### Create Zip 1/24/2021 6:00:03 PM processDataUsingPostTableXML ### Added PendingXml 1/24/2021 6:00:03 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport start ### 1/24/2021 6:00:03 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport end True ### 1/24/2021 6:00:03 PM ProcessData ### Inside Pre Processed Report 1/24/2021 6:00:03 PM processDataUsingPostTableXML strScript for GenerateUnlinkedCustomerLinking ES 2021Jan24233002550 ### EXEC [pr_CR_Bayer_GenerateUnlinkedCustomerLinking_M2] 'ES' 1/24/2021 6:00:03 PM Post Favourite ### After Fill DataSet 1/24/2021 6:00:03 PM Excel Favourite Report ### Excel Case 1/24/2021 6:00:03 PM Excel Favourite Report ### Before Checking File Exist For Path D:\BAYER\Zylem\ZylemImportFolders\REPORTS\000000000000001_GenerateUnlinkedCustomerLinking ES 24Jan2021060003.xls 1/24/2021 6:00:03 PM Excel Favourite Report ### After Checking File Exist Or Create New File 1/24/2021 6:00:03 PM Excel Favourite Report ### After Writing to File 1/24/2021 6:00:03 PM processDataUsingPostTableXML ### Write PendingXml GenerateUnlinkedCustomerLinking ES 2021Jan24233002550 1/24/2021 6:00:03 PM processDataUsingPostTableXML ### Create Zip 1/24/2021 6:00:03 PM processDataUsingPostTableXML ### Added PendingXml 1/24/2021 6:00:03 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport start ### 1/24/2021 6:00:03 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport end True ### 1/24/2021 6:00:03 PM ProcessData ### Inside Pre Processed Report 1/24/2021 6:00:03 PM processDataUsingPostTableXML strScript for GenerateUnlinkedCustomerLinking CS 2021Jan24233002590 ### EXEC [pr_CR_Bayer_GenerateUnlinkedCustomerLinking_M2] 'CS' 1/24/2021 6:00:03 PM Post Favourite ### After Fill DataSet 1/24/2021 6:00:03 PM Excel Favourite Report ### Excel Case 1/24/2021 6:00:04 PM Excel Favourite Report ### Before Checking File Exist For Path D:\BAYER\Zylem\ZylemImportFolders\REPORTS\000000000000001_GenerateUnlinkedCustomerLinking CS 24Jan2021060003.xls 1/24/2021 6:00:04 PM Excel Favourite Report ### After Checking File Exist Or Create New File 1/24/2021 6:00:04 PM Excel Favourite Report ### After Writing to File 1/24/2021 6:00:04 PM processDataUsingPostTableXML ### Write PendingXml GenerateUnlinkedCustomerLinking CS 2021Jan24233002590 1/24/2021 6:00:04 PM processDataUsingPostTableXML ### Create Zip 1/24/2021 6:00:04 PM processDataUsingPostTableXML ### Added PendingXml 1/24/2021 6:00:04 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport start ### 1/24/2021 6:00:04 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport end True ### 1/24/2021 6:00:04 PM processDataUsingPostTableXML ### Finished 1/24/2021 6:00:04 PM processDataUsingPostTableXML ### End