1/2/2021 6:00:02 PM processDataUsingPostTableXML ### dtFinalFav Count = 3 1/2/2021 6:00:02 PM ProcessData ### Inside Pre Processed Report 1/2/2021 6:00:02 PM processDataUsingPostTableXML strScript for BAYER QA Distributor File Upload Status 2021Jan02233002210 ### 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/2/2021 6:00:02 PM Post Favourite ### After Fill DataSet 1/2/2021 6:00:02 PM Excel Favourite Report ### Html Case 1/2/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 02Jan2021060002.html 1/2/2021 6:00:02 PM Excel Favourite Report ### After Checking File Exist Or Create New File 1/2/2021 6:00:02 PM Excel Favourite Report ### After Writing to File 1/2/2021 6:00:02 PM processDataUsingPostTableXML ### Write PendingXml BAYER QA Distributor File Upload Status 2021Jan02233002210 1/2/2021 6:00:02 PM processDataUsingPostTableXML ### Create Zip 1/2/2021 6:00:02 PM processDataUsingPostTableXML ### Added PendingXml 1/2/2021 6:00:02 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport start ### 1/2/2021 6:00:02 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport end True ### 1/2/2021 6:00:02 PM ProcessData ### Inside Pre Processed Report 1/2/2021 6:00:02 PM processDataUsingPostTableXML strScript for GenerateUnlinkedCustomerLinking ES 2021Jan02233002220 ### EXEC [pr_CR_Bayer_GenerateUnlinkedCustomerLinking_M2] 'ES' 1/2/2021 6:00:03 PM Post Favourite ### After Fill DataSet 1/2/2021 6:00:03 PM Excel Favourite Report ### Excel Case 1/2/2021 6:00:03 PM Excel Favourite Report ### Before Checking File Exist For Path D:\BAYER\Zylem\ZylemImportFolders\REPORTS\000000000000001_GenerateUnlinkedCustomerLinking ES 02Jan2021060003.xls 1/2/2021 6:00:03 PM Excel Favourite Report ### After Checking File Exist Or Create New File 1/2/2021 6:00:03 PM Excel Favourite Report ### After Writing to File 1/2/2021 6:00:03 PM processDataUsingPostTableXML ### Write PendingXml GenerateUnlinkedCustomerLinking ES 2021Jan02233002220 1/2/2021 6:00:03 PM processDataUsingPostTableXML ### Create Zip 1/2/2021 6:00:03 PM processDataUsingPostTableXML ### Added PendingXml 1/2/2021 6:00:03 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport start ### 1/2/2021 6:00:03 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport end True ### 1/2/2021 6:00:03 PM ProcessData ### Inside Pre Processed Report 1/2/2021 6:00:03 PM processDataUsingPostTableXML strScript for GenerateUnlinkedCustomerLinking CS 2021Jan02233002220 ### EXEC [pr_CR_Bayer_GenerateUnlinkedCustomerLinking_M2] 'CS' 1/2/2021 6:00:07 PM Post Favourite ### After Fill DataSet 1/2/2021 6:00:07 PM Excel Favourite Report ### Excel Case 1/2/2021 6:00:07 PM Excel Favourite Report ### Before Checking File Exist For Path D:\BAYER\Zylem\ZylemImportFolders\REPORTS\000000000000001_GenerateUnlinkedCustomerLinking CS 02Jan2021060007.xls 1/2/2021 6:00:07 PM Excel Favourite Report ### After Checking File Exist Or Create New File 1/2/2021 6:00:07 PM Excel Favourite Report ### After Writing to File 1/2/2021 6:00:07 PM processDataUsingPostTableXML ### Write PendingXml GenerateUnlinkedCustomerLinking CS 2021Jan02233002220 1/2/2021 6:00:07 PM processDataUsingPostTableXML ### Create Zip 1/2/2021 6:00:07 PM processDataUsingPostTableXML ### Added PendingXml 1/2/2021 6:00:07 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport start ### 1/2/2021 6:00:07 PM processDataUsingPostTableXML,impXML.updateXmlNodeFavouriteReport end True ### 1/2/2021 6:00:07 PM processDataUsingPostTableXML ### Finished 1/2/2021 6:00:07 PM processDataUsingPostTableXML ### End