2026-05-25 06:12:49,516 - 124437 - src.utils.log - INFO - ParallelProcessing=True GenerateWorkOrderHistoryId=124437 - __SPLIT__ 2026-05-25 06:12:49,816 - 124437 - src.utils.log - INFO - Parallel Work order generation algo started for GenerateWorkOrderHistoryId: 124437 - __SPLIT__ 2026-05-25 06:12:49,816 - 124437 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-25 06:12:49,816 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas' ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:12:51,920 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:51,921 - 124437 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-25 06:12:51,921 - 124437 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-25 06:12:51,921 - 124437 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-25 06:12:51,922 - 124437 - src.utils.log - INFO - βœ… Connected to company-specific database: abcdallas - __SPLIT__ 2026-05-25 06:12:51,922 - 124437 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:12:53,965 - 124437 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:12:53,965 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124437), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124437), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124437 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:12:54,978 - 124437 - src.utils.log - INFO - βœ… Fetched 117 rows - __SPLIT__ 2026-05-25 06:12:54,978 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:12:55,247 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:55,250 - 124437 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-25 06:12:55,251 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId in (14080, 14466, 14725, 14597, 14728, 13962, 13965, 13971, 14615, 14616, 14489, 14620, 14626, 14505, 14634, 14633, 14637, 14509, 14640, 14641, 14643, 14775, 14653, 14654, 14655, 14657, 14532, 14663, 14537, 14795, 14667, 14669, 14031, 14682, 14562, 14819, 14052, 14053, 14693, 14312, 14313, 14314, 14059, 14571, 14447, 14578, 14070)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:12:55,922 - 124437 - src.utils.log - INFO - βœ… Fetched 1366 rows - __SPLIT__ 2026-05-25 06:12:55,922 - 124437 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-25 06:12:55,926 - 124437 - src.utils.log - INFO - πŸ“Š Found 117 setups to process across 24 routes - __SPLIT__ 2026-05-25 06:12:55,926 - 124437 - src.utils.log - INFO - πŸš€ Starting parallel processing with 8 workers - __SPLIT__ 2026-05-25 06:12:55,927 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 1904.0 with 1 setups - __SPLIT__ 2026-05-25 06:12:55,928 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2199.0 with 1 setups - __SPLIT__ 2026-05-25 06:12:55,929 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,929 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 58571;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:55,930 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2237.0 with 8 setups - __SPLIT__ 2026-05-25 06:12:55,931 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,931 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2239.0 with 1 setups - __SPLIT__ 2026-05-25 06:12:55,931 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150329;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:55,932 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,933 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2255.0 with 4 setups - __SPLIT__ 2026-05-25 06:12:55,934 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,936 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:55,935 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2275.0 with 1 setups - __SPLIT__ 2026-05-25 06:12:55,935 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2278.0 with 1 setups - __SPLIT__ 2026-05-25 06:12:55,941 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,934 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2266.0 with 2 setups - __SPLIT__ 2026-05-25 06:12:55,942 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150318;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:55,940 - 124437 - src.utils.log - INFO - πŸ“‹ Submitted 24 routes for processing - __SPLIT__ 2026-05-25 06:12:55,939 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,944 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (36264, 35889, 36270, 36271);... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:55,943 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,945 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 149874;... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:55,939 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 54453;... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:55,944 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:55,946 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (33723, 33709);... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:56,229 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:56,230 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 58571 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:56,540 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:56,991 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:56,992 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 150329 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:57,003 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:57,003 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:57,015 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:57,015 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (33723, 33709) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:57,019 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:57,020 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (36264, 35889, 36270, 36271) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:57,021 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:57,021 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 54453 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:57,022 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:57,022 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 150318 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:57,028 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:57,029 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 149874 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:57,115 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:12:57,115 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:57,116 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:57,116 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:57,293 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:57,317 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:12:57,339 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:57,340 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:12:57,397 - 124437 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-25 06:12:57,422 - 124437 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-25 06:12:57,422 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:57,423 - 124437 - src.utils.log - INFO - βœ… Fetched 22 rows - __SPLIT__ 2026-05-25 06:12:57,451 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:57,795 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:57,795 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:57,883 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150329 - __SPLIT__ 2026-05-25 06:12:57,900 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11437.0;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:57,902 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150318 - __SPLIT__ 2026-05-25 06:12:57,991 - 124437 - src.utils.log - INFO - Generating work orders for setup: 149874 - __SPLIT__ 2026-05-25 06:12:57,992 - 124437 - src.utils.log - INFO - Error processing schedule ID 14615: cannot access local variable 'sorted_service_dates' where it is not associated with a value - __SPLIT__ 2026-05-25 06:12:57,995 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:12:57,995 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:57,995 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:57,995 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:57,996 - 124437 - src.utils.log - INFO - Generating work orders for setup: 33709 - __SPLIT__ 2026-05-25 06:12:58,005 - 124437 - src.utils.log - INFO - Generating work orders for setup: 33723 - __SPLIT__ 2026-05-25 06:12:58,012 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:58,015 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:12:58,016 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:58,016 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:58,016 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:58,065 - 124437 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-25 06:12:58,071 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:58,137 - 124437 - src.utils.log - INFO - Generating work orders for setup: 35889 - __SPLIT__ 2026-05-25 06:12:58,145 - 124437 - src.utils.log - INFO - Generating work orders for setup: 36264 - __SPLIT__ 2026-05-25 06:12:58,152 - 124437 - src.utils.log - INFO - Generating work orders for setup: 36270 - __SPLIT__ 2026-05-25 06:12:58,160 - 124437 - src.utils.log - INFO - Generating work orders for setup: 36271 - __SPLIT__ 2026-05-25 06:12:58,167 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:58,169 - 124437 - src.utils.log - INFO - Generating work orders for setup: 139683 - __SPLIT__ 2026-05-25 06:12:58,193 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,193 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:58,196 - 124437 - src.utils.log - INFO - Generating work orders for setup: 139686 - __SPLIT__ 2026-05-25 06:12:58,216 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150286 - __SPLIT__ 2026-05-25 06:12:58,242 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150292 - __SPLIT__ 2026-05-25 06:12:58,256 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150303 - __SPLIT__ 2026-05-25 06:12:58,298 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,306 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:58,311 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150308 - __SPLIT__ 2026-05-25 06:12:58,313 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:58,338 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:58,344 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,407 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:58,438 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:58,474 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:58,482 - 124437 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-25 06:12:58,483 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:58,484 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:58,494 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150311 - __SPLIT__ 2026-05-25 06:12:58,494 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:12:58,500 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:58,501 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:58,546 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:58,501 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:58,520 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150332 - __SPLIT__ 2026-05-25 06:12:58,557 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:58,597 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId in (11428.0, 11429.0);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:58,597 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:58,597 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:58,677 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,677 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:58,678 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,678 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:58,768 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,769 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:58,794 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:58,796 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:58,796 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:58,796 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:58,872 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:12:58,874 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,877 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:58,905 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,912 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,912 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:58,930 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:58,929 - 124437 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-25 06:12:58,947 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:58,957 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,957 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:58,992 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:58,993 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:59,062 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,063 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:59,090 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,090 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:59,187 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,188 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:59,212 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:12:59,215 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:12:59,215 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:12:59,215 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:59,272 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,272 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:59,273 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,273 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:59,283 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,283 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:59,355 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,356 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:59,393 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,393 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:59,400 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,400 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:59,471 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,471 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:59,514 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,514 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:59,554 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,554 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:59,565 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,566 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:59,581 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,581 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:59,638 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,639 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 58571 (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:59,677 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,678 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:12:59,694 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,695 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:12:59,769 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,769 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:12:59,812 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,812 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:12:59,878 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,878 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:12:59,913 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,913 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:12:59,913 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,914 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:12:59,957 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,957 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 1904.0 - __SPLIT__ 2026-05-25 06:12:59,957 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2282.0 with 1 setups - __SPLIT__ 2026-05-25 06:12:59,958 - 124437 - src.utils.log - INFO - βœ… [1/24] Route 1904.0 completed successfully - __SPLIT__ 2026-05-25 06:12:59,959 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:12:59,959 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 33765;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:12:59,992 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:12:59,992 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:00,006 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,006 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:00,064 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,065 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:00,098 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,099 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:00,150 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,150 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 149874 (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:00,224 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:00,224 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 33765 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:00,225 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,225 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:00,226 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,227 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:00,266 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,266 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 54453 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:00,296 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,296 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:00,363 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,363 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:00,398 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,398 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:00,460 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,461 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2278.0 - __SPLIT__ 2026-05-25 06:13:00,461 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2288.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:00,461 - 124437 - src.utils.log - INFO - βœ… [2/24] Route 2278.0 completed successfully - __SPLIT__ 2026-05-25 06:13:00,462 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:00,463 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 52419;... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:00,509 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:00,529 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,531 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:00,532 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,532 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:00,577 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,577 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:00,592 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,592 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2239.0 - __SPLIT__ 2026-05-25 06:13:00,593 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2292.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:00,593 - 124437 - src.utils.log - INFO - βœ… [3/24] Route 2239.0 completed successfully - __SPLIT__ 2026-05-25 06:13:00,594 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:00,594 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 33746;... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:00,637 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,637 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150318 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:00,698 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,698 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:00,729 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:00,729 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 52419 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:00,803 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,803 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (33723, 33709) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:00,807 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,807 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (36264, 35889, 36270, 36271) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:00,845 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,845 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150329 (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:00,863 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:00,863 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 33746 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:00,948 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,949 - 124437 - src.utils.log - INFO - πŸ“ Inserting 1 work orders for route: 2275.0 - __SPLIT__ 2026-05-25 06:13:00,949 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:00,949 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:00,997 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:00,997 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:01,028 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:01,065 - 124437 - src.utils.log - INFO - Generating work orders for setup: 33765 - __SPLIT__ 2026-05-25 06:13:01,073 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:01,120 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:01,121 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2266.0 - __SPLIT__ 2026-05-25 06:13:01,121 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2293.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:01,121 - 124437 - src.utils.log - INFO - βœ… [4/24] Route 2266.0 completed successfully - __SPLIT__ 2026-05-25 06:13:01,122 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:01,123 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 33799;... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:01,157 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:01,300 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-25 06:13:01,305 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:01,305 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:01,310 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2255.0 - __SPLIT__ 2026-05-25 06:13:01,310 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:01,310 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2299.0 with 2 setups - __SPLIT__ 2026-05-25 06:13:01,311 - 124437 - src.utils.log - INFO - βœ… [5/24] Route 2255.0 completed successfully - __SPLIT__ 2026-05-25 06:13:01,312 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:01,312 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (34818, 56414);... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:01,324 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:01,325 - 124437 - src.utils.log - INFO - πŸ“ Inserting 1 work orders for route: 2199.0 - __SPLIT__ 2026-05-25 06:13:01,325 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:01,325 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:01,337 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:01,371 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:01,372 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:01,372 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:01,389 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:01,390 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 33799 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:01,586 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:01,586 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (34818, 56414) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:01,603 - 124437 - src.utils.log - INFO - Generating work orders for setup: 52419 - __SPLIT__ 2026-05-25 06:13:01,628 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-25 06:13:01,645 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:01,645 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:01,655 - 124437 - src.utils.log - INFO - πŸ“ Inserting 16 work orders for route: 2237.0 - __SPLIT__ 2026-05-25 06:13:01,655 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:01,655 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 16 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:01,682 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:01,701 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:01,704 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:01,720 - 124437 - src.utils.log - INFO - Generating work orders for setup: 33746 - __SPLIT__ 2026-05-25 06:13:01,729 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:01,895 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:13:01,928 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:01,979 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:02,008 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 16) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-25 06:13:02,009 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:02,009 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:02,009 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,056 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:02,056 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:02,056 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:02,056 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:02,057 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:02,285 - 124437 - src.utils.log - INFO - Generating work orders for setup: 33799 - __SPLIT__ 2026-05-25 06:13:02,295 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:02,345 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,345 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:02,369 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,370 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:02,371 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,371 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:02,386 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-25 06:13:02,387 - 124437 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 150318... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:02,480 - 124437 - src.utils.log - INFO - Generating work orders for setup: 34818 - __SPLIT__ 2026-05-25 06:13:02,488 - 124437 - src.utils.log - INFO - Generating work orders for setup: 56414 - __SPLIT__ 2026-05-25 06:13:02,495 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId in (11429.0, -1.0);... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:02,567 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:02,601 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:02,602 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:02,602 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:02,609 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-25 06:13:02,609 - 124437 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 150329... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:02,682 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,683 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:02,711 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,711 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:02,716 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:02,716 - 124437 - src.utils.log - INFO - βœ… Work order IDs inserted for route 2275.0: 1 records - __SPLIT__ 2026-05-25 06:13:02,716 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150318;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:02,731 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,731 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:02,764 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:02,804 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:02,804 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:02,804 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:02,902 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:02,902 - 124437 - src.utils.log - INFO - βœ… Work order IDs inserted for route 2199.0: 1 records - __SPLIT__ 2026-05-25 06:13:02,902 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150329;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:02,908 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,909 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:02,986 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:02,986 - 124437 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-25 06:13:02,987 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 150318... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:02,991 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:02,991 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:02,999 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,000 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:03,011 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,011 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:03,101 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,101 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:03,166 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:03,166 - 124437 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-25 06:13:03,167 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 150329... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:03,258 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:03,258 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 150318... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:03,325 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,325 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:03,329 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,330 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:03,348 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,349 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:03,349 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,350 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:03,397 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,397 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:03,433 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:03,433 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 150329... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:03,528 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:03,536 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 150318... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:03,599 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,599 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33765 (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:03,609 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,610 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:03,658 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,658 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:03,659 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,659 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:03,686 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,686 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:03,697 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:03,704 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 150329... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:03,712 - 124437 - src.utils.log - INFO - βœ… All 16 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-25 06:13:03,713 - 124437 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 16 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:03,834 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:13:03,835 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 150318... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:03,930 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,930 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2282.0 - __SPLIT__ 2026-05-25 06:13:03,931 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2304.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:03,931 - 124437 - src.utils.log - INFO - βœ… [6/24] Route 2282.0 completed successfully - __SPLIT__ 2026-05-25 06:13:03,932 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:03,933 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 34905;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:03,950 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,950 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:03,966 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,966 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:03,976 - 124437 - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 06:13:03,977 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 150329... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:03,978 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,978 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:03,999 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:03,999 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:04,011 - 124437 - src.utils.log - INFO - βœ… Fetched 16 rows - __SPLIT__ 2026-05-25 06:13:04,011 - 124437 - src.utils.log - INFO - βœ… Work order IDs inserted for route 2237.0: 16 records - __SPLIT__ 2026-05-25 06:13:04,011 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (139683, 150308, 139686, 150311, 150286, 150292, 150332, 150303);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:04,116 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,117 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 150318... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:04,202 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,202 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 34905 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:04,220 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,220 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33746 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:04,238 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,238 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52419 (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:04,241 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,241 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 150329... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:04,277 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,277 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:04,282 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,283 - 124437 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-25 06:13:04,283 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:04,297 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,298 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:04,389 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,389 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 150318;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:04,497 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:04,520 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,520 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 150329;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:04,539 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,540 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2292.0 - __SPLIT__ 2026-05-25 06:13:04,540 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2312.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:04,540 - 124437 - src.utils.log - INFO - βœ… [7/24] Route 2292.0 completed successfully - __SPLIT__ 2026-05-25 06:13:04,541 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:04,542 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 34428;... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:04,556 - 124437 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-25 06:13:04,556 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:04,580 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,580 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:04,602 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,602 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:04,620 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,621 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2288.0 - __SPLIT__ 2026-05-25 06:13:04,621 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2330.0 with 3 setups - __SPLIT__ 2026-05-25 06:13:04,621 - 124437 - src.utils.log - INFO - βœ… [8/24] Route 2288.0 completed successfully - __SPLIT__ 2026-05-25 06:13:04,623 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:04,623 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (46320, 48573, 53806);... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:04,677 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:13:04,679 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 150318;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:04,786 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,787 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 150329;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:04,807 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,807 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 34428 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:04,831 - 124437 - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-25 06:13:04,838 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:04,851 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,851 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 33799 (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:04,876 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:04,876 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (34818, 56414) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:04,892 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,893 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (46320, 48573, 53806) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:04,957 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:04,958 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 150318;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:05,050 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:05,051 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 150329;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:05,063 - 124437 - src.utils.log - INFO - Generating work orders for setup: 34905 - __SPLIT__ 2026-05-25 06:13:05,073 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11429.0;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:05,099 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:05,129 - 124437 - src.utils.log - INFO - βœ… Fetched 13 rows - __SPLIT__ 2026-05-25 06:13:05,131 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:05,172 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:05,172 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2293.0 - __SPLIT__ 2026-05-25 06:13:05,172 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2331.0 with 5 setups - __SPLIT__ 2026-05-25 06:13:05,173 - 124437 - src.utils.log - INFO - βœ… [9/24] Route 2293.0 completed successfully - __SPLIT__ 2026-05-25 06:13:05,174 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:05,175 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (46434, 47462, 39481, 44538, 32958);... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:05,208 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:05,209 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2299.0 - __SPLIT__ 2026-05-25 06:13:05,209 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2349.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:05,209 - 124437 - src.utils.log - INFO - βœ… [10/24] Route 2299.0 completed successfully - __SPLIT__ 2026-05-25 06:13:05,210 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:05,211 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 48334;... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:05,214 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:05,341 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:05,467 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:05,469 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:05,469 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:05,470 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:05,470 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:05,471 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:05,471 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (46434, 47462, 39481, 44538, 32958) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:05,604 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:05,605 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 48334 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:05,748 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:05,749 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:05,786 - 124437 - src.utils.log - INFO - Generating work orders for setup: 34428 - __SPLIT__ 2026-05-25 06:13:05,795 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1.0;... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:05,803 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:05,803 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:05,979 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,023 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:13:06,024 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:06,058 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,091 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:06,091 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:06,091 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:06,094 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:13:06,094 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:06,095 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:06,095 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:06,104 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,104 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:06,230 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,293 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,294 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 150329;... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:06,294 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,295 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 150318;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:06,297 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,297 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId in (150308, 150311, 150286, 150292, 150332, 150303);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:06,414 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,414 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:06,420 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,420 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:06,421 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,421 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:06,546 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:13:06,547 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:06,547 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:06,547 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:06,566 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,581 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:06,582 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674341 ... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:06,583 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-25 06:13:06,593 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,594 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-25 06:13:06,594 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,594 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-25 06:13:06,594 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,594 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:06,594 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674342 ... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:06,610 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,611 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId in (150308, 150311, 150286, 150292, 150332, 150303);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:06,749 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,749 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:06,750 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,750 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,750 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:06,751 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:06,823 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:13:06,824 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:06,824 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:06,824 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:06,844 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:06,845 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:06,850 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:06,850 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:06,856 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:06,857 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 3 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:06,890 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:06,906 - 124437 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:06,907 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674358 ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:07,030 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,030 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:07,041 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,041 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:07,055 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,055 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:07,177 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:07,178 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:07,190 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,190 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:07,222 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-25 06:13:07,226 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,227 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:07,232 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-25 06:13:07,354 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,354 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:07,372 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,372 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:07,374 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,374 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:07,456 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-25 06:13:07,486 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,486 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:07,514 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,515 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:07,629 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,629 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34905 (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:07,768 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,768 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:07,810 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,810 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:07,940 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:07,940 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2304.0 - __SPLIT__ 2026-05-25 06:13:07,940 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2371.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:07,941 - 124437 - src.utils.log - INFO - βœ… [11/24] Route 2304.0 completed successfully - __SPLIT__ 2026-05-25 06:13:07,942 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:07,943 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 52141;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:08,080 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:08,080 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:08,185 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,186 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:08,187 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674341 ... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:08,189 - 124437 - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-25 06:13:08,189 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,189 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-25 06:13:08,189 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,189 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:08,189 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674342 ... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:08,213 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:08,213 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 52141 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:08,413 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-25 06:13:08,414 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:08,415 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358) ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:08,452 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:08,452 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:08,454 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:08,454 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:08,513 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:08,686 - 124437 - src.utils.log - INFO - βœ… Fetched 16 rows - __SPLIT__ 2026-05-25 06:13:08,687 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 20 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:08,729 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-25 06:13:08,753 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:08,963 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 20) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-25 06:13:09,085 - 124437 - src.utils.log - INFO - Generating work orders for setup: 52141 - __SPLIT__ 2026-05-25 06:13:09,094 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11429.0;... (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:09,361 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:09,401 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:09,402 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:09,402 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:09,682 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-25 06:13:09,682 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-25 06:13:09,682 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-25 06:13:09,682 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:09,682 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:09,683 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674341 ... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:09,699 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:09,700 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:09,705 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:09,705 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:09,705 - 124437 - src.utils.log - INFO - βœ… Temp tables populated for route: 2199.0 - __SPLIT__ 2026-05-25 06:13:09,705 - 124437 - src.utils.log - INFO - βœ… Route 2199.0 generation complete - __SPLIT__ 2026-05-25 06:13:09,706 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2373.0 with 2 setups - __SPLIT__ 2026-05-25 06:13:09,706 - 124437 - src.utils.log - INFO - βœ… [12/24] Route 2199.0 completed successfully - __SPLIT__ 2026-05-25 06:13:09,707 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:09,708 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (51356, 34910);... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:09,950 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:09,951 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:09,966 - 124437 - src.utils.log - INFO - βœ… All 20 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-25 06:13:09,966 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-25 06:13:09,967 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:09,967 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674343 ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:09,974 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:09,975 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (51356, 34910) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:09,999 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:09,999 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:10,226 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:10,236 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:10,237 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:10,271 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:10,296 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:10,296 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:10,515 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:10,593 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:10,593 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:10,841 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:13:10,842 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:10,842 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:10,842 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:11,134 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,134 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:11,172 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:11,172 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:11,172 - 124437 - src.utils.log - INFO - βœ… Temp tables populated for route: 2275.0 - __SPLIT__ 2026-05-25 06:13:11,172 - 124437 - src.utils.log - INFO - βœ… Route 2275.0 generation complete - __SPLIT__ 2026-05-25 06:13:11,173 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2384.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:11,173 - 124437 - src.utils.log - INFO - βœ… [13/24] Route 2275.0 completed successfully - __SPLIT__ 2026-05-25 06:13:11,174 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:11,175 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 36892;... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:11,428 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,428 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:11,444 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:11,444 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 36892 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:11,473 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:11,473 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:11,473 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:11,474 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358) ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:11,706 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,706 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:11,740 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:11,763 - 124437 - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-25 06:13:11,764 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 16 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:11,791 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 88) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:11,791 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,791 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 1/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 88) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 1s... - __SPLIT__ 2026-05-25 06:13:11,791 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,792 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:11,792 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:11,793 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,793 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:11,794 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,794 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:11,998 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:11,998 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:12,041 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 16) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:12,085 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,085 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:12,095 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,095 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:12,115 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,115 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ) (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:12,137 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,137 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) ) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:12,299 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,299 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:12,304 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:13:12,305 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:12,305 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:12,305 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:12,359 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,359 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 48334 (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:12,367 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,367 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 34428 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:12,387 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,387 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:12,408 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,408 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46434, 47462, 39481, 44538, 32958) (Thread: ThreadPoolExecutor-38_5) - __SPLIT__ 2026-05-25 06:13:12,593 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,593 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:12,644 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,644 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:12,699 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,699 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2349.0 - __SPLIT__ 2026-05-25 06:13:12,699 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2407.0 with 1 setups - __SPLIT__ 2026-05-25 06:13:12,700 - 124437 - src.utils.log - INFO - βœ… [14/24] Route 2349.0 completed successfully - __SPLIT__ 2026-05-25 06:13:12,701 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:12,701 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 55510;... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:12,792 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:12,864 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,865 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:12,935 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:12,936 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:12,973 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:12,974 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId = 55510 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:13,024 - 124437 - src.utils.log - INFO - βœ… All 16 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:13,024 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:13,024 - 124437 - src.utils.log - INFO - βœ… Temp tables populated for route: 2237.0 - __SPLIT__ 2026-05-25 06:13:13,025 - 124437 - src.utils.log - INFO - βœ… Route 2237.0 generation complete - __SPLIT__ 2026-05-25 06:13:13,025 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2434.0 with 45 setups - __SPLIT__ 2026-05-25 06:13:13,025 - 124437 - src.utils.log - INFO - βœ… [15/24] Route 2237.0 completed successfully - __SPLIT__ 2026-05-25 06:13:13,026 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:13,027 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:13,074 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:13,074 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:13,220 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:13,220 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:13,276 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:13,306 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:13,307 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:13,354 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:13,354 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:13,513 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:13,513 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:13,622 - 124437 - src.utils.log - INFO - βœ… Fetched 411 rows - __SPLIT__ 2026-05-25 06:13:13,664 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:13,687 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:13,846 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:13,850 - 124437 - src.utils.log - INFO - Unable to get work order table Error: "['EmployeeNo', 'CustomerPONumber'] not in index" - __SPLIT__ 2026-05-25 06:13:13,850 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:13,850 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:13,851 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:13,851 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:14,150 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:14,150 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ) (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:14,164 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:14,165 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:14,260 - 124437 - src.utils.log - INFO - Generating work orders for setup: 149787 - __SPLIT__ 2026-05-25 06:13:14,260 - 124437 - src.utils.log - INFO - Error processing schedule ID 13962: cannot access local variable 'sorted_service_dates' where it is not associated with a value - __SPLIT__ 2026-05-25 06:13:14,260 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150203 - __SPLIT__ 2026-05-25 06:13:14,276 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150204 - __SPLIT__ 2026-05-25 06:13:14,298 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150205 - __SPLIT__ 2026-05-25 06:13:14,306 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150206 - __SPLIT__ 2026-05-25 06:13:14,327 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150210 - __SPLIT__ 2026-05-25 06:13:14,334 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150213 - __SPLIT__ 2026-05-25 06:13:14,341 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150215 - __SPLIT__ 2026-05-25 06:13:14,355 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150216 - __SPLIT__ 2026-05-25 06:13:14,376 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150222 - __SPLIT__ 2026-05-25 06:13:14,395 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150223 - __SPLIT__ 2026-05-25 06:13:14,423 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150224 - __SPLIT__ 2026-05-25 06:13:14,451 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150225 - __SPLIT__ 2026-05-25 06:13:14,479 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150226 - __SPLIT__ 2026-05-25 06:13:14,505 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:14,508 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150227 - __SPLIT__ 2026-05-25 06:13:14,538 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150228 - __SPLIT__ 2026-05-25 06:13:14,568 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150229 - __SPLIT__ 2026-05-25 06:13:14,568 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:14,598 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150230 - __SPLIT__ 2026-05-25 06:13:14,629 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150234 - __SPLIT__ 2026-05-25 06:13:14,660 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150235 - __SPLIT__ 2026-05-25 06:13:14,660 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:14,691 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150236 - __SPLIT__ 2026-05-25 06:13:14,691 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:14,722 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150238 - __SPLIT__ 2026-05-25 06:13:14,754 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150239 - __SPLIT__ 2026-05-25 06:13:14,787 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150240 - __SPLIT__ 2026-05-25 06:13:14,819 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150242 - __SPLIT__ 2026-05-25 06:13:14,852 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150243 - __SPLIT__ 2026-05-25 06:13:14,886 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150260 - __SPLIT__ 2026-05-25 06:13:14,910 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150261 - __SPLIT__ 2026-05-25 06:13:14,933 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150262 - __SPLIT__ 2026-05-25 06:13:14,957 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150263 - __SPLIT__ 2026-05-25 06:13:14,981 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150265 - __SPLIT__ 2026-05-25 06:13:14,997 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150266 - __SPLIT__ 2026-05-25 06:13:15,005 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150277 - __SPLIT__ 2026-05-25 06:13:15,040 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150278 - __SPLIT__ 2026-05-25 06:13:15,056 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:15,074 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150279 - __SPLIT__ 2026-05-25 06:13:15,074 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:15,108 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150309 - __SPLIT__ 2026-05-25 06:13:15,125 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150312 - __SPLIT__ 2026-05-25 06:13:15,141 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150313 - __SPLIT__ 2026-05-25 06:13:15,157 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150314 - __SPLIT__ 2026-05-25 06:13:15,174 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150321 - __SPLIT__ 2026-05-25 06:13:15,536 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:15,554 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:15,813 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150322 - __SPLIT__ 2026-05-25 06:13:16,031 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:16,067 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:16,495 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150323 - __SPLIT__ 2026-05-25 06:13:16,621 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:16,674 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 ) (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:17,040 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:17,054 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2312.0 - __SPLIT__ 2026-05-25 06:13:17,054 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 88) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:17,066 - 124437 - src.utils.log - INFO - πŸ”„ Processing route: 2454.0 with 6 setups - __SPLIT__ 2026-05-25 06:13:17,075 - 124437 - src.utils.log - INFO - βœ… [16/24] Route 2312.0 completed successfully - __SPLIT__ 2026-05-25 06:13:17,075 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 1/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 88) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 1s... - __SPLIT__ 2026-05-25 06:13:17,107 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:17,108 - 124437 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-25 06:13:17,174 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 55510 (Thread: ThreadPoolExecutor-38_4) - __SPLIT__ 2026-05-25 06:13:17,215 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:17,748 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150324 - __SPLIT__ 2026-05-25 06:13:17,783 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:17,907 - 124437 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId,IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-25 00:00:00' and ServiceDate <= '2026-08-31 00:00:00' and ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:18,165 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:19,049 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150327 - __SPLIT__ 2026-05-25 06:13:19,165 - 124437 - src.utils.log - INFO - βœ… Fetched 333 rows - __SPLIT__ 2026-05-25 06:13:19,810 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 69) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:19,826 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 1/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 69) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 1s... - __SPLIT__ 2026-05-25 06:13:20,465 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150328 - __SPLIT__ 2026-05-25 06:13:20,466 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150310 - __SPLIT__ 2026-05-25 06:13:20,768 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId in (11426.0, 11427.0, 11428.0, 11429.0, 1129.0, 1130.0, 1131.0, 1132.0, 1133.0, 11436.0, -1.0);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:20,880 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:21,358 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 108) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:21,383 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 1/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 108) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 1s... - __SPLIT__ 2026-05-25 06:13:21,449 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150316 - __SPLIT__ 2026-05-25 06:13:22,188 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:22,188 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 86) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:22,218 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2331.0 - __SPLIT__ 2026-05-25 06:13:22,233 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 1/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 86) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 1s... - __SPLIT__ 2026-05-25 06:13:22,263 - 124437 - src.utils.log - INFO - βœ… [17/24] Route 2331.0 completed successfully - __SPLIT__ 2026-05-25 06:13:22,386 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (46320, 48573, 53806) (Thread: ThreadPoolExecutor-38_7) - __SPLIT__ 2026-05-25 06:13:22,560 - 124437 - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-25 06:13:22,738 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150319 - __SPLIT__ 2026-05-25 06:13:22,739 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 77) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:22,860 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 2/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 77) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 2s... - __SPLIT__ 2026-05-25 06:13:23,128 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:23,158 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:23,209 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2407.0 - __SPLIT__ 2026-05-25 06:13:23,209 - 124437 - src.utils.log - ERROR - ❌ Error in deleting records: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 91) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ] (Background on this error at: https://sqlalche.me/e/20/dbapi) - __SPLIT__ 2026-05-25 06:13:23,258 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 36892 (Thread: ThreadPoolExecutor-38_6) - __SPLIT__ 2026-05-25 06:13:23,283 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2330.0 - __SPLIT__ 2026-05-25 06:13:23,397 - 124437 - src.utils.log - INFO - βœ… [18/24] Route 2407.0 completed successfully - __SPLIT__ 2026-05-25 06:13:23,416 - 124437 - src.utils.log - WARNING - ⚠️ delete_records_from_db attempt 2/3 failed: (pyodbc.Error) ('40001', '[40001] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Transaction (Process ID 91) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction. (1205) (SQLExecDirectW)') [SQL: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) ] (Background on this error at: https://sqlalche.me/e/20/dbapi). Retrying in 2s... - __SPLIT__ 2026-05-25 06:13:23,491 - 124437 - src.utils.log - INFO - βœ… [19/24] Route 2330.0 completed successfully - __SPLIT__ 2026-05-25 06:13:23,801 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:23,846 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2384.0 - __SPLIT__ 2026-05-25 06:13:23,893 - 124437 - src.utils.log - INFO - βœ… [20/24] Route 2384.0 completed successfully - __SPLIT__ 2026-05-25 06:13:24,299 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150320 - __SPLIT__ 2026-05-25 06:13:24,492 - 124437 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-25 06:13:24,592 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:24,875 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 52141 (Thread: ThreadPoolExecutor-38_0) - __SPLIT__ 2026-05-25 06:13:25,170 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:25,220 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:25,237 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:25,254 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:25,481 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:25,499 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (51356, 34910) (Thread: ThreadPoolExecutor-38_1) - __SPLIT__ 2026-05-25 06:13:25,517 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2371.0 - __SPLIT__ 2026-05-25 06:13:25,613 - 124437 - src.utils.log - INFO - βœ… [21/24] Route 2371.0 completed successfully - __SPLIT__ 2026-05-25 06:13:25,774 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150325 - __SPLIT__ 2026-05-25 06:13:25,986 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:26,143 - 124437 - src.utils.log - INFO - ℹ️ No work order found in given range for route: 2373.0 - __SPLIT__ 2026-05-25 06:13:26,205 - 124437 - src.utils.log - INFO - βœ… [22/24] Route 2373.0 completed successfully - __SPLIT__ 2026-05-25 06:13:26,205 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:26,294 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:27,188 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:27,189 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:27,369 - 124437 - src.utils.log - INFO - Generating work orders for setup: 150333 - __SPLIT__ 2026-05-25 06:13:27,783 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:27,832 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:28,868 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:28,929 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:28,987 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId in (1131.0, 11435.0, 11436.0, 1133.0);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:29,256 - 124437 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-25 06:13:29,310 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:29,336 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:29,417 - 124437 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-25 06:13:29,426 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:29,641 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:29,641 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) ) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:29,688 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:29,691 - 124437 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-25 06:13:29,691 - 124437 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-25 06:13:29,691 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:29,919 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:29,919 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266) (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:29,997 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:29,997 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:30,432 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:30,432 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:30,715 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:30,716 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:31,105 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:31,105 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:31,500 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:31,501 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:31,543 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:31,544 - 124437 - src.utils.log - INFO - πŸ“ Inserting 193 work orders for route: 2434.0 - __SPLIT__ 2026-05-25 06:13:31,544 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:31,544 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 193 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:31,792 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:31,793 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) ) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:31,847 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 193) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-25 06:13:32,070 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:32,071 - 124437 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333) (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:32,379 - 124437 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-25 06:13:32,379 - 124437 - src.utils.log - INFO - πŸ“ Inserting 249 work orders for route: 2454.0 - __SPLIT__ 2026-05-25 06:13:32,379 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:32,379 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 249 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:32,687 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 249) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-25 06:13:39,933 - 124437 - src.utils.log - INFO - βœ… All 193 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-25 06:13:39,934 - 124437 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 193 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:40,300 - 124437 - src.utils.log - INFO - βœ… Fetched 193 rows - __SPLIT__ 2026-05-25 06:13:40,300 - 124437 - src.utils.log - INFO - βœ… Work order IDs inserted for route 2434.0: 193 records - __SPLIT__ 2026-05-25 06:13:40,300 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150277, 150278, 150279, 149787, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150210, 150213, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:40,567 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:40,567 - 124437 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-25 06:13:40,568 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:40,706 - 124437 - src.utils.log - INFO - βœ… All 249 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-25 06:13:40,706 - 124437 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 249 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333)... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:40,838 - 124437 - src.utils.log - INFO - βœ… Fetched 55 rows - __SPLIT__ 2026-05-25 06:13:40,838 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:40,992 - 124437 - src.utils.log - INFO - βœ… Fetched 249 rows - __SPLIT__ 2026-05-25 06:13:40,992 - 124437 - src.utils.log - INFO - βœ… Work order IDs inserted for route 2454.0: 249 records - __SPLIT__ 2026-05-25 06:13:40,992 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:41,120 - 124437 - src.utils.log - INFO - βœ… Fetched 22 rows - __SPLIT__ 2026-05-25 06:13:41,128 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:41,262 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:41,263 - 124437 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-25 06:13:41,263 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333)... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:41,464 - 124437 - src.utils.log - INFO - βœ… Fetched 57 rows - __SPLIT__ 2026-05-25 06:13:41,466 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:41,537 - 124437 - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-25 06:13:41,537 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333)... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:41,736 - 124437 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-25 06:13:41,738 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266)... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:41,809 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:41,816 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333)... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:42,005 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:42,006 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:42,101 - 124437 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-25 06:13:42,102 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333)... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:42,284 - 124437 - src.utils.log - INFO - βœ… Fetched 13 rows - __SPLIT__ 2026-05-25 06:13:42,285 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:42,374 - 124437 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-25 06:13:42,375 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333)... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:42,557 - 124437 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-25 06:13:42,559 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:42,648 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:42,648 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:42,890 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:42,890 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId in (150277, 150278, 150279, 150309, 150312, 150313, 150314, 150321, 150322, 150323, 150324, 150327, 150328, 150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266);... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:42,920 - 124437 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:13:42,921 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:43,174 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:43,204 - 124437 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-25 06:13:43,204 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:13:43,205 - 124437 - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 06:13:43,205 - 124437 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-25 06:13:43,206 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-25 06:13:43,207 - 124437 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-25 06:13:43,207 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:43,206 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId in (150310, 150316, 150319, 150320, 150325, 150333);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:43,207 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ('3674359', '3674685', '3674705', '3674695', '3674614') ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:43,474 - 124437 - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-25 06:13:43,475 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.SetupAutoGenerationSourceMapping: 0 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:43,522 - 124437 - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-25 06:13:43,522 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId in (150310, 150316, 150319, 150320, 150325, 150333);... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:43,778 - 124437 - src.utils.log - INFO - βœ… All 0 rows inserted successfully into ServiceCore.SetupAutoGenerationSourceMapping in 0 batches - __SPLIT__ 2026-05-25 06:13:43,779 - 124437 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-25 06:13:43,779 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:43,779 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674695, 3674503, 3674702, 3674384, 3674387, 3674614) ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:43,797 - 124437 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:13:43,823 - 124437 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-25 06:13:43,823 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:13:43,824 - 124437 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-25 06:13:43,824 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:43,824 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674634, 3674635, 3674636, 3674637, 3674638, 3674640, 3674641, 3674642, 3674643, 3674644, 3674646, 3674647, 3674648, 3674649, 3674650, 3674652, 3674654, 3674655, 3674656, 3674657, 3674658, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674671, 3674672, 3674673, 3674675, 3674676, 3674677, 3674678, 3674679, 3674681, 3674682, 3674683, 3674710, 3674711, 3674712, 3674713, 3674715, 3674716, 3674717, 3674718, 3674719, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674420, 3674421, 3674422, 3674423, 3674425, 3674426, 3674427, 3674428, 3674430, 3674431, 3674432, 3674433, 3674459, 3674460, 3674462, 3674463, 3674464, 3674465, 3674467, 3674468, 3674469, 3674470, 3674471, 3674473, 3674474, 3674475, 3674476, 3674477, 3674479, 3674480, 3674481, 3674482, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674518, 3674519, 3674521, 3674522, 3674523, 3674524, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674559, 3674560, 3674561, 3674562, 3674563, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674580, 3674581, 3674582, 3674583, 3674584, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674603, 3674604, 3674605, 3674606, 3674607) ... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:44,043 - 124437 - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 06:13:44,044 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 8 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:44,110 - 124437 - src.utils.log - INFO - βœ… Fetched 155 rows - __SPLIT__ 2026-05-25 06:13:44,111 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.CommunicationPreferencesServiceReportNotification: 310 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:44,320 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 8) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-25 06:13:44,410 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 310) into ServiceCore.CommunicationPreferencesServiceReportNotification - __SPLIT__ 2026-05-25 06:13:45,290 - 124437 - src.utils.log - INFO - βœ… All 8 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 06:13:45,290 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-25 06:13:45,291 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:45,292 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623) ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:45,576 - 124437 - src.utils.log - INFO - βœ… Fetched 193 rows - __SPLIT__ 2026-05-25 06:13:45,577 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 193 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:45,850 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 193) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-25 06:13:47,379 - 124437 - src.utils.log - INFO - βœ… All 310 rows inserted successfully into ServiceCore.CommunicationPreferencesServiceReportNotification in 1 batches - __SPLIT__ 2026-05-25 06:13:47,379 - 124437 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-25 06:13:47,379 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:47,380 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ('3674426', '3674570', '3674607', '3674576', '3674588', '3674526', '3674710', '3674649', '3674636', '3674682', '3674514', '3674432', '3674583', '3674642', '3674459', '3674463', '3674656', '3674465', '3674423', '3674412', '3674425', '3674530', '3674600', '3674641', '3674580', '3674668', '3674671', '3674420', '3674679', '3674715', '3674582', '3674568', '3674562', '3674510', '3674664', '3674643', '3674460', '3674712', '3674428', '3674416', '3674567', '3674718', '3674575', '3674511', '3674516', '3674672', '3674560', '3674660', '3674469', '3674476', '3674475', '3674604', '3674509', '3674658', '3674650', '3674532', '3674675', '3674481', '3674529', '3674470', '3674521', '3674638', '3674666', '3674573', '3674413', '3674665', '3674427', '3674566', '3674473', '3674648', '3674513', '3674593', '3674589', '3674590', '3674411', '3674683', '3674531', '3674678', '3674640', '3674524', '3674662', '3674594', '3674477', '3674599', '3674597', '3674657', '3674418', '3674468', '3674523', '3674578', '3674717', '3674601', '3674606') ... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:47,655 - 124437 - src.utils.log - INFO - βœ… Fetched 93 rows - __SPLIT__ 2026-05-25 06:13:47,656 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.SetupAutoGenerationSourceMapping: 0 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:47,930 - 124437 - src.utils.log - INFO - βœ… All 0 rows inserted successfully into ServiceCore.SetupAutoGenerationSourceMapping in 0 batches - __SPLIT__ 2026-05-25 06:13:47,931 - 124437 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-25 06:13:47,931 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:47,931 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674638, 3674639, 3674643, 3674645, 3674648, 3674651, 3674653, 3674656, 3674659, 3674662, 3674665, 3674670, 3674674, 3674675, 3674679, 3674680, 3674709, 3674712, 3674714, 3674715, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800, 3674409, 3674411, 3674419, 3674420, 3674423, 3674424, 3674429, 3674432, 3674461, 3674463, 3674465, 3674466, 3674472, 3674473, 3674478, 3674481, 3674483, 3674509, 3674514, 3674517, 3674520, 3674523, 3674525, 3674526, 3674531, 3674533, 3674564, 3674566, 3674570, 3674571, 3674576, 3674579, 3674580, 3674585, 3674586, 3674588, 3674594, 3674595, 3674601, 3674602, 3674607, 3674608) ... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:48,092 - 124437 - src.utils.log - INFO - βœ… All 193 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-25 06:13:48,093 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-25 06:13:48,093 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:48,093 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3674359 ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:48,207 - 124437 - src.utils.log - INFO - βœ… Fetched 125 rows - __SPLIT__ 2026-05-25 06:13:48,208 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 125 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:48,360 - 124437 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:13:48,361 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 1 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:48,484 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 125) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-25 06:13:48,635 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:49,574 - 124437 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:49,574 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:49,574 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:49,575 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623) ... (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:49,879 - 124437 - src.utils.log - INFO - βœ… Fetched 192 rows - __SPLIT__ 2026-05-25 06:13:49,881 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 235 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_2) - __SPLIT__ 2026-05-25 06:13:50,154 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 235) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:50,733 - 124437 - src.utils.log - INFO - βœ… All 125 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-25 06:13:50,734 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:50,735 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608) ... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:51,030 - 124437 - src.utils.log - INFO - βœ… Fetched 249 rows - __SPLIT__ 2026-05-25 06:13:51,031 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 249 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:51,304 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 249) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-25 06:13:52,585 - 124437 - src.utils.log - INFO - βœ… All 235 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:52,585 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:52,585 - 124437 - src.utils.log - INFO - βœ… Temp tables populated for route: 2434.0 - __SPLIT__ 2026-05-25 06:13:52,586 - 124437 - src.utils.log - INFO - βœ… Route 2434.0 generation complete - __SPLIT__ 2026-05-25 06:13:52,586 - 124437 - src.utils.log - INFO - βœ… [23/24] Route 2434.0 completed successfully - __SPLIT__ 2026-05-25 06:13:53,392 - 124437 - src.utils.log - INFO - βœ… All 249 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-25 06:13:53,393 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-25 06:13:53,393 - 124437 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-25 06:13:53,393 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:53,393 - 124437 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:13:53,393 - 124437 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608) ... (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:53,656 - 124437 - src.utils.log - INFO - βœ… Fetched 249 rows - __SPLIT__ 2026-05-25 06:13:53,657 - 124437 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 373 rows in batches of 25000 (Thread: ThreadPoolExecutor-38_3) - __SPLIT__ 2026-05-25 06:13:53,933 - 124437 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 373) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-25 06:13:58,873 - 124437 - src.utils.log - INFO - βœ… All 373 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-25 06:13:58,874 - 124437 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-25 06:13:58,874 - 124437 - src.utils.log - INFO - βœ… Temp tables populated for route: 2454.0 - __SPLIT__ 2026-05-25 06:13:58,874 - 124437 - src.utils.log - INFO - βœ… Route 2454.0 generation complete - __SPLIT__ 2026-05-25 06:13:58,875 - 124437 - src.utils.log - INFO - βœ… [24/24] Route 2454.0 completed successfully - __SPLIT__ 2026-05-25 06:13:58,876 - 124437 - src.utils.log - INFO - ═══════════════════════════════════════ πŸ“Š PARALLEL PROCESSING SUMMARY ═══════════════════════════════════════ Total routes: 24 βœ… Successful: 24 ❌ Failed: 0 Success rate: 100.0% ═══════════════════════════════════════ - __SPLIT__ 2026-05-25 06:13:58,876 - 124437 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:13:59,144 - 124437 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:13:59,144 - 124437 - src.utils.log - INFO - ⏱️ Total time: 69.33s | Status: Completed - __SPLIT__ 2026-05-25 06:13:59,144 - 124437 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:13:59,414 - 124437 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:13:59,414 - 124437 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-25 02:13:59.414' WHERE GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:13:59,693 - 124437 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:13:59,693 - 124437 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-25 06:32:41,946 - [124437] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=43135 company_id=133 project_id=[124437] publish_all=True - __SPLIT__ 2026-05-25 06:32:41,947 - [124437] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=43135 company_id=133 project_id=[124437] publish_all=True - __SPLIT__ 2026-05-25 06:32:41,947 - [124437] - src.utils.log - INFO - Parallel Work order publish in progress for GenerateWorkOrderHistoryId: [124437] - __SPLIT__ 2026-05-25 06:32:41,948 - [124437] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-25 06:32:41,949 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:44,006 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:44,007 - [124437] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-25 06:32:44,007 - [124437] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-25 06:32:44,008 - [124437] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-25 06:32:44,008 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:45,867 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:32:45,867 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.GenerateWorkOrderHistoryId = 124437... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:46,796 - [124437] - src.utils.log - INFO - βœ… Fetched 460 rows - __SPLIT__ 2026-05-25 06:32:46,797 - [124437] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-25 06:32:46,798 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:47,082 - [124437] - src.utils.log - INFO - βœ… Fetched 56 rows - __SPLIT__ 2026-05-25 06:32:47,082 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:47,364 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:32:47,364 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:47,651 - [124437] - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 06:32:47,661 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:47,928 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:47,928 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:48,197 - [124437] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:32:48,197 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:48,461 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:48,462 - [124437] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 460 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:48,733 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:48,734 - [124437] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 460 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:49,005 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:49,010 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:49,277 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:49,277 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:49,569 - [124437] - src.utils.log - INFO - βœ… Fetched 56 rows - __SPLIT__ 2026-05-25 06:32:49,888 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:50,153 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:32:50,154 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo in ('14837', '14829', '14809', '14814', '0804', '14805', '14808', '0805', '14842', '14832', '0803', '14813', '14830', 'Nupur_S', '14838', '14849', '14420', '14828', '14815', '14833', '14821', '14831', '14843', '14847') and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:50,425 - [124437] - src.utils.log - INFO - βœ… Fetched 24 rows - __SPLIT__ 2026-05-25 06:32:50,428 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1420243', '1420244', '1420245', '1420246', '1420247', '1420248', '1420249', '1420250', '1420251', '1420252', '1420253', '1420254', '1420255', '1420256', '1420257', '1420258', '1420259', '1420260', '1420261', '1420262', '1420263', '1420264', '1420265', '1420266', '1420267', '1420268', '1420269', '1420270', '1420271', '1420272', '1420273', '1420274', '1420275', '1420276', '1420277', '1420278', '1420279', '1420280', '1420281', '1420282', '1420283', '1420284', '1420285', '1420286', '1420287', '1420288', '1420289', '1420290', '1420291', '1420292', '1420293', '1420294', '1420295', '1420296', '1420297', '1420298', '1420299', '1420300', '1420301', '1420302', '1420303', '1420304', '1420305', '1420306', '1420307', '1420308', '1420309', '1420310', '1420311', '1420312', '1420313', '1420314', '1420315', '1420316', '1420317', '1420318', '1420319', '1420320', '1420321', '1420322', '1420323', '1420324', '1420325', '1420326', '1420327', '1420328', '1420329', '1420330', '1420331', '1420332', '1420333', '1420334', '1420335', '1420336', '1420337', '1420338', '1420339', '1420340', '1420341', '1420342', '1420343', '1420344', '1420345', '1420346', '1420347', '1420348', '1420349', '1420350', '1420351', '1420352', '1420353', '1420354', '1420355', '1420356', '1420357', '1420358', '1420359', '1420360', '1420361', '1420362', '1420363', '1420364', '1420365', '1420366', '1420367', '1420368', '1420369', '1420370', '1420371', '1420372', '1420373', '1420374', '1420375', '1420376', '1420377', '1420378', '1420379', '1420380', '1420381', '1420382', '1420383', '1420384', '1420385', '1420386', '1420387', '1420388', '1420389', '1420390', '1420391', '1420392', '1420393', '1420394', '1420395', '1420396', '1420397', '1420398', '1420399', '1420400', '1420401', '1420402', '1420403', '1420404', '1420405', '1420406', '1420407', '1420408', '1420409', '1420410', '1420411', '1420412', '1420413', '1420414', '1420415', '1420416', '1420417', '1420418', '1420419', '1420420', '1420421', '1420422', '1420423', '1420424', '1420425', '1420426', '1420427', '1420428', '1420429', '1420430', '1420431', '1420432', '1420433', '1420434', '1420435', '1420436', '1420437', '1420438', '1420439', '1420440', '1420441', '1420442', '1420443', '1420444', '1420445', '1420446', '1420447', '1420448', '1420449', '1420450', '1420451', '1420452', '1420453', '1420454', '1420455', '1420456', '1420457', '1420458', '1420459', '1420460', '1420461', '1420462', '1420463', '1420464', '1420465', '1420466', '1420467', '1420468', '1420469', '1420470', '1420471', '1420472', '1420473', '1420474', '1420475', '1420476', '1420477', '1420478', '1420479', '1420480', '1420481', '1420482', '1420483', '1420484', '1420485', '1420486', '1420487', '1420488', '1420489', '1420490', '1420491', '1420492', '1420493', '1420494', '1420495', '1420496', '1420497', '1420498', '1420499', '1420500', '1420501', '1420502', '1420503', '1420504', '1420505', '1420506', '1420507', '1420508', '1420509', '1420510', '1420511', '1420512', '1420513', '1420514', '1420515', '1420516', '1420517', '1420518', '1420519', '1420520', '1420521', '1420522', '1420523', '1420524', '1420525', '1420526', '1420527', '1420528', '1420529', '1420530', '1420531', '1420532', '1420533', '1420534', '1420535', '1420536', '1420537', '1420538', '1420539', '1420540', '1420541', '1420542', '1420543', '1420544', '1420545', '1420546', '1420547', '1420548', '1420549', '1420550', '1420551', '1420552', '1420553', '1420554', '1420555', '1420556', '1420557', '1420558', '1420559', '1420560', '1420561', '1420562', '1420563', '1420564', '1420565', '1420566', '1420567', '1420568', '1420569', '1420570', '1420571', '1420572', '1420573', '1420574', '1420575', '1420576', '1420577', '1420578', '1420579', '1420580', '1420581', '1420582', '1420583', '1420584', '1420585', '1420586', '1420587', '1420588', '1420589', '1420590', '1420591', '1420592', '1420593', '1420594', '1420595', '1420596', '1420597', '1420598', '1420599', '1420600', '1420601', '1420602', '1420603', '1420604', '1420605', '1420606', '1420607', '1420608', '1420609', '1420610', '1420611', '1420612', '1420613', '1420614', '1420615', '1420616', '1420617', '1420618', '1420619', '1420620', '1420621', '1420622', '1420623', '1420624', '1420625', '1420626', '1420627', '1420628', '1420629', '1420630', '1420631', '1420632', '1420633', '1420634', '1420635', '1420636', '1420637', '1420638', '1420639', '1420640', '1420641', '1420642', '1420643', '1420644', '1420645', '1420646', '1420647', '1420648', '1420649', '1420650', '1420651', '1420652', '1420653', '1420654', '1420655', '1420656', '1420657', '1420658', '1420659', '1420660', '1420661', '1420662', '1420663', '1420664', '1420665', '1420666', '1420667', '1420668', '1420669', '1420670', '1420671', '1420672', '1420673', '1420674', '1420675', '1420676', '1420677', '1420678', '1420679', '1420680', '1420681', '1420682', '1420683', '1420684', '1420685', '1420686', '1420687', '1420688', '1420689', '1420690', '1420691', '1420692', '1420693', '1420694', '1420695', '1420696', '1420697', '1420698', '1420699', '1420700', '1420701', '1420702') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:50,763 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:32:50,764 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 460 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:32:51,232 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 460) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-25 06:33:15,524 - [124437] - src.utils.log - INFO - βœ… All 460 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 06:33:15,656 - [124437] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 06:33:15,657 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 133 AND ServiceSetupId in (150303, 150265);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:15,931 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:33:15,932 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1420243', '1420244', '1420245', '1420246', '1420247', '1420248', '1420249', '1420250', '1420251', '1420252', '1420253', '1420254', '1420255', '1420256', '1420257', '1420258', '1420259', '1420260', '1420261', '1420262', '1420263', '1420264', '1420265', '1420266', '1420267', '1420268', '1420269', '1420270', '1420271', '1420272', '1420273', '1420274', '1420275', '1420276', '1420277', '1420278', '1420279', '1420280', '1420281', '1420282', '1420283', '1420284', '1420285', '1420286', '1420287', '1420288', '1420289', '1420290', '1420291', '1420292', '1420293', '1420294', '1420295', '1420296', '1420297', '1420298', '1420299', '1420300', '1420301', '1420302', '1420303', '1420304', '1420305', '1420306', '1420307', '1420308', '1420309', '1420310', '1420311', '1420312', '1420313', '1420314', '1420315', '1420316', '1420317', '1420318', '1420319', '1420320', '1420321', '1420322', '1420323', '1420324', '1420325', '1420326', '1420327', '1420328', '1420329', '1420330', '1420331', '1420332', '1420333', '1420334', '1420335', '1420336', '1420337', '1420338', '1420339', '1420340', '1420341', '1420342', '1420343', '1420344', '1420345', '1420346', '1420347', '1420348', '1420349', '1420350', '1420351', '1420352', '1420353', '1420354', '1420355', '1420356', '1420357', '1420358', '1420359', '1420360', '1420361', '1420362', '1420363', '1420364', '1420365', '1420366', '1420367', '1420368', '1420369', '1420370', '1420371', '1420372', '1420373', '1420374', '1420375', '1420376', '1420377', '1420378', '1420379', '1420380', '1420381', '1420382', '1420383', '1420384', '1420385', '1420386', '1420387', '1420388', '1420389', '1420390', '1420391', '1420392', '1420393', '1420394', '1420395', '1420396', '1420397', '1420398', '1420399', '1420400', '1420401', '1420402', '1420403', '1420404', '1420405', '1420406', '1420407', '1420408', '1420409', '1420410', '1420411', '1420412', '1420413', '1420414', '1420415', '1420416', '1420417', '1420418', '1420419', '1420420', '1420421', '1420422', '1420423', '1420424', '1420425', '1420426', '1420427', '1420428', '1420429', '1420430', '1420431', '1420432', '1420433', '1420434', '1420435', '1420436', '1420437', '1420438', '1420439', '1420440', '1420441', '1420442', '1420443', '1420444', '1420445', '1420446', '1420447', '1420448', '1420449', '1420450', '1420451', '1420452', '1420453', '1420454', '1420455', '1420456', '1420457', '1420458', '1420459', '1420460', '1420461', '1420462', '1420463', '1420464', '1420465', '1420466', '1420467', '1420468', '1420469', '1420470', '1420471', '1420472', '1420473', '1420474', '1420475', '1420476', '1420477', '1420478', '1420479', '1420480', '1420481', '1420482', '1420483', '1420484', '1420485', '1420486', '1420487', '1420488', '1420489', '1420490', '1420491', '1420492', '1420493', '1420494', '1420495', '1420496', '1420497', '1420498', '1420499', '1420500', '1420501', '1420502', '1420503', '1420504', '1420505', '1420506', '1420507', '1420508', '1420509', '1420510', '1420511', '1420512', '1420513', '1420514', '1420515', '1420516', '1420517', '1420518', '1420519', '1420520', '1420521', '1420522', '1420523', '1420524', '1420525', '1420526', '1420527', '1420528', '1420529', '1420530', '1420531', '1420532', '1420533', '1420534', '1420535', '1420536', '1420537', '1420538', '1420539', '1420540', '1420541', '1420542', '1420543', '1420544', '1420545', '1420546', '1420547', '1420548', '1420549', '1420550', '1420551', '1420552', '1420553', '1420554', '1420555', '1420556', '1420557', '1420558', '1420559', '1420560', '1420561', '1420562', '1420563', '1420564', '1420565', '1420566', '1420567', '1420568', '1420569', '1420570', '1420571', '1420572', '1420573', '1420574', '1420575', '1420576', '1420577', '1420578', '1420579', '1420580', '1420581', '1420582', '1420583', '1420584', '1420585', '1420586', '1420587', '1420588', '1420589', '1420590', '1420591', '1420592', '1420593', '1420594', '1420595', '1420596', '1420597', '1420598', '1420599', '1420600', '1420601', '1420602', '1420603', '1420604', '1420605', '1420606', '1420607', '1420608', '1420609', '1420610', '1420611', '1420612', '1420613', '1420614', '1420615', '1420616', '1420617', '1420618', '1420619', '1420620', '1420621', '1420622', '1420623', '1420624', '1420625', '1420626', '1420627', '1420628', '1420629', '1420630', '1420631', '1420632', '1420633', '1420634', '1420635', '1420636', '1420637', '1420638', '1420639', '1420640', '1420641', '1420642', '1420643', '1420644', '1420645', '1420646', '1420647', '1420648', '1420649', '1420650', '1420651', '1420652', '1420653', '1420654', '1420655', '1420656', '1420657', '1420658', '1420659', '1420660', '1420661', '1420662', '1420663', '1420664', '1420665', '1420666', '1420667', '1420668', '1420669', '1420670', '1420671', '1420672', '1420673', '1420674', '1420675', '1420676', '1420677', '1420678', '1420679', '1420680', '1420681', '1420682', '1420683', '1420684', '1420685', '1420686', '1420687', '1420688', '1420689', '1420690', '1420691', '1420692', '1420693', '1420694', '1420695', '1420696', '1420697', '1420698', '1420699', '1420700', '1420701', '1420702') AND wo.AccountNumber IN ('14420', '14832', '14833', '14830', 'Nupur_S', '14831', '14828', '14842', '14847', '14843', '14808', '14809', '14815', '0804', '0805', '14829', '14814', '14837', '14838', '14849', '0803', '14813', '14821', '14805') AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-39_0) - __SPLIT__ 2026-05-25 06:33:16,269 - [124437] - src.utils.log - INFO - βœ… Fetched 460 rows - __SPLIT__ 2026-05-25 06:33:16,270 - [124437] - src.utils.log - INFO - Parallel fetching temp table records - __SPLIT__ 2026-05-25 06:33:16,271 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-40_0) - __SPLIT__ 2026-05-25 06:33:16,271 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-40_1) - __SPLIT__ 2026-05-25 06:33:16,272 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-40_2) - __SPLIT__ 2026-05-25 06:33:16,273 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-40_3) - __SPLIT__ 2026-05-25 06:33:16,274 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-40_4) - __SPLIT__ 2026-05-25 06:33:16,274 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-40_5) - __SPLIT__ 2026-05-25 06:33:16,275 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800) and woag.RefType = 'TempWorkorder';... (Thread: ThreadPoolExecutor-40_6) - __SPLIT__ 2026-05-25 06:33:16,276 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800);... (Thread: ThreadPoolExecutor-40_7) - __SPLIT__ 2026-05-25 06:33:16,731 - [124437] - src.utils.log - INFO - βœ… Fetched 628 rows - __SPLIT__ 2026-05-25 06:33:17,392 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:17,400 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:17,463 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:17,472 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:17,512 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:17,536 - [124437] - src.utils.log - INFO - βœ… Fetched 135 rows - __SPLIT__ 2026-05-25 06:33:17,650 - [124437] - src.utils.log - INFO - βœ… Fetched 466 rows - __SPLIT__ 2026-05-25 06:33:17,654 - [124437] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-25 06:33:17,668 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:17,935 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:33:17,939 - [124437] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId IN (1147, 1105, 1150, 1091, 919, 1142, 894, 924) AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:18,203 - [124437] - src.utils.log - INFO - βœ… Fetched 8 rows - __SPLIT__ 2026-05-25 06:33:18,205 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:18,475 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:33:18,479 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:33:18,479 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 460 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:18,808 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 460) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-25 06:33:29,074 - [124437] - src.utils.log - INFO - βœ… All 460 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-25 06:33:29,075 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId IN (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND WorkOrderNo IN ('2892107', '6095758', '810383', '3040285', '4139396', '1938427', '1021624', '7315334', '1637188', '6999159', '7851063', '7572393', '4427108', '3682977', '3584857', '7136937', '7414285', '4555407', '604254', '5726648', '8479175', '1807605', '5837924', '8599164', '9575223', '3282352', '4146630', '6917080', '5563531', '3627439', '9426857', '1653094', '8994842', '7852836', '1362222', '4721725', '2855655', '4440644', '3460872', '6448816', '3937355', '8320277', '8057183', '4498559', '5506328', '5537676', '7195602', '3508260', '1551670', '4937914', '2249442', '9162036', '8684590', '3800942', '6505283', '8626957', '7403527', '2058999', '6065593', '8688758', '4477330', '8104814', '3886891', '3049165', '7896811', '7437771', '6504349', '5539247', '2430606', '2995049', '9318777', '8668343', '3103263', '6751345', '8042059', '1426424', '5581500', '7998806', '3944713', '3490161', '8410636', '1978805', '9319412', '9196619', '8360595', '8227635', '1602940', '5542043', '3980650', '6854622', '9191627', '9086832', '3371849', '7021999', '8540171', '4950455', '7698436', '2428747', '5986370', '2336063', '4789046', '7830576', '1603641', '7282340', '4429413', '1824616', '2532492', '3767773', '6985389', '5151979', '6194662', '3075958', '8297520', '3367946', '8528066', '5341584', '4583718', '1592246', '5812562', '2111713', '8106125', '4741182', '9293935', '1166080', '3885582', '5752448', '7639730', '8010390', '7052837', '6348721', '2993427', '5987362', '9382217', '9026757', '3891786', '7110413', '1355668', '8997027', '3896554', '4803995', '7401722', '3829094', '9084673', '4120003', '8644697', '8338758', '7405837', '7069051', '4154927', '9911627', '4999941', '8707457', '2519520', '8567911', '4593315', '4739105', '8203790', '4502552', '9657610', '2822411', '4938765', '3836509', '2402554', '7689452', '3900330', '9566764', '5636072', '5607083', '7003531', '2026425', '7541139', '4245421', '6421722', '8790899', '8797696', '3937642', '8787526', '5058611', '7585670', '2974711', '2631507', '9874803', '4729027', '5325816', '8576737', '3307875', '5626830', '2878967', '3542827', '6141770', '5852759', '1339222', '8480413', '2352111', '9218983', '2772635', '8682396', '6331896', '8474441', '6586501', '1087094', '8780068', '3820666', '1409887', '5704005', '9960666', '1393387', '6820338', '8414426', '2303175', '1098080', '9024070', '9727502', '5647166', '8667013', '9068622', '7324721', '6812264', '2214770', '4167753', '9334278', '9152068', '8865750', '4464063', '9770753', '8810116', '1825867', '8184961', '1797233', '3829726', '3410127', '6561680', '6242991', '2446055', '1670381', '7764485', '5256331', '6171015', '2098420', '9810489', '6926530', '3715606', '4501787', '3737821', '1293223', '6340988', '4450131', '9728906', '5950612', '4530878', '7758650', '7222884', '8265423', '1241196', '1092487', '3234941', '9017112', '7926231', '7751952', '6258450', '1795774', '2069561', '6391511', '1813735', '2350366', '4549807', '5171712', '4063617', '1214930', '1290296', '3080241', '2040148', '9518234', '1468031', '8762820', '9588744', '7980701', '9783488', '1126775', '8529413', '2220186', '5415615', '4406730', '8183512', '8820721', '7390773', '6425720', '1553320', '4489353', '2941671', '1919560', '8784919', '1311635', '2075445', '3802733', '8962537', '6249047', '9565700', '8100734', '7084755', '2005950', '7565537', '8771556', '7717085', '1608417', '7386804', '7398937', '3161983', '1206258', '5551466', '2011150', '9619380', '3747378', '9705339', '6265359', '3904339', '6348901', '7534250', '4213098', '6563394', '5917624', '9643012', '2096169', '9026179', '6228697', '2044559', '4275297', '4222289', '2746496', '1832820', '5023692', '9244366', '2961162', '5705235', '4170284', '4733309', '8317756', '8807097', '6494968', '3590202', '2775727', '6219333', '9281657', '4368946', '9152104', '8446742', '8096870', '7277453', '7625958', '9979596', '6750631', '5074817', '8560770', '4381293', '7570255', '9031971', '8198455', '1405052', '5980305', '9046077', '1216114', '2921082', '4044194', '8001206', '9506829', '5947226', '8441481', '1882413', '8458620', '3010330', '1564716', '4651185', '3685859', '7622622', '2235203', '4345775', '3899731', '4116129', '3417655', '9730599', '4808919', '8010926', '5944270', '4968319', '1297034', '3557865', '6146359', '1473015', '2892036', '8197632', '9399239', '6029439', '8455961', '6902894', '5597468', '5876357', '4397672', '5945533', '4819034', '6546697', '8080890', '7340197', '7600862', '8045162', '1869216', '6216337', '5418836', '1987204', '2562091', '3294404', '9952051', '8639169', '7941557', '8906052', '7041584', '5393802', '2742433', '5836947', '8896003', '2331142', '2201999', '8471639', '1434320', '2369531', '7201747', '3742606', '8131520', '7627633', '5275777', '9966331', '4634290', '9721799', '4194947', '6720391', '9533503', '2866449', '7500540', '4295828', '1781595', '1716104', '7935304', '6594615', '7877401', '7606080', '9993678', '5205275', '4263322', '3514519', '8227339', '2009200', '3447335', '5578776', '9205053', '4085783', '6306962', '3727580', '3713253', '4453322', '7980190', '5369809') AND GenerateWorkOrderHistoryId = 124437;... (Thread: ThreadPoolExecutor-41_0) - __SPLIT__ 2026-05-25 06:33:29,464 - [124437] - src.utils.log - INFO - βœ… Fetched 460 rows - __SPLIT__ 2026-05-25 06:33:29,465 - [124437] - src.utils.log - INFO - 🏁 Final merged rows: 460 - __SPLIT__ 2026-05-25 06:33:29,474 - [124437] - src.utils.log - INFO - Parallel Insertion in work order tables begin - __SPLIT__ 2026-05-25 06:33:29,474 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:33:29,474 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:33:29,475 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 135 rows in batches of 25000 (Thread: ThreadPoolExecutor-42_0) - __SPLIT__ 2026-05-25 06:33:29,475 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-25 06:33:29,475 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-25 06:33:29,475 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:33:29,476 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:33:29,476 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 466 rows in batches of 25000 (Thread: ThreadPoolExecutor-42_3) - __SPLIT__ 2026-05-25 06:33:29,476 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-25 06:33:29,476 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 628 rows in batches of 25000 (Thread: ThreadPoolExecutor-42_1) - __SPLIT__ 2026-05-25 06:33:29,476 - [124437] - src.utils.log - INFO - [OK] Lead Notes completed. - __SPLIT__ 2026-05-25 06:33:29,476 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:33:29,477 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 628 rows in batches of 25000 (Thread: ThreadPoolExecutor-42_2) - __SPLIT__ 2026-05-25 06:33:29,477 - [124437] - src.utils.log - INFO - [OK] Sales Person Commission completed. - __SPLIT__ 2026-05-25 06:33:29,477 - [124437] - src.utils.log - INFO - [OK] Adjustment completed. - __SPLIT__ 2026-05-25 06:33:29,477 - [124437] - src.utils.log - INFO - [OK] Source Mapping completed. - __SPLIT__ 2026-05-25 06:33:29,789 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 628) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-25 06:33:29,803 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 628) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-25 06:33:29,813 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 135) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-25 06:33:29,822 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 466) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-25 06:33:32,504 - [124437] - src.utils.log - INFO - βœ… All 135 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 06:33:32,504 - [124437] - src.utils.log - INFO - [OK] Discount Applied completed. - __SPLIT__ 2026-05-25 06:33:33,396 - [124437] - src.utils.log - INFO - βœ… All 466 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-25 06:33:33,397 - [124437] - src.utils.log - INFO - [OK] Crew completed. - __SPLIT__ 2026-05-25 06:33:35,157 - [124437] - src.utils.log - INFO - βœ… All 628 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-25 06:33:35,157 - [124437] - src.utils.log - INFO - [OK] Publish Services completed. - __SPLIT__ 2026-05-25 06:33:35,638 - [124437] - src.utils.log - INFO - βœ… All 628 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-25 06:33:35,638 - [124437] - src.utils.log - INFO - [OK] Services completed. - __SPLIT__ 2026-05-25 06:33:35,639 - [124437] - src.utils.log - INFO - All publish tasks completed successfully. - __SPLIT__ 2026-05-25 06:33:35,639 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:35,899 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:33:35,900 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:36,168 - [124437] - src.utils.log - INFO - βœ… Fetched 56 rows - __SPLIT__ 2026-05-25 06:33:36,177 - [124437] - src.utils.log - INFO - Size of Transaction: 454 - __SPLIT__ 2026-05-25 06:33:36,178 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 454 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:36,625 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 454) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-25 06:33:39,459 - [124437] - src.utils.log - INFO - βœ… All 454 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 06:33:39,594 - [124437] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 06:33:39,595 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914, 12345678915, 12345678916, 12345678917, 12345678918, 12345678919, 12345678920, 12345678921, 12345678922, 12345678923, 12345678924, 12345678925, 12345678926, 12345678927, 12345678928, 12345678929, 12345678930, 12345678931, 12345678932, 12345678933, 12345678934, 12345678935, 12345678936, 12345678937, 12345678938, 12345678939, 12345678940, 12345678941, 12345678942, 12345678943, 12345678944, 12345678945, 12345678946, 12345678947, 12345678948, 12345678949, 12345678950, 12345678951, 12345678952, 12345678953, 12345678954, 12345678955, 12345678956, 12345678957, 12345678958, 12345678959, 12345678960, 12345678961, 12345678962, 12345678963, 12345678964, 12345678965, 12345678966, 12345678967, 12345678968, 12345678969, 12345678970, 12345678971, 12345678972, 12345678973, 12345678974, 12345678975, 12345678976, 12345678977, 12345678978, 12345678979, 12345678980, 12345678981, 12345678982, 12345678983, 12345678984, 12345678985, 12345678986, 12345678987, 12345678988, 12345678989, 12345678990, 12345678991, 12345678992, 12345678993, 12345678994, 12345678995, 12345678996, 12345678997, 12345678998, 12345678999, 12345679000, 12345679001, 12345679002, 12345679003, 12345679004, 12345679005, 12345679006, 12345679007, 12345679008, 12345679009, 12345679010, 12345679011, 12345679012, 12345679013, 12345679014, 12345679015, 12345679016, 12345679017, 12345679018, 12345679019, 12345679020, 12345679021, 12345679022, 12345679023, 12345679024, 12345679025, 12345679026, 12345679027, 12345679028, 12345679029, 12345679030, 12345679031, 12345679032, 12345679033, 12345679034, 12345679035, 12345679036, 12345679037, 12345679038, 12345679039, 12345679040, 12345679041, 12345679042, 12345679043, 12345679044, 12345679045, 12345679046, 12345679047, 12345679048, 12345679049, 12345679050, 12345679051, 12345679052, 12345679053, 12345679054, 12345679055, 12345679056, 12345679057, 12345679058, 12345679059, 12345679060, 12345679061, 12345679062, 12345679063, 12345679064, 12345679065, 12345679066, 12345679067, 12345679068, 12345679069, 12345679070, 12345679071, 12345679072, 12345679073, 12345679074, 12345679075, 12345679076, 12345679077, 12345679078, 12345679079, 12345679080, 12345679081, 12345679082, 12345679083, 12345679084, 12345679085, 12345679086, 12345679087, 12345679088, 12345679089, 12345679090, 12345679091, 12345679092, 12345679093, 12345679094, 12345679095, 12345679096, 12345679097, 12345679098, 12345679099, 12345679100, 12345679101, 12345679102, 12345679103, 12345679104, 12345679105, 12345679106, 12345679107, 12345679108, 12345679109, 12345679110, 12345679111, 12345679112, 12345679113, 12345679114, 12345679115, 12345679116, 12345679117, 12345679118, 12345679119, 12345679120, 12345679121, 12345679122, 12345679123, 12345679124, 12345679125, 12345679126, 12345679127, 12345679128, 12345679129, 12345679130, 12345679131, 12345679132, 12345679133, 12345679134, 12345679135, 12345679136, 12345679137, 12345679138, 12345679139, 12345679140, 12345679141, 12345679142, 12345679143, 12345679144, 12345679145, 12345679146, 12345679147, 12345679148, 12345679149, 12345679150, 12345679151, 12345679152, 12345679153, 12345679154, 12345679155, 12345679156, 12345679157, 12345679158, 12345679159, 12345679160, 12345679161, 12345679162, 12345679163, 12345679164, 12345679165, 12345679166, 12345679167, 12345679168, 12345679169, 12345679170, 12345679171, 12345679172, 12345679173, 12345679174, 12345679175, 12345679176, 12345679177, 12345679178, 12345679179, 12345679180, 12345679181, 12345679182, 12345679183, 12345679184, 12345679185, 12345679186, 12345679187, 12345679188, 12345679189, 12345679190, 12345679191, 12345679192, 12345679193, 12345679194, 12345679195, 12345679196, 12345679197, 12345679198, 12345679199, 12345679200, 12345679201, 12345679202, 12345679203, 12345679204, 12345679205, 12345679206, 12345679207, 12345679208, 12345679209, 12345679210, 12345679211, 12345679212, 12345679213, 12345679214, 12345679215, 12345679216, 12345679217, 12345679218, 12345679219, 12345679220, 12345679221, 12345679222, 12345679223, 12345679224, 12345679225, 12345679226, 12345679227, 12345679228, 12345679229, 12345679230, 12345679231, 12345679232, 12345679233, 12345679234, 12345679235, 12345679236, 12345679237, 12345679238, 12345679239, 12345679240, 12345679241, 12345679242, 12345679243, 12345679244, 12345679245, 12345679246, 12345679247, 12345679248, 12345679249, 12345679250, 12345679251, 12345679252, 12345679253, 12345679254, 12345679255, 12345679256, 12345679257, 12345679258, 12345679259, 12345679260, 12345679261, 12345679262, 12345679263, 12345679264, 12345679265, 12345679266, 12345679267, 12345679268, 12345679269, 12345679270, 12345679271, 12345679272, 12345679273, 12345679274, 12345679275, 12345679276, 12345679277, 12345679278, 12345679279, 12345679280, 12345679281, 12345679282, 12345679283, 12345679284, 12345679285, 12345679286, 12345679287, 12345679288, 12345679289, 12345679290, 12345679291, 12345679292, 12345679293, 12345679294, 12345679295, 12345679296, 12345679297, 12345679298, 12345679299, 12345679300, 12345679301, 12345679302, 12345679303, 12345679304, 12345679305, 12345679306, 12345679307, 12345679308, 12345679309, 12345679310, 12345679311, 12345679312, 12345679313, 12345679314, 12345679315, 12345679316, 12345679317, 12345679318, 12345679319, 12345679320, 12345679321, 12345679322, 12345679323, 12345679324, 12345679325, 12345679326, 12345679327, 12345679328, 12345679329, 12345679330, 12345679331, 12345679332, 12345679333, 12345679334, 12345679335, 12345679336, 12345679337, 12345679338, 12345679339, 12345679340, 12345679341, 12345679342, 12345679343, 12345679344, 12345679345, 12345679346, 12345679347, 12345679348, 12345679349, 12345679350, 12345679351, 12345679352, 12345679353, 12345679354, 12345679355, 12345679356, 12345679357, 12345679358, 12345679359, 12345679360, 12345679361, 12345679362, 12345679363) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-25 02:33:36.172';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:46,440 - [124437] - src.utils.log - INFO - βœ… Fetched 454 rows - __SPLIT__ 2026-05-25 06:33:46,443 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266, 150277, 150278, 150279, 150286, 150292, 150303, 150308, 150309, 150310, 150311, 150312, 150313, 150314, 150316, 150318, 150319, 150320, 150321, 150322, 150323, 150324, 150325, 150327, 150328, 150329, 150332, 150333);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:46,723 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:46,742 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914,12345678915,12345678916,12345678917,12345678918,12345678919,12345678920,12345678921,12345678922,12345678923,12345678924,12345678925,12345678926,12345678927,12345678928,12345678929,12345678930,12345678931,12345678932,12345678933,12345678934,12345678935,12345678936,12345678937,12345678938,12345678939,12345678940,12345678941,12345678942,12345678943,12345678944,12345678945,12345678946,12345678947,12345678948,12345678949,12345678950,12345678951,12345678952,12345678953,12345678954,12345678955,12345678956,12345678957,12345678958,12345678959,12345678960,12345678961,12345678962,12345678963,12345678964,12345678965,12345678966,12345678967,12345678968,12345678969,12345678970,12345678971,12345678972,12345678973,12345678974,12345678975,12345678976,12345678977,12345678978,12345678979,12345678980,12345678981,12345678982,12345678983,12345678984,12345678985,12345678986,12345678987,12345678988,12345678989,12345678990,12345678991,12345678992,12345678993,12345678994,12345678995,12345678996,12345678997,12345678998,12345678999,12345679000,12345679001,12345679002,12345679003,12345679004,12345679005,12345679006,12345679007,12345679008,12345679009,12345679010,12345679011,12345679012,12345679013,12345679014,12345679015,12345679016,12345679017,12345679018,12345679019,12345679020,12345679021,12345679022,12345679023,12345679024,12345679025,12345679026,12345679027,12345679028,12345679029,12345679030,12345679031,12345679032,12345679033,12345679034,12345679035,12345679036,12345679037,12345679038,12345679039,12345679040,12345679041,12345679042,12345679043,12345679044,12345679045,12345679046,12345679047,12345679048,12345679049,12345679050,12345679051,12345679052,12345679053,12345679054,12345679055,12345679056,12345679057,12345679058,12345679059,12345679060,12345679061,12345679062,12345679063,12345679064,12345679065,12345679066,12345679067,12345679068,12345679069,12345679070,12345679071,12345679072,12345679073,12345679074,12345679075,12345679076,12345679077,12345679078,12345679079,12345679080,12345679081,12345679082,12345679083,12345679084,12345679085,12345679086,12345679087,12345679088,12345679089,12345679090,12345679091,12345679092,12345679093,12345679094,12345679095,12345679096,12345679097,12345679098,12345679099,12345679100,12345679101,12345679102,12345679103,12345679104,12345679105,12345679106,12345679107,12345679108,12345679109,12345679110,12345679111,12345679112,12345679113,12345679114,12345679115,12345679116,12345679117,12345679118,12345679119,12345679120,12345679121,12345679122,12345679123,12345679124,12345679125,12345679126,12345679127,12345679128,12345679129,12345679130,12345679131,12345679132,12345679133,12345679134,12345679135,12345679136,12345679137,12345679138,12345679139,12345679140,12345679141,12345679142,12345679143,12345679144,12345679145,12345679146,12345679147,12345679148,12345679149,12345679150,12345679151,12345679152,12345679153,12345679154,12345679155,12345679156,12345679157,12345679158,12345679159,12345679160,12345679161,12345679162,12345679163,12345679164,12345679165,12345679166,12345679167,12345679168,12345679169,12345679170,12345679171,12345679172,12345679173,12345679174,12345679175,12345679176,12345679177,12345679178,12345679179,12345679180,12345679181,12345679182,12345679183,12345679184,12345679185,12345679186,12345679187,12345679188,12345679189,12345679190,12345679191,12345679192,12345679193,12345679194,12345679195,12345679196,12345679197,12345679198,12345679199,12345679200,12345679201,12345679202,12345679203,12345679204,12345679205,12345679206,12345679207,12345679208,12345679209,12345679210,12345679211,12345679212,12345679213,12345679214,12345679215,12345679216,12345679217,12345679218,12345679219,12345679220,12345679221,12345679222,12345679223,12345679224,12345679225,12345679226,12345679227,12345679228,12345679229,12345679230,12345679231,12345679232,12345679233,12345679234,12345679235,12345679236,12345679237,12345679238,12345679239,12345679240,12345679241,12345679242,12345679243,12345679244,12345679245,12345679246,12345679247,12345679248,12345679249,12345679250,12345679251,12345679252,12345679253,12345679254,12345679255,12345679256,12345679257,12345679258,12345679259,12345679260,12345679261,12345679262,12345679263,12345679264,12345679265,12345679266,12345679267,12345679268,12345679269,12345679270,12345679271,12345679272,12345679273,12345679274,12345679275,12345679276,12345679277,12345679278,12345679279,12345679280,12345679281,12345679282,12345679283,12345679284,12345679285,12345679286,12345679287,12345679288,12345679289,12345679290,12345679291,12345679292,12345679293,12345679294,12345679295,12345679296,12345679297,12345679298,12345679299,12345679300,12345679301,12345679302,12345679303,12345679304,12345679305,12345679306,12345679307,12345679308,12345679309,12345679310,12345679311,12345679312,12345679313,12345679314,12345679315,12345679316,12345679317,12345679318,12345679319,12345679320,12345679321,12345679322,12345679323,12345679324,12345679325,12345679326,12345679327,12345679328,12345679329,12345679330,12345679331,12345679332,12345679333,12345679334,12345679335,12345679336,12345679337,12345679338,12345679339,12345679340,12345679341,12345679342,12345679343,12345679344,12345679345,12345679346,12345679347,12345679348,12345679349,12345679350,12345679351,12345679352,12345679353,12345679354,12345679355,12345679356,12345679357,12345679358,12345679359,12345679360,12345679361,12345679362,12345679363) AND CreatedDate = '2026-05-25 02:33:36.172'; ... (Thread: ThreadPoolExecutor-43_0) - __SPLIT__ 2026-05-25 06:33:47,303 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:33:47,310 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:33:47,310 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 454 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:47,623 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 454) into Billing.Invoice - __SPLIT__ 2026-05-25 06:33:51,715 - [124437] - src.utils.log - INFO - βœ… All 454 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-25 06:33:51,716 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1420597', '1420286', '1420289', '1420516', '1420601', '1420299', '1420302', '1420303', '1420304', '1420306', '1420308', '1420345', '1420344', '1420343', '1420342', '1420341', '1420340', '1420310', '1420305', '1420307', '1420309', '1420592', '1420593', '1420595', '1420591', '1420261', '1420607', '1420587', '1420252', '1420257', '1420245', '1420255', '1420254', '1420251', '1420249', '1420247', '1420246', '1420258', '1420256', '1420250', '1420248', '1420617', '1420614', '1420581', '1420577', '1420567', '1420564', '1420558', '1420550', '1420545', '1420540', '1420509', '1420503', '1420496', '1420490', '1420482', '1420478', '1420472', '1420468', '1420433', '1420428', '1420425', '1420416', '1420411', '1420383', '1420375', '1420367', '1420365', '1420334', '1420325', '1420322', '1420313', '1420260', '1420406', '1420514', '1420408', '1420619', '1420585', '1420584', '1420573', '1420568', '1420566', '1420560', '1420551', '1420543', '1420542', '1420508', '1420501', '1420495', '1420492', '1420485', '1420477', '1420475', '1420469', '1420462', '1420432', '1420423', '1420418', '1420412', '1420379', '1420372', '1420370', '1420361', '1420330', '1420327', '1420320', '1420314', '1420243', '1420620', '1420612', '1420580', '1420574', '1420570', '1420562', '1420559', '1420552', '1420544', '1420538', '1420506', '1420502', '1420499', '1420491', '1420484', '1420480', '1420470', '1420464', '1420434', '1420431', '1420426', '1420415', '1420413', '1420378', '1420377', '1420371', '1420362', '1420329', '1420328', '1420318', '1420315', '1420621', '1420613', '1420579', '1420575', '1420569', '1420563', '1420556', '1420549', '1420548', '1420539', '1420507', '1420500', '1420498', '1420493', '1420486', '1420479', '1420474', '1420467', '1420461', '1420429', '1420424', '1420420', '1420384', '1420381', '1420376', '1420369', '1420364', '1420332', '1420324', '1420317', '1420312', '1420648', '1420646', '1420640', '1420608', '1420637', '1420590', '1420535', '1420528', '1420526', '1420521', '1420517', '1420458', '1420455', '1420446', '1420443', '1420437', '1420404', '1420399', '1420395', '1420390', '1420391', '1420356', '1420351', '1420298', '1420295', '1420292', '1420282', '1420280', '1420275', '1420270', '1420262', '1420652', '1420649', '1420641', '1420636', '1420606', '1420599', '1420533', '1420532', '1420524', '1420530', '1420513', '1420460', '1420456', '1420449', '1420445', '1420436', '1420402', '1420397', '1420393', '1420407', '1420359', '1420355', '1420349', '1420301', '1420293', '1420290', '1420283', '1420278', '1420272', '1420266', '1420265', '1420651', '1420647', '1420645', '1420610', '1420603', '1420600', '1420534', '1420596', '1420527', '1420520', '1420518', '1420459', '1420454', '1420450', '1420444', '1420440', '1420403', '1420398', '1420394', '1420388', '1420360', '1420354', '1420348', '1420346', '1420294', '1420288', '1420285', '1420279', '1420274', '1420267', '1420264', '1420650', '1420643', '1420642', '1420609', '1420605', '1420598', '1420588', '1420529', '1420525', '1420519', '1420515', '1420457', '1420451', '1420448', '1420441', '1420439', '1420409', '1420400', '1420396', '1420389', '1420357', '1420358', '1420347', '1420300', '1420297', '1420287', '1420281', '1420277', '1420271', '1420268', '1420350', '1420618', '1420615', '1420583', '1420578', '1420571', '1420565', '1420557', '1420554', '1420546', '1420537', '1420536', '1420505', '1420494', '1420489', '1420483', '1420476', '1420471', '1420465', '1420463', '1420430', '1420421', '1420417', '1420414', '1420382', '1420373', '1420366', '1420335', '1420333', '1420323', '1420319', '1420316', '1420653', '1420644', '1420639', '1420638', '1420602', '1420594', '1420589', '1420531', '1420523', '1420522', '1420512', '1420511', '1420452', '1420447', '1420442', '1420438', '1420410', '1420401', '1420392', '1420387', '1420386', '1420353', '1420352', '1420336', '1420296', '1420291', '1420284', '1420276', '1420273', '1420269', '1420263', '1420453', '1420244', '1420259', '1420253', '1420702', '1420701', '1420700', '1420699', '1420698', '1420697', '1420696', '1420695', '1420694', '1420693', '1420692', '1420691', '1420690', '1420689', '1420688', '1420687', '1420686', '1420685', '1420684', '1420683', '1420682', '1420681', '1420680', '1420679', '1420678', '1420677', '1420676', '1420675', '1420674', '1420673', '1420672', '1420671', '1420670', '1420669', '1420668', '1420667', '1420666', '1420665', '1420664', '1420663', '1420662', '1420661', '1420660', '1420659', '1420658', '1420657', '1420656', '1420655', '1420654', '1420635', '1420634', '1420633', '1420632', '1420631', '1420630', '1420629', '1420628', '1420627', '1420626', '1420625', '1420624', '1420623', '1420622', '1420616', '1420611', '1420582', '1420576', '1420572', '1420561', '1420555', '1420553', '1420547', '1420541', '1420510', '1420504', '1420497', '1420488', '1420487', '1420481', '1420473', '1420466', '1420435', '1420427', '1420422', '1420419', '1420385', '1420380', '1420374', '1420368', '1420363', '1420331', '1420326', '1420321', '1420311')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:52,172 - [124437] - src.utils.log - INFO - βœ… Fetched 454 rows - __SPLIT__ 2026-05-25 06:33:52,184 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:52,714 - [124437] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-25 06:33:52,714 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:52,997 - [124437] - src.utils.log - INFO - βœ… Fetched 26 rows - __SPLIT__ 2026-05-25 06:33:52,998 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:53,279 - [124437] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 06:33:53,279 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:53,559 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:53,575 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:53,858 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:33:53,865 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:54,131 - [124437] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-25 06:33:54,136 - [124437] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-25 06:33:54,136 - [124437] - src.utils.log - INFO - Time took to perform operation in publishing [124437]: 72.19 - __SPLIT__ 2026-05-25 06:33:54,136 - [124437] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124437] - __SPLIT__ 2026-05-25 06:33:54,136 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-25 02:33:54.136' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:33:54,407 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:49:28,631 - [124437] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[3674362, 3674363, 3674364, 3674365, 3674360, 3674368, 3674370, 3674372, 3674373, 3674376, 3674377, 3674378, 3674380, 3674381, 3674383, 3674386, 3674390, 3674391, 3674392, 3674393, 3674388, 3674399, 3674396, 3674444, 3674446, 3674447, 3674452, 3674453, 3674454, 3674457, 3674458, 3674449, 3674486, 3674488, 3674489, 3674491, 3674492, 3674493, 3674495, 3674496, 3674497, 3674500, 3674501, 3674502, 3674505, 3674534, 3674535, 3674541, 3674542, 3674543, 3674544, 3674538, 3674547, 3674548, 3674556, 3674557, 3674558, 3674552, 3674553, 3674554, 3674611, 3674614, 3674615, 3674616, 3674618, 3674619, 3674622, 3674624, 3674625, 3674626, 3674630, 3674631, 3674632, 3674633, 3674628, 3674688, 3674694, 3674697, 3674698, 3674701, 3674704, 3674708, 3674734, 3674735, 3674738, 3674739, 3674743, 3674744, 3674745, 3674746, 3674747, 3674706, 3674749, 3674750, 3674707, 3674748, 3674740, 3674741, 3674703, 3674696, 3674686, 3674627, 3674623, 3674613, 3674617, 3674555, 3674549, 3674539, 3674537, 3674546, 3674398, 3674498, 3674507, 3674494, 3674487, 3674455, 3674456, 3674448, 3674445, 3674385, 3674395, 3674375, 3674379, 3674369, 3674366, 3674551, 3674639, 3674645, 3674612, 3674608, 3674602, 3674579, 3674595, 3674571, 3674585, 3674586, 3674503, 3674504, 3674506, 3674517, 3674520, 3674525, 3674533, 3674564, 3674409, 3674419, 3674424, 3674429, 3674483, 3674478, 3674461, 3674466, 3674472, 3674680, 3674670, 3674674, 3674651, 3674653, 3674659, 3674709, 3674714, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800, 3674693, 3674695, 3674689, 3674690, 3674691, 3674705, 3674702, 3674684, 3674685, 3674442, 3674359, 3674387, 3674384, 3674350, 3674367, 3674361, 3674374, 3674371, 3674382, 3674389, 3674394, 3674434, 3674484, 3674485, 3674450, 3674451, 3674490, 3674536, 3674545, 3674540, 3674550, 3674499, 3674508, 3674609, 3674610, 3674620, 3674621, 3674687, 3674629, 3674700, 3674692, 3674742, 3674736, 3674737, 3674751, 3674352, 3674353, 3674355, 3674342, 3674343, 3674344, 3674345, 3674347, 3674349, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674479, 3674480, 3674481, 3674482, 3674473, 3674474, 3674475, 3674476, 3674477, 3674467, 3674468, 3674469, 3674470, 3674471, 3674462, 3674463, 3674464, 3674465, 3674459, 3674460, 3674430, 3674431, 3674432, 3674433, 3674425, 3674426, 3674427, 3674428, 3674420, 3674421, 3674422, 3674423, 3674646, 3674647, 3674648, 3674649, 3674650, 3674640, 3674641, 3674642, 3674643, 3674644, 3674634, 3674635, 3674636, 3674637, 3674638, 3674603, 3674604, 3674605, 3674606, 3674607, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674580, 3674581, 3674582, 3674583, 3674584, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674521, 3674522, 3674523, 3674524, 3674518, 3674519, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674559, 3674560, 3674561, 3674562, 3674563, 3674715, 3674716, 3674717, 3674718, 3674719, 3674710, 3674711, 3674712, 3674713, 3674652, 3674654, 3674655, 3674656, 3674657, 3674658, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674681, 3674682, 3674683, 3674675, 3674676, 3674677, 3674678, 3674679, 3674671, 3674672, 3674673, 3674699, 3674443, 3674397, 3674438, 3674439, 3674440, 3674441, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674341, 3674348, 3674346, 3674356, 3674357, 3674358, 3674354, 3674351, 3674435, 3674436, 3674437] user_id=43135 company_id=133 project_id=[124437] publish_all=False - __SPLIT__ 2026-05-25 06:49:28,632 - [124437] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[3674362, 3674363, 3674364, 3674365, 3674360, 3674368, 3674370, 3674372, 3674373, 3674376, 3674377, 3674378, 3674380, 3674381, 3674383, 3674386, 3674390, 3674391, 3674392, 3674393, 3674388, 3674399, 3674396, 3674444, 3674446, 3674447, 3674452, 3674453, 3674454, 3674457, 3674458, 3674449, 3674486, 3674488, 3674489, 3674491, 3674492, 3674493, 3674495, 3674496, 3674497, 3674500, 3674501, 3674502, 3674505, 3674534, 3674535, 3674541, 3674542, 3674543, 3674544, 3674538, 3674547, 3674548, 3674556, 3674557, 3674558, 3674552, 3674553, 3674554, 3674611, 3674614, 3674615, 3674616, 3674618, 3674619, 3674622, 3674624, 3674625, 3674626, 3674630, 3674631, 3674632, 3674633, 3674628, 3674688, 3674694, 3674697, 3674698, 3674701, 3674704, 3674708, 3674734, 3674735, 3674738, 3674739, 3674743, 3674744, 3674745, 3674746, 3674747, 3674706, 3674749, 3674750, 3674707, 3674748, 3674740, 3674741, 3674703, 3674696, 3674686, 3674627, 3674623, 3674613, 3674617, 3674555, 3674549, 3674539, 3674537, 3674546, 3674398, 3674498, 3674507, 3674494, 3674487, 3674455, 3674456, 3674448, 3674445, 3674385, 3674395, 3674375, 3674379, 3674369, 3674366, 3674551, 3674639, 3674645, 3674612, 3674608, 3674602, 3674579, 3674595, 3674571, 3674585, 3674586, 3674503, 3674504, 3674506, 3674517, 3674520, 3674525, 3674533, 3674564, 3674409, 3674419, 3674424, 3674429, 3674483, 3674478, 3674461, 3674466, 3674472, 3674680, 3674670, 3674674, 3674651, 3674653, 3674659, 3674709, 3674714, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800, 3674693, 3674695, 3674689, 3674690, 3674691, 3674705, 3674702, 3674684, 3674685, 3674442, 3674359, 3674387, 3674384, 3674350, 3674367, 3674361, 3674374, 3674371, 3674382, 3674389, 3674394, 3674434, 3674484, 3674485, 3674450, 3674451, 3674490, 3674536, 3674545, 3674540, 3674550, 3674499, 3674508, 3674609, 3674610, 3674620, 3674621, 3674687, 3674629, 3674700, 3674692, 3674742, 3674736, 3674737, 3674751, 3674352, 3674353, 3674355, 3674342, 3674343, 3674344, 3674345, 3674347, 3674349, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674479, 3674480, 3674481, 3674482, 3674473, 3674474, 3674475, 3674476, 3674477, 3674467, 3674468, 3674469, 3674470, 3674471, 3674462, 3674463, 3674464, 3674465, 3674459, 3674460, 3674430, 3674431, 3674432, 3674433, 3674425, 3674426, 3674427, 3674428, 3674420, 3674421, 3674422, 3674423, 3674646, 3674647, 3674648, 3674649, 3674650, 3674640, 3674641, 3674642, 3674643, 3674644, 3674634, 3674635, 3674636, 3674637, 3674638, 3674603, 3674604, 3674605, 3674606, 3674607, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674580, 3674581, 3674582, 3674583, 3674584, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674521, 3674522, 3674523, 3674524, 3674518, 3674519, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674559, 3674560, 3674561, 3674562, 3674563, 3674715, 3674716, 3674717, 3674718, 3674719, 3674710, 3674711, 3674712, 3674713, 3674652, 3674654, 3674655, 3674656, 3674657, 3674658, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674681, 3674682, 3674683, 3674675, 3674676, 3674677, 3674678, 3674679, 3674671, 3674672, 3674673, 3674699, 3674443, 3674397, 3674438, 3674439, 3674440, 3674441, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674341, 3674348, 3674346, 3674356, 3674357, 3674358, 3674354, 3674351, 3674435, 3674436, 3674437] user_id=43135 company_id=133 project_id=[124437] publish_all=False - __SPLIT__ 2026-05-25 06:49:28,633 - [124437] - src.utils.log - INFO - Parallel Work order publish in progress for GenerateWorkOrderHistoryId: [124437] - __SPLIT__ 2026-05-25 06:49:28,633 - [124437] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-25 06:49:28,633 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:30,847 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:30,848 - [124437] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-25 06:49:30,848 - [124437] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-25 06:49:30,849 - [124437] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-25 06:49:30,849 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:32,738 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:49:32,738 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3674362, 3674363, 3674364, 3674365, 3674360, 3674368, 3674370, 3674372, 3674373, 3674376, 3674377, 3674378, 3674380, 3674381, 3674383, 3674386, 3674390, 3674391, 3674392, 3674393, 3674388, 3674399, 3674396, 3674444, 3674446, 3674447, 3674452, 3674453, 3674454, 3674457, 3674458, 3674449, 3674486, 3674488, 3674489, 3674491, 3674492, 3674493, 3674495, 3674496, 3674497, 3674500, 3674501, 3674502, 3674505, 3674534, 3674535, 3674541, 3674542, 3674543, 3674544, 3674538, 3674547, 3674548, 3674556, 3674557, 3674558, 3674552, 3674553, 3674554, 3674611, 3674614, 3674615, 3674616, 3674618, 3674619, 3674622, 3674624, 3674625, 3674626, 3674630, 3674631, 3674632, 3674633, 3674628, 3674688, 3674694, 3674697, 3674698, 3674701, 3674704, 3674708, 3674734, 3674735, 3674738, 3674739, 3674743, 3674744, 3674745, 3674746, 3674747, 3674706, 3674749, 3674750, 3674707, 3674748, 3674740, 3674741, 3674703, 3674696, 3674686, 3674627, 3674623, 3674613, 3674617, 3674555, 3674549, 3674539, 3674537, 3674546, 3674398, 3674498, 3674507, 3674494, 3674487, 3674455, 3674456, 3674448, 3674445, 3674385, 3674395, 3674375, 3674379, 3674369, 3674366, 3674551, 3674639, 3674645, 3674612, 3674608, 3674602, 3674579, 3674595, 3674571, 3674585, 3674586, 3674503, 3674504, 3674506, 3674517, 3674520, 3674525, 3674533, 3674564, 3674409, 3674419, 3674424, 3674429, 3674483, 3674478, 3674461, 3674466, 3674472, 3674680, 3674670, 3674674, 3674651, 3674653, 3674659, 3674709, 3674714, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800, 3674693, 3674695, 3674689, 3674690, 3674691, 3674705, 3674702, 3674684, 3674685, 3674442, 3674359, 3674387, 3674384, 3674350, 3674367, 3674361, 3674374, 3674371, 3674382, 3674389, 3674394, 3674434, 3674484, 3674485, 3674450, 3674451, 3674490, 3674536, 3674545, 3674540, 3674550, 3674499, 3674508, 3674609, 3674610, 3674620, 3674621, 3674687, 3674629, 3674700, 3674692, 3674742, 3674736, 3674737, 3674751, 3674352, 3674353, 3674355, 3674342, 3674343, 3674344, 3674345, 3674347, 3674349, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674479, 3674480, 3674481, 3674482, 3674473, 3674474, 3674475, 3674476, 3674477, 3674467, 3674468, 3674469, 3674470, 3674471, 3674462, 3674463, 3674464, 3674465, 3674459, 3674460, 3674430, 3674431, 3674432, 3674433, 3674425, 3674426, 3674427, 3674428, 3674420, 3674421, 3674422, 3674423, 3674646, 3674647, 3674648, 3674649, 3674650, 3674640, 3674641, 3674642, 3674643, 3674644, 3674634, 3674635, 3674636, 3674637, 3674638, 3674603, 3674604, 3674605, 3674606, 3674607, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674580, 3674581, 3674582, 3674583, 3674584, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674521, 3674522, 3674523, 3674524, 3674518, 3674519, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674559, 3674560, 3674561, 3674562, 3674563, 3674715, 3674716, 3674717, 3674718, 3674719, 3674710, 3674711, 3674712, 3674713, 3674652, 3674654, 3674655, 3674656, 3674657, 3674658, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674681, 3674682, 3674683, 3674675, 3674676, 3674677, 3674678, 3674679, 3674671, 3674672, 3674673, 3674699, 3674443, 3674397, 3674438, 3674439, 3674440, 3674441, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674341, 3674348, 3674346, 3674356, 3674357, 3674358, 3674354, 3674351, 3674435, 3674436, 3674437)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:33,600 - [124437] - src.utils.log - INFO - βœ… Fetched 460 rows - __SPLIT__ 2026-05-25 06:49:33,601 - [124437] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-25 06:49:33,602 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:33,871 - [124437] - src.utils.log - INFO - βœ… Fetched 56 rows - __SPLIT__ 2026-05-25 06:49:33,871 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:34,140 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:34,141 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:34,410 - [124437] - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 06:49:34,419 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:34,691 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:34,691 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:34,960 - [124437] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 06:49:34,960 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:35,229 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:35,229 - [124437] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 460 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:35,505 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:35,506 - [124437] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 460 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:35,777 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:35,782 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:36,051 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:36,051 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:36,323 - [124437] - src.utils.log - INFO - βœ… Fetched 56 rows - __SPLIT__ 2026-05-25 06:49:36,646 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:36,915 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:36,915 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo in ('14837', '14829', '14809', '14814', '0804', '14805', '14808', '0805', '14842', '14832', '0803', '14813', '14830', 'Nupur_S', '14838', '14849', '14420', '14828', '14815', '14833', '14821', '14831', '14843', '14847') and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:37,184 - [124437] - src.utils.log - INFO - βœ… Fetched 24 rows - __SPLIT__ 2026-05-25 06:49:37,187 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1420704', '1420705', '1420706', '1420707', '1420708', '1420709', '1420710', '1420711', '1420712', '1420713', '1420714', '1420715', '1420716', '1420717', '1420718', '1420719', '1420720', '1420721', '1420722', '1420723', '1420724', '1420725', '1420726', '1420727', '1420728', '1420729', '1420730', '1420731', '1420732', '1420733', '1420734', '1420735', '1420736', '1420737', '1420738', '1420739', '1420740', '1420741', '1420742', '1420743', '1420744', '1420745', '1420746', '1420747', '1420748', '1420749', '1420750', '1420751', '1420752', '1420753', '1420754', '1420755', '1420756', '1420757', '1420758', '1420759', '1420760', '1420761', '1420762', '1420763', '1420764', '1420765', '1420766', '1420767', '1420768', '1420769', '1420770', '1420771', '1420772', '1420773', '1420774', '1420775', '1420776', '1420777', '1420778', '1420779', '1420780', '1420781', '1420782', '1420783', '1420784', '1420785', '1420786', '1420787', '1420788', '1420789', '1420790', '1420791', '1420792', '1420793', '1420794', '1420795', '1420796', '1420797', '1420798', '1420799', '1420800', '1420801', '1420802', '1420803', '1420804', '1420805', '1420806', '1420807', '1420808', '1420809', '1420810', '1420811', '1420812', '1420813', '1420814', '1420815', '1420816', '1420817', '1420818', '1420819', '1420820', '1420821', '1420822', '1420823', '1420824', '1420825', '1420826', '1420827', '1420828', '1420829', '1420830', '1420831', '1420832', '1420833', '1420834', '1420835', '1420836', '1420837', '1420838', '1420839', '1420840', '1420841', '1420842', '1420843', '1420844', '1420845', '1420846', '1420847', '1420848', '1420849', '1420850', '1420851', '1420852', '1420853', '1420854', '1420855', '1420856', '1420857', '1420858', '1420859', '1420860', '1420861', '1420862', '1420863', '1420864', '1420865', '1420866', '1420867', '1420868', '1420869', '1420870', '1420871', '1420872', '1420873', '1420874', '1420875', '1420876', '1420877', '1420878', '1420879', '1420880', '1420881', '1420882', '1420883', '1420884', '1420885', '1420886', '1420887', '1420888', '1420889', '1420890', '1420891', '1420892', '1420893', '1420894', '1420895', '1420896', '1420897', '1420898', '1420899', '1420900', '1420901', '1420902', '1420903', '1420904', '1420905', '1420906', '1420907', '1420908', '1420909', '1420910', '1420911', '1420912', '1420913', '1420914', '1420915', '1420916', '1420917', '1420918', '1420919', '1420920', '1420921', '1420922', '1420923', '1420924', '1420925', '1420926', '1420927', '1420928', '1420929', '1420930', '1420931', '1420932', '1420933', '1420934', '1420935', '1420936', '1420937', '1420938', '1420939', '1420940', '1420941', '1420942', '1420943', '1420944', '1420945', '1420946', '1420947', '1420948', '1420949', '1420950', '1420951', '1420952', '1420953', '1420954', '1420955', '1420956', '1420957', '1420958', '1420959', '1420960', '1420961', '1420962', '1420963', '1420964', '1420965', '1420966', '1420967', '1420968', '1420969', '1420970', '1420971', '1420972', '1420973', '1420974', '1420975', '1420976', '1420977', '1420978', '1420979', '1420980', '1420981', '1420982', '1420983', '1420984', '1420985', '1420986', '1420987', '1420988', '1420989', '1420990', '1420991', '1420992', '1420993', '1420994', '1420995', '1420996', '1420997', '1420998', '1420999', '1421000', '1421001', '1421002', '1421003', '1421004', '1421005', '1421006', '1421007', '1421008', '1421009', '1421010', '1421011', '1421012', '1421013', '1421014', '1421015', '1421016', '1421017', '1421018', '1421019', '1421020', '1421021', '1421022', '1421023', '1421024', '1421025', '1421026', '1421027', '1421028', '1421029', '1421030', '1421031', '1421032', '1421033', '1421034', '1421035', '1421036', '1421037', '1421038', '1421039', '1421040', '1421041', '1421042', '1421043', '1421044', '1421045', '1421046', '1421047', '1421048', '1421049', '1421050', '1421051', '1421052', '1421053', '1421054', '1421055', '1421056', '1421057', '1421058', '1421059', '1421060', '1421061', '1421062', '1421063', '1421064', '1421065', '1421066', '1421067', '1421068', '1421069', '1421070', '1421071', '1421072', '1421073', '1421074', '1421075', '1421076', '1421077', '1421078', '1421079', '1421080', '1421081', '1421082', '1421083', '1421084', '1421085', '1421086', '1421087', '1421088', '1421089', '1421090', '1421091', '1421092', '1421093', '1421094', '1421095', '1421096', '1421097', '1421098', '1421099', '1421100', '1421101', '1421102', '1421103', '1421104', '1421105', '1421106', '1421107', '1421108', '1421109', '1421110', '1421111', '1421112', '1421113', '1421114', '1421115', '1421116', '1421117', '1421118', '1421119', '1421120', '1421121', '1421122', '1421123', '1421124', '1421125', '1421126', '1421127', '1421128', '1421129', '1421130', '1421131', '1421132', '1421133', '1421134', '1421135', '1421136', '1421137', '1421138', '1421139', '1421140', '1421141', '1421142', '1421143', '1421144', '1421145', '1421146', '1421147', '1421148', '1421149', '1421150', '1421151', '1421152', '1421153', '1421154', '1421155', '1421156', '1421157', '1421158', '1421159', '1421160', '1421161', '1421162', '1421163') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:37,523 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:37,523 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 460 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:37,964 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 460) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-25 06:49:47,498 - [124437] - src.utils.log - INFO - βœ… All 460 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 06:49:47,632 - [124437] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 06:49:47,633 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 133 AND ServiceSetupId in (150303, 150265);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:47,903 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:49:47,905 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1420704', '1420705', '1420706', '1420707', '1420708', '1420709', '1420710', '1420711', '1420712', '1420713', '1420714', '1420715', '1420716', '1420717', '1420718', '1420719', '1420720', '1420721', '1420722', '1420723', '1420724', '1420725', '1420726', '1420727', '1420728', '1420729', '1420730', '1420731', '1420732', '1420733', '1420734', '1420735', '1420736', '1420737', '1420738', '1420739', '1420740', '1420741', '1420742', '1420743', '1420744', '1420745', '1420746', '1420747', '1420748', '1420749', '1420750', '1420751', '1420752', '1420753', '1420754', '1420755', '1420756', '1420757', '1420758', '1420759', '1420760', '1420761', '1420762', '1420763', '1420764', '1420765', '1420766', '1420767', '1420768', '1420769', '1420770', '1420771', '1420772', '1420773', '1420774', '1420775', '1420776', '1420777', '1420778', '1420779', '1420780', '1420781', '1420782', '1420783', '1420784', '1420785', '1420786', '1420787', '1420788', '1420789', '1420790', '1420791', '1420792', '1420793', '1420794', '1420795', '1420796', '1420797', '1420798', '1420799', '1420800', '1420801', '1420802', '1420803', '1420804', '1420805', '1420806', '1420807', '1420808', '1420809', '1420810', '1420811', '1420812', '1420813', '1420814', '1420815', '1420816', '1420817', '1420818', '1420819', '1420820', '1420821', '1420822', '1420823', '1420824', '1420825', '1420826', '1420827', '1420828', '1420829', '1420830', '1420831', '1420832', '1420833', '1420834', '1420835', '1420836', '1420837', '1420838', '1420839', '1420840', '1420841', '1420842', '1420843', '1420844', '1420845', '1420846', '1420847', '1420848', '1420849', '1420850', '1420851', '1420852', '1420853', '1420854', '1420855', '1420856', '1420857', '1420858', '1420859', '1420860', '1420861', '1420862', '1420863', '1420864', '1420865', '1420866', '1420867', '1420868', '1420869', '1420870', '1420871', '1420872', '1420873', '1420874', '1420875', '1420876', '1420877', '1420878', '1420879', '1420880', '1420881', '1420882', '1420883', '1420884', '1420885', '1420886', '1420887', '1420888', '1420889', '1420890', '1420891', '1420892', '1420893', '1420894', '1420895', '1420896', '1420897', '1420898', '1420899', '1420900', '1420901', '1420902', '1420903', '1420904', '1420905', '1420906', '1420907', '1420908', '1420909', '1420910', '1420911', '1420912', '1420913', '1420914', '1420915', '1420916', '1420917', '1420918', '1420919', '1420920', '1420921', '1420922', '1420923', '1420924', '1420925', '1420926', '1420927', '1420928', '1420929', '1420930', '1420931', '1420932', '1420933', '1420934', '1420935', '1420936', '1420937', '1420938', '1420939', '1420940', '1420941', '1420942', '1420943', '1420944', '1420945', '1420946', '1420947', '1420948', '1420949', '1420950', '1420951', '1420952', '1420953', '1420954', '1420955', '1420956', '1420957', '1420958', '1420959', '1420960', '1420961', '1420962', '1420963', '1420964', '1420965', '1420966', '1420967', '1420968', '1420969', '1420970', '1420971', '1420972', '1420973', '1420974', '1420975', '1420976', '1420977', '1420978', '1420979', '1420980', '1420981', '1420982', '1420983', '1420984', '1420985', '1420986', '1420987', '1420988', '1420989', '1420990', '1420991', '1420992', '1420993', '1420994', '1420995', '1420996', '1420997', '1420998', '1420999', '1421000', '1421001', '1421002', '1421003', '1421004', '1421005', '1421006', '1421007', '1421008', '1421009', '1421010', '1421011', '1421012', '1421013', '1421014', '1421015', '1421016', '1421017', '1421018', '1421019', '1421020', '1421021', '1421022', '1421023', '1421024', '1421025', '1421026', '1421027', '1421028', '1421029', '1421030', '1421031', '1421032', '1421033', '1421034', '1421035', '1421036', '1421037', '1421038', '1421039', '1421040', '1421041', '1421042', '1421043', '1421044', '1421045', '1421046', '1421047', '1421048', '1421049', '1421050', '1421051', '1421052', '1421053', '1421054', '1421055', '1421056', '1421057', '1421058', '1421059', '1421060', '1421061', '1421062', '1421063', '1421064', '1421065', '1421066', '1421067', '1421068', '1421069', '1421070', '1421071', '1421072', '1421073', '1421074', '1421075', '1421076', '1421077', '1421078', '1421079', '1421080', '1421081', '1421082', '1421083', '1421084', '1421085', '1421086', '1421087', '1421088', '1421089', '1421090', '1421091', '1421092', '1421093', '1421094', '1421095', '1421096', '1421097', '1421098', '1421099', '1421100', '1421101', '1421102', '1421103', '1421104', '1421105', '1421106', '1421107', '1421108', '1421109', '1421110', '1421111', '1421112', '1421113', '1421114', '1421115', '1421116', '1421117', '1421118', '1421119', '1421120', '1421121', '1421122', '1421123', '1421124', '1421125', '1421126', '1421127', '1421128', '1421129', '1421130', '1421131', '1421132', '1421133', '1421134', '1421135', '1421136', '1421137', '1421138', '1421139', '1421140', '1421141', '1421142', '1421143', '1421144', '1421145', '1421146', '1421147', '1421148', '1421149', '1421150', '1421151', '1421152', '1421153', '1421154', '1421155', '1421156', '1421157', '1421158', '1421159', '1421160', '1421161', '1421162', '1421163') AND wo.AccountNumber IN ('14420', '14832', '14833', '14830', 'Nupur_S', '14831', '14828', '14842', '14847', '14843', '14808', '14809', '14815', '0804', '0805', '14829', '14814', '14837', '14838', '14849', '0803', '14813', '14821', '14805') AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-44_0) - __SPLIT__ 2026-05-25 06:49:48,261 - [124437] - src.utils.log - INFO - βœ… Fetched 460 rows - __SPLIT__ 2026-05-25 06:49:48,262 - [124437] - src.utils.log - INFO - Parallel fetching temp table records - __SPLIT__ 2026-05-25 06:49:48,262 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-45_0) - __SPLIT__ 2026-05-25 06:49:48,263 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-45_1) - __SPLIT__ 2026-05-25 06:49:48,263 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-45_2) - __SPLIT__ 2026-05-25 06:49:48,264 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-45_3) - __SPLIT__ 2026-05-25 06:49:48,264 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-45_4) - __SPLIT__ 2026-05-25 06:49:48,265 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800)... (Thread: ThreadPoolExecutor-45_5) - __SPLIT__ 2026-05-25 06:49:48,267 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800) and woag.RefType = 'TempWorkorder';... (Thread: ThreadPoolExecutor-45_6) - __SPLIT__ 2026-05-25 06:49:48,268 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3674341, 3674342, 3674343, 3674344, 3674345, 3674346, 3674347, 3674348, 3674349, 3674350, 3674351, 3674352, 3674353, 3674354, 3674355, 3674356, 3674357, 3674358, 3674359, 3674360, 3674361, 3674362, 3674363, 3674364, 3674365, 3674366, 3674367, 3674368, 3674369, 3674370, 3674371, 3674372, 3674373, 3674374, 3674375, 3674376, 3674377, 3674378, 3674379, 3674380, 3674381, 3674382, 3674383, 3674384, 3674385, 3674386, 3674387, 3674388, 3674389, 3674390, 3674391, 3674392, 3674393, 3674394, 3674395, 3674396, 3674397, 3674398, 3674399, 3674400, 3674401, 3674402, 3674403, 3674404, 3674405, 3674406, 3674407, 3674408, 3674409, 3674410, 3674411, 3674412, 3674413, 3674414, 3674415, 3674416, 3674417, 3674418, 3674419, 3674420, 3674421, 3674422, 3674423, 3674424, 3674425, 3674426, 3674427, 3674428, 3674429, 3674430, 3674431, 3674432, 3674433, 3674434, 3674435, 3674436, 3674437, 3674438, 3674439, 3674440, 3674441, 3674442, 3674443, 3674444, 3674445, 3674446, 3674447, 3674448, 3674449, 3674450, 3674451, 3674452, 3674453, 3674454, 3674455, 3674456, 3674457, 3674458, 3674459, 3674460, 3674461, 3674462, 3674463, 3674464, 3674465, 3674466, 3674467, 3674468, 3674469, 3674470, 3674471, 3674472, 3674473, 3674474, 3674475, 3674476, 3674477, 3674478, 3674479, 3674480, 3674481, 3674482, 3674483, 3674484, 3674485, 3674486, 3674487, 3674488, 3674489, 3674490, 3674491, 3674492, 3674493, 3674494, 3674495, 3674496, 3674497, 3674498, 3674499, 3674500, 3674501, 3674502, 3674503, 3674504, 3674505, 3674506, 3674507, 3674508, 3674509, 3674510, 3674511, 3674512, 3674513, 3674514, 3674515, 3674516, 3674517, 3674518, 3674519, 3674520, 3674521, 3674522, 3674523, 3674524, 3674525, 3674526, 3674527, 3674528, 3674529, 3674530, 3674531, 3674532, 3674533, 3674534, 3674535, 3674536, 3674537, 3674538, 3674539, 3674540, 3674541, 3674542, 3674543, 3674544, 3674545, 3674546, 3674547, 3674548, 3674549, 3674550, 3674551, 3674552, 3674553, 3674554, 3674555, 3674556, 3674557, 3674558, 3674559, 3674560, 3674561, 3674562, 3674563, 3674564, 3674565, 3674566, 3674567, 3674568, 3674569, 3674570, 3674571, 3674572, 3674573, 3674574, 3674575, 3674576, 3674577, 3674578, 3674579, 3674580, 3674581, 3674582, 3674583, 3674584, 3674585, 3674586, 3674587, 3674588, 3674589, 3674590, 3674591, 3674592, 3674593, 3674594, 3674595, 3674596, 3674597, 3674598, 3674599, 3674600, 3674601, 3674602, 3674603, 3674604, 3674605, 3674606, 3674607, 3674608, 3674609, 3674610, 3674611, 3674612, 3674613, 3674614, 3674615, 3674616, 3674617, 3674618, 3674619, 3674620, 3674621, 3674622, 3674623, 3674624, 3674625, 3674626, 3674627, 3674628, 3674629, 3674630, 3674631, 3674632, 3674633, 3674634, 3674635, 3674636, 3674637, 3674638, 3674639, 3674640, 3674641, 3674642, 3674643, 3674644, 3674645, 3674646, 3674647, 3674648, 3674649, 3674650, 3674651, 3674652, 3674653, 3674654, 3674655, 3674656, 3674657, 3674658, 3674659, 3674660, 3674661, 3674662, 3674663, 3674664, 3674665, 3674666, 3674667, 3674668, 3674669, 3674670, 3674671, 3674672, 3674673, 3674674, 3674675, 3674676, 3674677, 3674678, 3674679, 3674680, 3674681, 3674682, 3674683, 3674684, 3674685, 3674686, 3674687, 3674688, 3674689, 3674690, 3674691, 3674692, 3674693, 3674694, 3674695, 3674696, 3674697, 3674698, 3674699, 3674700, 3674701, 3674702, 3674703, 3674704, 3674705, 3674706, 3674707, 3674708, 3674709, 3674710, 3674711, 3674712, 3674713, 3674714, 3674715, 3674716, 3674717, 3674718, 3674719, 3674720, 3674721, 3674722, 3674723, 3674724, 3674725, 3674726, 3674727, 3674728, 3674729, 3674730, 3674731, 3674732, 3674733, 3674734, 3674735, 3674736, 3674737, 3674738, 3674739, 3674740, 3674741, 3674742, 3674743, 3674744, 3674745, 3674746, 3674747, 3674748, 3674749, 3674750, 3674751, 3674752, 3674753, 3674754, 3674755, 3674756, 3674757, 3674758, 3674759, 3674760, 3674761, 3674762, 3674763, 3674764, 3674765, 3674766, 3674767, 3674768, 3674769, 3674770, 3674771, 3674772, 3674773, 3674774, 3674775, 3674776, 3674777, 3674778, 3674779, 3674780, 3674781, 3674782, 3674783, 3674784, 3674785, 3674786, 3674787, 3674788, 3674789, 3674790, 3674791, 3674792, 3674793, 3674794, 3674795, 3674796, 3674797, 3674798, 3674799, 3674800);... (Thread: ThreadPoolExecutor-45_7) - __SPLIT__ 2026-05-25 06:49:48,671 - [124437] - src.utils.log - INFO - βœ… Fetched 628 rows - __SPLIT__ 2026-05-25 06:49:49,329 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:49,333 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:49,341 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:49,355 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:49,358 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:49:49,381 - [124437] - src.utils.log - INFO - βœ… Fetched 135 rows - __SPLIT__ 2026-05-25 06:49:49,633 - [124437] - src.utils.log - INFO - βœ… Fetched 466 rows - __SPLIT__ 2026-05-25 06:49:49,637 - [124437] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-25 06:49:49,651 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:49,919 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:49,923 - [124437] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId IN (1147, 1105, 1150, 1091, 919, 1142, 894, 924) AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:50,185 - [124437] - src.utils.log - INFO - βœ… Fetched 8 rows - __SPLIT__ 2026-05-25 06:49:50,188 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:50,452 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:49:50,457 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:49:50,457 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 460 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:49:50,748 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 460) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-25 06:49:58,197 - [124437] - src.utils.log - INFO - βœ… All 460 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-25 06:49:58,199 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId IN (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204) AND WorkOrderNo IN ('2892107', '6095758', '810383', '3040285', '4139396', '1938427', '1021624', '7315334', '1637188', '6999159', '7851063', '7572393', '4427108', '3682977', '3584857', '7136937', '7414285', '4555407', '604254', '5726648', '8479175', '1807605', '5837924', '8599164', '9575223', '3282352', '4146630', '6917080', '5563531', '3627439', '9426857', '1653094', '8994842', '7852836', '1362222', '4721725', '2855655', '4440644', '3460872', '6448816', '3937355', '8320277', '8057183', '4498559', '5506328', '5537676', '7195602', '3508260', '1551670', '4937914', '2249442', '9162036', '8684590', '3800942', '6505283', '8626957', '7403527', '2058999', '6065593', '8688758', '4477330', '8104814', '3886891', '3049165', '7896811', '7437771', '6504349', '5539247', '2430606', '2995049', '9318777', '8668343', '3103263', '6751345', '8042059', '1426424', '5581500', '7998806', '3944713', '3490161', '8410636', '1978805', '9319412', '9196619', '8360595', '8227635', '1602940', '5542043', '3980650', '6854622', '9191627', '9086832', '3371849', '7021999', '8540171', '4950455', '7698436', '2428747', '5986370', '2336063', '4789046', '7830576', '1603641', '7282340', '4429413', '1824616', '2532492', '3767773', '6985389', '5151979', '6194662', '3075958', '8297520', '3367946', '8528066', '5341584', '4583718', '1592246', '5812562', '2111713', '8106125', '4741182', '9293935', '1166080', '3885582', '5752448', '7639730', '8010390', '7052837', '6348721', '2993427', '5987362', '9382217', '9026757', '3891786', '7110413', '1355668', '8997027', '3896554', '4803995', '7401722', '3829094', '9084673', '4120003', '8644697', '8338758', '7405837', '7069051', '4154927', '9911627', '4999941', '8707457', '2519520', '8567911', '4593315', '4739105', '8203790', '4502552', '9657610', '2822411', '4938765', '3836509', '2402554', '7689452', '3900330', '9566764', '5636072', '5607083', '7003531', '2026425', '7541139', '4245421', '6421722', '8790899', '8797696', '3937642', '8787526', '5058611', '7585670', '2974711', '2631507', '9874803', '4729027', '5325816', '8576737', '3307875', '5626830', '2878967', '3542827', '6141770', '5852759', '1339222', '8480413', '2352111', '9218983', '2772635', '8682396', '6331896', '8474441', '6586501', '1087094', '8780068', '3820666', '1409887', '5704005', '9960666', '1393387', '6820338', '8414426', '2303175', '1098080', '9024070', '9727502', '5647166', '8667013', '9068622', '7324721', '6812264', '2214770', '4167753', '9334278', '9152068', '8865750', '4464063', '9770753', '8810116', '1825867', '8184961', '1797233', '3829726', '3410127', '6561680', '6242991', '2446055', '1670381', '7764485', '5256331', '6171015', '2098420', '9810489', '6926530', '3715606', '4501787', '3737821', '1293223', '6340988', '4450131', '9728906', '5950612', '4530878', '7758650', '7222884', '8265423', '1241196', '1092487', '3234941', '9017112', '7926231', '7751952', '6258450', '1795774', '2069561', '6391511', '1813735', '2350366', '4549807', '5171712', '4063617', '1214930', '1290296', '3080241', '2040148', '9518234', '1468031', '8762820', '9588744', '7980701', '9783488', '1126775', '8529413', '2220186', '5415615', '4406730', '8183512', '8820721', '7390773', '6425720', '1553320', '4489353', '2941671', '1919560', '8784919', '1311635', '2075445', '3802733', '8962537', '6249047', '9565700', '8100734', '7084755', '2005950', '7565537', '8771556', '7717085', '1608417', '7386804', '7398937', '3161983', '1206258', '5551466', '2011150', '9619380', '3747378', '9705339', '6265359', '3904339', '6348901', '7534250', '4213098', '6563394', '5917624', '9643012', '2096169', '9026179', '6228697', '2044559', '4275297', '4222289', '2746496', '1832820', '5023692', '9244366', '2961162', '5705235', '4170284', '4733309', '8317756', '8807097', '6494968', '3590202', '2775727', '6219333', '9281657', '4368946', '9152104', '8446742', '8096870', '7277453', '7625958', '9979596', '6750631', '5074817', '8560770', '4381293', '7570255', '9031971', '8198455', '1405052', '5980305', '9046077', '1216114', '2921082', '4044194', '8001206', '9506829', '5947226', '8441481', '1882413', '8458620', '3010330', '1564716', '4651185', '3685859', '7622622', '2235203', '4345775', '3899731', '4116129', '3417655', '9730599', '4808919', '8010926', '5944270', '4968319', '1297034', '3557865', '6146359', '1473015', '2892036', '8197632', '9399239', '6029439', '8455961', '6902894', '5597468', '5876357', '4397672', '5945533', '4819034', '6546697', '8080890', '7340197', '7600862', '8045162', '1869216', '6216337', '5418836', '1987204', '2562091', '3294404', '9952051', '8639169', '7941557', '8906052', '7041584', '5393802', '2742433', '5836947', '8896003', '2331142', '2201999', '8471639', '1434320', '2369531', '7201747', '3742606', '8131520', '7627633', '5275777', '9966331', '4634290', '9721799', '4194947', '6720391', '9533503', '2866449', '7500540', '4295828', '1781595', '1716104', '7935304', '6594615', '7877401', '7606080', '9993678', '5205275', '4263322', '3514519', '8227339', '2009200', '3447335', '5578776', '9205053', '4085783', '6306962', '3727580', '3713253', '4453322', '7980190', '5369809') AND GenerateWorkOrderHistoryId = 124437;... (Thread: ThreadPoolExecutor-46_0) - __SPLIT__ 2026-05-25 06:49:58,657 - [124437] - src.utils.log - INFO - βœ… Fetched 920 rows - __SPLIT__ 2026-05-25 06:49:58,658 - [124437] - src.utils.log - INFO - 🏁 Final merged rows: 920 - __SPLIT__ 2026-05-25 06:49:58,667 - [124437] - src.utils.log - INFO - Parallel Insertion in work order tables begin - __SPLIT__ 2026-05-25 06:49:58,668 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 06:49:58,668 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:49:58,668 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 135 rows in batches of 25000 (Thread: ThreadPoolExecutor-47_1) - __SPLIT__ 2026-05-25 06:49:58,668 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-25 06:49:58,669 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-25 06:49:58,669 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:49:58,669 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:49:58,670 - [124437] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-25 06:49:58,670 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 628 rows in batches of 25000 (Thread: ThreadPoolExecutor-47_0) - __SPLIT__ 2026-05-25 06:49:58,670 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 466 rows in batches of 25000 (Thread: ThreadPoolExecutor-47_2) - __SPLIT__ 2026-05-25 06:49:58,670 - [124437] - src.utils.log - INFO - [OK] Sales Person Commission completed. - __SPLIT__ 2026-05-25 06:49:58,670 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:49:58,671 - [124437] - src.utils.log - INFO - [OK] Adjustment completed. - __SPLIT__ 2026-05-25 06:49:58,671 - [124437] - src.utils.log - INFO - [OK] Lead Notes completed. - __SPLIT__ 2026-05-25 06:49:58,671 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 1256 rows in batches of 25000 (Thread: ThreadPoolExecutor-47_4) - __SPLIT__ 2026-05-25 06:49:58,671 - [124437] - src.utils.log - INFO - [OK] Source Mapping completed. - __SPLIT__ 2026-05-25 06:49:58,946 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 628) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-25 06:49:58,953 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 135) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-25 06:49:58,965 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 466) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-25 06:49:58,976 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1256) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-25 06:50:01,169 - [124437] - src.utils.log - INFO - βœ… All 135 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 06:50:01,169 - [124437] - src.utils.log - INFO - [OK] Discount Applied completed. - __SPLIT__ 2026-05-25 06:50:02,195 - [124437] - src.utils.log - INFO - βœ… All 466 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-25 06:50:02,195 - [124437] - src.utils.log - INFO - [OK] Crew completed. - __SPLIT__ 2026-05-25 06:50:03,663 - [124437] - src.utils.log - INFO - βœ… All 628 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-25 06:50:03,663 - [124437] - src.utils.log - INFO - [OK] Services completed. - __SPLIT__ 2026-05-25 06:50:06,265 - [124437] - src.utils.log - INFO - βœ… All 1256 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-25 06:50:06,266 - [124437] - src.utils.log - INFO - [OK] Publish Services completed. - __SPLIT__ 2026-05-25 06:50:06,267 - [124437] - src.utils.log - INFO - All publish tasks completed successfully. - __SPLIT__ 2026-05-25 06:50:06,267 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:06,532 - [124437] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 06:50:06,532 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150277, 150278, 150279, 150238, 150236, 150235, 150234, 150230, 150229, 150309, 150312, 150314, 150328, 150313, 150216, 150215, 150266, 150263, 150260, 150261, 150262, 150203, 150222, 150204)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:06,798 - [124437] - src.utils.log - INFO - βœ… Fetched 56 rows - __SPLIT__ 2026-05-25 06:50:06,807 - [124437] - src.utils.log - INFO - Size of Transaction: 454 - __SPLIT__ 2026-05-25 06:50:06,808 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 454 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:07,211 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 454) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-25 06:50:09,410 - [124437] - src.utils.log - INFO - βœ… All 454 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 06:50:09,542 - [124437] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 06:50:09,543 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914, 12345678915, 12345678916, 12345678917, 12345678918, 12345678919, 12345678920, 12345678921, 12345678922, 12345678923, 12345678924, 12345678925, 12345678926, 12345678927, 12345678928, 12345678929, 12345678930, 12345678931, 12345678932, 12345678933, 12345678934, 12345678935, 12345678936, 12345678937, 12345678938, 12345678939, 12345678940, 12345678941, 12345678942, 12345678943, 12345678944, 12345678945, 12345678946, 12345678947, 12345678948, 12345678949, 12345678950, 12345678951, 12345678952, 12345678953, 12345678954, 12345678955, 12345678956, 12345678957, 12345678958, 12345678959, 12345678960, 12345678961, 12345678962, 12345678963, 12345678964, 12345678965, 12345678966, 12345678967, 12345678968, 12345678969, 12345678970, 12345678971, 12345678972, 12345678973, 12345678974, 12345678975, 12345678976, 12345678977, 12345678978, 12345678979, 12345678980, 12345678981, 12345678982, 12345678983, 12345678984, 12345678985, 12345678986, 12345678987, 12345678988, 12345678989, 12345678990, 12345678991, 12345678992, 12345678993, 12345678994, 12345678995, 12345678996, 12345678997, 12345678998, 12345678999, 12345679000, 12345679001, 12345679002, 12345679003, 12345679004, 12345679005, 12345679006, 12345679007, 12345679008, 12345679009, 12345679010, 12345679011, 12345679012, 12345679013, 12345679014, 12345679015, 12345679016, 12345679017, 12345679018, 12345679019, 12345679020, 12345679021, 12345679022, 12345679023, 12345679024, 12345679025, 12345679026, 12345679027, 12345679028, 12345679029, 12345679030, 12345679031, 12345679032, 12345679033, 12345679034, 12345679035, 12345679036, 12345679037, 12345679038, 12345679039, 12345679040, 12345679041, 12345679042, 12345679043, 12345679044, 12345679045, 12345679046, 12345679047, 12345679048, 12345679049, 12345679050, 12345679051, 12345679052, 12345679053, 12345679054, 12345679055, 12345679056, 12345679057, 12345679058, 12345679059, 12345679060, 12345679061, 12345679062, 12345679063, 12345679064, 12345679065, 12345679066, 12345679067, 12345679068, 12345679069, 12345679070, 12345679071, 12345679072, 12345679073, 12345679074, 12345679075, 12345679076, 12345679077, 12345679078, 12345679079, 12345679080, 12345679081, 12345679082, 12345679083, 12345679084, 12345679085, 12345679086, 12345679087, 12345679088, 12345679089, 12345679090, 12345679091, 12345679092, 12345679093, 12345679094, 12345679095, 12345679096, 12345679097, 12345679098, 12345679099, 12345679100, 12345679101, 12345679102, 12345679103, 12345679104, 12345679105, 12345679106, 12345679107, 12345679108, 12345679109, 12345679110, 12345679111, 12345679112, 12345679113, 12345679114, 12345679115, 12345679116, 12345679117, 12345679118, 12345679119, 12345679120, 12345679121, 12345679122, 12345679123, 12345679124, 12345679125, 12345679126, 12345679127, 12345679128, 12345679129, 12345679130, 12345679131, 12345679132, 12345679133, 12345679134, 12345679135, 12345679136, 12345679137, 12345679138, 12345679139, 12345679140, 12345679141, 12345679142, 12345679143, 12345679144, 12345679145, 12345679146, 12345679147, 12345679148, 12345679149, 12345679150, 12345679151, 12345679152, 12345679153, 12345679154, 12345679155, 12345679156, 12345679157, 12345679158, 12345679159, 12345679160, 12345679161, 12345679162, 12345679163, 12345679164, 12345679165, 12345679166, 12345679167, 12345679168, 12345679169, 12345679170, 12345679171, 12345679172, 12345679173, 12345679174, 12345679175, 12345679176, 12345679177, 12345679178, 12345679179, 12345679180, 12345679181, 12345679182, 12345679183, 12345679184, 12345679185, 12345679186, 12345679187, 12345679188, 12345679189, 12345679190, 12345679191, 12345679192, 12345679193, 12345679194, 12345679195, 12345679196, 12345679197, 12345679198, 12345679199, 12345679200, 12345679201, 12345679202, 12345679203, 12345679204, 12345679205, 12345679206, 12345679207, 12345679208, 12345679209, 12345679210, 12345679211, 12345679212, 12345679213, 12345679214, 12345679215, 12345679216, 12345679217, 12345679218, 12345679219, 12345679220, 12345679221, 12345679222, 12345679223, 12345679224, 12345679225, 12345679226, 12345679227, 12345679228, 12345679229, 12345679230, 12345679231, 12345679232, 12345679233, 12345679234, 12345679235, 12345679236, 12345679237, 12345679238, 12345679239, 12345679240, 12345679241, 12345679242, 12345679243, 12345679244, 12345679245, 12345679246, 12345679247, 12345679248, 12345679249, 12345679250, 12345679251, 12345679252, 12345679253, 12345679254, 12345679255, 12345679256, 12345679257, 12345679258, 12345679259, 12345679260, 12345679261, 12345679262, 12345679263, 12345679264, 12345679265, 12345679266, 12345679267, 12345679268, 12345679269, 12345679270, 12345679271, 12345679272, 12345679273, 12345679274, 12345679275, 12345679276, 12345679277, 12345679278, 12345679279, 12345679280, 12345679281, 12345679282, 12345679283, 12345679284, 12345679285, 12345679286, 12345679287, 12345679288, 12345679289, 12345679290, 12345679291, 12345679292, 12345679293, 12345679294, 12345679295, 12345679296, 12345679297, 12345679298, 12345679299, 12345679300, 12345679301, 12345679302, 12345679303, 12345679304, 12345679305, 12345679306, 12345679307, 12345679308, 12345679309, 12345679310, 12345679311, 12345679312, 12345679313, 12345679314, 12345679315, 12345679316, 12345679317, 12345679318, 12345679319, 12345679320, 12345679321, 12345679322, 12345679323, 12345679324, 12345679325, 12345679326, 12345679327, 12345679328, 12345679329, 12345679330, 12345679331, 12345679332, 12345679333, 12345679334, 12345679335, 12345679336, 12345679337, 12345679338, 12345679339, 12345679340, 12345679341, 12345679342, 12345679343, 12345679344, 12345679345, 12345679346, 12345679347, 12345679348, 12345679349, 12345679350, 12345679351, 12345679352, 12345679353, 12345679354, 12345679355, 12345679356, 12345679357, 12345679358, 12345679359, 12345679360, 12345679361, 12345679362, 12345679363) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-25 02:50:06.802';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:10,116 - [124437] - src.utils.log - INFO - βœ… Fetched 454 rows - __SPLIT__ 2026-05-25 06:50:10,119 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150203, 150204, 150205, 150206, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266, 150277, 150278, 150279, 150286, 150292, 150303, 150308, 150309, 150310, 150311, 150312, 150313, 150314, 150316, 150318, 150319, 150320, 150321, 150322, 150323, 150324, 150325, 150327, 150328, 150329, 150332, 150333);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:10,392 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:50:10,412 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914,12345678915,12345678916,12345678917,12345678918,12345678919,12345678920,12345678921,12345678922,12345678923,12345678924,12345678925,12345678926,12345678927,12345678928,12345678929,12345678930,12345678931,12345678932,12345678933,12345678934,12345678935,12345678936,12345678937,12345678938,12345678939,12345678940,12345678941,12345678942,12345678943,12345678944,12345678945,12345678946,12345678947,12345678948,12345678949,12345678950,12345678951,12345678952,12345678953,12345678954,12345678955,12345678956,12345678957,12345678958,12345678959,12345678960,12345678961,12345678962,12345678963,12345678964,12345678965,12345678966,12345678967,12345678968,12345678969,12345678970,12345678971,12345678972,12345678973,12345678974,12345678975,12345678976,12345678977,12345678978,12345678979,12345678980,12345678981,12345678982,12345678983,12345678984,12345678985,12345678986,12345678987,12345678988,12345678989,12345678990,12345678991,12345678992,12345678993,12345678994,12345678995,12345678996,12345678997,12345678998,12345678999,12345679000,12345679001,12345679002,12345679003,12345679004,12345679005,12345679006,12345679007,12345679008,12345679009,12345679010,12345679011,12345679012,12345679013,12345679014,12345679015,12345679016,12345679017,12345679018,12345679019,12345679020,12345679021,12345679022,12345679023,12345679024,12345679025,12345679026,12345679027,12345679028,12345679029,12345679030,12345679031,12345679032,12345679033,12345679034,12345679035,12345679036,12345679037,12345679038,12345679039,12345679040,12345679041,12345679042,12345679043,12345679044,12345679045,12345679046,12345679047,12345679048,12345679049,12345679050,12345679051,12345679052,12345679053,12345679054,12345679055,12345679056,12345679057,12345679058,12345679059,12345679060,12345679061,12345679062,12345679063,12345679064,12345679065,12345679066,12345679067,12345679068,12345679069,12345679070,12345679071,12345679072,12345679073,12345679074,12345679075,12345679076,12345679077,12345679078,12345679079,12345679080,12345679081,12345679082,12345679083,12345679084,12345679085,12345679086,12345679087,12345679088,12345679089,12345679090,12345679091,12345679092,12345679093,12345679094,12345679095,12345679096,12345679097,12345679098,12345679099,12345679100,12345679101,12345679102,12345679103,12345679104,12345679105,12345679106,12345679107,12345679108,12345679109,12345679110,12345679111,12345679112,12345679113,12345679114,12345679115,12345679116,12345679117,12345679118,12345679119,12345679120,12345679121,12345679122,12345679123,12345679124,12345679125,12345679126,12345679127,12345679128,12345679129,12345679130,12345679131,12345679132,12345679133,12345679134,12345679135,12345679136,12345679137,12345679138,12345679139,12345679140,12345679141,12345679142,12345679143,12345679144,12345679145,12345679146,12345679147,12345679148,12345679149,12345679150,12345679151,12345679152,12345679153,12345679154,12345679155,12345679156,12345679157,12345679158,12345679159,12345679160,12345679161,12345679162,12345679163,12345679164,12345679165,12345679166,12345679167,12345679168,12345679169,12345679170,12345679171,12345679172,12345679173,12345679174,12345679175,12345679176,12345679177,12345679178,12345679179,12345679180,12345679181,12345679182,12345679183,12345679184,12345679185,12345679186,12345679187,12345679188,12345679189,12345679190,12345679191,12345679192,12345679193,12345679194,12345679195,12345679196,12345679197,12345679198,12345679199,12345679200,12345679201,12345679202,12345679203,12345679204,12345679205,12345679206,12345679207,12345679208,12345679209,12345679210,12345679211,12345679212,12345679213,12345679214,12345679215,12345679216,12345679217,12345679218,12345679219,12345679220,12345679221,12345679222,12345679223,12345679224,12345679225,12345679226,12345679227,12345679228,12345679229,12345679230,12345679231,12345679232,12345679233,12345679234,12345679235,12345679236,12345679237,12345679238,12345679239,12345679240,12345679241,12345679242,12345679243,12345679244,12345679245,12345679246,12345679247,12345679248,12345679249,12345679250,12345679251,12345679252,12345679253,12345679254,12345679255,12345679256,12345679257,12345679258,12345679259,12345679260,12345679261,12345679262,12345679263,12345679264,12345679265,12345679266,12345679267,12345679268,12345679269,12345679270,12345679271,12345679272,12345679273,12345679274,12345679275,12345679276,12345679277,12345679278,12345679279,12345679280,12345679281,12345679282,12345679283,12345679284,12345679285,12345679286,12345679287,12345679288,12345679289,12345679290,12345679291,12345679292,12345679293,12345679294,12345679295,12345679296,12345679297,12345679298,12345679299,12345679300,12345679301,12345679302,12345679303,12345679304,12345679305,12345679306,12345679307,12345679308,12345679309,12345679310,12345679311,12345679312,12345679313,12345679314,12345679315,12345679316,12345679317,12345679318,12345679319,12345679320,12345679321,12345679322,12345679323,12345679324,12345679325,12345679326,12345679327,12345679328,12345679329,12345679330,12345679331,12345679332,12345679333,12345679334,12345679335,12345679336,12345679337,12345679338,12345679339,12345679340,12345679341,12345679342,12345679343,12345679344,12345679345,12345679346,12345679347,12345679348,12345679349,12345679350,12345679351,12345679352,12345679353,12345679354,12345679355,12345679356,12345679357,12345679358,12345679359,12345679360,12345679361,12345679362,12345679363) AND CreatedDate = '2026-05-25 02:50:06.802'; ... (Thread: ThreadPoolExecutor-48_0) - __SPLIT__ 2026-05-25 06:50:10,900 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 06:50:10,907 - [124437] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 06:50:10,907 - [124437] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 454 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:11,182 - [124437] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 454) into Billing.Invoice - __SPLIT__ 2026-05-25 06:50:14,756 - [124437] - src.utils.log - INFO - βœ… All 454 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-25 06:50:14,757 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1421058', '1420747', '1420750', '1420977', '1421062', '1420760', '1420763', '1420764', '1420765', '1420767', '1420769', '1420806', '1420805', '1420804', '1420803', '1420802', '1420801', '1420771', '1420766', '1420768', '1420770', '1421053', '1421054', '1421056', '1421052', '1420722', '1421068', '1421048', '1420713', '1420718', '1420706', '1420716', '1420715', '1420712', '1420710', '1420708', '1420707', '1420719', '1420717', '1420711', '1420709', '1421078', '1421075', '1421042', '1421038', '1421028', '1421025', '1421019', '1421011', '1421006', '1421001', '1420970', '1420964', '1420957', '1420951', '1420943', '1420939', '1420933', '1420929', '1420894', '1420889', '1420886', '1420877', '1420872', '1420844', '1420836', '1420828', '1420826', '1420795', '1420786', '1420783', '1420774', '1420721', '1420867', '1420975', '1420869', '1421080', '1421046', '1421045', '1421034', '1421029', '1421027', '1421021', '1421012', '1421004', '1421003', '1420969', '1420962', '1420956', '1420953', '1420946', '1420938', '1420936', '1420930', '1420923', '1420893', '1420884', '1420879', '1420873', '1420840', '1420833', '1420831', '1420822', '1420791', '1420788', '1420781', '1420775', '1420704', '1421081', '1421073', '1421041', '1421035', '1421031', '1421023', '1421020', '1421013', '1421005', '1420999', '1420967', '1420963', '1420960', '1420952', '1420945', '1420941', '1420931', '1420925', '1420895', '1420892', '1420887', '1420876', '1420874', '1420839', '1420838', '1420832', '1420823', '1420790', '1420789', '1420779', '1420776', '1421082', '1421074', '1421040', '1421036', '1421030', '1421024', '1421017', '1421010', '1421009', '1421000', '1420968', '1420961', '1420959', '1420954', '1420947', '1420940', '1420935', '1420928', '1420922', '1420890', '1420885', '1420881', '1420845', '1420842', '1420837', '1420830', '1420825', '1420793', '1420785', '1420778', '1420773', '1421109', '1421107', '1421101', '1421069', '1421098', '1421051', '1420996', '1420989', '1420987', '1420982', '1420978', '1420919', '1420916', '1420907', '1420904', '1420898', '1420865', '1420860', '1420856', '1420851', '1420852', '1420817', '1420812', '1420759', '1420756', '1420753', '1420743', '1420741', '1420736', '1420731', '1420723', '1421113', '1421110', '1421102', '1421097', '1421067', '1421060', '1420994', '1420993', '1420985', '1420991', '1420974', '1420921', '1420917', '1420910', '1420906', '1420897', '1420863', '1420858', '1420854', '1420868', '1420820', '1420816', '1420810', '1420762', '1420754', '1420751', '1420744', '1420739', '1420733', '1420727', '1420726', '1421112', '1421108', '1421106', '1421071', '1421064', '1421061', '1420995', '1421057', '1420988', '1420981', '1420979', '1420920', '1420915', '1420911', '1420905', '1420901', '1420864', '1420859', '1420855', '1420849', '1420821', '1420815', '1420809', '1420807', '1420755', '1420749', '1420746', '1420740', '1420735', '1420728', '1420725', '1421111', '1421104', '1421103', '1421070', '1421066', '1421059', '1421049', '1420990', '1420986', '1420980', '1420976', '1420918', '1420912', '1420909', '1420902', '1420900', '1420870', '1420861', '1420857', '1420850', '1420818', '1420819', '1420808', '1420761', '1420758', '1420748', '1420742', '1420738', '1420732', '1420729', '1420811', '1421079', '1421076', '1421044', '1421039', '1421032', '1421026', '1421018', '1421015', '1421007', '1420998', '1420997', '1420966', '1420955', '1420950', '1420944', '1420937', '1420932', '1420926', '1420924', '1420891', '1420882', '1420878', '1420875', '1420843', '1420834', '1420827', '1420796', '1420794', '1420784', '1420780', '1420777', '1421114', '1421105', '1421100', '1421099', '1421063', '1421055', '1421050', '1420992', '1420984', '1420983', '1420973', '1420972', '1420913', '1420908', '1420903', '1420899', '1420871', '1420862', '1420853', '1420848', '1420847', '1420814', '1420813', '1420797', '1420757', '1420752', '1420745', '1420737', '1420734', '1420730', '1420724', '1420914', '1420705', '1420720', '1420714', '1421163', '1421162', '1421161', '1421160', '1421159', '1421158', '1421157', '1421156', '1421155', '1421154', '1421153', '1421152', '1421151', '1421150', '1421149', '1421148', '1421147', '1421146', '1421145', '1421144', '1421143', '1421142', '1421141', '1421140', '1421139', '1421138', '1421137', '1421136', '1421135', '1421134', '1421133', '1421132', '1421131', '1421130', '1421129', '1421128', '1421127', '1421126', '1421125', '1421124', '1421123', '1421122', '1421121', '1421120', '1421119', '1421118', '1421117', '1421116', '1421115', '1421096', '1421095', '1421094', '1421093', '1421092', '1421091', '1421090', '1421089', '1421088', '1421087', '1421086', '1421085', '1421084', '1421083', '1421077', '1421072', '1421043', '1421037', '1421033', '1421022', '1421016', '1421014', '1421008', '1421002', '1420971', '1420965', '1420958', '1420949', '1420948', '1420942', '1420934', '1420927', '1420896', '1420888', '1420883', '1420880', '1420846', '1420841', '1420835', '1420829', '1420824', '1420792', '1420787', '1420782', '1420772')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:15,193 - [124437] - src.utils.log - INFO - βœ… Fetched 454 rows - __SPLIT__ 2026-05-25 06:50:15,205 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:15,600 - [124437] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-25 06:50:15,600 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:15,870 - [124437] - src.utils.log - INFO - βœ… Fetched 26 rows - __SPLIT__ 2026-05-25 06:50:15,871 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:16,136 - [124437] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 06:50:16,136 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222) and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:16,410 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:50:16,426 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:16,700 - [124437] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 06:50:16,706 - [124437] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId in (150318, 150329, 150303, 150308, 150286, 150332, 150292, 150311, 150265, 150321, 150327, 150323, 150322, 150324, 150205, 150206, 150223, 150224, 150225, 150226, 150240, 150227, 150242, 150228, 150243, 150239, 150333, 150320, 150310, 150316, 150319, 150325, 150238, 150236, 150235, 150234, 150230, 150229, 150312, 150314, 150328, 150313, 150216, 150266, 150263, 150260, 150261, 150262, 150203, 150222);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:16,976 - [124437] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-25 06:50:16,980 - [124437] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-25 06:50:16,981 - [124437] - src.utils.log - INFO - Time took to perform operation in publishing [124437]: 48.35 - __SPLIT__ 2026-05-25 06:50:16,981 - [124437] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124437] - __SPLIT__ 2026-05-25 06:50:16,981 - [124437] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-25 02:50:16.981' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124437;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 06:50:17,248 - [124437] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:44:26,096 - [124443] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=43135 company_id=133 project_id=[124443] publish_all=True - __SPLIT__ 2026-05-25 10:44:26,097 - [124443] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=43135 company_id=133 project_id=[124443] publish_all=True - __SPLIT__ 2026-05-25 10:44:26,097 - [124443] - src.utils.log - INFO - Parallel Work order publish in progress for GenerateWorkOrderHistoryId: [124443] - __SPLIT__ 2026-05-25 10:44:26,098 - [124443] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-25 10:44:26,099 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:28,168 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:28,168 - [124443] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-25 10:44:28,168 - [124443] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-25 10:44:28,169 - [124443] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-25 10:44:28,170 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124443;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:30,046 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:44:30,046 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.GenerateWorkOrderHistoryId = 124443... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:31,770 - [124443] - src.utils.log - INFO - βœ… Fetched 1814 rows - __SPLIT__ 2026-05-25 10:44:31,772 - [124443] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-25 10:44:31,773 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:32,069 - [124443] - src.utils.log - INFO - βœ… Fetched 67 rows - __SPLIT__ 2026-05-25 10:44:32,069 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:32,364 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:44:32,365 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId in (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:32,658 - [124443] - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 10:44:32,671 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:32,937 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:32,937 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:33,204 - [124443] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 10:44:33,204 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:33,471 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:33,471 - [124443] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1814 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:33,744 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:33,744 - [124443] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1814 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:34,016 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:34,024 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:34,290 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:34,291 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId in (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:34,583 - [124443] - src.utils.log - INFO - βœ… Fetched 67 rows - __SPLIT__ 2026-05-25 10:44:35,849 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:36,115 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:44:36,116 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo in ('14837', '14829', '14773', '14809', '14814', '0804', '14805', '14808', '14811', '14861', '14831', '0805', '14842', '14832', '0803', '14813', '14830', 'Nupur_S', '14838', '14849', '14835', '14420', '14828', '14815', '14821', '14833', '14843', '14847') and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:36,389 - [124443] - src.utils.log - INFO - βœ… Fetched 28 rows - __SPLIT__ 2026-05-25 10:44:36,393 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1423470', '1423471', '1423472', '1423473', '1423474', '1423475', '1423476', '1423477', '1423478', '1423479', '1423480', '1423481', '1423482', '1423483', '1423484', '1423485', '1423486', '1423487', '1423488', '1423489', '1423490', '1423491', '1423492', '1423493', '1423494', '1423495', '1423496', '1423497', '1423498', '1423499', '1423500', '1423501', '1423502', '1423503', '1423504', '1423505', '1423506', '1423507', '1423508', '1423509', '1423510', '1423511', '1423512', '1423513', '1423514', '1423515', '1423516', '1423517', '1423518', '1423519', '1423520', '1423521', '1423522', '1423523', '1423524', '1423525', '1423526', '1423527', '1423528', '1423529', '1423530', '1423531', '1423532', '1423533', '1423534', '1423535', '1423536', '1423537', '1423538', '1423539', '1423540', '1423541', '1423542', '1423543', '1423544', '1423545', '1423546', '1423547', '1423548', '1423549', '1423550', '1423551', '1423552', '1423553', '1423554', '1423555', '1423556', '1423557', '1423558', '1423559', '1423560', '1423561', '1423562', '1423563', '1423564', '1423565', '1423566', '1423567', '1423568', '1423569', '1423570', '1423571', '1423572', '1423573', '1423574', '1423575', '1423576', '1423577', '1423578', '1423579', '1423580', '1423581', '1423582', '1423583', '1423584', '1423585', '1423586', '1423587', '1423588', '1423589', '1423590', '1423591', '1423592', '1423593', '1423594', '1423595', '1423596', '1423597', '1423598', '1423599', '1423600', '1423601', '1423602', '1423603', '1423604', '1423605', '1423606', '1423607', '1423608', '1423609', '1423610', '1423611', '1423612', '1423613', '1423614', '1423615', '1423616', '1423617', '1423618', '1423619', '1423620', '1423621', '1423622', '1423623', '1423624', '1423625', '1423626', '1423627', '1423628', '1423629', '1423630', '1423631', '1423632', '1423633', '1423634', '1423635', '1423636', '1423637', '1423638', '1423639', '1423640', '1423641', '1423642', '1423643', '1423644', '1423645', '1423646', '1423647', '1423648', '1423649', '1423650', '1423651', '1423652', '1423653', '1423654', '1423655', '1423656', '1423657', '1423658', '1423659', '1423660', '1423661', '1423662', '1423663', '1423664', '1423665', '1423666', '1423667', '1423668', '1423669', '1423670', '1423671', '1423672', '1423673', '1423674', '1423675', '1423676', '1423677', '1423678', '1423679', '1423680', '1423681', '1423682', '1423683', '1423684', '1423685', '1423686', '1423687', '1423688', '1423689', '1423690', '1423691', '1423692', '1423693', '1423694', '1423695', '1423696', '1423697', '1423698', '1423699', '1423700', '1423701', '1423702', '1423703', '1423704', '1423705', '1423706', '1423707', '1423708', '1423709', '1423710', '1423711', '1423712', '1423713', '1423714', '1423715', '1423716', '1423717', '1423718', '1423719', '1423720', '1423721', '1423722', '1423723', '1423724', '1423725', '1423726', '1423727', '1423728', '1423729', '1423730', '1423731', '1423732', '1423733', '1423734', '1423735', '1423736', '1423737', '1423738', '1423739', '1423740', '1423741', '1423742', '1423743', '1423744', '1423745', '1423746', '1423747', '1423748', '1423749', '1423750', '1423751', '1423752', '1423753', '1423754', '1423755', '1423756', '1423757', '1423758', '1423759', '1423760', '1423761', '1423762', '1423763', '1423764', '1423765', '1423766', '1423767', '1423768', '1423769', '1423770', '1423771', '1423772', '1423773', '1423774', '1423775', '1423776', '1423777', '1423778', '1423779', '1423780', '1423781', '1423782', '1423783', '1423784', '1423785', '1423786', '1423787', '1423788', '1423789', '1423790', '1423791', '1423792', '1423793', '1423794', '1423795', '1423796', '1423797', '1423798', '1423799', '1423800', '1423801', '1423802', '1423803', '1423804', '1423805', '1423806', '1423807', '1423808', '1423809', '1423810', '1423811', '1423812', '1423813', '1423814', '1423815', '1423816', '1423817', '1423818', '1423819', '1423820', '1423821', '1423822', '1423823', '1423824', '1423825', '1423826', '1423827', '1423828', '1423829', '1423830', '1423831', '1423832', '1423833', '1423834', '1423835', '1423836', '1423837', '1423838', '1423839', '1423840', '1423841', '1423842', '1423843', '1423844', '1423845', '1423846', '1423847', '1423848', '1423849', '1423850', '1423851', '1423852', '1423853', '1423854', '1423855', '1423856', '1423857', '1423858', '1423859', '1423860', '1423861', '1423862', '1423863', '1423864', '1423865', '1423866', '1423867', '1423868', '1423869', '1423870', '1423871', '1423872', '1423873', '1423874', '1423875', '1423876', '1423877', '1423878', '1423879', '1423880', '1423881', '1423882', '1423883', '1423884', '1423885', '1423886', '1423887', '1423888', '1423889', '1423890', '1423891', '1423892', '1423893', '1423894', '1423895', '1423896', '1423897', '1423898', '1423899', '1423900', '1423901', '1423902', '1423903', '1423904', '1423905', '1423906', '1423907', '1423908', '1423909', '1423910', '1423911', '1423912', '1423913', '1423914', '1423915', '1423916', '1423917', '1423918', '1423919', '1423920', '1423921', '1423922', '1423923', '1423924', '1423925', '1423926', '1423927', '1423928', '1423929', '1423930', '1423931', '1423932', '1423933', '1423934', '1423935', '1423936', '1423937', '1423938', '1423939', '1423940', '1423941', '1423942', '1423943', '1423944', '1423945', '1423946', '1423947', '1423948', '1423949', '1423950', '1423951', '1423952', '1423953', '1423954', '1423955', '1423956', '1423957', '1423958', '1423959', '1423960', '1423961', '1423962', '1423963', '1423964', '1423965', '1423966', '1423967', '1423968', '1423969', '1423970', '1423971', '1423972', '1423973', '1423974', '1423975', '1423976', '1423977', '1423978', '1423979', '1423980', '1423981', '1423982', '1423983', '1423984', '1423985', '1423986', '1423987', '1423988', '1423989', '1423990', '1423991', '1423992', '1423993', '1423994', '1423995', '1423996', '1423997', '1423998', '1423999', '1424000', '1424001', '1424002', '1424003', '1424004', '1424005', '1424006', '1424007', '1424008', '1424009', '1424010', '1424011', '1424012', '1424013', '1424014', '1424015', '1424016', '1424017', '1424018', '1424019', '1424020', '1424021', '1424022', '1424023', '1424024', '1424025', '1424026', '1424027', '1424028', '1424029', '1424030', '1424031', '1424032', '1424033', '1424034', '1424035', '1424036', '1424037', '1424038', '1424039', '1424040', '1424041', '1424042', '1424043', '1424044', '1424045', '1424046', '1424047', '1424048', '1424049', '1424050', '1424051', '1424052', '1424053', '1424054', '1424055', '1424056', '1424057', '1424058', '1424059', '1424060', '1424061', '1424062', '1424063', '1424064', '1424065', '1424066', '1424067', '1424068', '1424069', '1424070', '1424071', '1424072', '1424073', '1424074', '1424075', '1424076', '1424077', '1424078', '1424079', '1424080', '1424081', '1424082', '1424083', '1424084', '1424085', '1424086', '1424087', '1424088', '1424089', '1424090', '1424091', '1424092', '1424093', '1424094', '1424095', '1424096', '1424097', '1424098', '1424099', '1424100', '1424101', '1424102', '1424103', '1424104', '1424105', '1424106', '1424107', '1424108', '1424109', '1424110', '1424111', '1424112', '1424113', '1424114', '1424115', '1424116', '1424117', '1424118', '1424119', '1424120', '1424121', '1424122', '1424123', '1424124', '1424125', '1424126', '1424127', '1424128', '1424129', '1424130', '1424131', '1424132', '1424133', '1424134', '1424135', '1424136', '1424137', '1424138', '1424139', '1424140', '1424141', '1424142', '1424143', '1424144', '1424145', '1424146', '1424147', '1424148', '1424149', '1424150', '1424151', '1424152', '1424153', '1424154', '1424155', '1424156', '1424157', '1424158', '1424159', '1424160', '1424161', '1424162', '1424163', '1424164', '1424165', '1424166', '1424167', '1424168', '1424169', '1424170', '1424171', '1424172', '1424173', '1424174', '1424175', '1424176', '1424177', '1424178', '1424179', '1424180', '1424181', '1424182', '1424183', '1424184', '1424185', '1424186', '1424187', '1424188', '1424189', '1424190', '1424191', '1424192', '1424193', '1424194', '1424195', '1424196', '1424197', '1424198', '1424199', '1424200', '1424201', '1424202', '1424203', '1424204', '1424205', '1424206', '1424207', '1424208', '1424209', '1424210', '1424211', '1424212', '1424213', '1424214', '1424215', '1424216', '1424217', '1424218', '1424219', '1424220', '1424221', '1424222', '1424223', '1424224', '1424225', '1424226', '1424227', '1424228', '1424229', '1424230', '1424231', '1424232', '1424233', '1424234', '1424235', '1424236', '1424237', '1424238', '1424239', '1424240', '1424241', '1424242', '1424243', '1424244', '1424245', '1424246', '1424247', '1424248', '1424249', '1424250', '1424251', '1424252', '1424253', '1424254', '1424255', '1424256', '1424257', '1424258', '1424259', '1424260', '1424261', '1424262', '1424263', '1424264', '1424265', '1424266', '1424267', '1424268', '1424269', '1424270', '1424271', '1424272', '1424273', '1424274', '1424275', '1424276', '1424277', '1424278', '1424279', '1424280', '1424281', '1424282', '1424283', '1424284', '1424285', '1424286', '1424287', '1424288', '1424289', '1424290', '1424291', '1424292', '1424293', '1424294', '1424295', '1424296', '1424297', '1424298', '1424299', '1424300', '1424301', '1424302', '1424303', '1424304', '1424305', '1424306', '1424307', '1424308', '1424309', '1424310', '1424311', '1424312', '1424313', '1424314', '1424315', '1424316', '1424317', '1424318', '1424319', '1424320', '1424321', '1424322', '1424323', '1424324', '1424325', '1424326', '1424327', '1424328', '1424329', '1424330', '1424331', '1424332', '1424333', '1424334', '1424335', '1424336', '1424337', '1424338', '1424339', '1424340', '1424341', '1424342', '1424343', '1424344', '1424345', '1424346', '1424347', '1424348', '1424349', '1424350', '1424351', '1424352', '1424353', '1424354', '1424355', '1424356', '1424357', '1424358', '1424359', '1424360', '1424361', '1424362', '1424363', '1424364', '1424365', '1424366', '1424367', '1424368', '1424369', '1424370', '1424371', '1424372', '1424373', '1424374', '1424375', '1424376', '1424377', '1424378', '1424379', '1424380', '1424381', '1424382', '1424383', '1424384', '1424385', '1424386', '1424387', '1424388', '1424389', '1424390', '1424391', '1424392', '1424393', '1424394', '1424395', '1424396', '1424397', '1424398', '1424399', '1424400', '1424401', '1424402', '1424403', '1424404', '1424405', '1424406', '1424407', '1424408', '1424409', '1424410', '1424411', '1424412', '1424413', '1424414', '1424415', '1424416', '1424417', '1424418', '1424419', '1424420', '1424421', '1424422', '1424423', '1424424', '1424425', '1424426', '1424427', '1424428', '1424429', '1424430', '1424431', '1424432', '1424433', '1424434', '1424435', '1424436', '1424437', '1424438', '1424439', '1424440', '1424441', '1424442', '1424443', '1424444', '1424445', '1424446', '1424447', '1424448', '1424449', '1424450', '1424451', '1424452', '1424453', '1424454', '1424455', '1424456', '1424457', '1424458', '1424459', '1424460', '1424461', '1424462', '1424463', '1424464', '1424465', '1424466', '1424467', '1424468', '1424469', '1424470', '1424471', '1424472', '1424473', '1424474', '1424475', '1424476', '1424477', '1424478', '1424479', '1424480', '1424481', '1424482', '1424483', '1424484', '1424485', '1424486', '1424487', '1424488', '1424489', '1424490', '1424491', '1424492', '1424493', '1424494', '1424495', '1424496', '1424497', '1424498', '1424499', '1424500', '1424501', '1424502', '1424503', '1424504', '1424505', '1424506', '1424507', '1424508', '1424509', '1424510', '1424511', '1424512', '1424513', '1424514', '1424515', '1424516', '1424517', '1424518', '1424519', '1424520', '1424521', '1424522', '1424523', '1424524', '1424525', '1424526', '1424527', '1424528', '1424529', '1424530', '1424531', '1424532', '1424533', '1424534', '1424535', '1424536', '1424537', '1424538', '1424539', '1424540', '1424541', '1424542', '1424543', '1424544', '1424545', '1424546', '1424547', '1424548', '1424549', '1424550', '1424551', '1424552', '1424553', '1424554', '1424555', '1424556', '1424557', '1424558', '1424559', '1424560', '1424561', '1424562', '1424563', '1424564', '1424565', '1424566', '1424567', '1424568', '1424569', '1424570', '1424571', '1424572', '1424573', '1424574', '1424575', '1424576', '1424577', '1424578', '1424579', '1424580', '1424581', '1424582', '1424583', '1424584', '1424585', '1424586', '1424587', '1424588', '1424589', '1424590', '1424591', '1424592', '1424593', '1424594', '1424595', '1424596', '1424597', '1424598', '1424599', '1424600', '1424601', '1424602', '1424603', '1424604', '1424605', '1424606', '1424607', '1424608', '1424609', '1424610', '1424611', '1424612', '1424613', '1424614', '1424615', '1424616', '1424617', '1424618', '1424619', '1424620', '1424621', '1424622', '1424623', '1424624', '1424625', '1424626', '1424627', '1424628', '1424629', '1424630', '1424631', '1424632', '1424633', '1424634', '1424635', '1424636', '1424637', '1424638', '1424639', '1424640', '1424641', '1424642', '1424643', '1424644', '1424645', '1424646', '1424647', '1424648', '1424649', '1424650', '1424651', '1424652', '1424653', '1424654', '1424655', '1424656', '1424657', '1424658', '1424659', '1424660', '1424661', '1424662', '1424663', '1424664', '1424665', '1424666', '1424667', '1424668', '1424669', '1424670', '1424671', '1424672', '1424673', '1424674', '1424675', '1424676', '1424677', '1424678', '1424679', '1424680', '1424681', '1424682', '1424683', '1424684', '1424685', '1424686', '1424687', '1424688', '1424689', '1424690', '1424691', '1424692', '1424693', '1424694', '1424695', '1424696', '1424697', '1424698', '1424699', '1424700', '1424701', '1424702', '1424703', '1424704', '1424705', '1424706', '1424707', '1424708', '1424709', '1424710', '1424711', '1424712', '1424713', '1424714', '1424715', '1424716', '1424717', '1424718', '1424719', '1424720', '1424721', '1424722', '1424723', '1424724', '1424725', '1424726', '1424727', '1424728', '1424729', '1424730', '1424731', '1424732', '1424733', '1424734', '1424735', '1424736', '1424737', '1424738', '1424739', '1424740', '1424741', '1424742', '1424743', '1424744', '1424745', '1424746', '1424747', '1424748', '1424749', '1424750', '1424751', '1424752', '1424753', '1424754', '1424755', '1424756', '1424757', '1424758', '1424759', '1424760', '1424761', '1424762', '1424763', '1424764', '1424765', '1424766', '1424767', '1424768', '1424769', '1424770', '1424771', '1424772', '1424773', '1424774', '1424775', '1424776', '1424777', '1424778', '1424779', '1424780', '1424781', '1424782', '1424783', '1424784', '1424785', '1424786', '1424787', '1424788', '1424789', '1424790', '1424791', '1424792', '1424793', '1424794', '1424795', '1424796', '1424797', '1424798', '1424799', '1424800', '1424801', '1424802', '1424803', '1424804', '1424805', '1424806', '1424807', '1424808', '1424809', '1424810', '1424811', '1424812', '1424813', '1424814', '1424815', '1424816', '1424817', '1424818', '1424819', '1424820', '1424821', '1424822', '1424823', '1424824', '1424825', '1424826', '1424827', '1424828', '1424829', '1424830', '1424831', '1424832', '1424833', '1424834', '1424835', '1424836', '1424837', '1424838', '1424839', '1424840', '1424841', '1424842', '1424843', '1424844', '1424845', '1424846', '1424847', '1424848', '1424849', '1424850', '1424851', '1424852', '1424853', '1424854', '1424855', '1424856', '1424857', '1424858', '1424859', '1424860', '1424861', '1424862', '1424863', '1424864', '1424865', '1424866', '1424867', '1424868', '1424869', '1424870', '1424871', '1424872', '1424873', '1424874', '1424875', '1424876', '1424877', '1424878', '1424879', '1424880', '1424881', '1424882', '1424883', '1424884', '1424885', '1424886', '1424887', '1424888', '1424889', '1424890', '1424891', '1424892', '1424893', '1424894', '1424895', '1424896', '1424897', '1424898', '1424899', '1424900', '1424901', '1424902', '1424903', '1424904', '1424905', '1424906', '1424907', '1424908', '1424909', '1424910', '1424911', '1424912', '1424913', '1424914', '1424915', '1424916', '1424917', '1424918', '1424919', '1424920', '1424921', '1424922', '1424923', '1424924', '1424925', '1424926', '1424927', '1424928', '1424929', '1424930', '1424931', '1424932', '1424933', '1424934', '1424935', '1424936', '1424937', '1424938', '1424939', '1424940', '1424941', '1424942', '1424943', '1424944', '1424945', '1424946', '1424947', '1424948', '1424949', '1424950', '1424951', '1424952', '1424953', '1424954', '1424955', '1424956', '1424957', '1424958', '1424959', '1424960', '1424961', '1424962', '1424963', '1424964', '1424965', '1424966', '1424967', '1424968', '1424969', '1424970', '1424971', '1424972', '1424973', '1424974', '1424975', '1424976', '1424977', '1424978', '1424979', '1424980', '1424981', '1424982', '1424983', '1424984', '1424985', '1424986', '1424987', '1424988', '1424989', '1424990', '1424991', '1424992', '1424993', '1424994', '1424995', '1424996', '1424997', '1424998', '1424999', '1425000', '1425001', '1425002', '1425003', '1425004', '1425005', '1425006', '1425007', '1425008', '1425009', '1425010', '1425011', '1425012', '1425013', '1425014', '1425015', '1425016', '1425017', '1425018', '1425019', '1425020', '1425021', '1425022', '1425023', '1425024', '1425025', '1425026', '1425027', '1425028', '1425029', '1425030', '1425031', '1425032', '1425033', '1425034', '1425035', '1425036', '1425037', '1425038', '1425039', '1425040', '1425041', '1425042', '1425043', '1425044', '1425045', '1425046', '1425047', '1425048', '1425049', '1425050', '1425051', '1425052', '1425053', '1425054', '1425055', '1425056', '1425057', '1425058', '1425059', '1425060', '1425061', '1425062', '1425063', '1425064', '1425065', '1425066', '1425067', '1425068', '1425069', '1425070', '1425071', '1425072', '1425073', '1425074', '1425075', '1425076', '1425077', '1425078', '1425079', '1425080', '1425081', '1425082', '1425083', '1425084', '1425085', '1425086', '1425087', '1425088', '1425089', '1425090', '1425091', '1425092', '1425093', '1425094', '1425095', '1425096', '1425097', '1425098', '1425099', '1425100', '1425101', '1425102', '1425103', '1425104', '1425105', '1425106', '1425107', '1425108', '1425109', '1425110', '1425111', '1425112', '1425113', '1425114', '1425115', '1425116', '1425117', '1425118', '1425119', '1425120', '1425121', '1425122', '1425123', '1425124', '1425125', '1425126', '1425127', '1425128', '1425129', '1425130', '1425131', '1425132', '1425133', '1425134', '1425135', '1425136', '1425137', '1425138', '1425139', '1425140', '1425141', '1425142', '1425143', '1425144', '1425145', '1425146', '1425147', '1425148', '1425149', '1425150', '1425151', '1425152', '1425153', '1425154', '1425155', '1425156', '1425157', '1425158', '1425159', '1425160', '1425161', '1425162', '1425163', '1425164', '1425165', '1425166', '1425167', '1425168', '1425169', '1425170', '1425171', '1425172', '1425173', '1425174', '1425175', '1425176', '1425177', '1425178', '1425179', '1425180', '1425181', '1425182', '1425183', '1425184', '1425185', '1425186', '1425187', '1425188', '1425189', '1425190', '1425191', '1425192', '1425193', '1425194', '1425195', '1425196', '1425197', '1425198', '1425199', '1425200', '1425201', '1425202', '1425203', '1425204', '1425205', '1425206', '1425207', '1425208', '1425209', '1425210', '1425211', '1425212', '1425213', '1425214', '1425215', '1425216', '1425217', '1425218', '1425219', '1425220', '1425221', '1425222', '1425223', '1425224', '1425225', '1425226', '1425227', '1425228', '1425229', '1425230', '1425231', '1425232', '1425233', '1425234', '1425235', '1425236', '1425237', '1425238', '1425239', '1425240', '1425241', '1425242', '1425243', '1425244', '1425245', '1425246', '1425247', '1425248', '1425249', '1425250', '1425251', '1425252', '1425253', '1425254', '1425255', '1425256', '1425257', '1425258', '1425259', '1425260', '1425261', '1425262', '1425263', '1425264', '1425265', '1425266', '1425267', '1425268', '1425269', '1425270', '1425271', '1425272', '1425273', '1425274', '1425275', '1425276', '1425277', '1425278', '1425279', '1425280', '1425281', '1425282', '1425283') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:37,012 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:44:37,013 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1814 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:44:37,455 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1814) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-25 10:45:29,644 - [124443] - src.utils.log - INFO - βœ… All 1814 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 10:45:29,777 - [124443] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 10:45:29,778 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 133 AND ServiceSetupId in (150214, 150202, 150307);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:45:30,055 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:45:30,056 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1423470', '1423471', '1423472', '1423473', '1423474', '1423475', '1423476', '1423477', '1423478', '1423479', '1423480', '1423481', '1423482', '1423483', '1423484', '1423485', '1423486', '1423487', '1423488', '1423489', '1423490', '1423491', '1423492', '1423493', '1423494', '1423495', '1423496', '1423497', '1423498', '1423499', '1423500', '1423501', '1423502', '1423503', '1423504', '1423505', '1423506', '1423507', '1423508', '1423509', '1423510', '1423511', '1423512', '1423513', '1423514', '1423515', '1423516', '1423517', '1423518', '1423519', '1423520', '1423521', '1423522', '1423523', '1423524', '1423525', '1423526', '1423527', '1423528', '1423529', '1423530', '1423531', '1423532', '1423533', '1423534', '1423535', '1423536', '1423537', '1423538', '1423539', '1423540', '1423541', '1423542', '1423543', '1423544', '1423545', '1423546', '1423547', '1423548', '1423549', '1423550', '1423551', '1423552', '1423553', '1423554', '1423555', '1423556', '1423557', '1423558', '1423559', '1423560', '1423561', '1423562', '1423563', '1423564', '1423565', '1423566', '1423567', '1423568', '1423569', '1423570', '1423571', '1423572', '1423573', '1423574', '1423575', '1423576', '1423577', '1423578', '1423579', '1423580', '1423581', '1423582', '1423583', '1423584', '1423585', '1423586', '1423587', '1423588', '1423589', '1423590', '1423591', '1423592', '1423593', '1423594', '1423595', '1423596', '1423597', '1423598', '1423599', '1423600', '1423601', '1423602', '1423603', '1423604', '1423605', '1423606', '1423607', '1423608', '1423609', '1423610', '1423611', '1423612', '1423613', '1423614', '1423615', '1423616', '1423617', '1423618', '1423619', '1423620', '1423621', '1423622', '1423623', '1423624', '1423625', '1423626', '1423627', '1423628', '1423629', '1423630', '1423631', '1423632', '1423633', '1423634', '1423635', '1423636', '1423637', '1423638', '1423639', '1423640', '1423641', '1423642', '1423643', '1423644', '1423645', '1423646', '1423647', '1423648', '1423649', '1423650', '1423651', '1423652', '1423653', '1423654', '1423655', '1423656', '1423657', '1423658', '1423659', '1423660', '1423661', '1423662', '1423663', '1423664', '1423665', '1423666', '1423667', '1423668', '1423669', '1423670', '1423671', '1423672', '1423673', '1423674', '1423675', '1423676', '1423677', '1423678', '1423679', '1423680', '1423681', '1423682', '1423683', '1423684', '1423685', '1423686', '1423687', '1423688', '1423689', '1423690', '1423691', '1423692', '1423693', '1423694', '1423695', '1423696', '1423697', '1423698', '1423699', '1423700', '1423701', '1423702', '1423703', '1423704', '1423705', '1423706', '1423707', '1423708', '1423709', '1423710', '1423711', '1423712', '1423713', '1423714', '1423715', '1423716', '1423717', '1423718', '1423719', '1423720', '1423721', '1423722', '1423723', '1423724', '1423725', '1423726', '1423727', '1423728', '1423729', '1423730', '1423731', '1423732', '1423733', '1423734', '1423735', '1423736', '1423737', '1423738', '1423739', '1423740', '1423741', '1423742', '1423743', '1423744', '1423745', '1423746', '1423747', '1423748', '1423749', '1423750', '1423751', '1423752', '1423753', '1423754', '1423755', '1423756', '1423757', '1423758', '1423759', '1423760', '1423761', '1423762', '1423763', '1423764', '1423765', '1423766', '1423767', '1423768', '1423769', '1423770', '1423771', '1423772', '1423773', '1423774', '1423775', '1423776', '1423777', '1423778', '1423779', '1423780', '1423781', '1423782', '1423783', '1423784', '1423785', '1423786', '1423787', '1423788', '1423789', '1423790', '1423791', '1423792', '1423793', '1423794', '1423795', '1423796', '1423797', '1423798', '1423799', '1423800', '1423801', '1423802', '1423803', '1423804', '1423805', '1423806', '1423807', '1423808', '1423809', '1423810', '1423811', '1423812', '1423813', '1423814', '1423815', '1423816', '1423817', '1423818', '1423819', '1423820', '1423821', '1423822', '1423823', '1423824', '1423825', '1423826', '1423827', '1423828', '1423829', '1423830', '1423831', '1423832', '1423833', '1423834', '1423835', '1423836', '1423837', '1423838', '1423839', '1423840', '1423841', '1423842', '1423843', '1423844', '1423845', '1423846', '1423847', '1423848', '1423849', '1423850', '1423851', '1423852', '1423853', '1423854', '1423855', '1423856', '1423857', '1423858', '1423859', '1423860', '1423861', '1423862', '1423863', '1423864', '1423865', '1423866', '1423867', '1423868', '1423869', '1423870', '1423871', '1423872', '1423873', '1423874', '1423875', '1423876', '1423877', '1423878', '1423879', '1423880', '1423881', '1423882', '1423883', '1423884', '1423885', '1423886', '1423887', '1423888', '1423889', '1423890', '1423891', '1423892', '1423893', '1423894', '1423895', '1423896', '1423897', '1423898', '1423899', '1423900', '1423901', '1423902', '1423903', '1423904', '1423905', '1423906', '1423907', '1423908', '1423909', '1423910', '1423911', '1423912', '1423913', '1423914', '1423915', '1423916', '1423917', '1423918', '1423919', '1423920', '1423921', '1423922', '1423923', '1423924', '1423925', '1423926', '1423927', '1423928', '1423929', '1423930', '1423931', '1423932', '1423933', '1423934', '1423935', '1423936', '1423937', '1423938', '1423939', '1423940', '1423941', '1423942', '1423943', '1423944', '1423945', '1423946', '1423947', '1423948', '1423949', '1423950', '1423951', '1423952', '1423953', '1423954', '1423955', '1423956', '1423957', '1423958', '1423959', '1423960', '1423961', '1423962', '1423963', '1423964', '1423965', '1423966', '1423967', '1423968', '1423969', '1423970', '1423971', '1423972', '1423973', '1423974', '1423975', '1423976', '1423977', '1423978', '1423979', '1423980', '1423981', '1423982', '1423983', '1423984', '1423985', '1423986', '1423987', '1423988', '1423989', '1423990', '1423991', '1423992', '1423993', '1423994', '1423995', '1423996', '1423997', '1423998', '1423999', '1424000', '1424001', '1424002', '1424003', '1424004', '1424005', '1424006', '1424007', '1424008', '1424009', '1424010', '1424011', '1424012', '1424013', '1424014', '1424015', '1424016', '1424017', '1424018', '1424019', '1424020', '1424021', '1424022', '1424023', '1424024', '1424025', '1424026', '1424027', '1424028', '1424029', '1424030', '1424031', '1424032', '1424033', '1424034', '1424035', '1424036', '1424037', '1424038', '1424039', '1424040', '1424041', '1424042', '1424043', '1424044', '1424045', '1424046', '1424047', '1424048', '1424049', '1424050', '1424051', '1424052', '1424053', '1424054', '1424055', '1424056', '1424057', '1424058', '1424059', '1424060', '1424061', '1424062', '1424063', '1424064', '1424065', '1424066', '1424067', '1424068', '1424069', '1424070', '1424071', '1424072', '1424073', '1424074', '1424075', '1424076', '1424077', '1424078', '1424079', '1424080', '1424081', '1424082', '1424083', '1424084', '1424085', '1424086', '1424087', '1424088', '1424089', '1424090', '1424091', '1424092', '1424093', '1424094', '1424095', '1424096', '1424097', '1424098', '1424099', '1424100', '1424101', '1424102', '1424103', '1424104', '1424105', '1424106', '1424107', '1424108', '1424109', '1424110', '1424111', '1424112', '1424113', '1424114', '1424115', '1424116', '1424117', '1424118', '1424119', '1424120', '1424121', '1424122', '1424123', '1424124', '1424125', '1424126', '1424127', '1424128', '1424129', '1424130', '1424131', '1424132', '1424133', '1424134', '1424135', '1424136', '1424137', '1424138', '1424139', '1424140', '1424141', '1424142', '1424143', '1424144', '1424145', '1424146', '1424147', '1424148', '1424149', '1424150', '1424151', '1424152', '1424153', '1424154', '1424155', '1424156', '1424157', '1424158', '1424159', '1424160', '1424161', '1424162', '1424163', '1424164', '1424165', '1424166', '1424167', '1424168', '1424169', '1424170', '1424171', '1424172', '1424173', '1424174', '1424175', '1424176', '1424177', '1424178', '1424179', '1424180', '1424181', '1424182', '1424183', '1424184', '1424185', '1424186', '1424187', '1424188', '1424189', '1424190', '1424191', '1424192', '1424193', '1424194', '1424195', '1424196', '1424197', '1424198', '1424199', '1424200', '1424201', '1424202', '1424203', '1424204', '1424205', '1424206', '1424207', '1424208', '1424209', '1424210', '1424211', '1424212', '1424213', '1424214', '1424215', '1424216', '1424217', '1424218', '1424219', '1424220', '1424221', '1424222', '1424223', '1424224', '1424225', '1424226', '1424227', '1424228', '1424229', '1424230', '1424231', '1424232', '1424233', '1424234', '1424235', '1424236', '1424237', '1424238', '1424239', '1424240', '1424241', '1424242', '1424243', '1424244', '1424245', '1424246', '1424247', '1424248', '1424249', '1424250', '1424251', '1424252', '1424253', '1424254', '1424255', '1424256', '1424257', '1424258', '1424259', '1424260', '1424261', '1424262', '1424263', '1424264', '1424265', '1424266', '1424267', '1424268', '1424269', '1424270', '1424271', '1424272', '1424273', '1424274', '1424275', '1424276', '1424277', '1424278', '1424279', '1424280', '1424281', '1424282', '1424283', '1424284', '1424285', '1424286', '1424287', '1424288', '1424289', '1424290', '1424291', '1424292', '1424293', '1424294', '1424295', '1424296', '1424297', '1424298', '1424299', '1424300', '1424301', '1424302', '1424303', '1424304', '1424305', '1424306', '1424307', '1424308', '1424309', '1424310', '1424311', '1424312', '1424313', '1424314', '1424315', '1424316', '1424317', '1424318', '1424319', '1424320', '1424321', '1424322', '1424323', '1424324', '1424325', '1424326', '1424327', '1424328', '1424329', '1424330', '1424331', '1424332', '1424333', '1424334', '1424335', '1424336', '1424337', '1424338', '1424339', '1424340', '1424341', '1424342', '1424343', '1424344', '1424345', '1424346', '1424347', '1424348', '1424349', '1424350', '1424351', '1424352', '1424353', '1424354', '1424355', '1424356', '1424357', '1424358', '1424359', '1424360', '1424361', '1424362', '1424363', '1424364', '1424365', '1424366', '1424367', '1424368', '1424369', '1424370', '1424371', '1424372', '1424373', '1424374', '1424375', '1424376', '1424377', '1424378', '1424379', '1424380', '1424381', '1424382', '1424383', '1424384', '1424385', '1424386', '1424387', '1424388', '1424389', '1424390', '1424391', '1424392', '1424393', '1424394', '1424395', '1424396', '1424397', '1424398', '1424399', '1424400', '1424401', '1424402', '1424403', '1424404', '1424405', '1424406', '1424407', '1424408', '1424409', '1424410', '1424411', '1424412', '1424413', '1424414', '1424415', '1424416', '1424417', '1424418', '1424419', '1424420', '1424421', '1424422', '1424423', '1424424', '1424425', '1424426', '1424427', '1424428', '1424429', '1424430', '1424431', '1424432', '1424433', '1424434', '1424435', '1424436', '1424437', '1424438', '1424439', '1424440', '1424441', '1424442', '1424443', '1424444', '1424445', '1424446', '1424447', '1424448', '1424449', '1424450', '1424451', '1424452', '1424453', '1424454', '1424455', '1424456', '1424457', '1424458', '1424459', '1424460', '1424461', '1424462', '1424463', '1424464', '1424465', '1424466', '1424467', '1424468', '1424469', '1424470', '1424471', '1424472', '1424473', '1424474', '1424475', '1424476', '1424477', '1424478', '1424479', '1424480', '1424481', '1424482', '1424483', '1424484', '1424485', '1424486', '1424487', '1424488', '1424489', '1424490', '1424491', '1424492', '1424493', '1424494', '1424495', '1424496', '1424497', '1424498', '1424499', '1424500', '1424501', '1424502', '1424503', '1424504', '1424505', '1424506', '1424507', '1424508', '1424509', '1424510', '1424511', '1424512', '1424513', '1424514', '1424515', '1424516', '1424517', '1424518', '1424519', '1424520', '1424521', '1424522', '1424523', '1424524', '1424525', '1424526', '1424527', '1424528', '1424529', '1424530', '1424531', '1424532', '1424533', '1424534', '1424535', '1424536', '1424537', '1424538', '1424539', '1424540', '1424541', '1424542', '1424543', '1424544', '1424545', '1424546', '1424547', '1424548', '1424549', '1424550', '1424551', '1424552', '1424553', '1424554', '1424555', '1424556', '1424557', '1424558', '1424559', '1424560', '1424561', '1424562', '1424563', '1424564', '1424565', '1424566', '1424567', '1424568', '1424569', '1424570', '1424571', '1424572', '1424573', '1424574', '1424575', '1424576', '1424577', '1424578', '1424579', '1424580', '1424581', '1424582', '1424583', '1424584', '1424585', '1424586', '1424587', '1424588', '1424589', '1424590', '1424591', '1424592', '1424593', '1424594', '1424595', '1424596', '1424597', '1424598', '1424599', '1424600', '1424601', '1424602', '1424603', '1424604', '1424605', '1424606', '1424607', '1424608', '1424609', '1424610', '1424611', '1424612', '1424613', '1424614', '1424615', '1424616', '1424617', '1424618', '1424619', '1424620', '1424621', '1424622', '1424623', '1424624', '1424625', '1424626', '1424627', '1424628', '1424629', '1424630', '1424631', '1424632', '1424633', '1424634', '1424635', '1424636', '1424637', '1424638', '1424639', '1424640', '1424641', '1424642', '1424643', '1424644', '1424645', '1424646', '1424647', '1424648', '1424649', '1424650', '1424651', '1424652', '1424653', '1424654', '1424655', '1424656', '1424657', '1424658', '1424659', '1424660', '1424661', '1424662', '1424663', '1424664', '1424665', '1424666', '1424667', '1424668', '1424669', '1424670', '1424671', '1424672', '1424673', '1424674', '1424675', '1424676', '1424677', '1424678', '1424679', '1424680', '1424681', '1424682', '1424683', '1424684', '1424685', '1424686', '1424687', '1424688', '1424689', '1424690', '1424691', '1424692', '1424693', '1424694', '1424695', '1424696', '1424697', '1424698', '1424699', '1424700', '1424701', '1424702', '1424703', '1424704', '1424705', '1424706', '1424707', '1424708', '1424709', '1424710', '1424711', '1424712', '1424713', '1424714', '1424715', '1424716', '1424717', '1424718', '1424719', '1424720', '1424721', '1424722', '1424723', '1424724', '1424725', '1424726', '1424727', '1424728', '1424729', '1424730', '1424731', '1424732', '1424733', '1424734', '1424735', '1424736', '1424737', '1424738', '1424739', '1424740', '1424741', '1424742', '1424743', '1424744', '1424745', '1424746', '1424747', '1424748', '1424749', '1424750', '1424751', '1424752', '1424753', '1424754', '1424755', '1424756', '1424757', '1424758', '1424759', '1424760', '1424761', '1424762', '1424763', '1424764', '1424765', '1424766', '1424767', '1424768', '1424769', '1424770', '1424771', '1424772', '1424773', '1424774', '1424775', '1424776', '1424777', '1424778', '1424779', '1424780', '1424781', '1424782', '1424783', '1424784', '1424785', '1424786', '1424787', '1424788', '1424789', '1424790', '1424791', '1424792', '1424793', '1424794', '1424795', '1424796', '1424797', '1424798', '1424799', '1424800', '1424801', '1424802', '1424803', '1424804', '1424805', '1424806', '1424807', '1424808', '1424809', '1424810', '1424811', '1424812', '1424813', '1424814', '1424815', '1424816', '1424817', '1424818', '1424819', '1424820', '1424821', '1424822', '1424823', '1424824', '1424825', '1424826', '1424827', '1424828', '1424829', '1424830', '1424831', '1424832', '1424833', '1424834', '1424835', '1424836', '1424837', '1424838', '1424839', '1424840', '1424841', '1424842', '1424843', '1424844', '1424845', '1424846', '1424847', '1424848', '1424849', '1424850', '1424851', '1424852', '1424853', '1424854', '1424855', '1424856', '1424857', '1424858', '1424859', '1424860', '1424861', '1424862', '1424863', '1424864', '1424865', '1424866', '1424867', '1424868', '1424869', '1424870', '1424871', '1424872', '1424873', '1424874', '1424875', '1424876', '1424877', '1424878', '1424879', '1424880', '1424881', '1424882', '1424883', '1424884', '1424885', '1424886', '1424887', '1424888', '1424889', '1424890', '1424891', '1424892', '1424893', '1424894', '1424895', '1424896', '1424897', '1424898', '1424899', '1424900', '1424901', '1424902', '1424903', '1424904', '1424905', '1424906', '1424907', '1424908', '1424909', '1424910', '1424911', '1424912', '1424913', '1424914', '1424915', '1424916', '1424917', '1424918', '1424919', '1424920', '1424921', '1424922', '1424923', '1424924', '1424925', '1424926', '1424927', '1424928', '1424929', '1424930', '1424931', '1424932', '1424933', '1424934', '1424935', '1424936', '1424937', '1424938', '1424939', '1424940', '1424941', '1424942', '1424943', '1424944', '1424945', '1424946', '1424947', '1424948', '1424949', '1424950', '1424951', '1424952', '1424953', '1424954', '1424955', '1424956', '1424957', '1424958', '1424959', '1424960', '1424961', '1424962', '1424963', '1424964', '1424965', '1424966', '1424967', '1424968', '1424969', '1424970', '1424971', '1424972', '1424973', '1424974', '1424975', '1424976', '1424977', '1424978', '1424979', '1424980', '1424981', '1424982', '1424983', '1424984', '1424985', '1424986', '1424987', '1424988', '1424989', '1424990', '1424991', '1424992', '1424993', '1424994', '1424995', '1424996', '1424997', '1424998', '1424999', '1425000', '1425001', '1425002', '1425003', '1425004', '1425005', '1425006', '1425007', '1425008', '1425009', '1425010', '1425011', '1425012', '1425013', '1425014', '1425015', '1425016', '1425017', '1425018', '1425019', '1425020', '1425021', '1425022', '1425023', '1425024', '1425025', '1425026', '1425027', '1425028', '1425029', '1425030', '1425031', '1425032', '1425033', '1425034', '1425035', '1425036', '1425037', '1425038', '1425039', '1425040', '1425041', '1425042', '1425043', '1425044', '1425045', '1425046', '1425047', '1425048', '1425049', '1425050', '1425051', '1425052', '1425053', '1425054', '1425055', '1425056', '1425057', '1425058', '1425059', '1425060', '1425061', '1425062', '1425063', '1425064', '1425065', '1425066', '1425067', '1425068', '1425069', '1425070', '1425071', '1425072', '1425073', '1425074', '1425075', '1425076', '1425077', '1425078', '1425079', '1425080', '1425081', '1425082', '1425083', '1425084', '1425085', '1425086', '1425087', '1425088', '1425089', '1425090', '1425091', '1425092', '1425093', '1425094', '1425095', '1425096', '1425097', '1425098', '1425099', '1425100', '1425101', '1425102', '1425103', '1425104', '1425105', '1425106', '1425107', '1425108', '1425109', '1425110', '1425111', '1425112', '1425113', '1425114', '1425115', '1425116', '1425117', '1425118', '1425119', '1425120', '1425121', '1425122', '1425123', '1425124', '1425125', '1425126', '1425127', '1425128', '1425129', '1425130', '1425131', '1425132', '1425133', '1425134', '1425135', '1425136', '1425137', '1425138', '1425139', '1425140', '1425141', '1425142', '1425143', '1425144', '1425145', '1425146', '1425147', '1425148', '1425149', '1425150', '1425151', '1425152', '1425153', '1425154', '1425155', '1425156', '1425157', '1425158', '1425159', '1425160', '1425161', '1425162', '1425163', '1425164', '1425165', '1425166', '1425167', '1425168', '1425169', '1425170', '1425171', '1425172', '1425173', '1425174', '1425175', '1425176', '1425177', '1425178', '1425179', '1425180', '1425181', '1425182', '1425183', '1425184', '1425185', '1425186', '1425187', '1425188', '1425189', '1425190', '1425191', '1425192', '1425193', '1425194', '1425195', '1425196', '1425197', '1425198', '1425199', '1425200', '1425201', '1425202', '1425203', '1425204', '1425205', '1425206', '1425207', '1425208', '1425209', '1425210', '1425211', '1425212', '1425213', '1425214', '1425215', '1425216', '1425217', '1425218', '1425219', '1425220', '1425221', '1425222', '1425223', '1425224', '1425225', '1425226', '1425227', '1425228', '1425229', '1425230', '1425231', '1425232', '1425233', '1425234', '1425235', '1425236', '1425237', '1425238', '1425239', '1425240', '1425241', '1425242', '1425243', '1425244', '1425245', '1425246', '1425247', '1425248', '1425249', '1425250', '1425251', '1425252', '1425253', '1425254', '1425255', '1425256', '1425257', '1425258', '1425259', '1425260', '1425261', '1425262', '1425263', '1425264', '1425265', '1425266', '1425267', '1425268', '1425269', '1425270', '1425271', '1425272', '1425273', '1425274', '1425275', '1425276', '1425277', '1425278', '1425279', '1425280', '1425281', '1425282', '1425283') AND wo.AccountNumber IN ('14773', '14835', 'Nupur_S', '14842', '14821', '14805', '0805', '14847', '0804', '14843', '14815', '14811', '14420', '14861', '0803', '14832', '14849', '14833', '14829', '14814', '14830', '14813', '14831', '14837', '14838', '14809', '14808', '14828') AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-49_0) - __SPLIT__ 2026-05-25 10:45:30,630 - [124443] - src.utils.log - INFO - βœ… Fetched 1814 rows - __SPLIT__ 2026-05-25 10:45:30,631 - [124443] - src.utils.log - INFO - Parallel fetching temp table records - __SPLIT__ 2026-05-25 10:45:30,632 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130)... (Thread: ThreadPoolExecutor-50_0) - __SPLIT__ 2026-05-25 10:45:30,633 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130)... (Thread: ThreadPoolExecutor-50_1) - __SPLIT__ 2026-05-25 10:45:30,634 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130)... (Thread: ThreadPoolExecutor-50_2) - __SPLIT__ 2026-05-25 10:45:30,634 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130)... (Thread: ThreadPoolExecutor-50_3) - __SPLIT__ 2026-05-25 10:45:30,636 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130)... (Thread: ThreadPoolExecutor-50_4) - __SPLIT__ 2026-05-25 10:45:30,637 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130)... (Thread: ThreadPoolExecutor-50_5) - __SPLIT__ 2026-05-25 10:45:30,639 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130) and woag.RefType = 'TempWorkorder';... (Thread: ThreadPoolExecutor-50_6) - __SPLIT__ 2026-05-25 10:45:30,640 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3676317, 3676318, 3676319, 3676320, 3676321, 3676322, 3676323, 3676324, 3676325, 3676326, 3676327, 3676328, 3676329, 3676330, 3676331, 3676332, 3676333, 3676334, 3676335, 3676336, 3676337, 3676338, 3676339, 3676340, 3676341, 3676342, 3676343, 3676344, 3676345, 3676346, 3676347, 3676348, 3676349, 3676350, 3676351, 3676352, 3676353, 3676354, 3676355, 3676356, 3676357, 3676358, 3676359, 3676360, 3676361, 3676362, 3676363, 3676364, 3676365, 3676366, 3676367, 3676368, 3676369, 3676370, 3676371, 3676372, 3676373, 3676374, 3676375, 3676376, 3676377, 3676378, 3676379, 3676380, 3676381, 3676382, 3676383, 3676384, 3676385, 3676386, 3676387, 3676388, 3676389, 3676390, 3676391, 3676392, 3676393, 3676394, 3676395, 3676396, 3676397, 3676398, 3676399, 3676400, 3676401, 3676402, 3676403, 3676404, 3676405, 3676406, 3676407, 3676408, 3676409, 3676410, 3676411, 3676412, 3676413, 3676414, 3676415, 3676416, 3676417, 3676418, 3676419, 3676420, 3676421, 3676422, 3676423, 3676424, 3676425, 3676426, 3676427, 3676428, 3676429, 3676430, 3676431, 3676432, 3676433, 3676434, 3676435, 3676436, 3676437, 3676438, 3676439, 3676440, 3676441, 3676442, 3676443, 3676444, 3676445, 3676446, 3676447, 3676448, 3676449, 3676450, 3676451, 3676452, 3676453, 3676454, 3676455, 3676456, 3676457, 3676458, 3676459, 3676460, 3676461, 3676462, 3676463, 3676464, 3676465, 3676466, 3676467, 3676468, 3676469, 3676470, 3676471, 3676472, 3676473, 3676474, 3676475, 3676476, 3676477, 3676478, 3676479, 3676480, 3676481, 3676482, 3676483, 3676484, 3676485, 3676486, 3676487, 3676488, 3676489, 3676490, 3676491, 3676492, 3676493, 3676494, 3676495, 3676496, 3676497, 3676498, 3676499, 3676500, 3676501, 3676502, 3676503, 3676504, 3676505, 3676506, 3676507, 3676508, 3676509, 3676510, 3676511, 3676512, 3676513, 3676514, 3676515, 3676516, 3676517, 3676518, 3676519, 3676520, 3676521, 3676522, 3676523, 3676524, 3676525, 3676526, 3676527, 3676528, 3676529, 3676530, 3676531, 3676532, 3676533, 3676534, 3676535, 3676536, 3676537, 3676538, 3676539, 3676540, 3676541, 3676542, 3676543, 3676544, 3676545, 3676546, 3676547, 3676548, 3676549, 3676550, 3676551, 3676552, 3676553, 3676554, 3676555, 3676556, 3676557, 3676558, 3676559, 3676560, 3676561, 3676562, 3676563, 3676564, 3676565, 3676566, 3676567, 3676568, 3676569, 3676570, 3676571, 3676572, 3676573, 3676574, 3676575, 3676576, 3676577, 3676578, 3676579, 3676580, 3676581, 3676582, 3676583, 3676584, 3676585, 3676586, 3676587, 3676588, 3676589, 3676590, 3676591, 3676592, 3676593, 3676594, 3676595, 3676596, 3676597, 3676598, 3676599, 3676600, 3676601, 3676602, 3676603, 3676604, 3676605, 3676606, 3676607, 3676608, 3676609, 3676610, 3676611, 3676612, 3676613, 3676614, 3676615, 3676616, 3676617, 3676618, 3676619, 3676620, 3676621, 3676622, 3676623, 3676624, 3676625, 3676626, 3676627, 3676628, 3676629, 3676630, 3676631, 3676632, 3676633, 3676634, 3676635, 3676636, 3676637, 3676638, 3676639, 3676640, 3676641, 3676642, 3676643, 3676644, 3676645, 3676646, 3676647, 3676648, 3676649, 3676650, 3676651, 3676652, 3676653, 3676654, 3676655, 3676656, 3676657, 3676658, 3676659, 3676660, 3676661, 3676662, 3676663, 3676664, 3676665, 3676666, 3676667, 3676668, 3676669, 3676670, 3676671, 3676672, 3676673, 3676674, 3676675, 3676676, 3676677, 3676678, 3676679, 3676680, 3676681, 3676682, 3676683, 3676684, 3676685, 3676686, 3676687, 3676688, 3676689, 3676690, 3676691, 3676692, 3676693, 3676694, 3676695, 3676696, 3676697, 3676698, 3676699, 3676700, 3676701, 3676702, 3676703, 3676704, 3676705, 3676706, 3676707, 3676708, 3676709, 3676710, 3676711, 3676712, 3676713, 3676714, 3676715, 3676716, 3676717, 3676718, 3676719, 3676720, 3676721, 3676722, 3676723, 3676724, 3676725, 3676726, 3676727, 3676728, 3676729, 3676730, 3676731, 3676732, 3676733, 3676734, 3676735, 3676736, 3676737, 3676738, 3676739, 3676740, 3676741, 3676742, 3676743, 3676744, 3676745, 3676746, 3676747, 3676748, 3676749, 3676750, 3676751, 3676752, 3676753, 3676754, 3676755, 3676756, 3676757, 3676758, 3676759, 3676760, 3676761, 3676762, 3676763, 3676764, 3676765, 3676766, 3676767, 3676768, 3676769, 3676770, 3676771, 3676772, 3676773, 3676774, 3676775, 3676776, 3676777, 3676778, 3676779, 3676780, 3676781, 3676782, 3676783, 3676784, 3676785, 3676786, 3676787, 3676788, 3676789, 3676790, 3676791, 3676792, 3676793, 3676794, 3676795, 3676796, 3676797, 3676798, 3676799, 3676800, 3676801, 3676802, 3676803, 3676804, 3676805, 3676806, 3676807, 3676808, 3676809, 3676810, 3676811, 3676812, 3676813, 3676814, 3676815, 3676816, 3676817, 3676818, 3676819, 3676820, 3676821, 3676822, 3676823, 3676824, 3676825, 3676826, 3676827, 3676828, 3676829, 3676830, 3676831, 3676832, 3676833, 3676834, 3676835, 3676836, 3676837, 3676838, 3676839, 3676840, 3676841, 3676842, 3676843, 3676844, 3676845, 3676846, 3676847, 3676848, 3676849, 3676850, 3676851, 3676852, 3676853, 3676854, 3676855, 3676856, 3676857, 3676858, 3676859, 3676860, 3676861, 3676862, 3676863, 3676864, 3676865, 3676866, 3676867, 3676868, 3676869, 3676870, 3676871, 3676872, 3676873, 3676874, 3676875, 3676876, 3676877, 3676878, 3676879, 3676880, 3676881, 3676882, 3676883, 3676884, 3676885, 3676886, 3676887, 3676888, 3676889, 3676890, 3676891, 3676892, 3676893, 3676894, 3676895, 3676896, 3676897, 3676898, 3676899, 3676900, 3676901, 3676902, 3676903, 3676904, 3676905, 3676906, 3676907, 3676908, 3676909, 3676910, 3676911, 3676912, 3676913, 3676914, 3676915, 3676916, 3676917, 3676918, 3676919, 3676920, 3676921, 3676922, 3676923, 3676924, 3676925, 3676926, 3676927, 3676928, 3676929, 3676930, 3676931, 3676932, 3676933, 3676934, 3676935, 3676936, 3676937, 3676938, 3676939, 3676940, 3676941, 3676942, 3676943, 3676944, 3676945, 3676946, 3676947, 3676948, 3676949, 3676950, 3676951, 3676952, 3676953, 3676954, 3676955, 3676956, 3676957, 3676958, 3676959, 3676960, 3676961, 3676962, 3676963, 3676964, 3676965, 3676966, 3676967, 3676968, 3676969, 3676970, 3676971, 3676972, 3676973, 3676974, 3676975, 3676976, 3676977, 3676978, 3676979, 3676980, 3676981, 3676982, 3676983, 3676984, 3676985, 3676986, 3676987, 3676988, 3676989, 3676990, 3676991, 3676992, 3676993, 3676994, 3676995, 3676996, 3676997, 3676998, 3676999, 3677000, 3677001, 3677002, 3677003, 3677004, 3677005, 3677006, 3677007, 3677008, 3677009, 3677010, 3677011, 3677012, 3677013, 3677014, 3677015, 3677016, 3677017, 3677018, 3677019, 3677020, 3677021, 3677022, 3677023, 3677024, 3677025, 3677026, 3677027, 3677028, 3677029, 3677030, 3677031, 3677032, 3677033, 3677034, 3677035, 3677036, 3677037, 3677038, 3677039, 3677040, 3677041, 3677042, 3677043, 3677044, 3677045, 3677046, 3677047, 3677048, 3677049, 3677050, 3677051, 3677052, 3677053, 3677054, 3677055, 3677056, 3677057, 3677058, 3677059, 3677060, 3677061, 3677062, 3677063, 3677064, 3677065, 3677066, 3677067, 3677068, 3677069, 3677070, 3677071, 3677072, 3677073, 3677074, 3677075, 3677076, 3677077, 3677078, 3677079, 3677080, 3677081, 3677082, 3677083, 3677084, 3677085, 3677086, 3677087, 3677088, 3677089, 3677090, 3677091, 3677092, 3677093, 3677094, 3677095, 3677096, 3677097, 3677098, 3677099, 3677100, 3677101, 3677102, 3677103, 3677104, 3677105, 3677106, 3677107, 3677108, 3677109, 3677110, 3677111, 3677112, 3677113, 3677114, 3677115, 3677116, 3677117, 3677118, 3677119, 3677120, 3677121, 3677122, 3677123, 3677124, 3677125, 3677126, 3677127, 3677128, 3677129, 3677130, 3677131, 3677132, 3677133, 3677134, 3677135, 3677136, 3677137, 3677138, 3677139, 3677140, 3677141, 3677142, 3677143, 3677144, 3677145, 3677146, 3677147, 3677148, 3677149, 3677150, 3677151, 3677152, 3677153, 3677154, 3677155, 3677156, 3677157, 3677158, 3677159, 3677160, 3677161, 3677162, 3677163, 3677164, 3677165, 3677166, 3677167, 3677168, 3677169, 3677170, 3677171, 3677172, 3677173, 3677174, 3677175, 3677176, 3677177, 3677178, 3677179, 3677180, 3677181, 3677182, 3677183, 3677184, 3677185, 3677186, 3677187, 3677188, 3677189, 3677190, 3677191, 3677192, 3677193, 3677194, 3677195, 3677196, 3677197, 3677198, 3677199, 3677200, 3677201, 3677202, 3677203, 3677204, 3677205, 3677206, 3677207, 3677208, 3677209, 3677210, 3677211, 3677212, 3677213, 3677214, 3677215, 3677216, 3677217, 3677218, 3677219, 3677220, 3677221, 3677222, 3677223, 3677224, 3677225, 3677226, 3677227, 3677228, 3677229, 3677230, 3677231, 3677232, 3677233, 3677234, 3677235, 3677236, 3677237, 3677238, 3677239, 3677240, 3677241, 3677242, 3677243, 3677244, 3677245, 3677246, 3677247, 3677248, 3677249, 3677250, 3677251, 3677252, 3677253, 3677254, 3677255, 3677256, 3677257, 3677258, 3677259, 3677260, 3677261, 3677262, 3677263, 3677264, 3677265, 3677266, 3677267, 3677268, 3677269, 3677270, 3677271, 3677272, 3677273, 3677274, 3677275, 3677276, 3677277, 3677278, 3677279, 3677280, 3677281, 3677282, 3677283, 3677284, 3677285, 3677286, 3677287, 3677288, 3677289, 3677290, 3677291, 3677292, 3677293, 3677294, 3677295, 3677296, 3677297, 3677298, 3677299, 3677300, 3677301, 3677302, 3677303, 3677304, 3677305, 3677306, 3677307, 3677308, 3677309, 3677310, 3677311, 3677312, 3677313, 3677314, 3677315, 3677316, 3677317, 3677318, 3677319, 3677320, 3677321, 3677322, 3677323, 3677324, 3677325, 3677326, 3677327, 3677328, 3677329, 3677330, 3677331, 3677332, 3677333, 3677334, 3677335, 3677336, 3677337, 3677338, 3677339, 3677340, 3677341, 3677342, 3677343, 3677344, 3677345, 3677346, 3677347, 3677348, 3677349, 3677350, 3677351, 3677352, 3677353, 3677354, 3677355, 3677356, 3677357, 3677358, 3677359, 3677360, 3677361, 3677362, 3677363, 3677364, 3677365, 3677366, 3677367, 3677368, 3677369, 3677370, 3677371, 3677372, 3677373, 3677374, 3677375, 3677376, 3677377, 3677378, 3677379, 3677380, 3677381, 3677382, 3677383, 3677384, 3677385, 3677386, 3677387, 3677388, 3677389, 3677390, 3677391, 3677392, 3677393, 3677394, 3677395, 3677396, 3677397, 3677398, 3677399, 3677400, 3677401, 3677402, 3677403, 3677404, 3677405, 3677406, 3677407, 3677408, 3677409, 3677410, 3677411, 3677412, 3677413, 3677414, 3677415, 3677416, 3677417, 3677418, 3677419, 3677420, 3677421, 3677422, 3677423, 3677424, 3677425, 3677426, 3677427, 3677428, 3677429, 3677430, 3677431, 3677432, 3677433, 3677434, 3677435, 3677436, 3677437, 3677438, 3677439, 3677440, 3677441, 3677442, 3677443, 3677444, 3677445, 3677446, 3677447, 3677448, 3677449, 3677450, 3677451, 3677452, 3677453, 3677454, 3677455, 3677456, 3677457, 3677458, 3677459, 3677460, 3677461, 3677462, 3677463, 3677464, 3677465, 3677466, 3677467, 3677468, 3677469, 3677470, 3677471, 3677472, 3677473, 3677474, 3677475, 3677476, 3677477, 3677478, 3677479, 3677480, 3677481, 3677482, 3677483, 3677484, 3677485, 3677486, 3677487, 3677488, 3677489, 3677490, 3677491, 3677492, 3677493, 3677494, 3677495, 3677496, 3677497, 3677498, 3677499, 3677500, 3677501, 3677502, 3677503, 3677504, 3677505, 3677506, 3677507, 3677508, 3677509, 3677510, 3677511, 3677512, 3677513, 3677514, 3677515, 3677516, 3677517, 3677518, 3677519, 3677520, 3677521, 3677522, 3677523, 3677524, 3677525, 3677526, 3677527, 3677528, 3677529, 3677530, 3677531, 3677532, 3677533, 3677534, 3677535, 3677536, 3677537, 3677538, 3677539, 3677540, 3677541, 3677542, 3677543, 3677544, 3677545, 3677546, 3677547, 3677548, 3677549, 3677550, 3677551, 3677552, 3677553, 3677554, 3677555, 3677556, 3677557, 3677558, 3677559, 3677560, 3677561, 3677562, 3677563, 3677564, 3677565, 3677566, 3677567, 3677568, 3677569, 3677570, 3677571, 3677572, 3677573, 3677574, 3677575, 3677576, 3677577, 3677578, 3677579, 3677580, 3677581, 3677582, 3677583, 3677584, 3677585, 3677586, 3677587, 3677588, 3677589, 3677590, 3677591, 3677592, 3677593, 3677594, 3677595, 3677596, 3677597, 3677598, 3677599, 3677600, 3677601, 3677602, 3677603, 3677604, 3677605, 3677606, 3677607, 3677608, 3677609, 3677610, 3677611, 3677612, 3677613, 3677614, 3677615, 3677616, 3677617, 3677618, 3677619, 3677620, 3677621, 3677622, 3677623, 3677624, 3677625, 3677626, 3677627, 3677628, 3677629, 3677630, 3677631, 3677632, 3677633, 3677634, 3677635, 3677636, 3677637, 3677638, 3677639, 3677640, 3677641, 3677642, 3677643, 3677644, 3677645, 3677646, 3677647, 3677648, 3677649, 3677650, 3677651, 3677652, 3677653, 3677654, 3677655, 3677656, 3677657, 3677658, 3677659, 3677660, 3677661, 3677662, 3677663, 3677664, 3677665, 3677666, 3677667, 3677668, 3677669, 3677670, 3677671, 3677672, 3677673, 3677674, 3677675, 3677676, 3677677, 3677678, 3677679, 3677680, 3677681, 3677682, 3677683, 3677684, 3677685, 3677686, 3677687, 3677688, 3677689, 3677690, 3677691, 3677692, 3677693, 3677694, 3677695, 3677696, 3677697, 3677698, 3677699, 3677700, 3677701, 3677702, 3677703, 3677704, 3677705, 3677706, 3677707, 3677708, 3677709, 3677710, 3677711, 3677712, 3677713, 3677714, 3677715, 3677716, 3677717, 3677718, 3677719, 3677720, 3677721, 3677722, 3677723, 3677724, 3677725, 3677726, 3677727, 3677728, 3677729, 3677730, 3677731, 3677732, 3677733, 3677734, 3677735, 3677736, 3677737, 3677738, 3677739, 3677740, 3677741, 3677742, 3677743, 3677744, 3677745, 3677746, 3677747, 3677748, 3677749, 3677750, 3677751, 3677752, 3677753, 3677754, 3677755, 3677756, 3677757, 3677758, 3677759, 3677760, 3677761, 3677762, 3677763, 3677764, 3677765, 3677766, 3677767, 3677768, 3677769, 3677770, 3677771, 3677772, 3677773, 3677774, 3677775, 3677776, 3677777, 3677778, 3677779, 3677780, 3677781, 3677782, 3677783, 3677784, 3677785, 3677786, 3677787, 3677788, 3677789, 3677790, 3677791, 3677792, 3677793, 3677794, 3677795, 3677796, 3677797, 3677798, 3677799, 3677800, 3677801, 3677802, 3677803, 3677804, 3677805, 3677806, 3677807, 3677808, 3677809, 3677810, 3677811, 3677812, 3677813, 3677814, 3677815, 3677816, 3677817, 3677818, 3677819, 3677820, 3677821, 3677822, 3677823, 3677824, 3677825, 3677826, 3677827, 3677828, 3677829, 3677830, 3677831, 3677832, 3677833, 3677834, 3677835, 3677836, 3677837, 3677838, 3677839, 3677840, 3677841, 3677842, 3677843, 3677844, 3677845, 3677846, 3677847, 3677848, 3677849, 3677850, 3677851, 3677852, 3677853, 3677854, 3677855, 3677856, 3677857, 3677858, 3677859, 3677860, 3677861, 3677862, 3677863, 3677864, 3677865, 3677866, 3677867, 3677868, 3677869, 3677870, 3677871, 3677872, 3677873, 3677874, 3677875, 3677876, 3677877, 3677878, 3677879, 3677880, 3677881, 3677882, 3677883, 3677884, 3677885, 3677886, 3677887, 3677888, 3677889, 3677890, 3677891, 3677892, 3677893, 3677894, 3677895, 3677896, 3677897, 3677898, 3677899, 3677900, 3677901, 3677902, 3677903, 3677904, 3677905, 3677906, 3677907, 3677908, 3677909, 3677910, 3677911, 3677912, 3677913, 3677914, 3677915, 3677916, 3677917, 3677918, 3677919, 3677920, 3677921, 3677922, 3677923, 3677924, 3677925, 3677926, 3677927, 3677928, 3677929, 3677930, 3677931, 3677932, 3677933, 3677934, 3677935, 3677936, 3677937, 3677938, 3677939, 3677940, 3677941, 3677942, 3677943, 3677944, 3677945, 3677946, 3677947, 3677948, 3677949, 3677950, 3677951, 3677952, 3677953, 3677954, 3677955, 3677956, 3677957, 3677958, 3677959, 3677960, 3677961, 3677962, 3677963, 3677964, 3677965, 3677966, 3677967, 3677968, 3677969, 3677970, 3677971, 3677972, 3677973, 3677974, 3677975, 3677976, 3677977, 3677978, 3677979, 3677980, 3677981, 3677982, 3677983, 3677984, 3677985, 3677986, 3677987, 3677988, 3677989, 3677990, 3677991, 3677992, 3677993, 3677994, 3677995, 3677996, 3677997, 3677998, 3677999, 3678000, 3678001, 3678002, 3678003, 3678004, 3678005, 3678006, 3678007, 3678008, 3678009, 3678010, 3678011, 3678012, 3678013, 3678014, 3678015, 3678016, 3678017, 3678018, 3678019, 3678020, 3678021, 3678022, 3678023, 3678024, 3678025, 3678026, 3678027, 3678028, 3678029, 3678030, 3678031, 3678032, 3678033, 3678034, 3678035, 3678036, 3678037, 3678038, 3678039, 3678040, 3678041, 3678042, 3678043, 3678044, 3678045, 3678046, 3678047, 3678048, 3678049, 3678050, 3678051, 3678052, 3678053, 3678054, 3678055, 3678056, 3678057, 3678058, 3678059, 3678060, 3678061, 3678062, 3678063, 3678064, 3678065, 3678066, 3678067, 3678068, 3678069, 3678070, 3678071, 3678072, 3678073, 3678074, 3678075, 3678076, 3678077, 3678078, 3678079, 3678080, 3678081, 3678082, 3678083, 3678084, 3678085, 3678086, 3678087, 3678088, 3678089, 3678090, 3678091, 3678092, 3678093, 3678094, 3678095, 3678096, 3678097, 3678098, 3678099, 3678100, 3678101, 3678102, 3678103, 3678104, 3678105, 3678106, 3678107, 3678108, 3678109, 3678110, 3678111, 3678112, 3678113, 3678114, 3678115, 3678116, 3678117, 3678118, 3678119, 3678120, 3678121, 3678122, 3678123, 3678124, 3678125, 3678126, 3678127, 3678128, 3678129, 3678130);... (Thread: ThreadPoolExecutor-50_7) - __SPLIT__ 2026-05-25 10:45:31,290 - [124443] - src.utils.log - INFO - βœ… Fetched 2472 rows - __SPLIT__ 2026-05-25 10:45:32,174 - [124443] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 10:45:32,261 - [124443] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 10:45:32,583 - [124443] - src.utils.log - INFO - βœ… Fetched 508 rows - __SPLIT__ 2026-05-25 10:45:32,600 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:45:32,623 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:45:32,684 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:45:33,160 - [124443] - src.utils.log - INFO - βœ… Fetched 1812 rows - __SPLIT__ 2026-05-25 10:45:33,164 - [124443] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-25 10:45:33,199 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:45:33,465 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:45:33,469 - [124443] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId IN (894, 924, 1147, 919, 1105, 1142, 754, 855, 1091, 1150) AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:45:33,739 - [124443] - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-25 10:45:33,751 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:45:34,017 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:45:34,018 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE Common.GenerateNumberConfig SET NextNumber = '22761' WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:45:34,292 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:45:34,298 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:45:34,298 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1814 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:45:34,590 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1814) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-25 10:46:18,907 - [124443] - src.utils.log - INFO - βœ… All 1814 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-25 10:46:18,909 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId IN (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) AND WorkOrderNo IN ('214422', '6694600', '701703', '4951143', '6914502', '3408162', '1861889', '3699237', '9851262', '5308456', '7323972', '7051379', '4420200', '9625443', '5595625', '6693990', '9214656', '6402388', '8450701', '2864659', '5855549', '7453685', '8376238', '7922060', '7037319', '3896558', '2746475', '4371003', '8145301', '5876781', '8315465', '9161630', '9071513', '7589448', '3006561', '9724662', '3367261', '8302086', '3467545', '6746370', '6495124', '9114158', '9741675', '7644063', '1329849', '5388809', '4479232', '5145634', '5683757', '7528847', '5532421', '8991977', '3255160', '5805264', '8945019', '6954113', '6283642', '2990487', '9329399', '6134415', '1545227', '7598281', '9076295', '7809350', '1041823', '7055379', '5696225', '7162800', '5517231', '2136693', '6527842', '6233750', '7667027', '3315777', '3679420', '6521186', '2229024', '6574154', '9536749', '1737498', '4320249', '4002901', '3110952', '3761949', '9667266', '9291740', '6917171', '7695078', '7462336', '4046774', '7834263', '5757347', '5649600', '8015133', '1455363', '2351963', '9216778', '8491208', '2135591', '8134570', '3108726', '5985460', '6956020', '3064358', '5898008', '7324329', '2321004', '6358723', '4667808', '9960864', '7276794', '4156687', '5482406', '3053385', '8611221', '4520728', '6232940', '6446492', '7398715', '2805280', '8620160', '6760813', '2200494', '4791486', '2926635', '8163890', '3873413', '6118556', '4144645', '9370505', '4105157', '2880696', '8242394', '5875529', '2621043', '5610349', '7790998', '1969578', '8187417', '2631437', '5596005', '2886269', '7369983', '1572481', '8807582', '9750124', '4053002', '6712275', '8656136', '2641591', '7477015', '3960363', '8561928', '5455206', '4580486', '3400808', '4657694', '6366956', '7163169', '1980320', '8504027', '3923252', '2768852', '4129829', '7296906', '4518798', '1907196', '7157743', '6672402', '3461565', '8175625', '1360250', '8253024', '7957457', '7813213', '7642569', '7195312', '6679067', '8725149', '9775609', '3348405', '5395892', '6292486', '3576928', '5743865', '7423061', '3525828', '8072011', '1323591', '7909742', '6174720', '5373115', '8407449', '4751716', '7539079', '3646218', '8289809', '8033174', '3582835', '1338440', '1577191', '7996425', '3824717', '4488722', '8354014', '9510574', '3528233', '2301708', '4496161', '6672502', '9515698', '4606073', '1214014', '9263852', '2280335', '6370916', '9338412', '2581437', '5362155', '1814787', '5724671', '3896986', '7230258', '3567293', '8454057', '2065440', '5581098', '8951737', '9048076', '7978125', '4314812', '1627946', '1284177', '4084215', '9397509', '1044433', '8954898', '9579360', '2832760', '2325834', '5750029', '7925283', '6529966', '2539129', '2907563', '6932211', '6097322', '9307459', '5983579', '6729440', '5060730', '2069153', '7263689', '1639567', '4812527', '7970278', '5144174', '9493265', '8077427', '4637427', '5079650', '1455146', '9125849', '5207097', '8297680', '8658450', '2717595', '8464534', '2809784', '6085223', '2919975', '9910681', '9176249', '5343724', '8122701', '9099011', '3303526', '8960418', '3260716', '2156513', '1585967', '9299116', '1581875', '1259385', '6880978', '3131048', '1783161', '2620472', '4290664', '1824423', '9014271', '6593910', '7022805', '2752950', '6069462', '2124758', '8326279', '9291634', '8281502', '1318232', '7047238', '5761801', '6117487', '3071506', '7411915', '2964479', '1023508', '9399731', '1713266', '5533048', '9068905', '2893835', '7246888', '9505428', '8806275', '4398926', '8993788', '1379950', '1816981', '5545438', '8730745', '9728106', '1062649', '3126100', '8105813', '3236609', '6814984', '4653922', '2951026', '1454956', '7397152', '9562326', '7700462', '5081097', '2338715', '3656396', '3534180', '7436474', '4098196', '7853977', '9013211', '9497109', '6807675', '8770104', '8595517', '9260525', '6713540', '6259148', '9951819', '6991759', '3771310', '7379667', '3911341', '4461292', '9534409', '9898396', '1869525', '7558195', '8184831', '9465200', '3880638', '7300297', '2088313', '5622397', '8871939', '4852730', '5887776', '6980025', '2274355', '3615234', '5140247', '8970570', '2737631', '7308306', '5120945', '8749262', '9311455', '4360951', '7536544', '4738064', '6783924', '4013589', '6668448', '7710004', '9866297', '6733713', '8500604', '4580909', '2819323', '6394408', '1542670', '9327461', '4216163', '2255900', '8987470', '5764020', '1941630', '1212742', '4665121', '9290599', '6736204', '3430291', '7185288', '3570884', '5972501', '9880633', '9874852', '7198437', '5743121', '1090955', '9887408', '1357763', '9541223', '5561808', '8386070', '9824091', '7124825', '8872010', '8030675', '8001571', '1814928', '3872754', '5781438', '2992096', '5769776', '9570121', '2141155', '9968506', '8464683', '2039953', '4495705', '7369695', '2753286', '1624776', '7009794', '9609901', '1721417', '7833650', '9031190', '9544168', '6561187', '5156550', '9778556', '8415408', '8301608', '1313121', '2247353', '1619725', '9316524', '2608361', '6442851', '1221466', '3340150', '7523382', '3220611', '4720346', '5635773', '8361265', '3085284', '7975485', '8359309', '4399962', '6641917', '2483595', '6647442', '4860081', '9728622', '5837223', '1434101', '6092918', '9066404', '7696340', '7271124', '3158249', '7854042', '8214236', '8758372', '7478731', '9830765', '4713722', '8959523', '1212229', '9707476', '4934982', '6865520', '9916538', '2947668', '7482184', '2850746', '9662467', '2224237', '8178059', '9387212', '5017526', '3985214', '4119024', '8624416', '6641068', '6356182', '9758541', '5393300', '2210268', '5982700', '4146527', '4707368', '5525000', '8175204', '4558646', '5469209', '4824614', '8692931', '1967302', '1033912', '4224499', '1905530', '7216558', '1924772', '6983745', '7509301', '7767222', '7797021', '9208183', '7730662', '2462163', '2417389', '6949768', '5896803', '2991645', '8818829', '7802554', '2919813', '2370689', '4014657', '7552067', '8112063', '6967972', '4218849', '3847666', '3916620', '4305504', '8760697', '4634057', '9363828', '3494915', '3497450', '7630531', '5259414', '6696762', '8899927', '2997923', '4756909', '1073957', '2731187', '3197614', '7039283', '6283641', '8343226', '8170338', '2127372', '3185984', '8169750', '4010189', '8656139', '8495215', '8325122', '4929927', '8020984', '3270627', '6656098', '2740667', '5658531', '5233263', '2552389', '2432981', '7383643', '7430551', '3424898', '8646380', '5635861', '6591274', '2649268', '5807172', '5450929', '4156304', '8740322', '6957157', '1994763', '3696143', '3433838', '6178302', '8363398', '5474276', '7382628', '7981474', '6223662', '7637420', '3683009', '3149519', '9057650', '6916802', '7226363', '6795787', '3116054', '3542607', '5001696', '9171917', '3991571', '9043036', '9059784', '8832140', '6778613', '5991669', '2284155', '1116770', '6032929', '2912127', '7570876', '7080837', '8013452', '8948011', '7647704', '8616012', '3979877', '5868613', '5293298', '7155403', '9074835', '1051672', '9050264', '1298041', '2522502', '5413321', '7197480', '7006248', '2904529', '5612872', '7280725', '5928126', '5075688', '2105876', '3991726', '5537124', '9278099', '1689361', '2862138', '9650481', '7696844', '7382000', '9101126', '2299612', '4552601', '8992767', '7385337', '3971562', '4548021', '4703180', '9074219', '4446793', '3080389', '5810378', '7976862', '8709325', '1109790', '2372330', '3223130', '2213101', '2596866', '9373540', '6292889', '5923170', '6451709', '8247550', '7654577', '4498550', '8728930', '1888881', '6709471', '3062446', '8038547', '3154141', '6264559', '3540534', '9953242', '7033784', '1356303', '6572546', '9376738', '9583855', '3923114', '4722707', '3501174', '5099307', '3247206', '1749599', '9426233', '1841714', '7456779', '1505159', '4910963', '1017326', '9284131', '9625962', '1120358', '7447441', '2560352', '3678304', '4760693', '4976776', '6370370', '8167925', '8825716', '5952591', '1837031', '5876291', '1191889', '2045679', '9604199', '4424392', '4851254', '3100367', '2764863', '1461973', '8049091', '8457298', '9224219', '2086073', '6383431', '5435271', '4673659', '3245776', '4962323', '9032903', '6801789', '5107068', '9750969', '3213172', '2160409', '7640165', '6003630', '6811200', '4747126', '4102181', '6643443', '4910362', '6676593', '3120013', '6566868', '2361490', '5594782', '5771874', '6004316', '3242489', '3012173', '2409067', '6860598', '5292112', '9760207', '7738295', '3273455', '8681738', '8922148', '7366289', '9191153', '2396832', '9319027', '7243621', '1996871', '9472896', '4449921', '8260574', '6793300', '8167576', '4403853', '5613300', '5532401', '5901160', '7989603', '5447023', '1043213', '9390495', '2467163', '5807507', '3037821', '5056232', '3687177', '7384554', '6070284', '6836267', '2686881', '8625693', '7777027', '8953689', '6986708', '5240159', '2000922', '8811061', '3542574', '3579068', '1632412', '3424260', '2900167', '1707654', '1549244', '1510499', '1071187', '4199766', '7320295', '5167726', '1699721', '3894437', '9723801', '3345201', '7438662', '2880339', '6591724', '2290339', '2509696', '4239760', '6136352', '2498311', '9953555', '9933759', '5202030', '4972924', '1197119', '6949087', '8828009', '7999692', '5958539', '4352929', '2576021', '9760683', '2872938', '2689996', '7705265', '4475809', '6477213', '2083928', '6774620', '4681827', '1985807', '8541675', '8591635', '5433918', '1209882', '8431120', '6146031', '6742858', '2660855', '2142731', '8595876', '7466979', '1394469', '2424975', '2533399', '3409010', '3575075', '8693828', '9608111', '1289638', '5713896', '8307146', '8809022', '4430287', '3510388', '5086535', '1151223', '3686181', '7824867', '3403738', '7520402', '6877033', '5559232', '5471279', '6567346', '9400661', '1663887', '5173752', '2511545', '3409836', '4130908', '9526484', '1875579', '2428058', '9718400', '8616459', '4299952', '9652541', '6676987', '9285035', '8997324', '6587731', '2963468', '3080833', '5363109', '6705223', '7228548', '9581597', '7494688', '2883078', '8845300', '9565595', '7039620', '8573208', '8558714', '4938673', '8378702', '5856529', '9575863', '4616168', '8948110', '8844596', '9324120', '2503598', '1879910', '8968320', '9477400', '2258526', '3831392', '1472580', '9425909', '4404012', '7685945', '9875252', '2543545', '2854456', '8833190', '8204336', '9743714', '8672600', '3980934', '5974346', '7893116', '3216043', '5998136', '9578300', '5180998', '7714206', '4829227', '1286792', '7912449', '5691391', '8303768', '9456820', '9991619', '9237943', '2680146', '2529382', '2193595', '8165381', '6196560', '7646703', '5420062', '8569168', '6547970', '6232589', '5397787', '5099548', '5277115', '8727512', '7405618', '9142282', '9295591', '9198361', '1017898', '1869617', '7440177', '3926103', '7764776', '5395089', '4573447', '1472947', '5157386', '4820373', '4176233', '6372883', '9103073', '7565318', '4574993', '6538565', '1054030', '3915974', '1954026', '4454699', '5778495', '4263836', '5321053', '9887968', '6301150', '2610242', '3013239', '3667047', '1071620', '4592449', '2746833', '5031828', '2863579', '5640048', '1419378', '9090577') AND GenerateWorkOrderHistoryId = 124443;... (Thread: ThreadPoolExecutor-51_0) - __SPLIT__ 2026-05-25 10:46:18,910 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId IN (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) AND WorkOrderNo IN ('5485829', '7245001', '1789783', '7305927', '8115016', '4264170', '3330759', '8351333', '4756450', '6999402', '4031386', '8292099', '4736961', '8005984', '1815609', '7802908', '2311771', '1371704', '5311308', '5237581', '1628310', '3075046', '3760379', '4035871', '5218794', '2200522', '2911432', '5851399', '9072737', '2459681', '5785745', '1163196', '1376113', '2347743', '4927177', '2842855', '6497744', '7292697', '1089216', '6502073', '7200896', '4360193', '4409295', '3694142', '4757610', '3981582', '9373519', '6752152', '5583260', '7823031', '4470682', '4170185', '7691944', '1995186', '8169772', '5087914', '7645978', '1777430', '2695872', '2019511', '4967070', '1980185', '7176369', '7621620', '9415194', '4363209', '7769625', '7875767', '8642434', '8749008', '5532320', '8333991', '4115371', '1375128', '3507143', '1403210', '7178678', '6824351', '2158654', '7094099', '6131535', '2326426', '5524355', '3435528', '3871438', '9711312', '8475496', '3213057', '1307871', '9220705', '3796428', '4878491', '4383598', '2052788', '5416830', '7358461', '2305804', '7870169', '8845679', '3516257', '7386937', '1647333', '8108856', '7393260', '9792622', '1204674', '9395405', '1940004', '7157159', '2310396', '5501119', '6162741', '3124165', '4223279', '8133813', '3513673', '4501868', '6897310', '8498255', '5044783', '1552933', '3576723', '3883942', '3552683', '7462303', '1118003', '4856773', '9924813', '5457241', '7790280', '2548697', '7725821', '2437328', '3364655', '7516942', '7418435', '1862516', '9236929', '2616839', '7729174', '7044422', '2087710', '5215395', '3792104', '2648096', '2093028', '6008174', '6605284', '2058060', '3183498', '5138259', '6309873', '9631821', '1851982', '6414672', '7264027', '4886877', '1651301', '4592170', '7390172', '7742937', '3169464', '4611294', '9194530', '2341806', '1545526', '5013264', '7603456', '2538159', '3484036', '6570914', '8276345', '8591315', '1961581', '2334367', '2346575', '9522138', '2856982', '3579525', '3257821', '4710046', '3700292', '9041121', '4925236', '1146805', '5398823', '3968848', '7497842', '7726611', '4176226', '7659243', '9959255', '2165793', '9202181', '8438762', '5883409', '7556249', '6155736', '6876749', '5899095', '8811920', '7743578', '1966245', '1074872', '5444984', '1112112', '8332974', '8725912', '2674699', '6822177', '3347533', '8315747', '6605308', '5144604', '8422104', '7900096', '7639874', '1591201', '6809984', '5764415', '6016764', '7492553', '8350741', '4314761', '4724352', '3946748', '5266738', '5994448', '9000034', '2474545', '7746793', '3389416', '3971920', '7532220', '3068525', '4568992', '4697528', '8201370', '3949901', '8103157', '2129775', '6151038', '3674236', '9522554', '6194455', '5708011', '2659770', '6734700', '3257898', '4030571', '3344031', '1531257', '1051168', '5695766', '8154007', '2481437', '3522732', '4183374', '7476100', '1309885', '4880662', '7338760', '4969705', '1501678', '9019006', '2279320', '9504323', '8898866', '6172281', '2389343', '4460889', '6448920', '5510187', '6062301', '6531385', '2233224', '9751762', '9750900', '2554852', '1539712', '3178597', '2188321', '7692153', '3128971', '8881159', '6950778', '2143531', '6861732', '7692924', '3777843', '2499119', '9172993', '3238839', '6189339', '8002290', '7600753', '1281803', '4561377', '9783011', '8611695', '6979037', '5998205', '3354621', '6727906', '1654562', '1555078', '8183573', '2459284', '9988741', '1204524', '2932621', '8866116', '2028546', '7427982', '7262764', '6528139', '6035913', '3098374', '2790842', '5712437', '9615533', '8639665', '6495914', '3528430', '3656964', '4750346', '5253801', '5248687', '4792131', '5181048', '1021813', '1898373', '1686700', '2703757', '3953522', '7578230', '6614141', '7885884', '4466120', '9236482', '6955294', '7796690', '1301247', '7630594', '6685844', '6473377', '9018271', '9300829', '6572690', '1459631', '4287317', '4813417', '3859440', '6110869', '7663471', '2214577', '2126688', '2231200', '3636177', '4494180', '6154861', '5678357', '8030099', '5811337', '5426174', '7215198', '4268951', '3967300', '4411621', '9978667', '9860018', '5457060', '3853438', '5509451', '7016299', '5308847', '7130266', '7254080', '3778848', '1488129', '4969846', '3544963', '3241665', '1409884', '7741470', '4710536', '9072853', '3315229', '3526787', '4743254', '4108944', '9803359', '5305947', '5071480', '1326083', '4105986', '3904119', '1671653', '1417077', '4165425', '9148490', '6717695', '8032452', '8992813', '3749839', '9312201', '1788461', '8247347', '9852306', '4488568', '6344572', '3385697', '3024440', '5587314', '2441966', '3040595', '9657519', '4574298', '1082488', '3545454', '2722657', '1744700', '4108070', '1306233', '9540690', '6517165', '7183139', '7930706', '6142635', '6628743', '7309497', '2681455', '4022971', '1037393', '6412190', '1147213', '7975903', '7921026', '9745659', '5097415', '5376673', '1134686', '4013898', '7879678', '8137513', '2551054', '2912963', '7021434', '5014100', '1923042', '5610570', '9147309', '3467625', '5557984', '3337203', '3712333', '4606140', '8864301', '3333567', '8425895', '1252628', '6940172', '2770931', '4122440', '6796329', '5455449', '8692566', '6208445', '6426659', '3998501', '6524305', '7683600', '1309115', '9616112', '2070660', '3587253', '2712326', '2591585', '4982515', '1990991', '1883519', '3267453', '1168081', '2592612', '8039799', '7623395', '8842458', '4359211', '8635404', '2072135', '5770394', '7977694', '7845122', '8614486', '7246377', '7007643', '7483483', '5786405', '3229784', '9709827', '6308253', '1498106', '3684073', '4457978', '5286000', '6819178', '6893463', '5930111', '7260908', '2855374', '3861994', '4870120', '9656594', '6378381', '7968502', '2855003', '7547989', '2177938', '4665937', '4179859', '6924808', '4549541', '3867503', '9332802', '3139761', '5662183', '2573010', '6986791', '1180265', '1593404', '4411679', '4295299', '4584893', '1814934', '2745709', '5944278', '6087473', '9928811', '8292476', '3764003', '3107830', '6945343', '4336360', '5315439', '5195146', '6375112', '9842248', '5926819', '7960705', '3368378', '6961356', '9906169', '6926573', '7280989', '5276540', '7340162', '2687455', '8709200', '3826291', '1612159', '9820133', '4557926', '7059636', '7230663', '9828259', '8478851', '4114132', '6160697', '8917662', '1319343', '5695591', '2988154', '9891719', '8431479', '9752497', '3226829', '9694702', '6884445', '4434170', '5126925', '3900076', '4350164', '7902327', '1787200', '7748554', '1132500', '4481248', '1770791', '3065127', '2597158', '7989710', '7988900', '4661455', '5398647', '2223120', '3178533', '3165649', '5916968', '2692892', '5853600', '8626413', '7678554', '2100402', '2242223', '4687829', '2242626', '1839813', '7272364', '6949763', '9006633', '2972591', '3051442', '5516775', '7882038', '4908224', '3403126', '5385783', '2589954', '3918432', '4110552', '2076812', '2819458', '8444673', '7626751', '4501072', '4422861', '9938469', '9230881', '9773350', '6794201', '1313153', '2600292', '5378882', '5318020', '8377927', '8290840', '5482069', '6272409', '5795341', '7997164', '9907151', '8221597', '3929572', '8900938', '9874738', '5669735', '7317791', '2831740', '5965856', '5365178', '1650490', '9630759', '4597345', '8401138', '9526052', '6045979', '6779829', '2010456', '9345547', '3385382', '3075383', '1057441', '8803809', '9271084', '3046009', '3275041', '3319001', '3231387', '5059253', '9178996', '9546370', '4188109', '2579963', '5295463', '5191440', '1930539', '3483317', '9249517', '8693454', '1710578', '1274086', '2054230', '4680851', '9942512', '6324920', '3838816', '6205989', '5293972', '4318873', '6450535', '9001080', '6507798', '6425888', '7254241', '4787837', '1162024', '1414193', '1617640', '9653665', '1610619', '1850721', '5157832', '3890762', '9400593', '6341311', '2495219', '5703545', '1238191', '5586847', '8771907', '4535743', '6605425', '1654355', '6929426', '4995758', '1100785', '4773664', '7166659', '2242195', '5119129', '9929052', '6280364', '4743357', '5521798', '2841011', '1086946', '4829717', '4367292', '1343499', '9213068', '9184098', '8679275', '4117584', '3692379', '8364182', '8894435', '4940413', '7476964', '7470817', '8477173', '6899719', '3967398', '8457662', '1398345', '4756076', '3428558', '6824841', '9396365', '4328168', '8103572', '1336852', '3281545', '3137898', '1158605', '9752092', '2976611', '7958151', '6582151', '5071378', '3680079', '3307597', '1696418', '7035624', '9706680', '9746229', '1711613', '4453201', '3959975', '8885008', '4787205', '1480047', '2604860', '2251911', '5332776', '5330906', '8624258', '1805694', '1664071', '5926221', '4999099', '6691524', '5706901', '7233036', '2050263', '5867572', '5852850', '4093782', '7887506', '5726643', '9260829', '2069888', '9061295', '7744091', '3098790', '9513218', '8784197', '8128672', '3651379', '3421903', '1176246', '4882794', '7310111', '7906114', '6539479', '4462562', '1422665', '7435427', '5118332', '8152646', '4891672', '3060947', '6419985', '1211606', '8331821') AND GenerateWorkOrderHistoryId = 124443;... (Thread: ThreadPoolExecutor-51_1) - __SPLIT__ 2026-05-25 10:46:20,160 - [124443] - src.utils.log - INFO - βœ… Fetched 1000 rows - __SPLIT__ 2026-05-25 10:46:20,185 - [124443] - src.utils.log - INFO - βœ… Fetched 814 rows - __SPLIT__ 2026-05-25 10:46:20,186 - [124443] - src.utils.log - INFO - 🏁 Final merged rows: 1814 - __SPLIT__ 2026-05-25 10:46:20,201 - [124443] - src.utils.log - INFO - Parallel Insertion in work order tables begin - __SPLIT__ 2026-05-25 10:46:20,202 - [124443] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 10:46:20,202 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:20,202 - [124443] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-25 10:46:20,202 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 508 rows in batches of 25000 (Thread: ThreadPoolExecutor-52_1) - __SPLIT__ 2026-05-25 10:46:20,202 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:20,203 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:20,203 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderCommissionAdjustment: 3 rows in batches of 25000 (Thread: ThreadPoolExecutor-52_2) - __SPLIT__ 2026-05-25 10:46:20,203 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2472 rows in batches of 25000 (Thread: ThreadPoolExecutor-52_0) - __SPLIT__ 2026-05-25 10:46:20,204 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:20,204 - [124443] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-25 10:46:20,204 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:20,205 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2472 rows in batches of 25000 (Thread: ThreadPoolExecutor-52_5) - __SPLIT__ 2026-05-25 10:46:20,204 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1812 rows in batches of 25000 (Thread: ThreadPoolExecutor-52_3) - __SPLIT__ 2026-05-25 10:46:20,204 - [124443] - src.utils.log - INFO - [OK] Lead Notes completed. - __SPLIT__ 2026-05-25 10:46:20,205 - [124443] - src.utils.log - INFO - [OK] Sales Person Commission completed. - __SPLIT__ 2026-05-25 10:46:20,205 - [124443] - src.utils.log - INFO - [OK] Source Mapping completed. - __SPLIT__ 2026-05-25 10:46:20,474 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 508) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-25 10:46:20,489 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2472) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-25 10:46:20,498 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1812) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-25 10:46:20,511 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2472) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-25 10:46:20,587 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceAuto.WorkOrderCommissionAdjustment - __SPLIT__ 2026-05-25 10:46:21,513 - [124443] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceAuto.WorkOrderCommissionAdjustment in 1 batches - __SPLIT__ 2026-05-25 10:46:21,514 - [124443] - src.utils.log - INFO - [OK] Adjustment completed. - __SPLIT__ 2026-05-25 10:46:24,841 - [124443] - src.utils.log - INFO - βœ… All 508 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 10:46:24,842 - [124443] - src.utils.log - INFO - [OK] Discount Applied completed. - __SPLIT__ 2026-05-25 10:46:28,346 - [124443] - src.utils.log - INFO - βœ… All 1812 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-25 10:46:28,346 - [124443] - src.utils.log - INFO - [OK] Crew completed. - __SPLIT__ 2026-05-25 10:46:38,681 - [124443] - src.utils.log - INFO - βœ… All 2472 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-25 10:46:38,682 - [124443] - src.utils.log - INFO - [OK] Publish Services completed. - __SPLIT__ 2026-05-25 10:46:38,858 - [124443] - src.utils.log - INFO - βœ… All 2472 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-25 10:46:38,858 - [124443] - src.utils.log - INFO - [OK] Services completed. - __SPLIT__ 2026-05-25 10:46:38,859 - [124443] - src.utils.log - INFO - All publish tasks completed successfully. - __SPLIT__ 2026-05-25 10:46:38,859 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:38,859 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.SubWorkOrder: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:39,184 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceCore.SubWorkOrder - __SPLIT__ 2026-05-25 10:46:40,385 - [124443] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceCore.SubWorkOrder in 1 batches - __SPLIT__ 2026-05-25 10:46:40,386 - [124443] - src.utils.log - INFO - πŸ” Fetching data: Select * From ServiceCore.SubWorkOrder where WorkOrderId in (2153760, 2153847, 2154841)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:40,678 - [124443] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 10:46:40,685 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:40,686 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.subWorkOrderIssue: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:40,995 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceAuto.subWorkOrderIssue - __SPLIT__ 2026-05-25 10:46:42,008 - [124443] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceAuto.subWorkOrderIssue in 1 batches - __SPLIT__ 2026-05-25 10:46:42,009 - [124443] - src.utils.log - INFO - πŸ” Fetching data: Select SubWorkOrderIssueId, SubWorkOrderId, ModifiedBy From ServiceAuto.subWorkOrderIssue where SubWorkOrderId in (230358, 230359, 230360) and ModifiedBy in ('999999999', '1000000000', '1000000001')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:42,280 - [124443] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 10:46:42,280 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceAuto.subWorkOrderIssue SET ModifiedBy = 'abcdallas' WHERE ModifiedBy IN ('999999999', '1000000000', '1000000001'); ... (Thread: ThreadPoolExecutor-53_0) - __SPLIT__ 2026-05-25 10:46:42,690 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:46:42,697 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:42,698 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.subWOIssueRepair: 6 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:43,016 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 6) into ServiceAuto.subWOIssueRepair - __SPLIT__ 2026-05-25 10:46:44,012 - [124443] - src.utils.log - INFO - βœ… All 6 rows inserted successfully into ServiceAuto.subWOIssueRepair in 1 batches - __SPLIT__ 2026-05-25 10:46:44,013 - [124443] - src.utils.log - INFO - πŸ” Fetching data: Select IssueRepairId, ModifiedBy From ServiceAuto.subWOIssueRepair where SubWorkOrderIssueId in (192520, 192521, 192522)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:44,279 - [124443] - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-25 10:46:44,280 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceAuto.subWOIssueRepair SET ModifiedBy = 'abcdallas' WHERE ModifiedBy IN ('0___TMP___192520', '1___TMP___192520', '0___TMP___192521', '1___TMP___192521', '0___TMP___192522', '1___TMP___192522') AND CreatedDate = '2026-05-25 06:46:40.683'; ... (Thread: ThreadPoolExecutor-54_0) - __SPLIT__ 2026-05-25 10:46:44,605 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:46:44,612 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:44,612 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.SubWOIssueRepairLabor: 6 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:44,915 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 6) into ServiceAuto.SubWOIssueRepairLabor - __SPLIT__ 2026-05-25 10:46:45,887 - [124443] - src.utils.log - INFO - βœ… All 6 rows inserted successfully into ServiceAuto.SubWOIssueRepairLabor in 1 batches - __SPLIT__ 2026-05-25 10:46:45,894 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:46:45,895 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.SubWOIssueRepairPart: 9 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:46,215 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 9) into ServiceAuto.SubWOIssueRepairPart - __SPLIT__ 2026-05-25 10:46:47,404 - [124443] - src.utils.log - INFO - βœ… All 9 rows inserted successfully into ServiceAuto.SubWOIssueRepairPart in 1 batches - __SPLIT__ 2026-05-25 10:46:47,405 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:47,673 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:46:47,673 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId in (150214, 150202, 150307, 150332, 150321, 150260, 150204, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150337, 150216, 150303, 150328, 150308, 150242, 150243, 150279, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150278, 150277, 150239, 150215, 150211, 150326, 150329, 150292, 150309, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:47,963 - [124443] - src.utils.log - INFO - βœ… Fetched 67 rows - __SPLIT__ 2026-05-25 10:46:47,974 - [124443] - src.utils.log - INFO - Size of Transaction: 1772 - __SPLIT__ 2026-05-25 10:46:47,976 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1772 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:48,384 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1772) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-25 10:46:57,075 - [124443] - src.utils.log - INFO - βœ… All 1772 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 10:46:57,206 - [124443] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 10:46:57,207 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914, 12345678915, 12345678916, 12345678917, 12345678918, 12345678919, 12345678920, 12345678921, 12345678922, 12345678923, 12345678924, 12345678925, 12345678926, 12345678927, 12345678928, 12345678929, 12345678930, 12345678931, 12345678932, 12345678933, 12345678934, 12345678935, 12345678936, 12345678937, 12345678938, 12345678939, 12345678940, 12345678941, 12345678942, 12345678943, 12345678944, 12345678945, 12345678946, 12345678947, 12345678948, 12345678949, 12345678950, 12345678951, 12345678952, 12345678953, 12345678954, 12345678955, 12345678956, 12345678957, 12345678958, 12345678959, 12345678960, 12345678961, 12345678962, 12345678963, 12345678964, 12345678965, 12345678966, 12345678967, 12345678968, 12345678969, 12345678970, 12345678971, 12345678972, 12345678973, 12345678974, 12345678975, 12345678976, 12345678977, 12345678978, 12345678979, 12345678980, 12345678981, 12345678982, 12345678983, 12345678984, 12345678985, 12345678986, 12345678987, 12345678988, 12345678989, 12345678990, 12345678991, 12345678992, 12345678993, 12345678994, 12345678995, 12345678996, 12345678997, 12345678998, 12345678999, 12345679000, 12345679001, 12345679002, 12345679003, 12345679004, 12345679005, 12345679006, 12345679007, 12345679008, 12345679009, 12345679010, 12345679011, 12345679012, 12345679013, 12345679014, 12345679015, 12345679016, 12345679017, 12345679018, 12345679019, 12345679020, 12345679021, 12345679022, 12345679023, 12345679024, 12345679025, 12345679026, 12345679027, 12345679028, 12345679029, 12345679030, 12345679031, 12345679032, 12345679033, 12345679034, 12345679035, 12345679036, 12345679037, 12345679038, 12345679039, 12345679040, 12345679041, 12345679042, 12345679043, 12345679044, 12345679045, 12345679046, 12345679047, 12345679048, 12345679049, 12345679050, 12345679051, 12345679052, 12345679053, 12345679054, 12345679055, 12345679056, 12345679057, 12345679058, 12345679059, 12345679060, 12345679061, 12345679062, 12345679063, 12345679064, 12345679065, 12345679066, 12345679067, 12345679068, 12345679069, 12345679070, 12345679071, 12345679072, 12345679073, 12345679074, 12345679075, 12345679076, 12345679077, 12345679078, 12345679079, 12345679080, 12345679081, 12345679082, 12345679083, 12345679084, 12345679085, 12345679086, 12345679087, 12345679088, 12345679089, 12345679090, 12345679091, 12345679092, 12345679093, 12345679094, 12345679095, 12345679096, 12345679097, 12345679098, 12345679099, 12345679100, 12345679101, 12345679102, 12345679103, 12345679104, 12345679105, 12345679106, 12345679107, 12345679108, 12345679109, 12345679110, 12345679111, 12345679112, 12345679113, 12345679114, 12345679115, 12345679116, 12345679117, 12345679118, 12345679119, 12345679120, 12345679121, 12345679122, 12345679123, 12345679124, 12345679125, 12345679126, 12345679127, 12345679128, 12345679129, 12345679130, 12345679131, 12345679132, 12345679133, 12345679134, 12345679135, 12345679136, 12345679137, 12345679138, 12345679139, 12345679140, 12345679141, 12345679142, 12345679143, 12345679144, 12345679145, 12345679146, 12345679147, 12345679148, 12345679149, 12345679150, 12345679151, 12345679152, 12345679153, 12345679154, 12345679155, 12345679156, 12345679157, 12345679158, 12345679159, 12345679160, 12345679161, 12345679162, 12345679163, 12345679164, 12345679165, 12345679166, 12345679167, 12345679168, 12345679169, 12345679170, 12345679171, 12345679172, 12345679173, 12345679174, 12345679175, 12345679176, 12345679177, 12345679178, 12345679179, 12345679180, 12345679181, 12345679182, 12345679183, 12345679184, 12345679185, 12345679186, 12345679187, 12345679188, 12345679189, 12345679190, 12345679191, 12345679192, 12345679193, 12345679194, 12345679195, 12345679196, 12345679197, 12345679198, 12345679199, 12345679200, 12345679201, 12345679202, 12345679203, 12345679204, 12345679205, 12345679206, 12345679207, 12345679208, 12345679209, 12345679210, 12345679211, 12345679212, 12345679213, 12345679214, 12345679215, 12345679216, 12345679217, 12345679218, 12345679219, 12345679220, 12345679221, 12345679222, 12345679223, 12345679224, 12345679225, 12345679226, 12345679227, 12345679228, 12345679229, 12345679230, 12345679231, 12345679232, 12345679233, 12345679234, 12345679235, 12345679236, 12345679237, 12345679238, 12345679239, 12345679240, 12345679241, 12345679242, 12345679243, 12345679244, 12345679245, 12345679246, 12345679247, 12345679248, 12345679249, 12345679250, 12345679251, 12345679252, 12345679253, 12345679254, 12345679255, 12345679256, 12345679257, 12345679258, 12345679259, 12345679260, 12345679261, 12345679262, 12345679263, 12345679264, 12345679265, 12345679266, 12345679267, 12345679268, 12345679269, 12345679270, 12345679271, 12345679272, 12345679273, 12345679274, 12345679275, 12345679276, 12345679277, 12345679278, 12345679279, 12345679280, 12345679281, 12345679282, 12345679283, 12345679284, 12345679285, 12345679286, 12345679287, 12345679288, 12345679289, 12345679290, 12345679291, 12345679292, 12345679293, 12345679294, 12345679295, 12345679296, 12345679297, 12345679298, 12345679299, 12345679300, 12345679301, 12345679302, 12345679303, 12345679304, 12345679305, 12345679306, 12345679307, 12345679308, 12345679309, 12345679310, 12345679311, 12345679312, 12345679313, 12345679314, 12345679315, 12345679316, 12345679317, 12345679318, 12345679319, 12345679320, 12345679321, 12345679322, 12345679323, 12345679324, 12345679325, 12345679326, 12345679327, 12345679328, 12345679329, 12345679330, 12345679331, 12345679332, 12345679333, 12345679334, 12345679335, 12345679336, 12345679337, 12345679338, 12345679339, 12345679340, 12345679341, 12345679342, 12345679343, 12345679344, 12345679345, 12345679346, 12345679347, 12345679348, 12345679349, 12345679350, 12345679351, 12345679352, 12345679353, 12345679354, 12345679355, 12345679356, 12345679357, 12345679358, 12345679359, 12345679360, 12345679361, 12345679362, 12345679363, 12345679364, 12345679365, 12345679366, 12345679367, 12345679368, 12345679369, 12345679370, 12345679371, 12345679372, 12345679373, 12345679374, 12345679375, 12345679376, 12345679377, 12345679378, 12345679379, 12345679380, 12345679381, 12345679382, 12345679383, 12345679384, 12345679385, 12345679386, 12345679387, 12345679388, 12345679389, 12345679390, 12345679391, 12345679392, 12345679393, 12345679394, 12345679395, 12345679396, 12345679397, 12345679398, 12345679399, 12345679400, 12345679401, 12345679402, 12345679403, 12345679404, 12345679405, 12345679406, 12345679407, 12345679408, 12345679409, 12345679410, 12345679411, 12345679412, 12345679413, 12345679414, 12345679415, 12345679416, 12345679417, 12345679418, 12345679419, 12345679420, 12345679421, 12345679422, 12345679423, 12345679424, 12345679425, 12345679426, 12345679427, 12345679428, 12345679429, 12345679430, 12345679431, 12345679432, 12345679433, 12345679434, 12345679435, 12345679436, 12345679437, 12345679438, 12345679439, 12345679440, 12345679441, 12345679442, 12345679443, 12345679444, 12345679445, 12345679446, 12345679447, 12345679448, 12345679449, 12345679450, 12345679451, 12345679452, 12345679453, 12345679454, 12345679455, 12345679456, 12345679457, 12345679458, 12345679459, 12345679460, 12345679461, 12345679462, 12345679463, 12345679464, 12345679465, 12345679466, 12345679467, 12345679468, 12345679469, 12345679470, 12345679471, 12345679472, 12345679473, 12345679474, 12345679475, 12345679476, 12345679477, 12345679478, 12345679479, 12345679480, 12345679481, 12345679482, 12345679483, 12345679484, 12345679485, 12345679486, 12345679487, 12345679488, 12345679489, 12345679490, 12345679491, 12345679492, 12345679493, 12345679494, 12345679495, 12345679496, 12345679497, 12345679498, 12345679499, 12345679500, 12345679501, 12345679502, 12345679503, 12345679504, 12345679505, 12345679506, 12345679507, 12345679508, 12345679509, 12345679510, 12345679511, 12345679512, 12345679513, 12345679514, 12345679515, 12345679516, 12345679517, 12345679518, 12345679519, 12345679520, 12345679521, 12345679522, 12345679523, 12345679524, 12345679525, 12345679526, 12345679527, 12345679528, 12345679529, 12345679530, 12345679531, 12345679532, 12345679533, 12345679534, 12345679535, 12345679536, 12345679537, 12345679538, 12345679539, 12345679540, 12345679541, 12345679542, 12345679543, 12345679544, 12345679545, 12345679546, 12345679547, 12345679548, 12345679549, 12345679550, 12345679551, 12345679552, 12345679553, 12345679554, 12345679555, 12345679556, 12345679557, 12345679558, 12345679559, 12345679560, 12345679561, 12345679562, 12345679563, 12345679564, 12345679565, 12345679566, 12345679567, 12345679568, 12345679569, 12345679570, 12345679571, 12345679572, 12345679573, 12345679574, 12345679575, 12345679576, 12345679577, 12345679578, 12345679579, 12345679580, 12345679581, 12345679582, 12345679583, 12345679584, 12345679585, 12345679586, 12345679587, 12345679588, 12345679589, 12345679590, 12345679591, 12345679592, 12345679593, 12345679594, 12345679595, 12345679596, 12345679597, 12345679598, 12345679599, 12345679600, 12345679601, 12345679602, 12345679603, 12345679604, 12345679605, 12345679606, 12345679607, 12345679608, 12345679609, 12345679610, 12345679611, 12345679612, 12345679613, 12345679614, 12345679615, 12345679616, 12345679617, 12345679618, 12345679619, 12345679620, 12345679621, 12345679622, 12345679623, 12345679624, 12345679625, 12345679626, 12345679627, 12345679628, 12345679629, 12345679630, 12345679631, 12345679632, 12345679633, 12345679634, 12345679635, 12345679636, 12345679637, 12345679638, 12345679639, 12345679640, 12345679641, 12345679642, 12345679643, 12345679644, 12345679645, 12345679646, 12345679647, 12345679648, 12345679649, 12345679650, 12345679651, 12345679652, 12345679653, 12345679654, 12345679655, 12345679656, 12345679657, 12345679658, 12345679659, 12345679660, 12345679661, 12345679662, 12345679663, 12345679664, 12345679665, 12345679666, 12345679667, 12345679668, 12345679669, 12345679670, 12345679671, 12345679672, 12345679673, 12345679674, 12345679675, 12345679676, 12345679677, 12345679678, 12345679679, 12345679680, 12345679681, 12345679682, 12345679683, 12345679684, 12345679685, 12345679686, 12345679687, 12345679688, 12345679689, 12345679690, 12345679691, 12345679692, 12345679693, 12345679694, 12345679695, 12345679696, 12345679697, 12345679698, 12345679699, 12345679700, 12345679701, 12345679702, 12345679703, 12345679704, 12345679705, 12345679706, 12345679707, 12345679708, 12345679709, 12345679710, 12345679711, 12345679712, 12345679713, 12345679714, 12345679715, 12345679716, 12345679717, 12345679718, 12345679719, 12345679720, 12345679721, 12345679722, 12345679723, 12345679724, 12345679725, 12345679726, 12345679727, 12345679728, 12345679729, 12345679730, 12345679731, 12345679732, 12345679733, 12345679734, 12345679735, 12345679736, 12345679737, 12345679738, 12345679739, 12345679740, 12345679741, 12345679742, 12345679743, 12345679744, 12345679745, 12345679746, 12345679747, 12345679748, 12345679749, 12345679750, 12345679751, 12345679752, 12345679753, 12345679754, 12345679755, 12345679756, 12345679757, 12345679758, 12345679759, 12345679760, 12345679761, 12345679762, 12345679763, 12345679764, 12345679765, 12345679766, 12345679767, 12345679768, 12345679769, 12345679770, 12345679771, 12345679772, 12345679773, 12345679774, 12345679775, 12345679776, 12345679777, 12345679778, 12345679779, 12345679780, 12345679781, 12345679782, 12345679783, 12345679784, 12345679785, 12345679786, 12345679787, 12345679788, 12345679789, 12345679790, 12345679791, 12345679792, 12345679793, 12345679794, 12345679795, 12345679796, 12345679797, 12345679798, 12345679799, 12345679800, 12345679801, 12345679802, 12345679803, 12345679804, 12345679805, 12345679806, 12345679807, 12345679808, 12345679809, 12345679810, 12345679811, 12345679812, 12345679813, 12345679814, 12345679815, 12345679816, 12345679817, 12345679818, 12345679819, 12345679820, 12345679821, 12345679822, 12345679823, 12345679824, 12345679825, 12345679826, 12345679827, 12345679828, 12345679829, 12345679830, 12345679831, 12345679832, 12345679833, 12345679834, 12345679835, 12345679836, 12345679837, 12345679838, 12345679839, 12345679840, 12345679841, 12345679842, 12345679843, 12345679844, 12345679845, 12345679846, 12345679847, 12345679848, 12345679849, 12345679850, 12345679851, 12345679852, 12345679853, 12345679854, 12345679855, 12345679856, 12345679857, 12345679858, 12345679859, 12345679860, 12345679861, 12345679862, 12345679863, 12345679864, 12345679865, 12345679866, 12345679867, 12345679868, 12345679869, 12345679870, 12345679871, 12345679872, 12345679873, 12345679874, 12345679875, 12345679876, 12345679877, 12345679878, 12345679879, 12345679880, 12345679881, 12345679882, 12345679883, 12345679884, 12345679885, 12345679886, 12345679887, 12345679888, 12345679889, 12345679890, 12345679891, 12345679892, 12345679893, 12345679894, 12345679895, 12345679896, 12345679897, 12345679898, 12345679899, 12345679900, 12345679901, 12345679902, 12345679903, 12345679904, 12345679905, 12345679906, 12345679907, 12345679908, 12345679909, 12345679910, 12345679911, 12345679912, 12345679913, 12345679914, 12345679915, 12345679916, 12345679917, 12345679918, 12345679919, 12345679920, 12345679921, 12345679922, 12345679923, 12345679924, 12345679925, 12345679926, 12345679927, 12345679928, 12345679929, 12345679930, 12345679931, 12345679932, 12345679933, 12345679934, 12345679935, 12345679936, 12345679937, 12345679938, 12345679939, 12345679940, 12345679941, 12345679942, 12345679943, 12345679944, 12345679945, 12345679946, 12345679947, 12345679948, 12345679949, 12345679950, 12345679951, 12345679952, 12345679953, 12345679954, 12345679955, 12345679956, 12345679957, 12345679958, 12345679959, 12345679960, 12345679961, 12345679962, 12345679963, 12345679964, 12345679965, 12345679966, 12345679967, 12345679968, 12345679969, 12345679970, 12345679971, 12345679972, 12345679973, 12345679974, 12345679975, 12345679976, 12345679977, 12345679978, 12345679979, 12345679980, 12345679981, 12345679982, 12345679983, 12345679984, 12345679985, 12345679986, 12345679987, 12345679988, 12345679989, 12345679990, 12345679991, 12345679992, 12345679993, 12345679994, 12345679995, 12345679996, 12345679997, 12345679998, 12345679999, 12345680000, 12345680001, 12345680002, 12345680003, 12345680004, 12345680005, 12345680006, 12345680007, 12345680008, 12345680009, 12345680010, 12345680011, 12345680012, 12345680013, 12345680014, 12345680015, 12345680016, 12345680017, 12345680018, 12345680019, 12345680020, 12345680021, 12345680022, 12345680023, 12345680024, 12345680025, 12345680026, 12345680027, 12345680028, 12345680029, 12345680030, 12345680031, 12345680032, 12345680033, 12345680034, 12345680035, 12345680036, 12345680037, 12345680038, 12345680039, 12345680040, 12345680041, 12345680042, 12345680043, 12345680044, 12345680045, 12345680046, 12345680047, 12345680048, 12345680049, 12345680050, 12345680051, 12345680052, 12345680053, 12345680054, 12345680055, 12345680056, 12345680057, 12345680058, 12345680059, 12345680060, 12345680061, 12345680062, 12345680063, 12345680064, 12345680065, 12345680066, 12345680067, 12345680068, 12345680069, 12345680070, 12345680071, 12345680072, 12345680073, 12345680074, 12345680075, 12345680076, 12345680077, 12345680078, 12345680079, 12345680080, 12345680081, 12345680082, 12345680083, 12345680084, 12345680085, 12345680086, 12345680087, 12345680088, 12345680089, 12345680090, 12345680091, 12345680092, 12345680093, 12345680094, 12345680095, 12345680096, 12345680097, 12345680098, 12345680099, 12345680100, 12345680101, 12345680102, 12345680103, 12345680104, 12345680105, 12345680106, 12345680107, 12345680108, 12345680109, 12345680110, 12345680111, 12345680112, 12345680113, 12345680114, 12345680115, 12345680116, 12345680117, 12345680118, 12345680119, 12345680120, 12345680121, 12345680122, 12345680123, 12345680124, 12345680125, 12345680126, 12345680127, 12345680128, 12345680129, 12345680130, 12345680131, 12345680132, 12345680133, 12345680134, 12345680135, 12345680136, 12345680137, 12345680138, 12345680139, 12345680140, 12345680141, 12345680142, 12345680143, 12345680144, 12345680145, 12345680146, 12345680147, 12345680148, 12345680149, 12345680150, 12345680151, 12345680152, 12345680153, 12345680154, 12345680155, 12345680156, 12345680157, 12345680158, 12345680159, 12345680160, 12345680161, 12345680162, 12345680163, 12345680164, 12345680165, 12345680166, 12345680167, 12345680168, 12345680169, 12345680170, 12345680171, 12345680172, 12345680173, 12345680174, 12345680175, 12345680176, 12345680177, 12345680178, 12345680179, 12345680180, 12345680181, 12345680182, 12345680183, 12345680184, 12345680185, 12345680186, 12345680187, 12345680188, 12345680189, 12345680190, 12345680191, 12345680192, 12345680193, 12345680194, 12345680195, 12345680196, 12345680197, 12345680198, 12345680199, 12345680200, 12345680201, 12345680202, 12345680203, 12345680204, 12345680205, 12345680206, 12345680207, 12345680208, 12345680209, 12345680210, 12345680211, 12345680212, 12345680213, 12345680214, 12345680215, 12345680216, 12345680217, 12345680218, 12345680219, 12345680220, 12345680221, 12345680222, 12345680223, 12345680224, 12345680225, 12345680226, 12345680227, 12345680228, 12345680229, 12345680230, 12345680231, 12345680232, 12345680233, 12345680234, 12345680235, 12345680236, 12345680237, 12345680238, 12345680239, 12345680240, 12345680241, 12345680242, 12345680243, 12345680244, 12345680245, 12345680246, 12345680247, 12345680248, 12345680249, 12345680250, 12345680251, 12345680252, 12345680253, 12345680254, 12345680255, 12345680256, 12345680257, 12345680258, 12345680259, 12345680260, 12345680261, 12345680262, 12345680263, 12345680264, 12345680265, 12345680266, 12345680267, 12345680268, 12345680269, 12345680270, 12345680271, 12345680272, 12345680273, 12345680274, 12345680275, 12345680276, 12345680277, 12345680278, 12345680279, 12345680280, 12345680281, 12345680282, 12345680283, 12345680284, 12345680285, 12345680286, 12345680287, 12345680288, 12345680289, 12345680290, 12345680291, 12345680292, 12345680293, 12345680294, 12345680295, 12345680296, 12345680297, 12345680298, 12345680299, 12345680300, 12345680301, 12345680302, 12345680303, 12345680304, 12345680305, 12345680306, 12345680307, 12345680308, 12345680309, 12345680310, 12345680311, 12345680312, 12345680313, 12345680314, 12345680315, 12345680316, 12345680317, 12345680318, 12345680319, 12345680320, 12345680321, 12345680322, 12345680323, 12345680324, 12345680325, 12345680326, 12345680327, 12345680328, 12345680329, 12345680330, 12345680331, 12345680332, 12345680333, 12345680334, 12345680335, 12345680336, 12345680337, 12345680338, 12345680339, 12345680340, 12345680341, 12345680342, 12345680343, 12345680344, 12345680345, 12345680346, 12345680347, 12345680348, 12345680349, 12345680350, 12345680351, 12345680352, 12345680353, 12345680354, 12345680355, 12345680356, 12345680357, 12345680358, 12345680359, 12345680360, 12345680361, 12345680362, 12345680363, 12345680364, 12345680365, 12345680366, 12345680367, 12345680368, 12345680369, 12345680370, 12345680371, 12345680372, 12345680373, 12345680374, 12345680375, 12345680376, 12345680377, 12345680378, 12345680379, 12345680380, 12345680381, 12345680382, 12345680383, 12345680384, 12345680385, 12345680386, 12345680387, 12345680388, 12345680389, 12345680390, 12345680391, 12345680392, 12345680393, 12345680394, 12345680395, 12345680396, 12345680397, 12345680398, 12345680399, 12345680400, 12345680401, 12345680402, 12345680403, 12345680404, 12345680405, 12345680406, 12345680407, 12345680408, 12345680409, 12345680410, 12345680411, 12345680412, 12345680413, 12345680414, 12345680415, 12345680416, 12345680417, 12345680418, 12345680419, 12345680420, 12345680421, 12345680422, 12345680423, 12345680424, 12345680425, 12345680426, 12345680427, 12345680428, 12345680429, 12345680430, 12345680431, 12345680432, 12345680433, 12345680434, 12345680435, 12345680436, 12345680437, 12345680438, 12345680439, 12345680440, 12345680441, 12345680442, 12345680443, 12345680444, 12345680445, 12345680446, 12345680447, 12345680448, 12345680449, 12345680450, 12345680451, 12345680452, 12345680453, 12345680454, 12345680455, 12345680456, 12345680457, 12345680458, 12345680459, 12345680460, 12345680461, 12345680462, 12345680463, 12345680464, 12345680465, 12345680466, 12345680467, 12345680468, 12345680469, 12345680470, 12345680471, 12345680472, 12345680473, 12345680474, 12345680475, 12345680476, 12345680477, 12345680478, 12345680479, 12345680480, 12345680481, 12345680482, 12345680483, 12345680484, 12345680485, 12345680486, 12345680487, 12345680488, 12345680489, 12345680490, 12345680491, 12345680492, 12345680493, 12345680494, 12345680495, 12345680496, 12345680497, 12345680498, 12345680499, 12345680500, 12345680501, 12345680502, 12345680503, 12345680504, 12345680505, 12345680506, 12345680507, 12345680508, 12345680509, 12345680510, 12345680511, 12345680512, 12345680513, 12345680514, 12345680515, 12345680516, 12345680517, 12345680518, 12345680519, 12345680520, 12345680521, 12345680522, 12345680523, 12345680524, 12345680525, 12345680526, 12345680527, 12345680528, 12345680529, 12345680530, 12345680531, 12345680532, 12345680533, 12345680534, 12345680535, 12345680536, 12345680537, 12345680538, 12345680539, 12345680540, 12345680541, 12345680542, 12345680543, 12345680544, 12345680545, 12345680546, 12345680547, 12345680548, 12345680549, 12345680550, 12345680551, 12345680552, 12345680553, 12345680554, 12345680555, 12345680556, 12345680557, 12345680558, 12345680559, 12345680560, 12345680561, 12345680562, 12345680563, 12345680564, 12345680565, 12345680566, 12345680567, 12345680568, 12345680569, 12345680570, 12345680571, 12345680572, 12345680573, 12345680574, 12345680575, 12345680576, 12345680577, 12345680578, 12345680579, 12345680580, 12345680581, 12345680582, 12345680583, 12345680584, 12345680585, 12345680586, 12345680587, 12345680588, 12345680589, 12345680590, 12345680591, 12345680592, 12345680593, 12345680594, 12345680595, 12345680596, 12345680597, 12345680598, 12345680599, 12345680600, 12345680601, 12345680602, 12345680603, 12345680604, 12345680605, 12345680606, 12345680607, 12345680608, 12345680609, 12345680610, 12345680611, 12345680612, 12345680613, 12345680614, 12345680615, 12345680616, 12345680617, 12345680618, 12345680619, 12345680620, 12345680621, 12345680622, 12345680623, 12345680624, 12345680625, 12345680626, 12345680627, 12345680628, 12345680629, 12345680630, 12345680631, 12345680632, 12345680633, 12345680634, 12345680635, 12345680636, 12345680637, 12345680638, 12345680639, 12345680640, 12345680641, 12345680642, 12345680643, 12345680644, 12345680645, 12345680646, 12345680647, 12345680648, 12345680649, 12345680650, 12345680651, 12345680652, 12345680653, 12345680654, 12345680655, 12345680656, 12345680657, 12345680658, 12345680659, 12345680660, 12345680661, 12345680662, 12345680663, 12345680664, 12345680665, 12345680666, 12345680667, 12345680668, 12345680669, 12345680670, 12345680671, 12345680672, 12345680673, 12345680674, 12345680675, 12345680676, 12345680677, 12345680678, 12345680679, 12345680680, 12345680681) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-25 06:46:47.968';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:58,243 - [124443] - src.utils.log - INFO - βœ… Fetched 1772 rows - __SPLIT__ 2026-05-25 10:46:58,246 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150202, 150203, 150204, 150205, 150206, 150210, 150211, 150212, 150213, 150214, 150215, 150216, 150222, 150223, 150224, 150225, 150226, 150227, 150228, 150229, 150230, 150234, 150235, 150236, 150238, 150239, 150240, 150242, 150243, 150260, 150261, 150262, 150263, 150265, 150266, 150277, 150278, 150279, 150286, 150288, 150292, 150303, 150307, 150308, 150309, 150310, 150311, 150312, 150313, 150314, 150316, 150318, 150319, 150320, 150321, 150322, 150323, 150324, 150325, 150326, 150327, 150328, 150329, 150332, 150333, 150334, 150337);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:46:58,531 - [124443] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 10:46:58,581 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914,12345678915,12345678916,12345678917,12345678918,12345678919,12345678920,12345678921,12345678922,12345678923,12345678924,12345678925,12345678926,12345678927,12345678928,12345678929,12345678930,12345678931,12345678932,12345678933,12345678934,12345678935,12345678936,12345678937,12345678938,12345678939,12345678940,12345678941,12345678942,12345678943,12345678944,12345678945,12345678946,12345678947,12345678948,12345678949,12345678950,12345678951,12345678952,12345678953,12345678954,12345678955,12345678956,12345678957,12345678958,12345678959,12345678960,12345678961,12345678962,12345678963,12345678964,12345678965,12345678966,12345678967,12345678968,12345678969,12345678970,12345678971,12345678972,12345678973,12345678974,12345678975,12345678976,12345678977,12345678978,12345678979,12345678980,12345678981,12345678982,12345678983,12345678984,12345678985,12345678986,12345678987,12345678988,12345678989,12345678990,12345678991,12345678992,12345678993,12345678994,12345678995,12345678996,12345678997,12345678998,12345678999,12345679000,12345679001,12345679002,12345679003,12345679004,12345679005,12345679006,12345679007,12345679008,12345679009,12345679010,12345679011,12345679012,12345679013,12345679014,12345679015,12345679016,12345679017,12345679018,12345679019,12345679020,12345679021,12345679022,12345679023,12345679024,12345679025,12345679026,12345679027,12345679028,12345679029,12345679030,12345679031,12345679032,12345679033,12345679034,12345679035,12345679036,12345679037,12345679038,12345679039,12345679040,12345679041,12345679042,12345679043,12345679044,12345679045,12345679046,12345679047,12345679048,12345679049,12345679050,12345679051,12345679052,12345679053,12345679054,12345679055,12345679056,12345679057,12345679058,12345679059,12345679060,12345679061,12345679062,12345679063,12345679064,12345679065,12345679066,12345679067,12345679068,12345679069,12345679070,12345679071,12345679072,12345679073,12345679074,12345679075,12345679076,12345679077,12345679078,12345679079,12345679080,12345679081,12345679082,12345679083,12345679084,12345679085,12345679086,12345679087,12345679088,12345679089,12345679090,12345679091,12345679092,12345679093,12345679094,12345679095,12345679096,12345679097,12345679098,12345679099,12345679100,12345679101,12345679102,12345679103,12345679104,12345679105,12345679106,12345679107,12345679108,12345679109,12345679110,12345679111,12345679112,12345679113,12345679114,12345679115,12345679116,12345679117,12345679118,12345679119,12345679120,12345679121,12345679122,12345679123,12345679124,12345679125,12345679126,12345679127,12345679128,12345679129,12345679130,12345679131,12345679132,12345679133,12345679134,12345679135,12345679136,12345679137,12345679138,12345679139,12345679140,12345679141,12345679142,12345679143,12345679144,12345679145,12345679146,12345679147,12345679148,12345679149,12345679150,12345679151,12345679152,12345679153,12345679154,12345679155,12345679156,12345679157,12345679158,12345679159,12345679160,12345679161,12345679162,12345679163,12345679164,12345679165,12345679166,12345679167,12345679168,12345679169,12345679170,12345679171,12345679172,12345679173,12345679174,12345679175,12345679176,12345679177,12345679178,12345679179,12345679180,12345679181,12345679182,12345679183,12345679184,12345679185,12345679186,12345679187,12345679188,12345679189,12345679190,12345679191,12345679192,12345679193,12345679194,12345679195,12345679196,12345679197,12345679198,12345679199,12345679200,12345679201,12345679202,12345679203,12345679204,12345679205,12345679206,12345679207,12345679208,12345679209,12345679210,12345679211,12345679212,12345679213,12345679214,12345679215,12345679216,12345679217,12345679218,12345679219,12345679220,12345679221,12345679222,12345679223,12345679224,12345679225,12345679226,12345679227,12345679228,12345679229,12345679230,12345679231,12345679232,12345679233,12345679234,12345679235,12345679236,12345679237,12345679238,12345679239,12345679240,12345679241,12345679242,12345679243,12345679244,12345679245,12345679246,12345679247,12345679248,12345679249,12345679250,12345679251,12345679252,12345679253,12345679254,12345679255,12345679256,12345679257,12345679258,12345679259,12345679260,12345679261,12345679262,12345679263,12345679264,12345679265,12345679266,12345679267,12345679268,12345679269,12345679270,12345679271,12345679272,12345679273,12345679274,12345679275,12345679276,12345679277,12345679278,12345679279,12345679280,12345679281,12345679282,12345679283,12345679284,12345679285,12345679286,12345679287,12345679288,12345679289,12345679290,12345679291,12345679292,12345679293,12345679294,12345679295,12345679296,12345679297,12345679298,12345679299,12345679300,12345679301,12345679302,12345679303,12345679304,12345679305,12345679306,12345679307,12345679308,12345679309,12345679310,12345679311,12345679312,12345679313,12345679314,12345679315,12345679316,12345679317,12345679318,12345679319,12345679320,12345679321,12345679322,12345679323,12345679324,12345679325,12345679326,12345679327,12345679328,12345679329,12345679330,12345679331,12345679332,12345679333,12345679334,12345679335,12345679336,12345679337,12345679338,12345679339,12345679340,12345679341,12345679342,12345679343,12345679344,12345679345,12345679346,12345679347,12345679348,12345679349,12345679350,12345679351,12345679352,12345679353,12345679354,12345679355,12345679356,12345679357,12345679358,12345679359,12345679360,12345679361,12345679362,12345679363,12345679364,12345679365,12345679366,12345679367,12345679368,12345679369,12345679370,12345679371,12345679372,12345679373,12345679374,12345679375,12345679376,12345679377,12345679378,12345679379,12345679380,12345679381,12345679382,12345679383,12345679384,12345679385,12345679386,12345679387,12345679388,12345679389,12345679390,12345679391,12345679392,12345679393,12345679394,12345679395,12345679396,12345679397,12345679398,12345679399,12345679400,12345679401,12345679402,12345679403,12345679404,12345679405,12345679406,12345679407,12345679408,12345679409,12345679410,12345679411,12345679412,12345679413,12345679414,12345679415,12345679416,12345679417,12345679418,12345679419,12345679420,12345679421,12345679422,12345679423,12345679424,12345679425,12345679426,12345679427,12345679428,12345679429,12345679430,12345679431,12345679432,12345679433,12345679434,12345679435,12345679436,12345679437,12345679438,12345679439,12345679440,12345679441,12345679442,12345679443,12345679444,12345679445,12345679446,12345679447,12345679448,12345679449,12345679450,12345679451,12345679452,12345679453,12345679454,12345679455,12345679456,12345679457,12345679458,12345679459,12345679460,12345679461,12345679462,12345679463,12345679464,12345679465,12345679466,12345679467,12345679468,12345679469,12345679470,12345679471,12345679472,12345679473,12345679474,12345679475,12345679476,12345679477,12345679478,12345679479,12345679480,12345679481,12345679482,12345679483,12345679484,12345679485,12345679486,12345679487,12345679488,12345679489,12345679490,12345679491,12345679492,12345679493,12345679494,12345679495,12345679496,12345679497,12345679498,12345679499,12345679500,12345679501,12345679502,12345679503,12345679504,12345679505,12345679506,12345679507,12345679508,12345679509,12345679510,12345679511,12345679512,12345679513,12345679514,12345679515,12345679516,12345679517,12345679518,12345679519,12345679520,12345679521,12345679522,12345679523,12345679524,12345679525,12345679526,12345679527,12345679528,12345679529,12345679530,12345679531,12345679532,12345679533,12345679534,12345679535,12345679536,12345679537,12345679538,12345679539,12345679540,12345679541,12345679542,12345679543,12345679544,12345679545,12345679546,12345679547,12345679548,12345679549,12345679550,12345679551,12345679552,12345679553,12345679554,12345679555,12345679556,12345679557,12345679558,12345679559,12345679560,12345679561,12345679562,12345679563,12345679564,12345679565,12345679566,12345679567,12345679568,12345679569,12345679570,12345679571,12345679572,12345679573,12345679574,12345679575,12345679576,12345679577,12345679578,12345679579,12345679580,12345679581,12345679582,12345679583,12345679584,12345679585,12345679586,12345679587,12345679588,12345679589,12345679590,12345679591,12345679592,12345679593,12345679594,12345679595,12345679596,12345679597,12345679598,12345679599,12345679600,12345679601,12345679602,12345679603,12345679604,12345679605,12345679606,12345679607,12345679608,12345679609,12345679610,12345679611,12345679612,12345679613,12345679614,12345679615,12345679616,12345679617,12345679618,12345679619,12345679620,12345679621,12345679622,12345679623,12345679624,12345679625,12345679626,12345679627,12345679628,12345679629,12345679630,12345679631,12345679632,12345679633,12345679634,12345679635,12345679636,12345679637,12345679638,12345679639,12345679640,12345679641,12345679642,12345679643,12345679644,12345679645,12345679646,12345679647,12345679648,12345679649,12345679650,12345679651,12345679652,12345679653,12345679654,12345679655,12345679656,12345679657,12345679658,12345679659,12345679660,12345679661,12345679662,12345679663,12345679664,12345679665,12345679666,12345679667,12345679668,12345679669,12345679670,12345679671,12345679672,12345679673,12345679674,12345679675,12345679676,12345679677,12345679678,12345679679,12345679680,12345679681,12345679682,12345679683,12345679684,12345679685,12345679686,12345679687,12345679688,12345679689,12345679690,12345679691,12345679692,12345679693,12345679694,12345679695,12345679696,12345679697,12345679698,12345679699,12345679700,12345679701,12345679702,12345679703,12345679704,12345679705,12345679706,12345679707,12345679708,12345679709,12345679710,12345679711,12345679712,12345679713,12345679714,12345679715,12345679716,12345679717,12345679718,12345679719,12345679720,12345679721,12345679722,12345679723,12345679724,12345679725,12345679726,12345679727,12345679728,12345679729,12345679730,12345679731,12345679732,12345679733,12345679734,12345679735,12345679736,12345679737,12345679738,12345679739,12345679740,12345679741,12345679742,12345679743,12345679744,12345679745,12345679746,12345679747,12345679748,12345679749,12345679750,12345679751,12345679752,12345679753,12345679754,12345679755,12345679756,12345679757,12345679758,12345679759,12345679760,12345679761,12345679762,12345679763,12345679764,12345679765,12345679766,12345679767,12345679768,12345679769,12345679770,12345679771,12345679772,12345679773,12345679774,12345679775,12345679776,12345679777,12345679778,12345679779,12345679780,12345679781,12345679782,12345679783,12345679784,12345679785,12345679786,12345679787,12345679788,12345679789,12345679790,12345679791,12345679792,12345679793,12345679794,12345679795,12345679796,12345679797,12345679798,12345679799,12345679800,12345679801,12345679802,12345679803,12345679804,12345679805,12345679806,12345679807,12345679808,12345679809,12345679810,12345679811,12345679812,12345679813,12345679814,12345679815,12345679816,12345679817,12345679818,12345679819,12345679820,12345679821,12345679822,12345679823,12345679824,12345679825,12345679826,12345679827,12345679828,12345679829,12345679830,12345679831,12345679832,12345679833,12345679834,12345679835,12345679836,12345679837,12345679838,12345679839,12345679840,12345679841,12345679842,12345679843,12345679844,12345679845,12345679846,12345679847,12345679848,12345679849,12345679850,12345679851,12345679852,12345679853,12345679854,12345679855,12345679856,12345679857,12345679858,12345679859,12345679860,12345679861,12345679862,12345679863,12345679864,12345679865,12345679866,12345679867,12345679868,12345679869,12345679870,12345679871,12345679872,12345679873,12345679874,12345679875,12345679876,12345679877,12345679878,12345679879,12345679880,12345679881,12345679882,12345679883,12345679884,12345679885,12345679886,12345679887,12345679888,12345679889,12345679890,12345679891,12345679892,12345679893,12345679894,12345679895,12345679896,12345679897,12345679898,12345679899,12345679900,12345679901,12345679902,12345679903,12345679904,12345679905,12345679906,12345679907,12345679908,12345679909,12345679910,12345679911,12345679912,12345679913,12345679914,12345679915,12345679916,12345679917,12345679918,12345679919,12345679920,12345679921,12345679922,12345679923,12345679924,12345679925,12345679926,12345679927,12345679928,12345679929,12345679930,12345679931,12345679932,12345679933,12345679934,12345679935,12345679936,12345679937,12345679938,12345679939,12345679940,12345679941,12345679942,12345679943,12345679944,12345679945,12345679946,12345679947,12345679948,12345679949,12345679950,12345679951,12345679952,12345679953,12345679954,12345679955,12345679956,12345679957,12345679958,12345679959,12345679960,12345679961,12345679962,12345679963,12345679964,12345679965,12345679966,12345679967,12345679968,12345679969,12345679970,12345679971,12345679972,12345679973,12345679974,12345679975,12345679976,12345679977,12345679978,12345679979,12345679980,12345679981,12345679982,12345679983,12345679984,12345679985,12345679986,12345679987,12345679988,12345679989,12345679990,12345679991,12345679992,12345679993,12345679994,12345679995,12345679996,12345679997,12345679998,12345679999,12345680000,12345680001,12345680002,12345680003,12345680004,12345680005,12345680006,12345680007,12345680008,12345680009,12345680010,12345680011,12345680012,12345680013,12345680014,12345680015,12345680016,12345680017,12345680018,12345680019,12345680020,12345680021,12345680022,12345680023,12345680024,12345680025,12345680026,12345680027,12345680028,12345680029,12345680030,12345680031,12345680032,12345680033,12345680034,12345680035,12345680036,12345680037,12345680038,12345680039,12345680040,12345680041,12345680042,12345680043,12345680044,12345680045,12345680046,12345680047,12345680048,12345680049,12345680050,12345680051,12345680052,12345680053,12345680054,12345680055,12345680056,12345680057,12345680058,12345680059,12345680060,12345680061,12345680062,12345680063,12345680064,12345680065,12345680066,12345680067,12345680068,12345680069,12345680070,12345680071,12345680072,12345680073,12345680074,12345680075,12345680076,12345680077,12345680078,12345680079,12345680080,12345680081,12345680082,12345680083,12345680084,12345680085,12345680086,12345680087,12345680088,12345680089,12345680090,12345680091,12345680092,12345680093,12345680094,12345680095,12345680096,12345680097,12345680098,12345680099,12345680100,12345680101,12345680102,12345680103,12345680104,12345680105,12345680106,12345680107,12345680108,12345680109,12345680110,12345680111,12345680112,12345680113,12345680114,12345680115,12345680116,12345680117,12345680118,12345680119,12345680120,12345680121,12345680122,12345680123,12345680124,12345680125,12345680126,12345680127,12345680128,12345680129,12345680130,12345680131,12345680132,12345680133,12345680134,12345680135,12345680136,12345680137,12345680138,12345680139,12345680140,12345680141,12345680142,12345680143,12345680144,12345680145,12345680146,12345680147,12345680148,12345680149,12345680150,12345680151,12345680152,12345680153,12345680154,12345680155,12345680156,12345680157,12345680158,12345680159,12345680160,12345680161,12345680162,12345680163,12345680164,12345680165,12345680166,12345680167,12345680168,12345680169,12345680170,12345680171,12345680172,12345680173,12345680174,12345680175,12345680176,12345680177,12345680178,12345680179,12345680180,12345680181,12345680182,12345680183,12345680184,12345680185,12345680186,12345680187,12345680188,12345680189,12345680190,12345680191,12345680192,12345680193,12345680194,12345680195,12345680196,12345680197,12345680198,12345680199,12345680200,12345680201,12345680202,12345680203,12345680204,12345680205,12345680206,12345680207,12345680208,12345680209,12345680210,12345680211,12345680212,12345680213,12345680214,12345680215,12345680216,12345680217,12345680218,12345680219,12345680220,12345680221,12345680222,12345680223,12345680224,12345680225,12345680226,12345680227,12345680228,12345680229,12345680230,12345680231,12345680232,12345680233,12345680234,12345680235,12345680236,12345680237,12345680238,12345680239,12345680240,12345680241,12345680242,12345680243,12345680244,12345680245,12345680246,12345680247,12345680248,12345680249,12345680250,12345680251,12345680252,12345680253,12345680254,12345680255,12345680256,12345680257,12345680258,12345680259,12345680260,12345680261,12345680262,12345680263,12345680264,12345680265,12345680266,12345680267,12345680268,12345680269,12345680270,12345680271,12345680272,12345680273,12345680274,12345680275,12345680276,12345680277,12345680278,12345680279,12345680280,12345680281,12345680282,12345680283,12345680284,12345680285,12345680286,12345680287,12345680288,12345680289,12345680290,12345680291,12345680292,12345680293,12345680294,12345680295,12345680296,12345680297,12345680298,12345680299,12345680300,12345680301,12345680302,12345680303,12345680304,12345680305,12345680306,12345680307,12345680308,12345680309,12345680310,12345680311,12345680312,12345680313,12345680314,12345680315,12345680316,12345680317,12345680318,12345680319,12345680320,12345680321,12345680322,12345680323,12345680324,12345680325,12345680326,12345680327,12345680328,12345680329,12345680330,12345680331,12345680332,12345680333,12345680334,12345680335,12345680336,12345680337,12345680338,12345680339,12345680340,12345680341,12345680342,12345680343,12345680344,12345680345,12345680346,12345680347,12345680348,12345680349,12345680350,12345680351,12345680352,12345680353,12345680354,12345680355,12345680356,12345680357,12345680358,12345680359,12345680360,12345680361,12345680362,12345680363,12345680364,12345680365,12345680366,12345680367,12345680368,12345680369,12345680370,12345680371,12345680372,12345680373,12345680374,12345680375,12345680376,12345680377,12345680378,12345680379,12345680380,12345680381,12345680382,12345680383,12345680384,12345680385,12345680386,12345680387,12345680388,12345680389,12345680390,12345680391,12345680392,12345680393,12345680394,12345680395,12345680396,12345680397,12345680398,12345680399,12345680400,12345680401,12345680402,12345680403,12345680404,12345680405,12345680406,12345680407,12345680408,12345680409,12345680410,12345680411,12345680412,12345680413,12345680414,12345680415,12345680416,12345680417,12345680418,12345680419,12345680420,12345680421,12345680422,12345680423,12345680424,12345680425,12345680426,12345680427,12345680428,12345680429,12345680430,12345680431,12345680432,12345680433,12345680434,12345680435,12345680436,12345680437,12345680438,12345680439,12345680440,12345680441,12345680442,12345680443,12345680444,12345680445,12345680446,12345680447,12345680448,12345680449,12345680450,12345680451,12345680452,12345680453,12345680454,12345680455,12345680456,12345680457,12345680458,12345680459,12345680460,12345680461,12345680462,12345680463,12345680464,12345680465,12345680466,12345680467,12345680468,12345680469,12345680470,12345680471,12345680472,12345680473,12345680474,12345680475,12345680476,12345680477,12345680478,12345680479,12345680480,12345680481,12345680482,12345680483,12345680484,12345680485,12345680486,12345680487,12345680488,12345680489,12345680490,12345680491,12345680492,12345680493,12345680494,12345680495,12345680496,12345680497,12345680498,12345680499,12345680500,12345680501,12345680502,12345680503,12345680504,12345680505,12345680506,12345680507,12345680508,12345680509,12345680510,12345680511,12345680512,12345680513,12345680514,12345680515,12345680516,12345680517,12345680518,12345680519,12345680520,12345680521,12345680522,12345680523,12345680524,12345680525,12345680526,12345680527,12345680528,12345680529,12345680530,12345680531,12345680532,12345680533,12345680534,12345680535,12345680536,12345680537,12345680538,12345680539,12345680540,12345680541,12345680542,12345680543,12345680544,12345680545,12345680546,12345680547,12345680548,12345680549,12345680550,12345680551,12345680552,12345680553,12345680554,12345680555,12345680556,12345680557,12345680558,12345680559,12345680560,12345680561,12345680562,12345680563,12345680564,12345680565,12345680566,12345680567,12345680568,12345680569,12345680570,12345680571,12345680572,12345680573,12345680574,12345680575,12345680576,12345680577,12345680578,12345680579,12345680580,12345680581,12345680582,12345680583,12345680584,12345680585,12345680586,12345680587,12345680588,12345680589,12345680590,12345680591,12345680592,12345680593,12345680594,12345680595,12345680596,12345680597,12345680598,12345680599,12345680600,12345680601,12345680602,12345680603,12345680604,12345680605,12345680606,12345680607,12345680608,12345680609,12345680610,12345680611,12345680612,12345680613,12345680614,12345680615,12345680616,12345680617,12345680618,12345680619,12345680620,12345680621,12345680622,12345680623,12345680624,12345680625,12345680626,12345680627,12345680628,12345680629,12345680630,12345680631,12345680632,12345680633,12345680634,12345680635,12345680636,12345680637,12345680638,12345680639,12345680640,12345680641,12345680642,12345680643,12345680644,12345680645,12345680646,12345680647,12345680648,12345680649,12345680650,12345680651,12345680652,12345680653,12345680654,12345680655,12345680656,12345680657,12345680658,12345680659,12345680660,12345680661,12345680662,12345680663,12345680664,12345680665,12345680666,12345680667,12345680668,12345680669,12345680670,12345680671,12345680672,12345680673,12345680674,12345680675,12345680676,12345680677,12345680678,12345680679,12345680680,12345680681) AND CreatedDate = '2026-05-25 06:46:47.968'; ... (Thread: ThreadPoolExecutor-55_0) - __SPLIT__ 2026-05-25 10:47:00,381 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 10:47:00,388 - [124443] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 10:47:00,389 - [124443] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1772 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:00,663 - [124443] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1772) into Billing.Invoice - __SPLIT__ 2026-05-25 10:47:13,704 - [124443] - src.utils.log - INFO - βœ… All 1772 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-25 10:47:13,706 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1424025', '1423478', '1424836', '1424570', '1424256', '1424991', '1425156', '1424786', '1424255', '1424990', '1425157', '1424789', '1423892', '1423504', '1424352', '1424485', '1423470', '1424148', '1424878', '1424269', '1423549', '1424898', '1424401', '1423969', '1423495', '1425026', '1424506', '1423613', '1423770', '1425071', '1424626', '1423591', '1423782', '1425074', '1424625', '1423592', '1423764', '1425072', '1424624', '1423596', '1423763', '1425068', '1424629', '1423604', '1423766', '1425063', '1424620', '1423605', '1423767', '1425103', '1424673', '1423600', '1423807', '1425106', '1424054', '1423598', '1423806', '1425066', '1424049', '1423597', '1423805', '1425098', '1424047', '1423594', '1423796', '1425058', '1424043', '1423635', '1423755', '1425059', '1424691', '1423589', '1423756', '1425109', '1424045', '1423640', '1423757', '1425108', '1424671', '1423627', '1423758', '1425105', '1424046', '1423586', '1423762', '1425104', '1424623', '1423587', '1423801', '1425102', '1424050', '1424020', '1423475', '1424879', '1424567', '1424026', '1423491', '1424880', '1424566', '1424018', '1423487', '1424881', '1424564', '1424015', '1423482', '1424882', '1424562', '1425021', '1424873', '1423636', '1423774', '1425064', '1424622', '1425047', '1423998', '1423865', '1424934', '1424425', '1423974', '1423942', '1424164', '1424315', '1424324', '1424185', '1424254', '1424225', '1423677', '1423646', '1423561', '1423579', '1423823', '1423901', '1423746', '1423711', '1424999', '1424971', '1425023', '1424886', '1424892', '1425209', '1425274', '1425239', '1425150', '1425121', '1424501', '1424593', '1424379', '1424403', '1424750', '1424771', '1424791', '1424641', '1424680', '1423472', '1424069', '1424132', '1424114', '1424259', '1423750', '1425164', '1424632', '1423937', '1424317', '1424181', '1424234', '1423645', '1423584', '1423905', '1423718', '1424952', '1424877', '1425237', '1424591', '1423961', '1423967', '1423927', '1423935', '1424013', '1424017', '1423989', '1424000', '1424300', '1424312', '1424316', '1424272', '1424349', '1424361', '1424374', '1424325', '1424341', '1424179', '1424197', '1424205', '1424160', '1424240', '1424249', '1424260', '1424219', '1423619', '1423626', '1423633', '1423611', '1423687', '1423683', '1423654', '1423501', '1423514', '1423520', '1423483', '1423496', '1423573', '1423533', '1423539', '1423712', '1423843', '1423859', '1423813', '1423835', '1423904', '1423907', '1423872', '1423885', '1423730', '1423737', '1423740', '1423709', '1423725', '1423798', '1423760', '1424972', '1424986', '1424947', '1424951', '1425028', '1425043', '1425044', '1425008', '1424957', '1424869', '1424883', '1424845', '1424852', '1424919', '1424936', '1424901', '1425070', '1425198', '1425226', '1425177', '1425178', '1425255', '1425266', '1425279', '1425243', '1425087', '1425090', '1425077', '1425083', '1425149', '1425154', '1425123', '1424519', '1424528', '1424534', '1424499', '1424502', '1424575', '1424594', '1424588', '1424556', '1424416', '1424424', '1424431', '1424393', '1424464', '1424476', '1424489', '1424441', '1424457', '1424753', '1424769', '1424717', '1424736', '1424804', '1424818', '1424815', '1424792', '1424633', '1424646', '1424652', '1424608', '1424621', '1424122', '1424674', '1424693', '1424029', '1423507', '1424167', '1423895', '1425197', '1424830', '1424162', '1423890', '1425179', '1424813', '1424165', '1423876', '1425181', '1424812', '1424119', '1423975', '1423926', '1423941', '1423951', '1424021', '1423985', '1424001', '1424294', '1424313', '1424271', '1424278', '1424288', '1424364', '1424369', '1424329', '1424339', '1424183', '1424193', '1424151', '1424169', '1424176', '1424247', '1424208', '1424227', '1423938', '1423630', '1423602', '1423655', '1423678', '1423695', '1423656', '1423667', '1423511', '1423523', '1423489', '1423486', '1423567', '1423578', '1423538', '1423668', '1423850', '1423863', '1423821', '1423834', '1423897', '1423910', '1423920', '1423884', '1423729', '1423738', '1423705', '1423717', '1423724', '1423792', '1423771', '1424232', '1424987', '1424996', '1424961', '1425031', '1425036', '1425001', '1425007', '1425014', '1424871', '1424884', '1424842', '1424916', '1424927', '1424941', '1424893', '1424912', '1425208', '1425219', '1425172', '1425190', '1425196', '1425269', '1425280', '1425238', '1425249', '1425092', '1425073', '1425141', '1425153', '1425166', '1425129', '1425135', '1424521', '1424539', '1424500', '1424514', '1424577', '1424589', '1424598', '1424557', '1424410', '1424427', '1424385', '1424388', '1424465', '1424473', '1424488', '1424440', '1424455', '1424749', '1424767', '1424724', '1424733', '1424740', '1424810', '1424776', '1424793', '1424637', '1424659', '1424607', '1424613', '1424052', '1424064', '1424678', '1424686', '1423608', '1423804', '1425061', '1424042', '1423958', '1423962', '1423977', '1423936', '1423994', '1424030', '1424022', '1423996', '1424006', '1424306', '1424265', '1424279', '1424350', '1424355', '1424367', '1424326', '1424344', '1424184', '1424196', '1424157', '1424178', '1424243', '1424244', '1424213', '1424218', '1423616', '1423629', '1423607', '1423609', '1423698', '1423694', '1423669', '1423665', '1423503', '1423521', '1423479', '1423498', '1423565', '1423581', '1423536', '1423551', '1423846', '1423861', '1423824', '1423831', '1423899', '1423908', '1423909', '1423888', '1423736', '1423747', '1423700', '1423710', '1423785', '1423789', '1423765', '1424391', '1424988', '1424997', '1424954', '1425030', '1425056', '1425041', '1425005', '1425015', '1424864', '1424876', '1424850', '1424856', '1424921', '1424935', '1424889', '1424904', '1425205', '1425220', '1425225', '1425182', '1425258', '1425273', '1425278', '1425245', '1425183', '1425095', '1425078', '1425079', '1425155', '1425114', '1425120', '1425137', '1424546', '1424541', '1424545', '1424510', '1424582', '1424596', '1424553', '1424574', '1424412', '1424421', '1424430', '1424398', '1424468', '1424471', '1424487', '1424450', '1424456', '1424754', '1424770', '1424720', '1424732', '1424787', '1424816', '1424778', '1424785', '1424730', '1424640', '1424605', '1424611', '1424055', '1424058', '1424126', '1424683', '1423960', '1423964', '1423978', '1423933', '1423948', '1424027', '1423987', '1423991', '1424297', '1424311', '1424268', '1424274', '1424284', '1424360', '1424362', '1424327', '1424348', '1424187', '1424191', '1424202', '1424171', '1424238', '1424251', '1424211', '1424217', '1423617', '1423622', '1423595', '1423674', '1423680', '1423690', '1423649', '1423662', '1423508', '1423519', '1423499', '1423559', '1423569', '1423577', '1423545', '1423554', '1423852', '1423858', '1423817', '1423827', '1423902', '1423924', '1423921', '1423874', '1423894', '1423743', '1423752', '1423716', '1423786', '1423795', '1423803', '1424974', '1424980', '1424946', '1424958', '1424967', '1425037', '1425049', '1425011', '1425024', '1424862', '1424885', '1424849', '1424855', '1424926', '1424932', '1424888', '1424905', '1425207', '1425218', '1425224', '1425194', '1425257', '1425276', '1425232', '1425246', '1425085', '1425091', '1425057', '1425126', '1425152', '1425163', '1425119', '1424520', '1424523', '1424535', '1424492', '1424511', '1424516', '1424587', '1424600', '1424559', '1424411', '1424422', '1424419', '1424399', '1424467', '1424490', '1424483', '1424446', '1424745', '1424755', '1424759', '1424719', '1424727', '1424742', '1424814', '1424777', '1424790', '1424798', '1424649', '1424654', '1424610', '1424048', '1424668', '1424128', '1424041', '1423957', '1423971', '1423930', '1423940', '1424012', '1424037', '1424036', '1423997', '1424295', '1424301', '1424264', '1424280', '1424289', '1424359', '1424373', '1424322', '1424342', '1424186', '1424190', '1424204', '1424161', '1424237', '1424253', '1424248', '1424224', '1424233', '1423631', '1423606', '1423675', '1423689', '1423697', '1423657', '1423666', '1423506', '1423474', '1423490', '1423542', '1423572', '1423580', '1423544', '1423841', '1423849', '1423862', '1423819', '1423832', '1423900', '1423916', '1423919', '1423883', '1423731', '1423744', '1423702', '1423713', '1423788', '1423794', '1423809', '1424975', '1424989', '1424945', '1424955', '1424969', '1425034', '1425050', '1425002', '1424859', '1424865', '1424833', '1424843', '1424900', '1424930', '1424928', '1424891', '1424913', '1425203', '1425221', '1425171', '1425191', '1425259', '1425265', '1425227', '1425242', '1425251', '1425089', '1425111', '1425143', '1425151', '1425116', '1425125', '1425136', '1424529', '1424542', '1424497', '1424512', '1424581', '1424585', '1424599', '1424558', '1424407', '1424417', '1424383', '1424400', '1424466', '1424474', '1424486', '1424442', '1424458', '1424751', '1424760', '1424725', '1424731', '1424802', '1424809', '1424774', '1424781', '1424635', '1424650', '1424604', '1424614', '1424627', '1424063', '1424682', '1424666', '1423954', '1423965', '1423979', '1423932', '1424011', '1424024', '1423990', '1424008', '1424299', '1424320', '1424270', '1424276', '1424290', '1424356', '1424375', '1424328', '1424343', '1424347', '1424199', '1424155', '1424158', '1424220', '1424263', '1424262', '1424222', '1423614', '1423641', '1423593', '1423612', '1423682', '1423642', '1423650', '1423663', '1423516', '1423513', '1423484', '1423493', '1423585', '1423570', '1423534', '1423550', '1423844', '1423860', '1423822', '1423839', '1423881', '1423913', '1423922', '1423879', '1423733', '1423749', '1423704', '1423720', '1423784', '1423791', '1423761', '1424978', '1424981', '1424944', '1424963', '1424968', '1425032', '1425052', '1425009', '1425016', '1424870', '1424837', '1424847', '1424854', '1424923', '1424939', '1424894', '1424907', '1425206', '1425216', '1425176', '1425184', '1425256', '1425277', '1425281', '1425241', '1425247', '1425097', '1425101', '1425145', '1425147', '1425167', '1425127', '1425139', '1424530', '1424537', '1424498', '1424509', '1424576', '1424595', '1424601', '1424563', '1424408', '1424423', '1424384', '1424390', '1424470', '1424478', '1424436', '1424444', '1424460', '1424746', '1424766', '1424726', '1424735', '1424739', '1424825', '1424780', '1424782', '1424634', '1424639', '1424606', '1424612', '1424688', '1424123', '1424677', '1424715', '1423955', '1423973', '1423925', '1423939', '1423949', '1424016', '1424034', '1423995', '1424293', '1424308', '1424305', '1424273', '1424351', '1424357', '1424372', '1424330', '1424337', '1424182', '1424200', '1424152', '1424168', '1424242', '1424246', '1424261', '1424228', '1424230', '1423628', '1423590', '1423676', '1423688', '1423696', '1423647', '1423661', '1423510', '1423522', '1423477', '1423494', '1423575', '1423583', '1423541', '1423552', '1423867', '1423856', '1423818', '1423836', '1423837', '1423917', '1423868', '1423891', '1423732', '1423739', '1423699', '1423715', '1423722', '1423800', '1423808', '1423779', '1424983', '1424995', '1424960', '1425029', '1425033', '1425053', '1425006', '1425022', '1424860', '1424834', '1424841', '1424915', '1424925', '1424938', '1424895', '1424903', '1425204', '1425214', '1425170', '1425180', '1425260', '1425272', '1425230', '1425235', '1425250', '1425112', '1425075', '1425080', '1425161', '1425162', '1425118', '1425131', '1424525', '1424543', '1424495', '1424518', '1424579', '1424584', '1424602', '1424569', '1424413', '1424418', '1424378', '1424396', '1424469', '1424477', '1424438', '1424445', '1424617', '1424748', '1424761', '1424721', '1424734', '1424806', '1424811', '1424828', '1424784', '1424799', '1424651', '1424645', '1424609', '1424057', '1424060', '1424679', '1424667', '1424051', '1423970', '1423929', '1423946', '1424010', '1424032', '1423988', '1423993', '1424007', '1424307', '1424266', '1424281', '1424287', '1424377', '1424366', '1424323', '1424336', '1424346', '1424195', '1424154', '1424159', '1424177', '1424258', '1424212', '1424223', '1423618', '1423623', '1423639', '1423610', '1423681', '1423691', '1423653', '1423664', '1423515', '1423526', '1423485', '1423557', '1423574', '1423530', '1423537', '1423548', '1423845', '1423854', '1423815', '1423833', '1423906', '1423911', '1423873', '1423882', '1423727', '1423745', '1423703', '1423707', '1423768', '1423799', '1423759', '1423780', '1424993', '1424994', '1424956', '1424966', '1425038', '1425045', '1425003', '1425018', '1424863', '1424832', '1424840', '1424918', '1424920', '1424940', '1424899', '1424909', '1425200', '1425222', '1425174', '1425186', '1425263', '1425271', '1425229', '1425244', '1425248', '1425096', '1425076', '1425144', '1425159', '1425168', '1425122', '1425132', '1424526', '1424536', '1424491', '1424503', '1424515', '1424590', '1424547', '1424555', '1424504', '1424426', '1424432', '1424405', '1424462', '1424481', '1424437', '1424449', '1424453', '1424773', '1424762', '1424758', '1424738', '1424803', '1424817', '1424779', '1424783', '1424800', '1424643', '1424653', '1424618', '1424630', '1424062', '1424687', '1424107', '1423953', '1423968', '1423928', '1423943', '1423950', '1424019', '1423982', '1424002', '1424005', '1424304', '1424314', '1424291', '1424353', '1424358', '1424371', '1424331', '1424340', '1424180', '1424206', '1424192', '1424175', '1424236', '1424257', '1424214', '1424221', '1423615', '1423621', '1423634', '1423672', '1423679', '1423693', '1423648', '1423599', '1423512', '1423525', '1423488', '1423560', '1423571', '1423529', '1423535', '1423546', '1423848', '1423866', '1423820', '1423826', '1423903', '1423912', '1423871', '1423880', '1423735', '1423742', '1423751', '1423726', '1423721', '1423811', '1423802', '1424976', '1424992', '1424949', '1424962', '1424970', '1425035', '1425048', '1425004', '1425017', '1424867', '1424872', '1424858', '1424851', '1424924', '1424937', '1424887', '1424906', '1425202', '1425213', '1425173', '1425187', '1425240', '1425275', '1425231', '1425233', '1425252', '1425100', '1425065', '1425081', '1425148', '1425117', '1425128', '1425138', '1424527', '1424544', '1424493', '1424507', '1424580', '1424597', '1424548', '1424554', '1424415', '1424429', '1424380', '1424397', '1424447', '1424472', '1424435', '1424443', '1424451', '1424756', '1424768', '1424718', '1424737', '1424743', '1424808', '1424826', '1424788', '1424636', '1424642', '1424658', '1424616', '1424628', '1424124', '1424681', '1424973', '1423775', '1425084', '1424053', '1423959', '1423980', '1423976', '1423944', '1424009', '1424028', '1423984', '1424003', '1424296', '1424310', '1424318', '1424275', '1424285', '1424354', '1424376', '1424321', '1424345', '1424277', '1424194', '1424153', '1424174', '1424239', '1424245', '1424210', '1424216', '1424229', '1423624', '1423603', '1423671', '1423685', '1423643', '1423651', '1423502', '1423528', '1423527', '1423480', '1423563', '1423564', '1423531', '1423556', '1423547', '1423847', '1423855', '1423816', '1423829', '1423838', '1423918', '1423870', '1423887', '1423734', '1423748', '1423706', '1423708', '1423723', '1423793', '1423776', '1423781', '1424979', '1424998', '1424950', '1425013', '1425042', '1425000', '1425012', '1425019', '1424866', '1424831', '1424839', '1424857', '1424943', '1424942', '1424897', '1424911', '1425201', '1425212', '1425175', '1425189', '1425261', '1425267', '1425228', '1425234', '1425086', '1425099', '1425069', '1425146', '1425169', '1425113', '1425130', '1424844', '1424524', '1424533', '1424532', '1424505', '1424517', '1424592', '1424551', '1424568', '1424414', '1424433', '1424381', '1424394', '1424404', '1424482', '1424484', '1424448', '1424459', '1424747', '1424764', '1424723', '1424729', '1424741', '1424824', '1424827', '1424795', '1424638', '1424644', '1424655', '1424615', '1424044', '1424125', '1424675', '1424685', '1424302', '1423576', '1424910', '1424389', '1424298', '1423814', '1424890', '1424387', '1423981', '1424173', '1423473', '1423889', '1425054', '1425192', '1424573', '1424821', '1423956', '1423972', '1423931', '1423934', '1423947', '1424033', '1424035', '1423992', '1424292', '1424309', '1424319', '1424282', '1424286', '1424365', '1424370', '1424333', '1424335', '1424188', '1424198', '1424203', '1424170', '1424241', '1424250', '1424209', '1424226', '1423840', '1423620', '1423601', '1423670', '1423686', '1423692', '1423659', '1423500', '1423505', '1423518', '1423481', '1423497', '1423568', '1423582', '1423543', '1423553', '1423851', '1423864', '1423812', '1423830', '1423896', '1423914', '1423869', '1423886', '1423893', '1423754', '1423701', '1423714', '1423787', '1423797', '1423773', '1423778', '1424984', '1424985', '1424953', '1424964', '1425040', '1425046', '1425010', '1425025', '1424868', '1424875', '1424848', '1424853', '1424929', '1424931', '1424914', '1424908', '1425210', '1425215', '1425223', '1425195', '1425264', '1425270', '1425282', '1425254', '1425088', '1425093', '1425110', '1425082', '1425160', '1425165', '1425140', '1425133', '1424531', '1424540', '1424496', '1424513', '1424578', '1424603', '1424549', '1424561', '1424572', '1424428', '1424386', '1424395', '1424402', '1424480', '1424475', '1424439', '1424454', '1424757', '1424763', '1424722', '1424728', '1424807', '1424820', '1424829', '1424801', '1424797', '1424647', '1424656', '1424619', '1424690', '1424061', '1424676', '1424089', '1424694', '1424695', '1424696', '1424697', '1424698', '1424699', '1424700', '1424702', '1424703', '1424704', '1424705', '1424706', '1424707', '1424708', '1424709', '1424710', '1424711', '1424712', '1424713', '1424714', '1424670', '1424660', '1424661', '1424662', '1424663', '1424664', '1424665', '1424669', '1424066', '1424067', '1424068', '1424070', '1424071', '1424072', '1424073', '1424074', '1424075', '1424076', '1424077', '1424078', '1424093', '1424080', '1424082', '1424083', '1424084', '1424085', '1424086', '1424087', '1424088', '1424672', '1424090', '1424091', '1424092', '1424079', '1424038', '1424039', '1424129', '1424130', '1424131', '1424133', '1424134', '1424150', '1424136', '1424137', '1424138', '1424139', '1424140', '1424141', '1424142', '1424144', '1424145', '1424146', '1424147', '1424149', '1424135', '1424094', '1424095', '1424096', '1424097', '1424098', '1424099', '1424100', '1424101', '1424103', '1424104', '1424105', '1424106', '1424121', '1424108', '1424109', '1424110', '1424111', '1424112', '1424113', '1424115', '1424116', '1424117', '1424118', '1424120', '1423963', '1423966', '1423945', '1424014', '1424023', '1423986', '1423999', '1424004', '1424303', '1424267', '1424283', '1424334', '1424363', '1424368', '1424332', '1424338', '1424189', '1424201', '1424156', '1424163', '1424235', '1424252', '1424207', '1424215', '1424231', '1423625', '1423632', '1423673', '1423684', '1423644', '1423652', '1423660', '1423509', '1423524', '1423492', '1423562', '1423566', '1423532', '1423540', '1423555', '1423842', '1423857', '1423853', '1423828', '1423898', '1423915', '1423923', '1423877', '1423825', '1423741', '1423753', '1423719', '1423783', '1423790', '1423810', '1424977', '1424982', '1424948', '1424959', '1424965', '1425039', '1425055', '1425027', '1425020', '1424861', '1424874', '1424846', '1424917', '1424922', '1424933', '1424896', '1424902', '1425199', '1425217', '1425211', '1425185', '1425262', '1425283', '1425268', '1425236', '1425253', '1425094', '1425107', '1425142', '1425158', '1425115', '1425124', '1425134', '1424522', '1424538', '1424494', '1424508', '1424560', '1424583', '1424550', '1424565', '1424409', '1424420', '1424382', '1424392', '1424463', '1424479', '1424434', '1424461', '1424452', '1424752', '1424765', '1424772', '1424744', '1424805', '1424819', '1424775', '1424794', '1424796', '1424648', '1424657', '1424631', '1424689', '1424059', '1424127', '1424684')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:14,451 - [124443] - src.utils.log - INFO - βœ… Fetched 1772 rows - __SPLIT__ 2026-05-25 10:47:14,466 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId in (150214, 150307, 150332, 150321, 150260, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150216, 150303, 150328, 150308, 150242, 150243, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150239, 150326, 150329, 150292, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:14,877 - [124443] - src.utils.log - INFO - βœ… Fetched 72 rows - __SPLIT__ 2026-05-25 10:47:14,878 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId in (150214, 150307, 150332, 150321, 150260, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150216, 150303, 150328, 150308, 150242, 150243, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150239, 150326, 150329, 150292, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:15,162 - [124443] - src.utils.log - INFO - βœ… Fetched 33 rows - __SPLIT__ 2026-05-25 10:47:15,162 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId in (150214, 150307, 150332, 150321, 150260, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150216, 150303, 150328, 150308, 150242, 150243, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150239, 150326, 150329, 150292, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:15,434 - [124443] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-25 10:47:15,435 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId in (150214, 150307, 150332, 150321, 150260, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150216, 150303, 150328, 150308, 150242, 150243, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150239, 150326, 150329, 150292, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288) and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:15,715 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:47:15,732 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId in (150214, 150307, 150332, 150321, 150260, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150216, 150303, 150328, 150308, 150242, 150243, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150239, 150326, 150329, 150292, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:16,010 - [124443] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 10:47:16,019 - [124443] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId in (150214, 150307, 150332, 150321, 150260, 150323, 150203, 150319, 150327, 150333, 150263, 150310, 150322, 150324, 150316, 150262, 150325, 150261, 150334, 150222, 150320, 150212, 150311, 150216, 150303, 150328, 150308, 150242, 150243, 150238, 150224, 150225, 150235, 150226, 150234, 150230, 150229, 150227, 150228, 150318, 150223, 150240, 150236, 150286, 150239, 150326, 150329, 150292, 150314, 150313, 150210, 150312, 150206, 150205, 150213, 150266, 150265, 150288);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:16,299 - [124443] - src.utils.log - INFO - βœ… Fetched 19 rows - __SPLIT__ 2026-05-25 10:47:16,304 - [124443] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-25 10:47:16,304 - [124443] - src.utils.log - INFO - Time took to perform operation in publishing [124443]: 170.21 - __SPLIT__ 2026-05-25 10:47:16,304 - [124443] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124443] - __SPLIT__ 2026-05-25 10:47:16,304 - [124443] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-25 06:47:16.304' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124443;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 10:47:16,570 - [124443] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 11:38:44,316 - [124444] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3678132] user_id=43135 company_id=133 project_id=[124444] publish_all=False - __SPLIT__ 2026-05-25 11:38:44,317 - [124444] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3678132] user_id=43135 company_id=133 project_id=[124444] publish_all=False - __SPLIT__ 2026-05-25 11:38:44,318 - [124444] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124444] - __SPLIT__ 2026-05-25 11:38:44,318 - [124444] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-25 11:38:44,318 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:46,468 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:46,468 - [124444] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-25 11:38:46,469 - [124444] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-25 11:38:46,469 - [124444] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-25 11:38:46,470 - [124444] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124444;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:48,423 - [124444] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 11:38:48,423 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:48,699 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:48,699 - [124444] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-25 11:38:48,699 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150338 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:48,985 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:48,985 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150338 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:49,273 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:49,273 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150338 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:49,562 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:49,565 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:49,841 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:49,841 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:50,111 - [124444] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 11:38:50,111 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:50,415 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:50,416 - [124444] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:50,691 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:50,691 - [124444] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:51,019 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:51,023 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:51,291 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:51,292 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150338... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:51,601 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:51,603 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:51,871 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:51,871 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14856' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:52,168 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:52,171 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo = '1425285' AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:52,443 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:52,443 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:52,912 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-25 11:38:53,906 - [124444] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 11:38:54,040 - [124444] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 11:38:54,042 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo = '1425285' AND wo.AccountNumber = '14856' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-56_0) - __SPLIT__ 2026-05-25 11:38:54,320 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:54,320 - [124444] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-25 11:38:54,320 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:54,683 - [124444] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 11:38:54,683 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:54,956 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:54,957 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:55,293 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:55,293 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:55,564 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:55,564 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:55,866 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:55,867 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId = 3678132... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:56,164 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:56,165 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId = 3678132 and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:56,436 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:56,436 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId = 3678132;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:56,706 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:38:56,709 - [124444] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-25 11:38:56,721 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:57,018 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:57,021 - [124444] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId = 1159 AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:57,290 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:57,293 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:57,576 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:57,580 - [124444] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 11:38:57,581 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:57,874 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-25 11:38:58,854 - [124444] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-25 11:38:58,855 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150338 AND WorkOrderNo = '1138591' AND GenerateWorkOrderHistoryId = 124444; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:59,500 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:38:59,506 - [124444] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-25 11:38:59,506 - [124444] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 11:38:59,506 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:38:59,791 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-25 11:39:00,802 - [124444] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-25 11:39:00,802 - [124444] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 11:39:00,803 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:01,078 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-25 11:39:02,095 - [124444] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-25 11:39:02,096 - [124444] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-25 11:39:02,096 - [124444] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-25 11:39:02,096 - [124444] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 11:39:02,096 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:02,370 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-25 11:39:03,349 - [124444] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-25 11:39:03,350 - [124444] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-25 11:39:03,350 - [124444] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-25 11:39:03,350 - [124444] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 11:39:03,350 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:03,626 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-25 11:39:04,613 - [124444] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-25 11:39:04,613 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:04,881 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:39:04,882 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150338... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:05,150 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:39:05,157 - [124444] - src.utils.log - INFO - Size of Transaction: 1 - __SPLIT__ 2026-05-25 11:39:05,158 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:05,598 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-25 11:39:06,577 - [124444] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-25 11:39:06,711 - [124444] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-25 11:39:06,712 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy = 12345678910 and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-25 07:39:05.152';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:07,269 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:39:07,271 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150338;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:07,540 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:39:07,549 - [124444] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy = 12345678910 AND CreatedDate = '2026-05-25 07:39:05.152'; ... (Thread: ThreadPoolExecutor-57_0) - __SPLIT__ 2026-05-25 11:39:08,049 - [124444] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-25 11:39:08,053 - [124444] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-25 11:39:08,053 - [124444] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:08,350 - [124444] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Invoice - __SPLIT__ 2026-05-25 11:39:09,386 - [124444] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-25 11:39:09,387 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo = '1425285'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:09,762 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:39:09,772 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150338 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:10,052 - [124444] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 11:39:10,052 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150338 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:10,327 - [124444] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-25 11:39:10,327 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150338 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:10,621 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:39:10,621 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150338 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:10,895 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:39:10,909 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150338;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:11,194 - [124444] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-25 11:39:11,199 - [124444] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150338;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:11,473 - [124444] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-25 11:39:11,477 - [124444] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-25 11:39:11,477 - [124444] - src.utils.log - INFO - Time took to perform operation in publishing [124444]: 27.16 - __SPLIT__ 2026-05-25 11:39:11,478 - [124444] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124444] - __SPLIT__ 2026-05-25 11:39:11,478 - [124444] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-25 07:39:11.478' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124444;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-25 11:39:11,825 - [124444] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 08:16:55,993 - [12197] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2729998, 2729999] user_id=58 company_id=17 project_id=[12197] publish_all=False - __SPLIT__ 2026-05-26 08:16:55,994 - [12197] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2729998, 2729999] user_id=58 company_id=17 project_id=[12197] publish_all=False - __SPLIT__ 2026-05-26 08:16:55,994 - [12197] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12197] - __SPLIT__ 2026-05-26 08:16:55,995 - [12197] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 08:16:55,996 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'slugabug'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:58,101 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:16:58,101 - [12197] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 08:16:58,101 - [12197] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 17 AND GenerateWorkOrderHistoryId = 12197;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:58,398 - [12197] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 08:16:58,398 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:58,689 - [12197] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 08:16:58,690 - [12197] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 08:16:58,690 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 17 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23914 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:58,993 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:16:58,994 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 17 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23914 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:59,290 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:16:59,291 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 17 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23914 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:59,597 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:16:59,601 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 17;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:16:59,884 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:16:59,885 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 17 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:00,173 - [12197] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 08:17:00,173 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 17; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:00,460 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:00,460 - [12197] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 17 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:00,747 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:00,747 - [12197] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 17 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:01,039 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:01,043 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'slugabug';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:01,331 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:01,331 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '1171' and a.CompanyId = 12;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:01,623 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:01,626 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('56', '57') AND CompanyId = 17 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:01,916 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:17:01,916 - [12197] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:02,406 - [12197] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 08:17:03,573 - [12197] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 08:17:03,716 - [12197] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 08:17:03,717 - [12197] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 17 AND ServiceSetupId = 23914;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:04,012 - [12197] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 08:17:04,013 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('56', '57') AND wo.AccountNumber = '1171' AND wo.CompanyId = 17 ... (Thread: ThreadPoolExecutor-58_0) - __SPLIT__ 2026-05-26 08:17:04,310 - [12197] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 08:17:04,310 - [12197] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-26 08:17:04,311 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:04,633 - [12197] - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-26 08:17:04,634 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:04,935 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:17:04,935 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:05,228 - [12197] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 08:17:05,228 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:05,520 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:17:05,520 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:05,827 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:17:05,827 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (2729998, 2729999)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:06,130 - [12197] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 08:17:06,131 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (2729998, 2729999) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:06,417 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:17:06,417 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (2729998, 2729999);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:06,720 - [12197] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 08:17:06,722 - [12197] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 08:17:06,736 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 17;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:07,022 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:07,025 - [12197] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId = 1885 AND CompanyId = 17;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:07,324 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:07,327 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 17 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:07,627 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:07,631 - [12197] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 08:17:07,631 - [12197] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:07,978 - [12197] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 08:17:09,032 - [12197] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 08:17:09,034 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23914 AND WorkOrderNo IN ('872883', '7804844') AND GenerateWorkOrderHistoryId = 12197;... (Thread: ThreadPoolExecutor-59_0) - __SPLIT__ 2026-05-26 08:17:09,355 - [12197] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 08:17:09,356 - [12197] - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-05-26 08:17:09,361 - [12197] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-26 08:17:09,362 - [12197] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 08:17:09,362 - [12197] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:09,680 - [12197] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-26 08:17:10,755 - [12197] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-26 08:17:10,756 - [12197] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 08:17:10,756 - [12197] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:11,075 - [12197] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-26 08:17:12,338 - [12197] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 08:17:12,338 - [12197] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-26 08:17:12,339 - [12197] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-26 08:17:12,339 - [12197] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 08:17:12,339 - [12197] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:12,646 - [12197] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-26 08:17:13,668 - [12197] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-26 08:17:13,669 - [12197] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-26 08:17:13,669 - [12197] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 08:17:13,669 - [12197] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 08:17:13,669 - [12197] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:13,999 - [12197] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-26 08:17:15,044 - [12197] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-26 08:17:15,045 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 17... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:15,383 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:15,383 - [12197] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23914... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:15,676 - [12197] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 08:17:15,676 - [12197] - src.utils.log - INFO - Error: 'InvoiceNo' - __SPLIT__ 2026-05-26 08:17:15,676 - [12197] - src.utils.log - INFO - Time took to perform operation in publishing [12197]: 19.68 - __SPLIT__ 2026-05-26 08:17:15,676 - [12197] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12197] - __SPLIT__ 2026-05-26 08:17:15,677 - [12197] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 04:17:15.677' WHERE CompanyId = 17 AND GenerateWorkOrderHistoryId = 12197;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 08:17:15,962 - [12197] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:16:44,921 - 12203 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12203 - __SPLIT__ 2026-05-26 11:16:44,922 - 12203 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12203 - __SPLIT__ 2026-05-26 11:16:44,922 - 12203 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 11:16:44,922 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:47,045 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:47,045 - 12203 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 11:16:47,045 - 12203 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:47,327 - 12203 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:16:47,327 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12203), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12203), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12203 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:47,644 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:47,645 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:47,935 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:47,938 - 12203 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-26 11:16:47,938 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 12805... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:48,230 - 12203 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-26 11:16:48,230 - 12203 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-26 11:16:48,233 - 12203 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-26 11:16:48,234 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:48,523 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:48,523 - 12203 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-26 00:00:00' and ServiceDate <= '2026-07-31 00:00:00' and ServiceSetupId = 23919 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:48,829 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:49,530 - 12203 - src.utils.log - INFO - Generating work orders for setup: 23919 - __SPLIT__ 2026-05-26 11:16:49,540 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1363;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:49,823 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:49,863 - 12203 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-26 11:16:49,868 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:50,160 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:50,162 - 12203 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-26 11:16:50,162 - 12203 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-26 11:16:50,162 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:50,486 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:50,486 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:50,784 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:50,784 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:51,081 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:51,082 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:51,499 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:51,500 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:51,802 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:51,802 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:52,104 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:52,105 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:52,396 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:52,397 - 12203 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23919 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:52,726 - 12203 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:16:52,726 - 12203 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:16:52,726 - 12203 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:53,071 - 12203 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-26 11:16:54,110 - 12203 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-26 11:16:54,111 - 12203 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:54,408 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:54,409 - 12203 - src.utils.log - INFO - Id's of work order inserted to DB: [2730010] - __SPLIT__ 2026-05-26 11:16:54,409 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:54,696 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:54,697 - 12203 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-26 11:16:54,697 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:54,995 - 12203 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:16:54,995 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:55,296 - 12203 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:16:55,303 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:55,599 - 12203 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:16:55,600 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:55,900 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:55,901 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:56,198 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:56,199 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:56,486 - 12203 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:16:56,488 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:56,778 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:56,778 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:57,086 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:57,086 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:57,372 - 12203 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:16:57,386 - 12203 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:16:57,387 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730010 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:57,696 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:57,697 - 12203 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:58,026 - 12203 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-26 11:16:59,054 - 12203 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-26 11:16:59,055 - 12203 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:16:59,056 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730010 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:59,346 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:16:59,347 - 12203 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:16:59,672 - 12203 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-26 11:17:00,723 - 12203 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-26 11:17:00,724 - 12203 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-26 11:17:00,724 - 12203 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-26 11:17:00,724 - 12203 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 11:17:00,724 - 12203 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:00,724 - 12203 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730010 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:01,010 - 12203 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:01,011 - 12203 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:01,317 - 12203 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-26 11:17:02,426 - 12203 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-26 11:17:02,427 - 12203 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 11:17:02,427 - 12203 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:02,709 - 12203 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:17:02,709 - 12203 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-26 11:17:02,709 - 12203 - src.utils.log - INFO - Time took to perform operation: 17.79 - __SPLIT__ 2026-05-26 11:17:02,709 - 12203 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:03,026 - 12203 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:17:03,026 - 12203 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-26 07:17:03.026' WHERE GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:03,308 - 12203 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:17:17,650 - [12203] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730010] user_id=122885 company_id=135 project_id=[12203] publish_all=False - __SPLIT__ 2026-05-26 11:17:17,651 - [12203] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730010] user_id=122885 company_id=135 project_id=[12203] publish_all=False - __SPLIT__ 2026-05-26 11:17:17,651 - [12203] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12203] - __SPLIT__ 2026-05-26 11:17:17,652 - [12203] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 11:17:17,652 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:19,777 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:19,777 - [12203] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 11:17:19,777 - [12203] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:20,099 - [12203] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:17:20,099 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:20,395 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:20,395 - [12203] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 11:17:20,396 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23919 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:20,689 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:20,689 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23919 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:20,992 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:20,992 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23919 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:21,299 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:21,302 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:21,606 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:21,606 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:21,894 - [12203] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:17:21,894 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:22,186 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:22,186 - [12203] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 1 OUTPUT INSERTED.NextNumber - 1 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:22,488 - [12203] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:17:22,492 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:22,806 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:22,807 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:23,104 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:23,106 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:23,401 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:23,402 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '8408' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:23,728 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:23,730 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo = '166979R' AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:24,027 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:24,028 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:24,527 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 11:17:25,648 - [12203] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 11:17:25,794 - [12203] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 11:17:25,796 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo = '166979R' AND wo.AccountNumber = '8408' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-60_0) - __SPLIT__ 2026-05-26 11:17:26,106 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:26,107 - [12203] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-26 11:17:26,107 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:26,406 - [12203] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:17:26,406 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:26,702 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:26,702 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:27,010 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:27,010 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:27,307 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:27,307 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:27,604 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:27,604 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId = 2730010... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:27,916 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:27,916 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId = 2730010 and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:28,204 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:28,204 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId = 2730010;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:28,501 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:28,504 - [12203] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 11:17:28,516 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:28,854 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:28,857 - [12203] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId = 1981 AND CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:29,146 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:29,149 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:29,428 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:29,432 - [12203] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:29,432 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:29,768 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 11:17:30,899 - [12203] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 11:17:30,900 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23919 AND WorkOrderNo = '1158536' AND GenerateWorkOrderHistoryId = 12203; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:31,207 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:31,213 - [12203] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-26 11:17:31,213 - [12203] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:31,214 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:31,532 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-26 11:17:32,688 - [12203] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-26 11:17:32,689 - [12203] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:32,689 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:33,004 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-26 11:17:34,030 - [12203] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 11:17:34,030 - [12203] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-26 11:17:34,030 - [12203] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-26 11:17:34,030 - [12203] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:34,030 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:34,347 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-26 11:17:35,385 - [12203] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-26 11:17:35,385 - [12203] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-26 11:17:35,385 - [12203] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 11:17:35,385 - [12203] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:35,385 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:35,706 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-26 11:17:36,746 - [12203] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-26 11:17:36,746 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:37,039 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:37,040 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23919... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:37,337 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:37,343 - [12203] - src.utils.log - INFO - Size of Transaction: 1 - __SPLIT__ 2026-05-26 11:17:37,344 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:37,801 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-26 11:17:38,847 - [12203] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 11:17:38,993 - [12203] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 11:17:38,994 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy = 12345678910 and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-26 07:17:37.339';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:39,349 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:39,352 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:39,644 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:39,653 - [12203] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy = 12345678910 AND CreatedDate = '2026-05-26 07:17:37.339'; ... (Thread: ThreadPoolExecutor-61_0) - __SPLIT__ 2026-05-26 11:17:40,062 - [12203] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:17:40,066 - [12203] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:17:40,066 - [12203] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:40,412 - [12203] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Invoice - __SPLIT__ 2026-05-26 11:17:41,438 - [12203] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-26 11:17:41,439 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo = '166979R'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:41,761 - [12203] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:17:41,770 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23919 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:42,074 - [12203] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:17:42,074 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23919 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:42,372 - [12203] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:17:42,372 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23919 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:42,658 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:42,659 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23919 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:42,950 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:42,963 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:43,263 - [12203] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:17:43,268 - [12203] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23919;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:43,561 - [12203] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:17:43,565 - [12203] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-26 11:17:43,565 - [12203] - src.utils.log - INFO - Time took to perform operation in publishing [12203]: 25.91 - __SPLIT__ 2026-05-26 11:17:43,565 - [12203] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12203] - __SPLIT__ 2026-05-26 11:17:43,565 - [12203] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 07:17:43.565' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12203;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:17:43,857 - [12203] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:49,037 - 12205 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12205 - __SPLIT__ 2026-05-26 11:32:49,038 - 12205 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12205 - __SPLIT__ 2026-05-26 11:32:49,039 - 12205 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 11:32:49,039 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:51,196 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:51,196 - 12205 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 11:32:51,196 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:51,486 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:51,486 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-26 07:32:51.486' WHERE GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:51,788 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:51,788 - 12205 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:52,076 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:52,076 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-26 07:32:52.076' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:52,368 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:52,368 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12205), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12205), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12205 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:52,712 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:52,712 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:53,036 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:53,039 - 12205 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-26 11:32:53,040 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 12805... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:53,347 - 12205 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-26 11:32:53,347 - 12205 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-26 11:32:53,352 - 12205 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-26 11:32:53,352 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23920;... (Thread: ThreadPoolExecutor-62_0) - __SPLIT__ 2026-05-26 11:32:53,659 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:53,659 - 12205 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-26 00:00:00' and ServiceDate <= '2026-09-30 00:00:00' and ServiceSetupId = 23920 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-62_0) - __SPLIT__ 2026-05-26 11:32:53,957 - 12205 - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-26 11:32:54,556 - 12205 - src.utils.log - INFO - Generating work orders for setup: 23920 - __SPLIT__ 2026-05-26 11:32:54,601 - 12205 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-26 11:32:54,608 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-62_0) - __SPLIT__ 2026-05-26 11:32:54,913 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:54,916 - 12205 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-26 11:32:54,916 - 12205 - src.utils.log - INFO - Running deletes in PARALLEL… - __SPLIT__ 2026-05-26 11:32:54,917 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_0) - __SPLIT__ 2026-05-26 11:32:54,917 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_1) - __SPLIT__ 2026-05-26 11:32:54,918 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_2) - __SPLIT__ 2026-05-26 11:32:54,918 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_3) - __SPLIT__ 2026-05-26 11:32:54,918 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_4) - __SPLIT__ 2026-05-26 11:32:54,920 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_5) - __SPLIT__ 2026-05-26 11:32:54,921 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 ) (Thread: ThreadPoolExecutor-63_6) - __SPLIT__ 2026-05-26 11:32:55,220 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,071 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,076 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,096 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,097 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,107 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,112 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,113 - 12205 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23920 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:56,480 - 12205 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:32:56,482 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23920;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:56,777 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:56,778 - 12205 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-26 11:32:56,778 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23920... (Thread: ThreadPoolExecutor-64_0) - __SPLIT__ 2026-05-26 11:32:56,779 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23920... (Thread: ThreadPoolExecutor-64_1) - __SPLIT__ 2026-05-26 11:32:56,779 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23920... (Thread: ThreadPoolExecutor-64_2) - __SPLIT__ 2026-05-26 11:32:56,780 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23920... (Thread: ThreadPoolExecutor-64_3) - __SPLIT__ 2026-05-26 11:32:56,781 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23920;... (Thread: ThreadPoolExecutor-64_4) - __SPLIT__ 2026-05-26 11:32:56,781 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23920;... (Thread: ThreadPoolExecutor-64_5) - __SPLIT__ 2026-05-26 11:32:56,782 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23920;... (Thread: ThreadPoolExecutor-64_6) - __SPLIT__ 2026-05-26 11:32:56,783 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23920;... (Thread: ThreadPoolExecutor-64_7) - __SPLIT__ 2026-05-26 11:32:57,066 - 12205 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:32:57,070 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:57,071 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:57,071 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23920... (Thread: ThreadPoolExecutor-64_0) - __SPLIT__ 2026-05-26 11:32:57,073 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:57,073 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:57,076 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:57,090 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:57,374 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:57,942 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:57,956 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:58,238 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:58,238 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-26 07:32:58.238' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:58,527 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:58,527 - 12205 - src.utils.log - INFO - - __SPLIT__ 2026-05-26 11:32:58,527 - 12205 - src.utils.log - INFO - Work order generation successful - Time took: 9.49 - __SPLIT__ 2026-05-26 11:32:58,527 - 12205 - src.utils.log - INFO - Work order publish in progress for GenerateWorkOrderHistoryId: 12205 - __SPLIT__ 2026-05-26 11:32:58,527 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress', WoPublishStartDateTime = '2026-05-26 07:32:58.527' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:58,815 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:32:58,816 - 12205 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:59,122 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:59,123 - 12205 - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 11:32:59,123 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23920 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:59,469 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:32:59,470 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23920 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:32:59,787 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:32:59,788 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23920 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:00,088 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:33:00,094 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:00,395 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:00,396 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:00,743 - 12205 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:33:00,744 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:01,027 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:01,027 - 12205 - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 2 OUTPUT INSERTED.NextNumber - 2 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:01,330 - 12205 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:33:01,333 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:01,648 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:01,648 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23920... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:01,951 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:01,954 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:02,235 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:02,236 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '5871' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:02,523 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:02,525 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('166983R', '166984R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:02,825 - 12205 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:33:02,825 - 12205 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:03,317 - 12205 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 11:33:04,472 - 12205 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 11:33:04,613 - 12205 - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 11:33:04,615 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('166983R', '166984R') AND wo.AccountNumber = '5871' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-65_0) - __SPLIT__ 2026-05-26 11:33:04,913 - 12205 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:33:04,917 - 12205 - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 11:33:04,928 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:05,220 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:05,221 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:05,594 - 12205 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:33:05,598 - 12205 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:33:05,598 - 12205 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:05,927 - 12205 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 11:33:06,979 - 12205 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 11:33:06,980 - 12205 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23920 AND WorkOrderNo IN (6134255, 3482088) AND GenerateWorkOrderHistoryId = 12205;... (Thread: ThreadPoolExecutor-66_0) - __SPLIT__ 2026-05-26 11:33:07,306 - 12205 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:33:07,307 - 12205 - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-05-26 11:33:07,313 - 12205 - src.utils.log - INFO - Error: insert_all_publish_tables_parallel() takes 11 positional arguments but 12 were given - __SPLIT__ 2026-05-26 11:33:07,313 - 12205 - src.utils.log - INFO - Time took to perform operation in publishing 12205: 18.27 - __SPLIT__ 2026-05-26 11:33:07,313 - 12205 - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: 12205 - __SPLIT__ 2026-05-26 11:33:07,313 - 12205 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 07:33:07.313' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12205;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:33:07,598 - 12205 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:42:40,823 - [124448] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3678144, 3678145] user_id=43135 company_id=133 project_id=[124448] publish_all=False - __SPLIT__ 2026-05-26 11:42:40,824 - [124448] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3678144, 3678145] user_id=43135 company_id=133 project_id=[124448] publish_all=False - __SPLIT__ 2026-05-26 11:42:40,824 - [124448] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124448] - __SPLIT__ 2026-05-26 11:42:40,825 - [124448] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 11:42:40,825 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:42,924 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:42,924 - [124448] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-26 11:42:42,925 - [124448] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-26 11:42:42,925 - [124448] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-26 11:42:42,925 - [124448] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124448;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:44,783 - [124448] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:42:44,783 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:45,056 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:42:45,056 - [124448] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 11:42:45,056 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150330 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:45,333 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:45,333 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150330 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:45,606 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:45,607 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150330 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:45,888 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:45,895 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:46,209 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:46,210 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:46,476 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:42:46,477 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:46,756 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:46,756 - [124448] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:47,033 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:47,034 - [124448] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:47,303 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:47,307 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:47,574 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:47,575 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150330... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:47,846 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:47,849 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:48,114 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:48,115 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14832' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:48,381 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:48,384 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1425297', '1425298') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:48,657 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:48,658 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:49,114 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 11:42:50,089 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 11:42:50,221 - [124448] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 11:42:50,223 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1425297', '1425298') AND wo.AccountNumber = '14832' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-67_0) - __SPLIT__ 2026-05-26 11:42:50,501 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:42:50,502 - [124448] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-26 11:42:50,502 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:50,815 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:42:50,815 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:51,083 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:51,084 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:51,377 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:42:51,377 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:51,643 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:51,643 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:51,910 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:51,911 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3678144, 3678145)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:52,210 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:52,210 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3678144, 3678145) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:52,479 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:52,479 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3678144, 3678145);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:52,745 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:42:52,748 - [124448] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 11:42:52,760 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:53,025 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:53,026 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:53,292 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:53,296 - [124448] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:42:53,296 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:53,609 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 11:42:54,566 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 11:42:54,567 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150330 AND WorkOrderNo IN ('6547827', '2823643') AND GenerateWorkOrderHistoryId = 124448;... (Thread: ThreadPoolExecutor-68_0) - __SPLIT__ 2026-05-26 11:42:54,875 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:42:54,876 - [124448] - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-05-26 11:42:54,882 - [124448] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-26 11:42:54,882 - [124448] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:42:54,882 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:55,178 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-26 11:42:56,120 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-26 11:42:56,121 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-05-26 11:42:56,121 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-26 11:42:56,121 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-26 11:42:56,121 - [124448] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:42:56,121 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:56,414 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-26 11:42:57,352 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-26 11:42:57,353 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-26 11:42:57,353 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 11:42:57,353 - [124448] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:42:57,353 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:57,650 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-26 11:42:58,604 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-26 11:42:58,605 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:58,868 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:58,869 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150330... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:59,133 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:42:59,140 - [124448] - src.utils.log - INFO - Size of Transaction: 2 - __SPLIT__ 2026-05-26 11:42:59,141 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:42:59,565 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-26 11:43:00,513 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 11:43:00,645 - [124448] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 11:43:00,646 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-26 07:42:59.135';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:01,083 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:43:01,086 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150330;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:01,351 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:01,360 - [124448] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911) AND CreatedDate = '2026-05-26 07:42:59.135'; ... (Thread: ThreadPoolExecutor-69_0) - __SPLIT__ 2026-05-26 11:43:01,770 - [124448] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:43:01,776 - [124448] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:43:01,776 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:02,075 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Invoice - __SPLIT__ 2026-05-26 11:43:03,039 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-26 11:43:03,040 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1425298', '1425297')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:03,367 - [124448] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:43:03,377 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150330 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:03,645 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:43:03,646 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150330 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:03,914 - [124448] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:43:03,915 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150330 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:04,183 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:04,183 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150330 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:04,453 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:04,466 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150330;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:04,732 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:04,737 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150330;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:05,004 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:05,008 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150330;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:05,275 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:05,275 - [124448] - src.utils.log - INFO - Sequential Insertion in invoice tables begin - __SPLIT__ 2026-05-26 11:43:05,276 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-05-26 11:43:05,276 - [124448] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:43:05,276 - [124448] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:05,571 - [124448] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.InvoiceCharges - __SPLIT__ 2026-05-26 11:43:06,510 - [124448] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-05-26 11:43:06,511 - [124448] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-05-26 11:43:06,511 - [124448] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-05-26 11:43:06,511 - [124448] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-26 11:43:06,511 - [124448] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124448 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:06,783 - [124448] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:43:06,789 - [124448] - src.utils.log - INFO - πŸ”„ Updating next gen date sequentially: inside update_next_workorder_generation - __SPLIT__ 2026-05-26 11:43:06,923 - [124448] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_cff26ebf7e - __SPLIT__ 2026-05-26 11:43:07,194 - [124448] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_cff26ebf7e - __SPLIT__ 2026-05-26 11:43:07,459 - [124448] - src.utils.log - INFO - πŸ” Running MERGE update to apply changes - __SPLIT__ 2026-05-26 11:43:07,605 - [124448] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-26 11:43:07,742 - [124448] - src.utils.log - INFO - πŸ” Verified successfully updated 1 rows via #tbl_cff26ebf7e - __SPLIT__ 2026-05-26 11:43:07,743 - [124448] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_cff26ebf7e - __SPLIT__ 2026-05-26 11:43:07,743 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124448 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:08,008 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:08,009 - [124448] - src.utils.log - INFO - Sequential deletion from temp tables begin - __SPLIT__ 2026-05-26 11:43:08,009 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:08,445 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:08,445 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:08,823 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:08,824 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:09,090 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:09,090 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:09,451 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:09,452 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:09,725 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:09,726 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:09,996 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:09,996 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:10,262 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:10,262 - [124448] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3678144, 3678145) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:10,636 - [124448] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:43:10,636 - [124448] - src.utils.log - INFO - Work order published ids: (3678144, 3678145) - __SPLIT__ 2026-05-26 11:43:10,636 - [124448] - src.utils.log - INFO - Time took to perform operation in publishing [124448]: 29.81 - __SPLIT__ 2026-05-26 11:43:10,636 - [124448] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124448] - __SPLIT__ 2026-05-26 11:43:10,636 - [124448] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 07:43:10.636' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124448;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:43:10,906 - [124448] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:54:21,453 - 12207 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12207 - __SPLIT__ 2026-05-26 11:54:21,454 - 12207 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12207 - __SPLIT__ 2026-05-26 11:54:21,455 - 12207 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 11:54:21,455 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:23,597 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:23,598 - 12207 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 11:54:23,598 - 12207 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12207;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:23,890 - 12207 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:54:23,890 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12207), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12207), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12207 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:24,213 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:24,214 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12207;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:24,508 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:24,511 - 12207 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-26 11:54:24,512 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 12805... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:24,803 - 12207 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-26 11:54:24,803 - 12207 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-26 11:54:24,806 - 12207 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-26 11:54:24,807 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23921;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:25,094 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:25,094 - 12207 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-26 00:00:00' and ServiceDate <= '2026-06-30 00:00:00' and ServiceSetupId = 23921 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:25,396 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:26,001 - 12207 - src.utils.log - INFO - Generating work orders for setup: 23921 - __SPLIT__ 2026-05-26 11:54:26,011 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1348;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:26,315 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:26,353 - 12207 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-26 11:54:26,357 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:26,656 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:26,658 - 12207 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-26 11:54:26,658 - 12207 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-26 11:54:26,658 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:26,953 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:26,953 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:27,260 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:27,260 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:27,557 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:27,558 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:27,860 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:27,860 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:28,173 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:28,173 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:28,485 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:28,485 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:28,773 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:28,773 - 12207 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23921 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:29,085 - 12207 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 11:54:29,085 - 12207 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:54:29,085 - 12207 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:29,432 - 12207 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-26 11:54:30,526 - 12207 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-26 11:54:30,527 - 12207 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 23921... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:30,829 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:30,830 - 12207 - src.utils.log - INFO - Id's of work order inserted to DB: [2730054] - __SPLIT__ 2026-05-26 11:54:30,830 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23921;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:31,132 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:31,132 - 12207 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-26 11:54:31,132 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23921... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:31,430 - 12207 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 11:54:31,430 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23921... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:31,818 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:31,822 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23921... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:32,116 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:32,117 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23921... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:32,412 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:32,412 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23921... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:32,704 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:32,705 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23921;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:33,018 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:33,019 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23921;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:33,309 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:33,309 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23921;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:33,621 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:33,621 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23921;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:33,914 - 12207 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-26 11:54:33,925 - 12207 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-26 11:54:33,926 - 12207 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:54:33,926 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730054 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:34,231 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:34,232 - 12207 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:34,556 - 12207 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-26 11:54:35,606 - 12207 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-26 11:54:35,607 - 12207 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:54:35,608 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730054 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:35,914 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:35,915 - 12207 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:36,227 - 12207 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-26 11:54:37,261 - 12207 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-26 11:54:37,262 - 12207 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-26 11:54:37,262 - 12207 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-26 11:54:37,262 - 12207 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 11:54:37,262 - 12207 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 11:54:37,262 - 12207 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730054 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:37,558 - 12207 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 11:54:37,559 - 12207 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:37,878 - 12207 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-26 11:54:38,923 - 12207 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-26 11:54:38,923 - 12207 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 11:54:38,923 - 12207 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12207;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:39,205 - 12207 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:54:39,206 - 12207 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-26 11:54:39,206 - 12207 - src.utils.log - INFO - Time took to perform operation: 17.75 - __SPLIT__ 2026-05-26 11:54:39,206 - 12207 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12207;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:39,493 - 12207 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 11:54:39,493 - 12207 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-26 07:54:39.493' WHERE GenerateWorkOrderHistoryId = 12207;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 11:54:39,784 - 12207 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:06:53,222 - 12210 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12210 - __SPLIT__ 2026-05-26 12:06:53,223 - 12210 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12210 - __SPLIT__ 2026-05-26 12:06:53,224 - 12210 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 12:06:53,224 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:55,273 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:06:55,273 - 12210 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 12:06:55,273 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:55,570 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:06:55,570 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-26 08:06:55.570' WHERE GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:55,863 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:06:55,863 - 12210 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:56,169 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:06:56,170 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-26 08:06:56.170' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:56,462 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:06:56,462 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12210), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12210), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12210 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:56,807 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:06:56,807 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:57,100 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:06:57,103 - 12210 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-26 12:06:57,103 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13037... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:06:57,416 - 12210 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-26 12:06:57,416 - 12210 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-26 12:06:57,421 - 12210 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-26 12:06:57,421 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23922;... (Thread: ThreadPoolExecutor-70_0) - __SPLIT__ 2026-05-26 12:06:57,713 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:06:57,714 - 12210 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-26 00:00:00' and ServiceDate <= '2027-12-31 00:00:00' and ServiceSetupId = 23922 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-70_0) - __SPLIT__ 2026-05-26 12:06:58,009 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:06:58,615 - 12210 - src.utils.log - INFO - Generating work orders for setup: 23922 - __SPLIT__ 2026-05-26 12:06:58,657 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = -1;... (Thread: ThreadPoolExecutor-70_0) - __SPLIT__ 2026-05-26 12:06:58,952 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:06:58,987 - 12210 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-26 12:06:58,993 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-70_0) - __SPLIT__ 2026-05-26 12:06:59,284 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:06:59,288 - 12210 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-26 12:06:59,288 - 12210 - src.utils.log - INFO - Running deletes in PARALLEL… - __SPLIT__ 2026-05-26 12:06:59,288 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_0) - __SPLIT__ 2026-05-26 12:06:59,289 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_1) - __SPLIT__ 2026-05-26 12:06:59,289 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_2) - __SPLIT__ 2026-05-26 12:06:59,290 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_3) - __SPLIT__ 2026-05-26 12:06:59,291 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_4) - __SPLIT__ 2026-05-26 12:06:59,291 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_5) - __SPLIT__ 2026-05-26 12:06:59,293 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 ) (Thread: ThreadPoolExecutor-71_6) - __SPLIT__ 2026-05-26 12:06:59,591 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,467 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,472 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,472 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,472 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,472 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,472 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,474 - 12210 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23922 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:00,781 - 12210 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:07:00,783 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23922;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:01,068 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:01,069 - 12210 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-26 12:07:01,069 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23922... (Thread: ThreadPoolExecutor-72_0) - __SPLIT__ 2026-05-26 12:07:01,070 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23922... (Thread: ThreadPoolExecutor-72_1) - __SPLIT__ 2026-05-26 12:07:01,071 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23922... (Thread: ThreadPoolExecutor-72_2) - __SPLIT__ 2026-05-26 12:07:01,071 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23922... (Thread: ThreadPoolExecutor-72_3) - __SPLIT__ 2026-05-26 12:07:01,072 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23922;... (Thread: ThreadPoolExecutor-72_4) - __SPLIT__ 2026-05-26 12:07:01,072 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23922;... (Thread: ThreadPoolExecutor-72_5) - __SPLIT__ 2026-05-26 12:07:01,073 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23922;... (Thread: ThreadPoolExecutor-72_6) - __SPLIT__ 2026-05-26 12:07:01,073 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23922;... (Thread: ThreadPoolExecutor-72_7) - __SPLIT__ 2026-05-26 12:07:01,356 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:01,357 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:01,360 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:01,360 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23922... (Thread: ThreadPoolExecutor-72_0) - __SPLIT__ 2026-05-26 12:07:01,361 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:01,362 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:01,364 - 12210 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-26 12:07:01,371 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:01,657 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:02,231 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:02,247 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:02,528 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:07:02,528 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-26 08:07:02.528' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:02,815 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:07:02,815 - 12210 - src.utils.log - INFO - - __SPLIT__ 2026-05-26 12:07:02,815 - 12210 - src.utils.log - INFO - Work order generation successful - Time took: 9.59 - __SPLIT__ 2026-05-26 12:07:02,815 - 12210 - src.utils.log - INFO - Work order publish in progress for GenerateWorkOrderHistoryId: 12210 - __SPLIT__ 2026-05-26 12:07:02,816 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress', WoPublishStartDateTime = '2026-05-26 08:07:02.815' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:03,113 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:07:03,114 - 12210 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:03,407 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:03,408 - 12210 - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 12:07:03,408 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23922 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:03,704 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:03,705 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23922 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:04,001 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:04,002 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23922 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:04,293 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:04,298 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:04,585 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:04,585 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:04,878 - 12210 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:07:04,878 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:05,169 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:05,170 - 12210 - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 7 OUTPUT INSERTED.NextNumber - 7 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:05,462 - 12210 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:07:05,465 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:05,757 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:05,757 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23922... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:06,048 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:06,053 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:06,345 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:06,345 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '5871' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:06,641 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:06,643 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167002R', '167003R', '167004R', '167005R', '167006R', '167007R', '167008R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:06,934 - 12210 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:07:06,934 - 12210 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:07,430 - 12210 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 12:07:08,853 - 12210 - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 12:07:09,000 - 12210 - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 12:07:09,002 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 135 AND ServiceSetupId = 23922;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:09,292 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:07:09,293 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167002R', '167003R', '167004R', '167005R', '167006R', '167007R', '167008R') AND wo.AccountNumber = '5871' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-73_0) - __SPLIT__ 2026-05-26 12:07:09,599 - 12210 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-26 12:07:09,604 - 12210 - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 12:07:09,616 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:09,909 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:09,910 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:10,194 - 12210 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:07:10,198 - 12210 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:07:10,198 - 12210 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:10,527 - 12210 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 12:07:11,877 - 12210 - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 12:07:11,879 - 12210 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23922 AND WorkOrderNo IN (872638, 8511949, 6549977, 7619775, 8659676, 4605840, 4177918) AND GenerateWorkOrderHistoryId = 12210;... (Thread: ThreadPoolExecutor-74_0) - __SPLIT__ 2026-05-26 12:07:12,191 - 12210 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-26 12:07:12,192 - 12210 - src.utils.log - INFO - 🏁 Final merged rows: 7 - __SPLIT__ 2026-05-26 12:07:12,198 - 12210 - src.utils.log - INFO - Error: insert_all_publish_tables_parallel() takes 11 positional arguments but 12 were given - __SPLIT__ 2026-05-26 12:07:12,198 - 12210 - src.utils.log - INFO - Time took to perform operation in publishing 12210: 18.97 - __SPLIT__ 2026-05-26 12:07:12,198 - 12210 - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: 12210 - __SPLIT__ 2026-05-26 12:07:12,198 - 12210 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 08:07:12.198' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12210;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:07:12,502 - 12210 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:41:14,355 - [12215] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730066] user_id=122885 company_id=135 project_id=[12215] publish_all=False - __SPLIT__ 2026-05-26 12:41:14,356 - [12215] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730066] user_id=122885 company_id=135 project_id=[12215] publish_all=False - __SPLIT__ 2026-05-26 12:41:14,356 - [12215] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12215] - __SPLIT__ 2026-05-26 12:41:14,357 - [12215] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 12:41:14,357 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:16,361 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:16,362 - [12215] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 12:41:16,362 - [12215] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12215;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:16,648 - [12215] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:41:16,649 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:16,940 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:16,940 - [12215] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 12:41:16,941 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23923 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:17,235 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:17,235 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23923 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:17,536 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:17,537 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23923 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:17,833 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:17,837 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:18,125 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:18,126 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:18,418 - [12215] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:41:18,419 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:18,710 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:18,710 - [12215] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 1 OUTPUT INSERTED.NextNumber - 1 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:19,103 - [12215] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:41:19,107 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:19,396 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:19,396 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23923... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:19,690 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:19,692 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:19,985 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:19,986 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '8410' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:20,278 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:20,280 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo = '167013R' AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:20,575 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:20,575 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:21,065 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 12:41:22,121 - [12215] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 12:41:22,268 - [12215] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 12:41:22,269 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo = '167013R' AND wo.AccountNumber = '8410' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-75_0) - __SPLIT__ 2026-05-26 12:41:22,561 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:22,561 - [12215] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-26 12:41:22,562 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:22,864 - [12215] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:41:22,864 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:23,150 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:23,151 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:23,449 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:23,449 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:23,740 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:23,740 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:24,037 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:24,038 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId = 2730066... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:24,335 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:24,336 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId = 2730066 and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:24,622 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:24,623 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId = 2730066;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:24,910 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:24,913 - [12215] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 12:41:24,925 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:25,217 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:25,220 - [12215] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId = 1981 AND CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:25,509 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:25,512 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:25,801 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:25,805 - [12215] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:41:25,805 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:26,138 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 12:41:27,197 - [12215] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 12:41:27,198 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23923 AND WorkOrderNo = '7137573' AND GenerateWorkOrderHistoryId = 12215; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:27,505 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:27,511 - [12215] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-26 12:41:27,511 - [12215] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:41:27,511 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:27,825 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-26 12:41:28,865 - [12215] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-26 12:41:28,865 - [12215] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:41:28,866 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:29,186 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-26 12:41:30,211 - [12215] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 12:41:30,212 - [12215] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-26 12:41:30,212 - [12215] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-26 12:41:30,212 - [12215] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:41:30,212 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:30,524 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-26 12:41:31,546 - [12215] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-26 12:41:31,547 - [12215] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-26 12:41:31,547 - [12215] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 12:41:31,547 - [12215] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:41:31,547 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:31,852 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-26 12:41:32,892 - [12215] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-26 12:41:32,892 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:33,186 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:33,186 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23923... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:33,479 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:33,485 - [12215] - src.utils.log - INFO - Size of Transaction: 1 - __SPLIT__ 2026-05-26 12:41:33,486 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:33,941 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-26 12:41:34,944 - [12215] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 12:41:35,085 - [12215] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 12:41:35,085 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy = 12345678910 and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-26 08:41:33.480';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:35,418 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:35,421 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23923;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:35,710 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:35,719 - [12215] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy = 12345678910 AND CreatedDate = '2026-05-26 08:41:33.480'; ... (Thread: ThreadPoolExecutor-76_0) - __SPLIT__ 2026-05-26 12:41:36,123 - [12215] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:41:36,127 - [12215] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:41:36,127 - [12215] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:36,450 - [12215] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Invoice - __SPLIT__ 2026-05-26 12:41:37,479 - [12215] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-26 12:41:37,480 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo = '167013R'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:37,781 - [12215] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:41:37,790 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23923 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:38,084 - [12215] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:41:38,085 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23923 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:38,383 - [12215] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:41:38,384 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23923 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:38,673 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:38,674 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23923 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:38,966 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:38,980 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23923;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:39,268 - [12215] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:41:39,274 - [12215] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23923;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:39,561 - [12215] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:41:39,565 - [12215] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-26 12:41:39,565 - [12215] - src.utils.log - INFO - Time took to perform operation in publishing [12215]: 25.21 - __SPLIT__ 2026-05-26 12:41:39,565 - [12215] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12215] - __SPLIT__ 2026-05-26 12:41:39,565 - [12215] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 08:41:39.565' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12215;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:41:39,858 - [12215] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:48:29,752 - 12217 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12217 - __SPLIT__ 2026-05-26 12:48:29,753 - 12217 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12217 - __SPLIT__ 2026-05-26 12:48:29,753 - 12217 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 12:48:29,754 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:31,793 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:31,794 - 12217 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 12:48:31,794 - 12217 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12217;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:32,084 - 12217 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:48:32,085 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12217), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12217), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12217 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:32,407 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:32,408 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12217;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:32,702 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:32,705 - 12217 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-26 12:48:32,706 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 12805... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:33,008 - 12217 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-26 12:48:33,008 - 12217 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-26 12:48:33,011 - 12217 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-26 12:48:33,012 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23925;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:33,295 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:33,295 - 12217 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-26 00:00:00' and ServiceDate <= '2026-07-31 00:00:00' and ServiceSetupId = 23925 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:33,592 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:34,191 - 12217 - src.utils.log - INFO - Generating work orders for setup: 23925 - __SPLIT__ 2026-05-26 12:48:34,202 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1348;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:34,499 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:34,540 - 12217 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-26 12:48:34,544 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:34,841 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:34,843 - 12217 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-26 12:48:34,844 - 12217 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-26 12:48:34,844 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:35,148 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:35,148 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:35,456 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:35,456 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:35,753 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:35,753 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:36,061 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:36,061 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:36,363 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:36,363 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:36,666 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:36,666 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:36,953 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:36,953 - 12217 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23925 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:37,270 - 12217 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 12:48:37,270 - 12217 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:48:37,271 - 12217 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:37,622 - 12217 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-26 12:48:38,681 - 12217 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-26 12:48:38,682 - 12217 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 23925... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:38,985 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:38,986 - 12217 - src.utils.log - INFO - Id's of work order inserted to DB: [2730069] - __SPLIT__ 2026-05-26 12:48:38,986 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23925;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:39,274 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:39,274 - 12217 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-26 12:48:39,275 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23925... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:39,565 - 12217 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:48:39,565 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23925... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:39,873 - 12217 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:48:39,880 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23925... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:40,170 - 12217 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:48:40,171 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23925... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:40,461 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:40,462 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23925... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:40,754 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:40,755 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23925;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:41,043 - 12217 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 12:48:41,044 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23925;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:41,334 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:41,334 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23925;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:41,641 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:41,641 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23925;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:41,938 - 12217 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 12:48:41,954 - 12217 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-26 12:48:41,955 - 12217 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:48:41,956 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730069 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:42,250 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:42,251 - 12217 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:42,566 - 12217 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-26 12:48:43,591 - 12217 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 12:48:43,591 - 12217 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-26 12:48:43,591 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-26 12:48:43,591 - 12217 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 12:48:43,591 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-26 12:48:43,591 - 12217 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 12:48:43,592 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-26 12:48:43,592 - 12217 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-26 12:48:43,592 - 12217 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:48:43,592 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730069 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:43,878 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:43,879 - 12217 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:44,186 - 12217 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-26 12:48:45,213 - 12217 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-26 12:48:45,214 - 12217 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-26 12:48:45,214 - 12217 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-26 12:48:45,214 - 12217 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 12:48:45,214 - 12217 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 12:48:45,214 - 12217 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730069 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:45,501 - 12217 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 12:48:45,502 - 12217 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:45,816 - 12217 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-26 12:48:46,851 - 12217 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-26 12:48:46,852 - 12217 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 12:48:46,852 - 12217 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12217;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:47,149 - 12217 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:48:47,150 - 12217 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-26 12:48:47,150 - 12217 - src.utils.log - INFO - Time took to perform operation: 17.4 - __SPLIT__ 2026-05-26 12:48:47,150 - 12217 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12217;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:47,442 - 12217 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 12:48:47,442 - 12217 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-26 08:48:47.442' WHERE GenerateWorkOrderHistoryId = 12217;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 12:48:47,728 - 12217 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:06:18,023 - 12219 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12219 - __SPLIT__ 2026-05-26 14:06:18,024 - 12219 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12219 - __SPLIT__ 2026-05-26 14:06:18,025 - 12219 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 14:06:18,025 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:20,241 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:20,241 - 12219 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 14:06:20,242 - 12219 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:20,543 - 12219 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:06:20,543 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12219), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12219), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12219 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:20,887 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:20,887 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:21,186 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:21,189 - 12219 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-26 14:06:21,189 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 12805... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:21,497 - 12219 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-26 14:06:21,497 - 12219 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-26 14:06:21,500 - 12219 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-26 14:06:21,501 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:21,794 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:21,794 - 12219 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-26 00:00:00' and ServiceDate <= '2026-07-31 00:00:00' and ServiceSetupId = 23928 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:22,102 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:22,721 - 12219 - src.utils.log - INFO - Generating work orders for setup: 23928 - __SPLIT__ 2026-05-26 14:06:22,730 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1415;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:23,024 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:23,068 - 12219 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-26 14:06:23,072 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:23,376 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:23,378 - 12219 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-26 14:06:23,378 - 12219 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-26 14:06:23,378 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:23,689 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:23,689 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:23,996 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:23,996 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:24,298 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:24,298 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:24,616 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:24,617 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:24,924 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:24,924 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:25,225 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:25,225 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:25,528 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:25,528 - 12219 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23928 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:25,851 - 12219 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-26 14:06:25,851 - 12219 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:06:25,851 - 12219 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:26,206 - 12219 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-26 14:06:27,292 - 12219 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-26 14:06:27,292 - 12219 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:27,605 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:27,606 - 12219 - src.utils.log - INFO - Id's of work order inserted to DB: [2730072] - __SPLIT__ 2026-05-26 14:06:27,606 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:27,908 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:27,908 - 12219 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-26 14:06:27,908 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:28,205 - 12219 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:06:28,206 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:28,499 - 12219 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:06:28,506 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:28,801 - 12219 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:06:28,802 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:29,097 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:29,097 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:29,389 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:29,390 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:29,699 - 12219 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:06:29,700 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:29,993 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:29,994 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:30,307 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:30,307 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:30,598 - 12219 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:06:30,614 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730072 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:30,905 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:30,906 - 12219 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:31,222 - 12219 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-26 14:06:32,307 - 12219 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 14:06:32,307 - 12219 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-26 14:06:32,307 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:06:32,308 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730072 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:32,600 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:32,601 - 12219 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:32,913 - 12219 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-26 14:06:33,980 - 12219 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-26 14:06:33,980 - 12219 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-26 14:06:33,980 - 12219 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-26 14:06:33,980 - 12219 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 14:06:33,980 - 12219 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:06:33,981 - 12219 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730072 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:34,277 - 12219 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:34,278 - 12219 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:34,599 - 12219 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-26 14:06:35,688 - 12219 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-26 14:06:35,688 - 12219 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-26 14:06:35,688 - 12219 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:35,980 - 12219 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:06:35,980 - 12219 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-26 14:06:35,980 - 12219 - src.utils.log - INFO - Time took to perform operation: 17.96 - __SPLIT__ 2026-05-26 14:06:35,981 - 12219 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:36,274 - 12219 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:06:36,274 - 12219 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-26 10:06:36.274' WHERE GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:36,571 - 12219 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:06:52,070 - [12219] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730072] user_id=122885 company_id=135 project_id=[12219] publish_all=False - __SPLIT__ 2026-05-26 14:06:52,071 - [12219] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730072] user_id=122885 company_id=135 project_id=[12219] publish_all=False - __SPLIT__ 2026-05-26 14:06:52,071 - [12219] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12219] - __SPLIT__ 2026-05-26 14:06:52,072 - [12219] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-26 14:06:52,072 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:54,123 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:54,123 - [12219] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-26 14:06:54,123 - [12219] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:54,410 - [12219] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:06:54,410 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:54,737 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:54,738 - [12219] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-26 14:06:54,738 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23928 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:55,035 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:55,036 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23928 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:55,328 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:55,328 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23928 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:55,620 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:55,624 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:55,912 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:55,912 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:56,195 - [12219] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:06:56,195 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:56,478 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:56,478 - [12219] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 1 OUTPUT INSERTED.NextNumber - 1 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:56,769 - [12219] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:06:56,773 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:57,067 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:57,068 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:57,359 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:57,361 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:57,646 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:57,647 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '8412' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:57,933 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:06:57,936 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo = '167019R' AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:58,226 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:06:58,226 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:06:58,726 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-26 14:06:59,772 - [12219] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 14:06:59,919 - [12219] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 14:06:59,921 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo = '167019R' AND wo.AccountNumber = '8412' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-77_0) - __SPLIT__ 2026-05-26 14:07:00,217 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:00,218 - [12219] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-26 14:07:00,218 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:00,530 - [12219] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:07:00,530 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:00,822 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:00,822 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:01,110 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:01,111 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:01,397 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:01,397 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:01,688 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:01,689 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId = 2730072... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:02,001 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:02,002 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId = 2730072 and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:02,309 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:02,309 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId = 2730072;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:02,610 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:02,613 - [12219] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-26 14:07:02,625 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:02,907 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:02,911 - [12219] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId = 1981 AND CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:03,220 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:03,222 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:03,515 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:03,519 - [12219] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:07:03,519 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:03,883 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-26 14:07:04,939 - [12219] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-26 14:07:04,940 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23928 AND WorkOrderNo = '7688022' AND GenerateWorkOrderHistoryId = 12219; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:05,286 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:05,292 - [12219] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-26 14:07:05,292 - [12219] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:07:05,292 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:05,613 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-26 14:07:06,678 - [12219] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-26 14:07:06,678 - [12219] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:07:06,678 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:07,008 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-26 14:07:08,088 - [12219] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-26 14:07:08,088 - [12219] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-26 14:07:08,088 - [12219] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-26 14:07:08,088 - [12219] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:07:08,089 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:08,396 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-26 14:07:09,399 - [12219] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-26 14:07:09,399 - [12219] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-26 14:07:09,399 - [12219] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-26 14:07:09,399 - [12219] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:07:09,399 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:09,715 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-26 14:07:10,734 - [12219] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-26 14:07:10,735 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:11,018 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:11,018 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:11,305 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:11,311 - [12219] - src.utils.log - INFO - Size of Transaction: 1 - __SPLIT__ 2026-05-26 14:07:11,312 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:11,784 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-26 14:07:12,821 - [12219] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-26 14:07:12,968 - [12219] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-26 14:07:12,969 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy = 12345678910 and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-26 10:07:11.306';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:13,300 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:13,303 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:13,588 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:13,597 - [12219] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy = 12345678910 AND CreatedDate = '2026-05-26 10:07:11.306'; ... (Thread: ThreadPoolExecutor-78_0) - __SPLIT__ 2026-05-26 14:07:14,121 - [12219] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-26 14:07:14,125 - [12219] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-26 14:07:14,125 - [12219] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:14,474 - [12219] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Invoice - __SPLIT__ 2026-05-26 14:07:15,508 - [12219] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-26 14:07:15,508 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo = '167019R'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:15,830 - [12219] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-26 14:07:15,839 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:16,138 - [12219] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:07:16,138 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:16,422 - [12219] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:07:16,422 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:16,758 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:16,759 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:17,045 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:17,058 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:17,357 - [12219] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-26 14:07:17,363 - [12219] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:17,675 - [12219] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-26 14:07:17,679 - [12219] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-26 14:07:17,679 - [12219] - src.utils.log - INFO - Time took to perform operation in publishing [12219]: 25.61 - __SPLIT__ 2026-05-26 14:07:17,680 - [12219] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12219] - __SPLIT__ 2026-05-26 14:07:17,680 - [12219] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-26 10:07:17.680' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12219;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-26 14:07:17,972 - [12219] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 07:31:28,501 - [124454] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679253, 3679254, 3679255] user_id=43135 company_id=133 project_id=[124454] publish_all=False - __SPLIT__ 2026-05-27 07:31:28,502 - [124454] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679253, 3679254, 3679255] user_id=43135 company_id=133 project_id=[124454] publish_all=False - __SPLIT__ 2026-05-27 07:31:28,502 - [124454] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124454] - __SPLIT__ 2026-05-27 07:31:28,503 - [124454] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-27 07:31:28,503 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:30,581 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:30,581 - [124454] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-27 07:31:30,582 - [124454] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-27 07:31:30,582 - [124454] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-27 07:31:30,582 - [124454] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124454;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:32,439 - [124454] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 07:31:32,440 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:32,710 - [124454] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-27 07:31:32,711 - [124454] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-27 07:31:32,711 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150345 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:32,974 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:32,975 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150345 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:33,238 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:33,239 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150345 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:33,506 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:33,511 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:33,774 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:33,775 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:34,039 - [124454] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-27 07:31:34,039 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:34,303 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:34,303 - [124454] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 3 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:34,580 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:34,581 - [124454] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 3 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:34,849 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:34,853 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:35,120 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:35,121 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150345... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:35,386 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:35,390 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:35,655 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:35,656 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14868' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:35,920 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:35,922 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1426414', '1426415', '1426416') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:36,194 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:36,194 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:36,625 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-27 07:31:37,792 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-27 07:31:37,924 - [124454] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-27 07:31:37,926 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1426414', '1426415', '1426416') AND wo.AccountNumber = '14868' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-79_0) - __SPLIT__ 2026-05-27 07:31:38,203 - [124454] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-27 07:31:38,203 - [124454] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-27 07:31:38,203 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:38,542 - [124454] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-27 07:31:38,543 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:38,811 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:38,811 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:39,106 - [124454] - src.utils.log - INFO - βœ… Fetched 9 rows - __SPLIT__ 2026-05-27 07:31:39,106 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:39,372 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:39,372 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:39,641 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:39,642 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:39,968 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:39,968 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3679253, 3679254, 3679255) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:40,234 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:40,235 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3679253, 3679254, 3679255);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:40,507 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:40,509 - [124454] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-27 07:31:40,522 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:40,786 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:40,787 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:41,050 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:41,054 - [124454] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 07:31:41,054 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:41,344 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-27 07:31:42,292 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-27 07:31:42,294 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150345 AND WorkOrderNo IN ('1812671', '5043608', '1361649') AND GenerateWorkOrderHistoryId = 124454;... (Thread: ThreadPoolExecutor-80_0) - __SPLIT__ 2026-05-27 07:31:42,606 - [124454] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-27 07:31:42,607 - [124454] - src.utils.log - INFO - 🏁 Final merged rows: 3 - __SPLIT__ 2026-05-27 07:31:42,613 - [124454] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-27 07:31:42,613 - [124454] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 07:31:42,613 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:42,885 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-27 07:31:43,827 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-27 07:31:43,827 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-05-27 07:31:43,827 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-27 07:31:43,827 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-27 07:31:43,828 - [124454] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 07:31:43,828 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 9 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:44,098 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 9) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-27 07:31:45,039 - [124454] - src.utils.log - INFO - βœ… All 9 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-27 07:31:45,039 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-27 07:31:45,039 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-27 07:31:45,040 - [124454] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 07:31:45,040 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:45,312 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-27 07:31:46,284 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-27 07:31:46,285 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:46,549 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:46,549 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150345... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:46,815 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:46,822 - [124454] - src.utils.log - INFO - Size of Transaction: 3 - __SPLIT__ 2026-05-27 07:31:46,823 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:47,224 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-27 07:31:48,161 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-27 07:31:48,293 - [124454] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-27 07:31:48,293 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-27 03:31:46.817';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:48,743 - [124454] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-27 07:31:48,745 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150345;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:49,011 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:49,019 - [124454] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912) AND CreatedDate = '2026-05-27 03:31:46.817'; ... (Thread: ThreadPoolExecutor-81_0) - __SPLIT__ 2026-05-27 07:31:49,430 - [124454] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 07:31:49,435 - [124454] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 07:31:49,436 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:49,709 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into Billing.Invoice - __SPLIT__ 2026-05-27 07:31:50,684 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-27 07:31:50,684 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1426416', '1426415', '1426414')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:51,028 - [124454] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-27 07:31:51,038 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150345 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:51,307 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:51,307 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150345 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:51,575 - [124454] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 07:31:51,575 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150345 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:51,844 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:51,844 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150345 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:52,111 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:52,124 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150345;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:52,438 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:52,444 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150345;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:52,713 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:52,717 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150345;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:52,983 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:52,984 - [124454] - src.utils.log - INFO - Sequential Insertion in invoice tables begin - __SPLIT__ 2026-05-27 07:31:52,984 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-05-27 07:31:52,984 - [124454] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 07:31:52,984 - [124454] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 3 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:53,257 - [124454] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 3) into Billing.InvoiceCharges - __SPLIT__ 2026-05-27 07:31:54,200 - [124454] - src.utils.log - INFO - βœ… All 3 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-05-27 07:31:54,200 - [124454] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-05-27 07:31:54,200 - [124454] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-05-27 07:31:54,200 - [124454] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-27 07:31:54,201 - [124454] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124454 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:54,467 - [124454] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 07:31:54,474 - [124454] - src.utils.log - INFO - πŸ”„ Updating next gen date sequentially: inside update_next_workorder_generation - __SPLIT__ 2026-05-27 07:31:54,607 - [124454] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_3499781bcb - __SPLIT__ 2026-05-27 07:31:54,873 - [124454] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_3499781bcb - __SPLIT__ 2026-05-27 07:31:55,138 - [124454] - src.utils.log - INFO - πŸ” Running MERGE update to apply changes - __SPLIT__ 2026-05-27 07:31:55,279 - [124454] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-27 07:31:55,416 - [124454] - src.utils.log - INFO - πŸ” Verified successfully updated 1 rows via #tbl_3499781bcb - __SPLIT__ 2026-05-27 07:31:55,416 - [124454] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_3499781bcb - __SPLIT__ 2026-05-27 07:31:55,416 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124454 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:55,681 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:55,682 - [124454] - src.utils.log - INFO - Sequential deletion from temp tables begin - __SPLIT__ 2026-05-27 07:31:55,682 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:56,106 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:56,106 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:56,473 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:56,474 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:56,742 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:56,742 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:57,154 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:57,154 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:57,431 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:57,432 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:57,701 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:57,701 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:57,967 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:57,967 - [124454] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679253, 3679254, 3679255) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:58,500 - [124454] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 07:31:58,500 - [124454] - src.utils.log - INFO - Work order published ids: (3679253, 3679254, 3679255) - __SPLIT__ 2026-05-27 07:31:58,500 - [124454] - src.utils.log - INFO - Time took to perform operation in publishing [124454]: 30.0 - __SPLIT__ 2026-05-27 07:31:58,500 - [124454] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124454] - __SPLIT__ 2026-05-27 07:31:58,500 - [124454] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-27 03:31:58.500' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124454;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 07:31:58,766 - [124454] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 10:22:05,986 - 12222 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12222 - __SPLIT__ 2026-05-27 10:22:05,987 - 12222 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12222 - __SPLIT__ 2026-05-27 10:22:05,988 - 12222 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-27 10:22:05,988 - 12222 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:08,167 - 12222 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 10:22:08,168 - 12222 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-27 10:22:08,168 - 12222 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:08,469 - 12222 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 10:22:08,469 - 12222 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-27 06:22:08.469' WHERE GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:08,771 - 12222 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 10:22:08,771 - 12222 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:09,070 - 12222 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 10:22:09,070 - 12222 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-27 06:22:09.070' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:09,371 - 12222 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 10:22:09,372 - 12222 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12222), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12222), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12222 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:09,708 - 12222 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 10:22:09,708 - 12222 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:10,010 - 12222 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 10:22:10,015 - 12222 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-27 10:22:10,016 - 12222 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13064... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:10,321 - 12222 - src.utils.log - INFO - βœ… Fetched 60 rows - __SPLIT__ 2026-05-27 10:22:10,321 - 12222 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-27 10:22:10,327 - 12222 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-27 10:22:10,328 - 12222 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23930;... (Thread: ThreadPoolExecutor-82_0) - __SPLIT__ 2026-05-27 10:22:10,632 - 12222 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 10:22:10,633 - 12222 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-27 00:00:00' and ServiceDate <= '2029-12-31 00:00:00' and ServiceSetupId = 23930 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-82_0) - __SPLIT__ 2026-05-27 10:22:10,948 - 12222 - src.utils.log - INFO - βœ… Fetched 375 rows - __SPLIT__ 2026-05-27 10:22:11,645 - 12222 - src.utils.log - INFO - Generating work orders for setup: 23930 - __SPLIT__ 2026-05-27 10:22:25,844 - 12222 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-27 10:22:25,845 - 12222 - src.utils.log - INFO - Running deletes in PARALLEL… - __SPLIT__ 2026-05-27 10:22:25,846 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_0) - __SPLIT__ 2026-05-27 10:22:25,847 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_1) - __SPLIT__ 2026-05-27 10:22:25,848 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_2) - __SPLIT__ 2026-05-27 10:22:25,849 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_3) - __SPLIT__ 2026-05-27 10:22:25,852 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_4) - __SPLIT__ 2026-05-27 10:22:25,853 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_5) - __SPLIT__ 2026-05-27 10:22:25,854 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-83_6) - __SPLIT__ 2026-05-27 10:22:26,149 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,042 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,047 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,065 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,071 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,072 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,096 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,097 - 12222 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:27,419 - 12222 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 10:22:27,419 - 12222 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:27,743 - 12222 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 10:22:27,743 - 12222 - src.utils.log - INFO - Error in work order generation Error: cannot unpack non-iterable NoneType object - __SPLIT__ 2026-05-27 10:22:27,743 - 12222 - src.utils.log - INFO - Work order generation failed - Time took: 21.76 - __SPLIT__ 2026-05-27 10:22:27,743 - 12222 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', WorkOrderStatusDateTime = '2026-05-27 06:22:27.743', PublishStatusDateTime = '2026-05-27 06:22:27.743'WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12222;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 10:22:28,039 - 12222 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 11:08:48,487 - 12223 - src.utils.log - INFO - ParallelProcessing=True GenerateWorkOrderHistoryId=12223 - __SPLIT__ 2026-05-27 11:08:48,489 - 12223 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12223 - __SPLIT__ 2026-05-27 11:08:48,490 - 12223 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-27 11:08:48,490 - 12223 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:50,620 - 12223 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 11:08:50,620 - 12223 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-27 11:08:50,620 - 12223 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:50,911 - 12223 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 11:08:50,912 - 12223 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-27 07:08:50.912' WHERE GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:51,199 - 12223 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 11:08:51,199 - 12223 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:51,492 - 12223 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 11:08:51,493 - 12223 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-27 07:08:51.492' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:51,784 - 12223 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 11:08:51,784 - 12223 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12223), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12223), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12223 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:52,115 - 12223 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 11:08:52,116 - 12223 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:52,418 - 12223 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 11:08:52,422 - 12223 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-27 11:08:52,423 - 12223 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13064... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:52,719 - 12223 - src.utils.log - INFO - βœ… Fetched 60 rows - __SPLIT__ 2026-05-27 11:08:52,719 - 12223 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-27 11:08:52,725 - 12223 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-27 11:08:52,726 - 12223 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23930;... (Thread: ThreadPoolExecutor-84_0) - __SPLIT__ 2026-05-27 11:08:53,024 - 12223 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 11:08:53,025 - 12223 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-27 00:00:00' and ServiceDate <= '2027-12-31 00:00:00' and ServiceSetupId = 23930 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-84_0) - __SPLIT__ 2026-05-27 11:08:53,328 - 12223 - src.utils.log - INFO - βœ… Fetched 166 rows - __SPLIT__ 2026-05-27 11:08:53,962 - 12223 - src.utils.log - INFO - Generating work orders for setup: 23930 - __SPLIT__ 2026-05-27 11:08:57,943 - 12223 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-27 11:08:57,944 - 12223 - src.utils.log - INFO - Running deletes in PARALLEL… - __SPLIT__ 2026-05-27 11:08:57,944 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_0) - __SPLIT__ 2026-05-27 11:08:57,945 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_1) - __SPLIT__ 2026-05-27 11:08:57,947 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_2) - __SPLIT__ 2026-05-27 11:08:57,948 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_3) - __SPLIT__ 2026-05-27 11:08:57,948 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_4) - __SPLIT__ 2026-05-27 11:08:57,948 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_5) - __SPLIT__ 2026-05-27 11:08:57,949 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 ) (Thread: ThreadPoolExecutor-85_6) - __SPLIT__ 2026-05-27 11:08:58,245 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,115 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,120 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,120 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,121 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,121 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,132 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,133 - 12223 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23930 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:59,444 - 12223 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 11:08:59,445 - 12223 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:08:59,745 - 12223 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 11:08:59,745 - 12223 - src.utils.log - INFO - Error in work order generation Error: cannot unpack non-iterable NoneType object - __SPLIT__ 2026-05-27 11:08:59,745 - 12223 - src.utils.log - INFO - Work order generation failed - Time took: 11.26 - __SPLIT__ 2026-05-27 11:08:59,745 - 12223 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', WorkOrderStatusDateTime = '2026-05-27 07:08:59.745', PublishStatusDateTime = '2026-05-27 07:08:59.745'WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12223;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 11:09:00,032 - 12223 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 15:12:37,116 - 124470 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=124470 - __SPLIT__ 2026-05-27 15:12:37,118 - 124470 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 124470 - __SPLIT__ 2026-05-27 15:12:37,119 - 124470 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-27 15:12:37,119 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:39,134 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:39,134 - 124470 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-27 15:12:39,136 - 124470 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-27 15:12:39,137 - 124470 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-27 15:12:39,137 - 124470 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124470;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:41,280 - 124470 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 15:12:41,280 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124470), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124470), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124470 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:43,228 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:43,228 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124470;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:43,503 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:43,507 - 124470 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-27 15:12:43,508 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 14538... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:43,794 - 124470 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-27 15:12:43,794 - 124470 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-27 15:12:43,798 - 124470 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-27 15:12:43,799 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 39107;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:44,108 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:44,109 - 124470 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-27 00:00:00' and ServiceDate <= '2027-12-31 00:00:00' and ServiceSetupId = 39107 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:44,452 - 124470 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-27 15:12:45,107 - 124470 - src.utils.log - INFO - Generating work orders for setup: 39107 - __SPLIT__ 2026-05-27 15:12:45,150 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11429;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:45,465 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:45,529 - 124470 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-27 15:12:45,539 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:45,822 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:45,825 - 124470 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-27 15:12:45,825 - 124470 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-27 15:12:45,825 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:46,777 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:46,777 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:47,253 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:47,254 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:47,535 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:47,535 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:47,897 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:47,898 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:49,716 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:49,716 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:50,088 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:50,088 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:50,420 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:50,420 - 124470 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 39107 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:51,923 - 124470 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-27 15:12:51,924 - 124470 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 15:12:51,924 - 124470 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:52,269 - 124470 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-27 15:12:53,402 - 124470 - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-27 15:12:53,403 - 124470 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 4 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 39107... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:53,704 - 124470 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-27 15:12:53,704 - 124470 - src.utils.log - INFO - Id's of work order inserted to DB: [3679352 3679353 3679354 3679355] - __SPLIT__ 2026-05-27 15:12:53,705 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 39107;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:53,973 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:53,973 - 124470 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-27 15:12:53,974 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 39107... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:54,245 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:54,246 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 39107... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:54,516 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:54,522 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 39107... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:54,802 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:54,803 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 39107... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:55,073 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:55,074 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 39107... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:55,343 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:55,344 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 39107;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:55,616 - 124470 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-27 15:12:55,618 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 39107;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:55,887 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:55,888 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 39107;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:56,229 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:56,230 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 39107;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:56,500 - 124470 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-27 15:12:56,518 - 124470 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-27 15:12:56,518 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-27 15:12:56,518 - 124470 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-27 15:12:56,518 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-27 15:12:56,518 - 124470 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-27 15:12:56,518 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-27 15:12:56,519 - 124470 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-27 15:12:56,519 - 124470 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 15:12:56,519 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679352, 3679353, 3679354, 3679355) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:56,787 - 124470 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-27 15:12:56,788 - 124470 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:57,107 - 124470 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-27 15:12:58,060 - 124470 - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-27 15:12:58,061 - 124470 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 15:12:58,062 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679352, 3679353, 3679354, 3679355) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:58,328 - 124470 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-27 15:12:58,330 - 124470 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:58,639 - 124470 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-27 15:12:59,593 - 124470 - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-27 15:12:59,594 - 124470 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-27 15:12:59,594 - 124470 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-27 15:12:59,594 - 124470 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-27 15:12:59,594 - 124470 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-27 15:12:59,594 - 124470 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679352, 3679353, 3679354, 3679355) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:12:59,860 - 124470 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-27 15:12:59,862 - 124470 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:13:00,172 - 124470 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-27 15:13:01,139 - 124470 - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-27 15:13:01,139 - 124470 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-27 15:13:01,139 - 124470 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124470;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:13:01,407 - 124470 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 15:13:01,407 - 124470 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-27 15:13:01,407 - 124470 - src.utils.log - INFO - Time took to perform operation: 24.29 - __SPLIT__ 2026-05-27 15:13:01,407 - 124470 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124470;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:13:01,680 - 124470 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-27 15:13:01,680 - 124470 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-27 11:13:01.680' WHERE GenerateWorkOrderHistoryId = 124470;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-27 15:13:01,952 - 124470 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:43:06,186 - 124477 - src.utils.log - INFO - ParallelProcessing=True GenerateWorkOrderHistoryId=124477 - __SPLIT__ 2026-05-28 10:43:06,187 - 124477 - src.utils.log - INFO - Parallel Work order generation algo started for GenerateWorkOrderHistoryId: 124477 - __SPLIT__ 2026-05-28 10:43:06,189 - 124477 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 10:43:06,189 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas' ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:08,173 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:08,173 - 124477 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 10:43:08,174 - 124477 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 10:43:08,174 - 124477 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 10:43:08,175 - 124477 - src.utils.log - INFO - βœ… Connected to company-specific database: abcdallas - __SPLIT__ 2026-05-28 10:43:08,175 - 124477 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:10,053 - 124477 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:43:10,053 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124477), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124477), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124477 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:10,429 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:10,429 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:10,699 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:10,702 - 124477 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-28 10:43:10,702 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13962... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:10,977 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:10,978 - 124477 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-28 10:43:10,981 - 124477 - src.utils.log - INFO - πŸ“Š Found 1 setups to process across 1 routes - __SPLIT__ 2026-05-28 10:43:10,982 - 124477 - src.utils.log - INFO - πŸš€ Starting parallel processing with 8 workers - __SPLIT__ 2026-05-28 10:43:10,982 - 124477 - src.utils.log - INFO - Generating Sequentially as less then one route given - __SPLIT__ 2026-05-28 10:43:10,982 - 124477 - src.utils.log - INFO - πŸ”„ Processing route: 1 with 1 setups - __SPLIT__ 2026-05-28 10:43:10,983 - 124477 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-28 10:43:10,983 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:11,252 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:11,252 - 124477 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-28 00:00:00' and ServiceDate <= '2027-04-30 00:00:00' and ServiceSetupId = 150354 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:11,534 - 124477 - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-28 10:43:12,088 - 124477 - src.utils.log - INFO - Generating work orders for setup: 150354 - __SPLIT__ 2026-05-28 10:43:12,126 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1131;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:12,394 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:12,440 - 124477 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-28 10:43:12,447 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:12,714 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:12,716 - 124477 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-28 10:43:12,716 - 124477 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-28 10:43:12,716 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:13,000 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:13,000 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:13,284 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:13,284 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:13,558 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:13,559 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:13,841 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:13,841 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:14,128 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:14,128 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:14,409 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:14,409 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:14,679 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:14,679 - 124477 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150354 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:14,973 - 124477 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:43:14,974 - 124477 - src.utils.log - INFO - πŸ“ Inserting 5 work orders for route: 1 - __SPLIT__ 2026-05-28 10:43:14,974 - 124477 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:43:14,974 - 124477 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:15,278 - 124477 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-28 10:43:16,412 - 124477 - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-28 10:43:16,413 - 124477 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 5 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:16,700 - 124477 - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:43:16,700 - 124477 - src.utils.log - INFO - βœ… Work order IDs inserted for route 1: 5 records - __SPLIT__ 2026-05-28 10:43:16,700 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:16,969 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:16,969 - 124477 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-28 10:43:16,970 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:17,239 - 124477 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 10:43:17,239 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:17,509 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:17,513 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:17,790 - 124477 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:43:17,791 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:18,060 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:18,060 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:18,328 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:18,328 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:18,596 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:18,597 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:18,865 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:18,865 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:19,156 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:19,157 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:19,426 - 124477 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-28 10:43:19,435 - 124477 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,436 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-28 10:43:19,436 - 124477 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,436 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-28 10:43:19,436 - 124477 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-28 10:43:19,436 - 124477 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:43:19,436 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679370, 3679371, 3679372, 3679373, 3679374) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:19,705 - 124477 - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:43:19,706 - 124477 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:19,980 - 124477 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-28 10:43:20,935 - 124477 - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-28 10:43:20,935 - 124477 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-28 10:43:20,935 - 124477 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-28 10:43:20,936 - 124477 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 10:43:20,936 - 124477 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:43:20,936 - 124477 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679370, 3679371, 3679372, 3679373, 3679374) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:21,203 - 124477 - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:43:21,204 - 124477 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 10 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:21,480 - 124477 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 10) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-28 10:43:22,446 - 124477 - src.utils.log - INFO - βœ… All 10 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-28 10:43:22,446 - 124477 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 10:43:22,446 - 124477 - src.utils.log - INFO - βœ… Temp tables populated for route: 1 - __SPLIT__ 2026-05-28 10:43:22,446 - 124477 - src.utils.log - INFO - βœ… Route 1 generation complete - __SPLIT__ 2026-05-28 10:43:22,447 - 124477 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:22,725 - 124477 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:43:22,725 - 124477 - src.utils.log - INFO - ⏱️ Total time: 16.54s | Status: Completed - __SPLIT__ 2026-05-28 10:43:22,725 - 124477 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:22,996 - 124477 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:43:22,996 - 124477 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-28 06:43:22.996' WHERE GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:43:23,266 - 124477 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:43:23,266 - 124477 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 10:44:23,652 - [124477] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[3679370, 3679371, 3679372, 3679373, 3679374] user_id=43135 company_id=133 project_id=[124477] publish_all=False - __SPLIT__ 2026-05-28 10:44:23,653 - [124477] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[3679370, 3679371, 3679372, 3679373, 3679374] user_id=43135 company_id=133 project_id=[124477] publish_all=False - __SPLIT__ 2026-05-28 10:44:23,653 - [124477] - src.utils.log - INFO - Parallel Work order publish in progress for GenerateWorkOrderHistoryId: [124477] - __SPLIT__ 2026-05-28 10:44:23,654 - [124477] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 10:44:23,654 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:25,624 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:25,624 - [124477] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 10:44:25,625 - [124477] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 10:44:25,625 - [124477] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 10:44:25,625 - [124477] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:27,489 - [124477] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:44:27,489 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:27,761 - [124477] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:44:27,761 - [124477] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-28 10:44:27,762 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150354 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:28,027 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:28,028 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150354 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:28,312 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:28,313 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150354 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:28,579 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:28,583 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:28,849 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:28,849 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:29,115 - [124477] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 10:44:29,116 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:29,382 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:29,382 - [124477] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 5 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:29,653 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:29,654 - [124477] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 5 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:29,924 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:29,928 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:30,194 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:30,195 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:30,465 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:30,469 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:30,738 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:30,738 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14873' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:31,008 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:31,010 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1426519', '1426520', '1426521', '1426522', '1426523') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:31,297 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:31,297 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:31,753 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-28 10:44:32,883 - [124477] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-28 10:44:33,016 - [124477] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-28 10:44:33,018 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1426519', '1426520', '1426521', '1426522', '1426523') AND wo.AccountNumber = '14873' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-86_0) - __SPLIT__ 2026-05-28 10:44:33,299 - [124477] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:44:33,300 - [124477] - src.utils.log - INFO - Parallel fetching temp table records - __SPLIT__ 2026-05-28 10:44:33,300 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: ThreadPoolExecutor-87_0) - __SPLIT__ 2026-05-28 10:44:33,300 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: ThreadPoolExecutor-87_1) - __SPLIT__ 2026-05-28 10:44:33,301 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: ThreadPoolExecutor-87_2) - __SPLIT__ 2026-05-28 10:44:33,301 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: ThreadPoolExecutor-87_3) - __SPLIT__ 2026-05-28 10:44:33,302 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: ThreadPoolExecutor-87_4) - __SPLIT__ 2026-05-28 10:44:33,303 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374)... (Thread: ThreadPoolExecutor-87_5) - __SPLIT__ 2026-05-28 10:44:33,304 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3679370, 3679371, 3679372, 3679373, 3679374) and woag.RefType = 'TempWorkorder';... (Thread: ThreadPoolExecutor-87_6) - __SPLIT__ 2026-05-28 10:44:33,304 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374);... (Thread: ThreadPoolExecutor-87_7) - __SPLIT__ 2026-05-28 10:44:33,623 - [124477] - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-28 10:44:34,361 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:34,362 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:34,383 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:34,385 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:34,393 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:34,401 - [124477] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:44:34,414 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:34,417 - [124477] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-28 10:44:34,429 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:34,695 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:34,696 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:34,960 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:34,964 - [124477] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:44:34,964 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:35,251 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-28 10:44:36,339 - [124477] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-28 10:44:36,340 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150354 AND WorkOrderNo IN ('5716332', '6533697', '1317508', '5795864', '6111281') AND GenerateWorkOrderHistoryId = 124477;... (Thread: ThreadPoolExecutor-88_0) - __SPLIT__ 2026-05-28 10:44:36,648 - [124477] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:44:36,648 - [124477] - src.utils.log - INFO - 🏁 Final merged rows: 5 - __SPLIT__ 2026-05-28 10:44:36,654 - [124477] - src.utils.log - INFO - Parallel Insertion in work order tables begin - __SPLIT__ 2026-05-28 10:44:36,655 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 10:44:36,655 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-05-28 10:44:36,655 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-28 10:44:36,655 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-28 10:44:36,656 - [124477] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:44:36,656 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 10 rows in batches of 25000 (Thread: ThreadPoolExecutor-89_2) - __SPLIT__ 2026-05-28 10:44:36,656 - [124477] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:44:36,657 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 5 rows in batches of 25000 (Thread: ThreadPoolExecutor-89_0) - __SPLIT__ 2026-05-28 10:44:36,656 - [124477] - src.utils.log - INFO - [OK] Discount Applied completed. - __SPLIT__ 2026-05-28 10:44:36,657 - [124477] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:44:36,656 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-28 10:44:36,657 - [124477] - src.utils.log - INFO - [OK] Lead Notes completed. - __SPLIT__ 2026-05-28 10:44:36,657 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 10 rows in batches of 25000 (Thread: ThreadPoolExecutor-89_3) - __SPLIT__ 2026-05-28 10:44:36,657 - [124477] - src.utils.log - INFO - [OK] Adjustment completed. - __SPLIT__ 2026-05-28 10:44:36,658 - [124477] - src.utils.log - INFO - [OK] Sales Person Commission completed. - __SPLIT__ 2026-05-28 10:44:36,658 - [124477] - src.utils.log - INFO - [OK] Source Mapping completed. - __SPLIT__ 2026-05-28 10:44:36,932 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 10) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-28 10:44:36,941 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-28 10:44:36,948 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 10) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-28 10:44:37,892 - [124477] - src.utils.log - INFO - βœ… All 10 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-28 10:44:37,892 - [124477] - src.utils.log - INFO - [OK] Publish Services completed. - __SPLIT__ 2026-05-28 10:44:37,918 - [124477] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-28 10:44:37,919 - [124477] - src.utils.log - INFO - [OK] Crew completed. - __SPLIT__ 2026-05-28 10:44:37,924 - [124477] - src.utils.log - INFO - βœ… All 10 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-28 10:44:37,924 - [124477] - src.utils.log - INFO - [OK] Services completed. - __SPLIT__ 2026-05-28 10:44:37,924 - [124477] - src.utils.log - INFO - All publish tasks completed successfully. - __SPLIT__ 2026-05-28 10:44:37,925 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:38,189 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:38,190 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150354... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:38,456 - [124477] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 10:44:38,462 - [124477] - src.utils.log - INFO - Size of Transaction: 5 - __SPLIT__ 2026-05-28 10:44:38,463 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:38,865 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-28 10:44:39,800 - [124477] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-28 10:44:39,932 - [124477] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-28 10:44:39,932 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-28 06:44:38.458';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:40,371 - [124477] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:44:40,374 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:40,642 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:40,650 - [124477] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914) AND CreatedDate = '2026-05-28 06:44:38.458'; ... (Thread: ThreadPoolExecutor-90_0) - __SPLIT__ 2026-05-28 10:44:41,053 - [124477] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 10:44:41,059 - [124477] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:44:41,059 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:41,337 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into Billing.Invoice - __SPLIT__ 2026-05-28 10:44:42,362 - [124477] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-28 10:44:42,363 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1426523', '1426522', '1426521', '1426520', '1426519')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:42,712 - [124477] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-28 10:44:42,722 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150354 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:42,987 - [124477] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 10:44:42,988 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150354 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:43,255 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:43,255 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150354 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:43,519 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:43,520 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150354 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:43,783 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:43,797 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:44,065 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:44,071 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:44,337 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:44,340 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150354;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:44,609 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:44,610 - [124477] - src.utils.log - INFO - Parallel Insertion in invoice tables begin - __SPLIT__ 2026-05-28 10:44:44,610 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-05-28 10:44:44,611 - [124477] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 10:44:44,611 - [124477] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 10 rows in batches of 25000 (Thread: ThreadPoolExecutor-91_0) - __SPLIT__ 2026-05-28 10:44:44,611 - [124477] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-05-28 10:44:44,611 - [124477] - src.utils.log - INFO - Insert success for table: Billing.AccountDiscountSetup - __SPLIT__ 2026-05-28 10:44:44,611 - [124477] - src.utils.log - INFO - Insert success for table: Billing.DiscountApplied - __SPLIT__ 2026-05-28 10:44:44,889 - [124477] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 10) into Billing.InvoiceCharges - __SPLIT__ 2026-05-28 10:44:45,994 - [124477] - src.utils.log - INFO - βœ… All 10 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-05-28 10:44:45,995 - [124477] - src.utils.log - INFO - Insert success for table: Billing.InvoiceCharges - __SPLIT__ 2026-05-28 10:44:45,995 - [124477] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-05-28 10:44:45,996 - [124477] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-28 10:44:45,996 - [124477] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124477 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:46,267 - [124477] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 10:44:46,274 - [124477] - src.utils.log - INFO - πŸ”„ Updating next gen date parallely: inside update_next_workorder_generation - __SPLIT__ 2026-05-28 10:44:46,408 - [124477] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_f47c6361b7 - __SPLIT__ 2026-05-28 10:44:46,542 - [124477] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_f47c6361b7 - __SPLIT__ 2026-05-28 10:44:47,074 - [124477] - src.utils.log - INFO - πŸ” Running UPDATE to apply changes - __SPLIT__ 2026-05-28 10:44:47,349 - [124477] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-28 10:44:47,349 - [124477] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_f47c6361b7 - __SPLIT__ 2026-05-28 10:44:47,349 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124477 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:47,614 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,614 - [124477] - src.utils.log - INFO - Parallel deletion from temp tables begin - __SPLIT__ 2026-05-28 10:44:47,615 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_0) - __SPLIT__ 2026-05-28 10:44:47,615 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_1) - __SPLIT__ 2026-05-28 10:44:47,616 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_2) - __SPLIT__ 2026-05-28 10:44:47,616 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_3) - __SPLIT__ 2026-05-28 10:44:47,616 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_4) - __SPLIT__ 2026-05-28 10:44:47,617 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_5) - __SPLIT__ 2026-05-28 10:44:47,617 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-93_6) - __SPLIT__ 2026-05-28 10:44:47,885 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,886 - [124477] - src.utils.log - INFO - [OK] Deleted from SalesPersonCommission - __SPLIT__ 2026-05-28 10:44:47,886 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,886 - [124477] - src.utils.log - INFO - [OK] Deleted from Adjustment - __SPLIT__ 2026-05-28 10:44:47,898 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,898 - [124477] - src.utils.log - INFO - [OK] Deleted from SubWorkOrder - __SPLIT__ 2026-05-28 10:44:47,903 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,903 - [124477] - src.utils.log - INFO - [OK] Deleted from SourceMapping - __SPLIT__ 2026-05-28 10:44:47,982 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,982 - [124477] - src.utils.log - INFO - [OK] Deleted from AppliedDiscount - __SPLIT__ 2026-05-28 10:44:47,998 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:47,998 - [124477] - src.utils.log - INFO - [OK] Deleted from Crews - __SPLIT__ 2026-05-28 10:44:48,066 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:48,066 - [124477] - src.utils.log - INFO - [OK] Deleted from Services - __SPLIT__ 2026-05-28 10:44:48,067 - [124477] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679370, 3679371, 3679372, 3679373, 3679374) (Thread: ThreadPoolExecutor-92_0) - __SPLIT__ 2026-05-28 10:44:48,638 - [124477] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 10:44:48,638 - [124477] - src.utils.log - INFO - βœ” Completed batch of 5 records - __SPLIT__ 2026-05-28 10:44:48,638 - [124477] - src.utils.log - INFO - πŸŽ‰ All batches processed. - __SPLIT__ 2026-05-28 10:44:48,639 - [124477] - src.utils.log - INFO - Work order published ids: (3679370, 3679371, 3679372, 3679373, 3679374) - __SPLIT__ 2026-05-28 10:44:48,639 - [124477] - src.utils.log - INFO - Time took to perform operation in publishing [124477]: 24.99 - __SPLIT__ 2026-05-28 10:44:48,639 - [124477] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124477] - __SPLIT__ 2026-05-28 10:44:48,639 - [124477] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-28 06:44:48.639' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124477;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 10:44:48,907 - [124477] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 11:11:25,516 - 124480 - src.utils.log - INFO - ParallelProcessing=True GenerateWorkOrderHistoryId=124480 - __SPLIT__ 2026-05-28 11:11:25,517 - 124480 - src.utils.log - INFO - Parallel Work order generation algo started for GenerateWorkOrderHistoryId: 124480 - __SPLIT__ 2026-05-28 11:11:25,518 - 124480 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 11:11:25,518 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas' ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:27,475 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:27,476 - 124480 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 11:11:27,476 - 124480 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 11:11:27,476 - 124480 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 11:11:27,477 - 124480 - src.utils.log - INFO - βœ… Connected to company-specific database: abcdallas - __SPLIT__ 2026-05-28 11:11:27,477 - 124480 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124480;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:29,333 - 124480 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 11:11:29,334 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124480), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124480), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124480 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:30,324 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:30,324 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124480;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:30,590 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:30,594 - 124480 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-28 11:11:30,594 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13962... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:30,866 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:30,866 - 124480 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-28 11:11:30,869 - 124480 - src.utils.log - INFO - πŸ“Š Found 1 setups to process across 1 routes - __SPLIT__ 2026-05-28 11:11:30,869 - 124480 - src.utils.log - INFO - πŸš€ Starting parallel processing with 8 workers - __SPLIT__ 2026-05-28 11:11:30,869 - 124480 - src.utils.log - INFO - Generating Sequentially as less then one route given - __SPLIT__ 2026-05-28 11:11:30,869 - 124480 - src.utils.log - INFO - πŸ”„ Processing route: 1 with 1 setups - __SPLIT__ 2026-05-28 11:11:30,870 - 124480 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-28 11:11:30,871 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:31,136 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:31,136 - 124480 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-28 00:00:00' and ServiceDate <= '2026-12-31 00:00:00' and ServiceSetupId = 150355 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:31,423 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:31,976 - 124480 - src.utils.log - INFO - Generating work orders for setup: 150355 - __SPLIT__ 2026-05-28 11:11:32,027 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1131;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:32,293 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:32,339 - 124480 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-28 11:11:32,345 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:32,609 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:32,611 - 124480 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-28 11:11:32,611 - 124480 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-28 11:11:32,611 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:33,054 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:33,054 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:33,472 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:33,472 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:33,749 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:33,749 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:34,176 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:34,176 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:34,558 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:34,558 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:34,841 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:34,842 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:35,111 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:35,111 - 124480 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150355 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:35,484 - 124480 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 11:11:35,484 - 124480 - src.utils.log - INFO - πŸ“ Inserting 7 work orders for route: 1 - __SPLIT__ 2026-05-28 11:11:35,484 - 124480 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 11:11:35,484 - 124480 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:35,785 - 124480 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-28 11:11:36,922 - 124480 - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-28 11:11:36,923 - 124480 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 7 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 150355... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:37,267 - 124480 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-28 11:11:37,268 - 124480 - src.utils.log - INFO - βœ… Work order IDs inserted for route 1: 7 records - __SPLIT__ 2026-05-28 11:11:37,268 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:37,533 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:37,534 - 124480 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-28 11:11:37,534 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 150355... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:37,801 - 124480 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 11:11:37,802 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 150355... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:38,066 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:38,071 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 150355... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:38,344 - 124480 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 11:11:38,346 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 150355... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:38,611 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:38,611 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 150355... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:38,883 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:38,883 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 150355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:39,150 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:39,150 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 150355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:39,415 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:39,416 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 150355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:39,708 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:39,709 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 150355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:39,981 - 124480 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-28 11:11:39,990 - 124480 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,991 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-28 11:11:39,991 - 124480 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-28 11:11:39,991 - 124480 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 11:11:39,991 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679392, 3679393, 3679394, 3679395, 3679396, 3679397, 3679391) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:40,256 - 124480 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-28 11:11:40,257 - 124480 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:40,527 - 124480 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-28 11:11:41,475 - 124480 - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-28 11:11:41,475 - 124480 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-28 11:11:41,475 - 124480 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-28 11:11:41,475 - 124480 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 11:11:41,475 - 124480 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 11:11:41,476 - 124480 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679392, 3679393, 3679394, 3679395, 3679396, 3679397, 3679391) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:41,739 - 124480 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-28 11:11:41,740 - 124480 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 14 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:42,014 - 124480 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 14) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-28 11:11:42,975 - 124480 - src.utils.log - INFO - βœ… All 14 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-28 11:11:42,975 - 124480 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 11:11:42,975 - 124480 - src.utils.log - INFO - βœ… Temp tables populated for route: 1 - __SPLIT__ 2026-05-28 11:11:42,975 - 124480 - src.utils.log - INFO - βœ… Route 1 generation complete - __SPLIT__ 2026-05-28 11:11:42,976 - 124480 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124480;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:43,242 - 124480 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 11:11:43,242 - 124480 - src.utils.log - INFO - ⏱️ Total time: 17.72s | Status: Completed - __SPLIT__ 2026-05-28 11:11:43,242 - 124480 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124480;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:43,507 - 124480 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 11:11:43,508 - 124480 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-28 07:11:43.508' WHERE GenerateWorkOrderHistoryId = 124480;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 11:11:43,773 - 124480 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 11:11:43,774 - 124480 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 12:09:18,310 - [124486] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679408] user_id=43135 company_id=133 project_id=[124486] publish_all=False - __SPLIT__ 2026-05-28 12:09:18,311 - [124486] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679408] user_id=43135 company_id=133 project_id=[124486] publish_all=False - __SPLIT__ 2026-05-28 12:09:18,312 - [124486] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124486] - __SPLIT__ 2026-05-28 12:09:18,312 - [124486] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 12:09:18,312 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:20,311 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:20,312 - [124486] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 12:09:20,312 - [124486] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 12:09:20,313 - [124486] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 12:09:20,313 - [124486] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124486;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:22,199 - [124486] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:09:22,200 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:22,473 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:22,474 - [124486] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-28 12:09:22,474 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150361 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:22,756 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:22,756 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150361 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:23,036 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:23,037 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150361 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:23,320 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:23,323 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:23,592 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:23,592 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:23,860 - [124486] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:09:23,860 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:24,128 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:24,128 - [124486] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:24,402 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:24,403 - [124486] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:24,677 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:24,681 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:24,949 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:24,949 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:25,225 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:25,227 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:25,494 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:25,495 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14877' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:25,763 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:25,766 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo = '1426539' AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:26,036 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:26,036 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:26,474 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-28 12:09:27,541 - [124486] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-28 12:09:27,675 - [124486] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-28 12:09:27,677 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo = '1426539' AND wo.AccountNumber = '14877' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-94_0) - __SPLIT__ 2026-05-28 12:09:27,950 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:27,951 - [124486] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-28 12:09:27,951 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:28,260 - [124486] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:09:28,260 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:28,531 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:28,531 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:28,822 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:28,822 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:29,091 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:29,092 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:29,362 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:29,362 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId = 3679408... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:29,660 - [124486] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:09:29,660 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId = 3679408 and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:29,931 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:29,932 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId = 3679408;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:30,201 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:30,203 - [124486] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-28 12:09:30,215 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:30,483 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:30,486 - [124486] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId IN (894, 1159) AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:30,756 - [124486] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:09:30,759 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:31,027 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:31,033 - [124486] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:09:31,034 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:31,326 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-28 12:09:32,287 - [124486] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-28 12:09:32,288 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150361 AND WorkOrderNo = '8462537' AND GenerateWorkOrderHistoryId = 124486; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:32,591 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:32,597 - [124486] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-28 12:09:32,597 - [124486] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:09:32,597 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:32,897 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-28 12:09:33,852 - [124486] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-28 12:09:33,853 - [124486] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:09:33,853 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:34,151 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-28 12:09:35,123 - [124486] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-28 12:09:35,124 - [124486] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-28 12:09:35,124 - [124486] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-28 12:09:35,124 - [124486] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:09:35,124 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:35,422 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-28 12:09:36,371 - [124486] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-28 12:09:36,371 - [124486] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-28 12:09:36,371 - [124486] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 12:09:36,371 - [124486] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:09:36,372 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:36,671 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-28 12:09:37,629 - [124486] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-28 12:09:37,629 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:37,897 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:37,897 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:38,166 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:38,172 - [124486] - src.utils.log - INFO - Size of Transaction: 1 - __SPLIT__ 2026-05-28 12:09:38,173 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:38,608 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-28 12:09:39,555 - [124486] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-28 12:09:39,689 - [124486] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-28 12:09:39,690 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy = 12345678910 and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-28 08:09:38.167';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:40,088 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:40,090 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:40,360 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:40,368 - [124486] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy = 12345678910 AND CreatedDate = '2026-05-28 08:09:38.167'; ... (Thread: ThreadPoolExecutor-95_0) - __SPLIT__ 2026-05-28 12:09:40,770 - [124486] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:09:40,775 - [124486] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:09:40,775 - [124486] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:41,077 - [124486] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Invoice - __SPLIT__ 2026-05-28 12:09:42,041 - [124486] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-28 12:09:42,042 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo = '1426539'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:42,364 - [124486] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:09:42,373 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:42,646 - [124486] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:09:42,647 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:42,922 - [124486] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:09:42,923 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:43,194 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:43,194 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:43,466 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:43,479 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:43,748 - [124486] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:09:43,753 - [124486] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:44,024 - [124486] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-28 12:09:44,028 - [124486] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-28 12:09:44,028 - [124486] - src.utils.log - INFO - Time took to perform operation in publishing [124486]: 25.72 - __SPLIT__ 2026-05-28 12:09:44,028 - [124486] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124486] - __SPLIT__ 2026-05-28 12:09:44,028 - [124486] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-28 08:09:44.028' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124486;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:09:44,297 - [124486] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:29:10,568 - 124488 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=124488 - __SPLIT__ 2026-05-28 12:29:10,569 - 124488 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 124488 - __SPLIT__ 2026-05-28 12:29:10,570 - 124488 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 12:29:10,571 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:12,582 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:12,582 - 124488 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 12:29:12,583 - 124488 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 12:29:12,583 - 124488 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 12:29:12,583 - 124488 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:14,414 - 124488 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:29:14,414 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124488), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124488), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124488 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:14,779 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:14,780 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:15,043 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:15,046 - 124488 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-28 12:29:15,046 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 14667... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:15,316 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:15,316 - 124488 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-28 12:29:15,319 - 124488 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-28 12:29:15,319 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:15,580 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:15,581 - 124488 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-28 00:00:00' and ServiceDate <= '2026-09-30 00:00:00' and ServiceSetupId = 150361 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:15,858 - 124488 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-28 12:29:16,397 - 124488 - src.utils.log - INFO - Generating work orders for setup: 150361 - __SPLIT__ 2026-05-28 12:29:16,407 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1132;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:16,668 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:16,708 - 124488 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-28 12:29:16,713 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:16,974 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:16,976 - 124488 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-28 12:29:16,976 - 124488 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-28 12:29:16,976 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:17,253 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:17,253 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:17,532 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:17,533 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:17,801 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:17,801 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:18,101 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:18,101 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:18,378 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:18,379 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:18,670 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:18,670 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:18,936 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:18,937 - 124488 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150361 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:19,390 - 124488 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 12:29:19,390 - 124488 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:29:19,390 - 124488 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:19,692 - 124488 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-28 12:29:20,628 - 124488 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-28 12:29:20,629 - 124488 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 1 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-19 18:23:20.389' and ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:20,907 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:20,907 - 124488 - src.utils.log - INFO - Id's of work order inserted to DB: [3679410] - __SPLIT__ 2026-05-28 12:29:20,908 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:21,169 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:21,169 - 124488 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-28 12:29:21,170 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:21,431 - 124488 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:29:21,432 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:21,693 - 124488 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:29:21,700 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:21,970 - 124488 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:29:21,971 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:22,236 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:22,236 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:22,497 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:22,498 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:22,760 - 124488 - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-28 12:29:22,761 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:23,023 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:23,024 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:23,302 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:23,302 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:23,564 - 124488 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:29:23,579 - 124488 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-28 12:29:23,579 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 12:29:23,579 - 124488 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-28 12:29:23,579 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-28 12:29:23,579 - 124488 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-28 12:29:23,579 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-28 12:29:23,580 - 124488 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-28 12:29:23,580 - 124488 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:29:23,580 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3679410 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:23,841 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:23,842 - 124488 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:24,115 - 124488 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-28 12:29:25,038 - 124488 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-28 12:29:25,039 - 124488 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:29:25,040 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3679410 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:25,299 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:25,300 - 124488 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:25,570 - 124488 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-28 12:29:26,492 - 124488 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-28 12:29:26,493 - 124488 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-28 12:29:26,493 - 124488 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-28 12:29:26,493 - 124488 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 12:29:26,493 - 124488 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:29:26,494 - 124488 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3679410 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:26,755 - 124488 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:29:26,756 - 124488 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:27,025 - 124488 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-28 12:29:27,955 - 124488 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-28 12:29:27,956 - 124488 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 12:29:27,956 - 124488 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:28,218 - 124488 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:29:28,218 - 124488 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-28 12:29:28,218 - 124488 - src.utils.log - INFO - Time took to perform operation: 17.65 - __SPLIT__ 2026-05-28 12:29:28,218 - 124488 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:28,479 - 124488 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:29:28,480 - 124488 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-28 08:29:28.479' WHERE GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:29:28,742 - 124488 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:46:26,087 - [124488] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679410] user_id=43135 company_id=133 project_id=[124488] publish_all=False - __SPLIT__ 2026-05-28 12:46:26,088 - [124488] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679410] user_id=43135 company_id=133 project_id=[124488] publish_all=False - __SPLIT__ 2026-05-28 12:46:26,088 - [124488] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124488] - __SPLIT__ 2026-05-28 12:46:26,089 - [124488] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 12:46:26,089 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:28,098 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:28,099 - [124488] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 12:46:28,099 - [124488] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 12:46:28,100 - [124488] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 12:46:28,100 - [124488] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:29,950 - [124488] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:46:29,950 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:30,216 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:30,217 - [124488] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-28 12:46:30,217 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150361 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:31,086 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:31,087 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150361 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:31,681 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:31,682 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150361 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:31,946 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:31,950 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:32,214 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:32,214 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:32,482 - [124488] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:46:32,483 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:32,748 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:32,749 - [124488] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:33,018 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:33,019 - [124488] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 1 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:33,287 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:33,291 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:33,555 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:33,556 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:33,821 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:33,823 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:34,089 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:34,090 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14877' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:34,352 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:34,355 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo = '1426542' AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:34,617 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:34,618 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:35,047 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-28 12:46:36,133 - [124488] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-28 12:46:36,267 - [124488] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-28 12:46:36,269 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo = '1426542' AND wo.AccountNumber = '14877' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-96_0) - __SPLIT__ 2026-05-28 12:46:36,534 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:36,535 - [124488] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-28 12:46:36,535 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:36,844 - [124488] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:46:36,844 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:37,109 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:37,110 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:37,393 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:37,394 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:37,656 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:37,656 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:37,920 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:37,920 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId = 3679410... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:38,217 - [124488] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:46:38,218 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId = 3679410 and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:38,483 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:38,483 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId = 3679410;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:38,746 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:38,748 - [124488] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-28 12:46:38,760 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:39,022 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:39,025 - [124488] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId IN (1159, 894) AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:39,289 - [124488] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:46:39,292 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:39,555 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:39,559 - [124488] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:46:39,559 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:39,844 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-28 12:46:40,778 - [124488] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-28 12:46:40,780 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150361 AND WorkOrderNo = '5459514' AND GenerateWorkOrderHistoryId = 124488; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:41,076 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:41,082 - [124488] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-28 12:46:41,082 - [124488] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:46:41,082 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:41,354 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-28 12:46:42,284 - [124488] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-28 12:46:42,284 - [124488] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:46:42,284 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:42,554 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-28 12:46:43,486 - [124488] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-28 12:46:43,487 - [124488] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-28 12:46:43,487 - [124488] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-28 12:46:43,487 - [124488] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:46:43,487 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:43,755 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-28 12:46:44,680 - [124488] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-28 12:46:44,681 - [124488] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-28 12:46:44,681 - [124488] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 12:46:44,681 - [124488] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:46:44,681 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:44,952 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-28 12:46:45,880 - [124488] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-28 12:46:45,880 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:46,143 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:46,144 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150361... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:46,407 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:46,413 - [124488] - src.utils.log - INFO - Size of Transaction: 1 - __SPLIT__ 2026-05-28 12:46:46,414 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:46,813 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-28 12:46:47,737 - [124488] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-28 12:46:47,869 - [124488] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-28 12:46:47,869 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy = 12345678910 and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-28 08:46:46.409';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:48,267 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:48,269 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:48,533 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:48,541 - [124488] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy = 12345678910 AND CreatedDate = '2026-05-28 08:46:46.409'; ... (Thread: ThreadPoolExecutor-97_0) - __SPLIT__ 2026-05-28 12:46:48,937 - [124488] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 12:46:48,941 - [124488] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 12:46:48,942 - [124488] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:49,213 - [124488] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into Billing.Invoice - __SPLIT__ 2026-05-28 12:46:50,156 - [124488] - src.utils.log - INFO - βœ… All 1 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-28 12:46:50,156 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo = '1426542'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:50,471 - [124488] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 12:46:50,480 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:50,743 - [124488] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:46:50,743 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:51,007 - [124488] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 12:46:51,008 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:51,269 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:51,270 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150361 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:51,533 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:51,546 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:51,809 - [124488] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 12:46:51,814 - [124488] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150361;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:52,077 - [124488] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-28 12:46:52,081 - [124488] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-05-28 12:46:52,081 - [124488] - src.utils.log - INFO - Time took to perform operation in publishing [124488]: 25.99 - __SPLIT__ 2026-05-28 12:46:52,081 - [124488] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124488] - __SPLIT__ 2026-05-28 12:46:52,081 - [124488] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-28 08:46:52.081' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124488;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 12:46:52,345 - [124488] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:32:22,204 - 124491 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=124491 - __SPLIT__ 2026-05-28 15:32:22,205 - 124491 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 124491 - __SPLIT__ 2026-05-28 15:32:22,234 - 124491 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 15:32:22,234 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:24,820 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:24,821 - 124491 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 15:32:24,821 - 124491 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 15:32:24,822 - 124491 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 15:32:24,822 - 124491 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124491;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:27,216 - 124491 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:32:27,216 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124491), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124491), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124491 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:27,589 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:27,589 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124491;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:27,856 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:27,860 - 124491 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-28 15:32:27,861 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 14505... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:28,133 - 124491 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-28 15:32:28,133 - 124491 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-28 15:32:28,137 - 124491 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-28 15:32:28,138 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 56234;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:28,402 - 124491 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 15:32:28,403 - 124491 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-28 00:00:00' and ServiceDate <= '2029-12-31 00:00:00' and ServiceSetupId = 56234 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:28,684 - 124491 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 15:32:29,237 - 124491 - src.utils.log - INFO - Generating work orders for setup: 56234 - __SPLIT__ 2026-05-28 15:32:29,307 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11429;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:29,572 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:29,617 - 124491 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-28 15:32:29,624 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:29,887 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:29,889 - 124491 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-28 15:32:29,889 - 124491 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-28 15:32:29,890 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:30,181 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:30,181 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:30,467 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:30,467 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:30,738 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:30,738 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:31,038 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:31,038 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:31,322 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:31,322 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:31,601 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:31,601 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:31,866 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:31,866 - 124491 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 56234 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:32,374 - 124491 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-28 15:32:32,375 - 124491 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 15:32:32,375 - 124491 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 12 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:32,676 - 124491 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 12) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-28 15:32:34,114 - 124491 - src.utils.log - INFO - βœ… All 12 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-28 15:32:34,114 - 124491 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 12 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-28 20:59:15.844' and ServiceSetupId = 56234... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:34,397 - 124491 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-28 15:32:34,398 - 124491 - src.utils.log - INFO - Id's of work order inserted to DB: [3679428 3679429 3679430 3679431 3679432 3679433 3679434 3679435 3679436 3679437 3679438 3679439] - __SPLIT__ 2026-05-28 15:32:34,398 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 56234;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:34,663 - 124491 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 15:32:34,663 - 124491 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-28 15:32:34,664 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 56234... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:34,928 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:34,928 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 56234... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:35,194 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:35,201 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 56234... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:35,478 - 124491 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-28 15:32:35,480 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 56234... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:35,745 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:35,746 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 56234... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:36,010 - 124491 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 15:32:36,010 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 56234;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:36,275 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:36,277 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 56234;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:36,541 - 124491 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:32:36,542 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 56234;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:36,828 - 124491 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 15:32:36,829 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 56234;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:37,092 - 124491 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 15:32:37,114 - 124491 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-28 15:32:37,115 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-28 15:32:37,115 - 124491 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,115 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-28 15:32:37,115 - 124491 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,115 - 124491 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 15:32:37,115 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ('3679439', '3679428', '3679430', '3679431', '3679433', '3679429', '3679434', '3679437', '3679435', '3679438', '3679436', '3679432') ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:37,381 - 124491 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-28 15:32:37,382 - 124491 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.SetupAutoGenerationSourceMapping: 0 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:37,649 - 124491 - src.utils.log - INFO - βœ… All 0 rows inserted successfully into ServiceCore.SetupAutoGenerationSourceMapping in 0 batches - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-28 15:32:37,650 - 124491 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 15:32:37,651 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679428, 3679429, 3679430, 3679431, 3679432, 3679433, 3679434, 3679435, 3679436, 3679437, 3679438, 3679439) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:37,916 - 124491 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-28 15:32:37,917 - 124491 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 12 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:38,187 - 124491 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 12) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-28 15:32:39,134 - 124491 - src.utils.log - INFO - βœ… All 12 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-28 15:32:39,134 - 124491 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-28 15:32:39,134 - 124491 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-28 15:32:39,134 - 124491 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 15:32:39,134 - 124491 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-28 15:32:39,135 - 124491 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679428, 3679429, 3679430, 3679431, 3679432, 3679433, 3679434, 3679435, 3679436, 3679437, 3679438, 3679439) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:39,399 - 124491 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-05-28 15:32:39,400 - 124491 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 12 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:39,672 - 124491 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 12) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-28 15:32:40,630 - 124491 - src.utils.log - INFO - βœ… All 12 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-28 15:32:40,630 - 124491 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-28 15:32:40,630 - 124491 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124491;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:40,898 - 124491 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:32:40,898 - 124491 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-28 15:32:40,898 - 124491 - src.utils.log - INFO - Time took to perform operation: 18.69 - __SPLIT__ 2026-05-28 15:32:40,898 - 124491 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124491;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:41,163 - 124491 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:32:41,163 - 124491 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-28 11:32:41.163' WHERE GenerateWorkOrderHistoryId = 124491;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:32:41,429 - 124491 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:50:13,896 - 124492 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=124492 - __SPLIT__ 2026-05-28 15:50:13,898 - 124492 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 124492 - __SPLIT__ 2026-05-28 15:50:13,912 - 124492 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-28 15:50:13,912 - 124492 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:50:16,511 - 124492 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:50:16,511 - 124492 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-28 15:50:16,512 - 124492 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-28 15:50:16,512 - 124492 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-28 15:50:16,512 - 124492 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124492;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:50:18,954 - 124492 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:50:18,955 - 124492 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124492), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124492), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124492 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:50:19,334 - 124492 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-28 15:50:19,335 - 124492 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124492;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:50:19,607 - 124492 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-28 15:50:19,608 - 124492 - src.utils.log - INFO - No Setup Found Error:No setups found for GenerateWorkOrderHistoryid: 124492 - __SPLIT__ 2026-05-28 15:50:19,608 - 124492 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124492;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:50:19,879 - 124492 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-28 15:50:19,880 - 124492 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-28 11:50:19.880' WHERE GenerateWorkOrderHistoryId = 124492;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-28 15:50:20,152 - 124492 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:49:26,177 - 12224 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12224 - __SPLIT__ 2026-05-29 05:49:26,179 - 12224 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12224 - __SPLIT__ 2026-05-29 05:49:26,194 - 12224 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 05:49:26,194 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:28,729 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:28,729 - 12224 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 05:49:28,729 - 12224 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:29,010 - 12224 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:49:29,010 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12224), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12224), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12224 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:29,333 - 12224 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:49:29,333 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:29,617 - 12224 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:49:29,621 - 12224 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-29 05:49:29,622 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13057... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:29,909 - 12224 - src.utils.log - INFO - βœ… Fetched 60 rows - __SPLIT__ 2026-05-29 05:49:29,910 - 12224 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-29 05:49:29,913 - 12224 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-29 05:49:29,914 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:30,200 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:30,201 - 12224 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-31 00:00:00' and ServiceDate <= '2026-12-31 00:00:00' and ServiceSetupId = 23935 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:30,482 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:31,067 - 12224 - src.utils.log - INFO - Generating work orders for setup: 23935 - __SPLIT__ 2026-05-29 05:49:31,190 - 12224 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-29 05:49:31,196 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:31,470 - 12224 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:49:31,472 - 12224 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-29 05:49:31,473 - 12224 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-29 05:49:31,473 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:31,767 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:31,767 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:32,054 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:32,054 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:32,346 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:32,347 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:32,644 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:32,644 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:32,926 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:32,927 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:33,244 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:33,244 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:33,536 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:33,536 - 12224 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:33,843 - 12224 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:49:33,844 - 12224 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:49:33,844 - 12224 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 15 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:34,184 - 12224 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-29 05:49:35,708 - 12224 - src.utils.log - INFO - βœ… All 15 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-29 05:49:35,709 - 12224 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 15 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-28 21:10:37.875' and ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:36,007 - 12224 - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:49:36,007 - 12224 - src.utils.log - INFO - Id's of work order inserted to DB: [2730073 2730074 2730075 2730076 2730077 2730078 2730079 2730080 2730081 2730082 2730083 2730084 2730085 2730086 2730087] - __SPLIT__ 2026-05-29 05:49:36,008 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:36,284 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:36,284 - 12224 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-29 05:49:36,285 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:36,566 - 12224 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 05:49:36,567 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:36,854 - 12224 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:49:36,861 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:37,146 - 12224 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 05:49:37,147 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:37,427 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:37,428 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:37,710 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:37,710 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:37,992 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:37,992 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:38,269 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:38,270 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:39,151 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:39,151 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:39,428 - 12224 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:49:39,441 - 12224 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-29 05:49:39,441 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-29 05:49:39,442 - 12224 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:49:39,443 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087, 2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:39,731 - 12224 - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:49:39,732 - 12224 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 15 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:40,028 - 12224 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-29 05:49:41,050 - 12224 - src.utils.log - INFO - βœ… All 15 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-29 05:49:41,051 - 12224 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-29 05:49:41,051 - 12224 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:49:41,051 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730073 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:41,333 - 12224 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:49:41,334 - 12224 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:41,639 - 12224 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 05:49:42,694 - 12224 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 05:49:42,694 - 12224 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 05:49:42,694 - 12224 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:49:42,694 - 12224 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:42,971 - 12224 - src.utils.log - INFO - βœ… Fetched 14 rows - __SPLIT__ 2026-05-29 05:49:42,972 - 12224 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 28 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:43,257 - 12224 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 28) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 05:49:44,493 - 12224 - src.utils.log - INFO - βœ… All 28 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 05:49:44,493 - 12224 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 05:49:44,493 - 12224 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:44,770 - 12224 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:49:44,770 - 12224 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-29 05:49:44,770 - 12224 - src.utils.log - INFO - Time took to perform operation: 18.59 - __SPLIT__ 2026-05-29 05:49:44,770 - 12224 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:45,047 - 12224 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:49:45,047 - 12224 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 01:49:45.047' WHERE GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:49:45,324 - 12224 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:50:20,493 - [12224] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=122885 company_id=135 project_id=[12224] publish_all=True - __SPLIT__ 2026-05-29 05:50:20,494 - [12224] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=122885 company_id=135 project_id=[12224] publish_all=True - __SPLIT__ 2026-05-29 05:50:20,495 - [12224] - src.utils.log - INFO - Parallel Work order publish in progress for GenerateWorkOrderHistoryId: [12224] - __SPLIT__ 2026-05-29 05:50:20,495 - [12224] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 05:50:20,495 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:22,444 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:22,445 - [12224] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 05:50:22,445 - [12224] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:22,726 - [12224] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:50:22,726 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.GenerateWorkOrderHistoryId = 12224... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:23,023 - [12224] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:50:23,024 - [12224] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-29 05:50:23,024 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:23,311 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:23,312 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:23,594 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:23,594 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:23,881 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:23,885 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:24,163 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:24,163 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:24,441 - [12224] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 05:50:24,441 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:24,728 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:24,728 - [12224] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 15 OUTPUT INSERTED.NextNumber - 15 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:25,010 - [12224] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 05:50:25,014 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:25,297 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:25,298 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:25,580 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:25,588 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:25,872 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:25,872 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '292026' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:26,154 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:26,157 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167426R', '167427R', '167428R', '167429R', '167430R', '167431R', '167432R', '167433R', '167434R', '167435R', '167436R', '167437R', '167438R', '167439R', '167440R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:26,441 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:26,441 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 15 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:26,935 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-29 05:50:28,467 - [12224] - src.utils.log - INFO - βœ… All 15 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 05:50:28,603 - [12224] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 05:50:28,604 - [12224] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 135 AND ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:28,880 - [12224] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:50:28,881 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167426R', '167427R', '167428R', '167429R', '167430R', '167431R', '167432R', '167433R', '167434R', '167435R', '167436R', '167437R', '167438R', '167439R', '167440R') AND wo.AccountNumber = '292026' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-0_0) - __SPLIT__ 2026-05-29 05:50:29,158 - [12224] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:50:29,159 - [12224] - src.utils.log - INFO - Parallel fetching temp table records - __SPLIT__ 2026-05-29 05:50:29,159 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087)... (Thread: ThreadPoolExecutor-1_0) - __SPLIT__ 2026-05-29 05:50:29,159 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087)... (Thread: ThreadPoolExecutor-1_1) - __SPLIT__ 2026-05-29 05:50:29,160 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087)... (Thread: ThreadPoolExecutor-1_2) - __SPLIT__ 2026-05-29 05:50:29,160 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087)... (Thread: ThreadPoolExecutor-1_3) - __SPLIT__ 2026-05-29 05:50:29,161 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087)... (Thread: ThreadPoolExecutor-1_4) - __SPLIT__ 2026-05-29 05:50:29,162 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) and woag.RefType = 'TempWorkorder';... (Thread: ThreadPoolExecutor-1_6) - __SPLIT__ 2026-05-29 05:50:29,162 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087)... (Thread: ThreadPoolExecutor-1_5) - __SPLIT__ 2026-05-29 05:50:29,163 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087);... (Thread: ThreadPoolExecutor-1_7) - __SPLIT__ 2026-05-29 05:50:29,579 - [12224] - src.utils.log - INFO - βœ… Fetched 29 rows - __SPLIT__ 2026-05-29 05:50:30,316 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:30,375 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:30,960 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:31,040 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:31,045 - [12224] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:50:31,725 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:31,953 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:31,956 - [12224] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-29 05:50:31,969 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:32,247 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:32,248 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:32,534 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:32,538 - [12224] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:50:32,538 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 15 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:32,859 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-29 05:50:34,215 - [12224] - src.utils.log - INFO - βœ… All 15 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-29 05:50:34,216 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23935 AND WorkOrderNo IN ('874224', '3284019', '6349412', '2323330', '6777779', '7836511', '7450507', '6567784', '3727919', '5688237', '2637816', '5831563', '9999325', '9977511', '6287232') AND GenerateWorkOrderHistoryId = 12224;... (Thread: ThreadPoolExecutor-2_0) - __SPLIT__ 2026-05-29 05:50:34,553 - [12224] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:50:34,554 - [12224] - src.utils.log - INFO - 🏁 Final merged rows: 15 - __SPLIT__ 2026-05-29 05:50:34,560 - [12224] - src.utils.log - INFO - Parallel Insertion in work order tables begin - __SPLIT__ 2026-05-29 05:50:34,561 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 05:50:34,561 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-05-29 05:50:34,561 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-29 05:50:34,562 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-29 05:50:34,562 - [12224] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:50:34,562 - [12224] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:50:34,562 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 15 rows in batches of 25000 (Thread: ThreadPoolExecutor-3_1) - __SPLIT__ 2026-05-29 05:50:34,562 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 29 rows in batches of 25000 (Thread: ThreadPoolExecutor-3_2) - __SPLIT__ 2026-05-29 05:50:34,562 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-29 05:50:34,563 - [12224] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:50:34,563 - [12224] - src.utils.log - INFO - [OK] Sales Person Commission completed. - __SPLIT__ 2026-05-29 05:50:34,564 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 29 rows in batches of 25000 (Thread: ThreadPoolExecutor-3_0) - __SPLIT__ 2026-05-29 05:50:34,564 - [12224] - src.utils.log - INFO - [OK] Lead Notes completed. - __SPLIT__ 2026-05-29 05:50:34,564 - [12224] - src.utils.log - INFO - [OK] Discount Applied completed. - __SPLIT__ 2026-05-29 05:50:34,564 - [12224] - src.utils.log - INFO - [OK] Adjustment completed. - __SPLIT__ 2026-05-29 05:50:34,564 - [12224] - src.utils.log - INFO - [OK] Source Mapping completed. - __SPLIT__ 2026-05-29 05:50:34,867 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 29) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-29 05:50:34,878 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 29) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-29 05:50:34,886 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-29 05:50:35,908 - [12224] - src.utils.log - INFO - βœ… All 15 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-29 05:50:35,909 - [12224] - src.utils.log - INFO - [OK] Crew completed. - __SPLIT__ 2026-05-29 05:50:36,255 - [12224] - src.utils.log - INFO - βœ… All 29 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-29 05:50:36,255 - [12224] - src.utils.log - INFO - [OK] Publish Services completed. - __SPLIT__ 2026-05-29 05:50:36,331 - [12224] - src.utils.log - INFO - βœ… All 29 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-29 05:50:36,331 - [12224] - src.utils.log - INFO - [OK] Services completed. - __SPLIT__ 2026-05-29 05:50:36,332 - [12224] - src.utils.log - INFO - All publish tasks completed successfully. - __SPLIT__ 2026-05-29 05:50:36,332 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:36,624 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:36,625 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:36,905 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:36,912 - [12224] - src.utils.log - INFO - Size of Transaction: 15 - __SPLIT__ 2026-05-29 05:50:36,913 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 15 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:37,363 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-29 05:50:38,500 - [12224] - src.utils.log - INFO - βœ… All 15 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 05:50:38,641 - [12224] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 05:50:38,642 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914, 12345678915, 12345678916, 12345678917, 12345678918, 12345678919, 12345678920, 12345678921, 12345678922, 12345678923, 12345678924) and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-29 01:50:36.907';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:38,988 - [12224] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:50:38,991 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:39,271 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:39,280 - [12224] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914,12345678915,12345678916,12345678917,12345678918,12345678919,12345678920,12345678921,12345678922,12345678923,12345678924) AND CreatedDate = '2026-05-29 01:50:36.907'; ... (Thread: ThreadPoolExecutor-4_0) - __SPLIT__ 2026-05-29 05:50:39,683 - [12224] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:50:39,689 - [12224] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:50:39,689 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 15 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:39,994 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 15) into Billing.Invoice - __SPLIT__ 2026-05-29 05:50:41,275 - [12224] - src.utils.log - INFO - βœ… All 15 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-29 05:50:41,276 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('167426R', '167440R', '167439R', '167438R', '167437R', '167435R', '167436R', '167434R', '167433R', '167431R', '167430R', '167429R', '167432R', '167427R', '167428R')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:41,623 - [12224] - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 05:50:41,632 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:41,922 - [12224] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 05:50:41,923 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:42,202 - [12224] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:50:42,202 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:42,493 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:42,493 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:42,778 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:42,794 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:43,076 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:43,082 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:43,368 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:43,372 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:43,659 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:43,660 - [12224] - src.utils.log - INFO - Parallel Insertion in invoice tables begin - __SPLIT__ 2026-05-29 05:50:43,660 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-05-29 05:50:43,661 - [12224] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 05:50:43,661 - [12224] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 29 rows in batches of 25000 (Thread: ThreadPoolExecutor-5_0) - __SPLIT__ 2026-05-29 05:50:43,661 - [12224] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-05-29 05:50:43,661 - [12224] - src.utils.log - INFO - Insert success for table: Billing.AccountDiscountSetup - __SPLIT__ 2026-05-29 05:50:43,661 - [12224] - src.utils.log - INFO - Insert success for table: Billing.DiscountApplied - __SPLIT__ 2026-05-29 05:50:43,965 - [12224] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 29) into Billing.InvoiceCharges - __SPLIT__ 2026-05-29 05:50:45,463 - [12224] - src.utils.log - INFO - βœ… All 29 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-05-29 05:50:45,464 - [12224] - src.utils.log - INFO - Insert success for table: Billing.InvoiceCharges - __SPLIT__ 2026-05-29 05:50:45,464 - [12224] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-05-29 05:50:45,464 - [12224] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-29 05:50:45,465 - [12224] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12224 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:45,767 - [12224] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:50:45,774 - [12224] - src.utils.log - INFO - πŸ”„ Updating next gen date parallely: inside update_next_workorder_generation - __SPLIT__ 2026-05-29 05:50:45,910 - [12224] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_c52989c995 - __SPLIT__ 2026-05-29 05:50:46,046 - [12224] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_c52989c995 - __SPLIT__ 2026-05-29 05:50:46,656 - [12224] - src.utils.log - INFO - πŸ” Running UPDATE to apply changes - __SPLIT__ 2026-05-29 05:50:46,943 - [12224] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-29 05:50:46,943 - [12224] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_c52989c995 - __SPLIT__ 2026-05-29 05:50:46,944 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12224 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:47,235 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,235 - [12224] - src.utils.log - INFO - Parallel deletion from temp tables begin - __SPLIT__ 2026-05-29 05:50:47,236 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_0) - __SPLIT__ 2026-05-29 05:50:47,236 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_1) - __SPLIT__ 2026-05-29 05:50:47,236 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_2) - __SPLIT__ 2026-05-29 05:50:47,237 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_3) - __SPLIT__ 2026-05-29 05:50:47,237 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_4) - __SPLIT__ 2026-05-29 05:50:47,238 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_5) - __SPLIT__ 2026-05-29 05:50:47,238 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-7_6) - __SPLIT__ 2026-05-29 05:50:47,518 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,518 - [12224] - src.utils.log - INFO - [OK] Deleted from Adjustment - __SPLIT__ 2026-05-29 05:50:47,525 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,526 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,526 - [12224] - src.utils.log - INFO - [OK] Deleted from SubWorkOrder - __SPLIT__ 2026-05-29 05:50:47,526 - [12224] - src.utils.log - INFO - [OK] Deleted from SalesPersonCommission - __SPLIT__ 2026-05-29 05:50:47,530 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,531 - [12224] - src.utils.log - INFO - [OK] Deleted from Crews - __SPLIT__ 2026-05-29 05:50:47,545 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,545 - [12224] - src.utils.log - INFO - [OK] Deleted from SourceMapping - __SPLIT__ 2026-05-29 05:50:47,551 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,551 - [12224] - src.utils.log - INFO - [OK] Deleted from Services - __SPLIT__ 2026-05-29 05:50:47,560 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,560 - [12224] - src.utils.log - INFO - [OK] Deleted from AppliedDiscount - __SPLIT__ 2026-05-29 05:50:47,560 - [12224] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) (Thread: ThreadPoolExecutor-6_0) - __SPLIT__ 2026-05-29 05:50:47,950 - [12224] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 05:50:47,951 - [12224] - src.utils.log - INFO - βœ” Completed batch of 15 records - __SPLIT__ 2026-05-29 05:50:47,951 - [12224] - src.utils.log - INFO - πŸŽ‰ All batches processed. - __SPLIT__ 2026-05-29 05:50:47,951 - [12224] - src.utils.log - INFO - Work order published ids: (2730073, 2730074, 2730075, 2730076, 2730077, 2730078, 2730079, 2730080, 2730081, 2730082, 2730083, 2730084, 2730085, 2730086, 2730087) - __SPLIT__ 2026-05-29 05:50:47,951 - [12224] - src.utils.log - INFO - Time took to perform operation in publishing [12224]: 27.46 - __SPLIT__ 2026-05-29 05:50:47,951 - [12224] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12224] - __SPLIT__ 2026-05-29 05:50:47,952 - [12224] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 01:50:47.951' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12224;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:50:48,234 - [12224] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:58:15,197 - 12225 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12225 - __SPLIT__ 2026-05-29 05:58:15,198 - 12225 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12225 - __SPLIT__ 2026-05-29 05:58:15,199 - 12225 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 05:58:15,199 - 12225 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:17,200 - 12225 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:58:17,200 - 12225 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 05:58:17,201 - 12225 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:17,603 - 12225 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:58:17,603 - 12225 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-29 01:58:17.603' WHERE GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:17,891 - 12225 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:58:17,892 - 12225 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:18,178 - 12225 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:58:18,178 - 12225 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-29 01:58:18.178' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:18,465 - 12225 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:58:18,465 - 12225 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12225), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12225), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12225 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:18,778 - 12225 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 05:58:18,779 - 12225 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:19,062 - 12225 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 05:58:19,063 - 12225 - src.utils.log - INFO - No Setup Found Error:No setups found for GenerateWorkOrderHistoryid: 12225 - __SPLIT__ 2026-05-29 05:58:19,063 - 12225 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:19,347 - 12225 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 05:58:19,347 - 12225 - src.utils.log - INFO - Work order generation failed - Time took: 4.15 - __SPLIT__ 2026-05-29 05:58:19,347 - 12225 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 01:58:19.347' , WorkOrderStatusDateTime = '2026-05-29 01:58:19.347' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12225;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 05:58:19,629 - 12225 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:28,772 - 12227 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12227 - __SPLIT__ 2026-05-29 06:01:28,773 - 12227 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12227 - __SPLIT__ 2026-05-29 06:01:28,787 - 12227 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 06:01:28,788 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:31,294 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:31,294 - 12227 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 06:01:31,294 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:31,575 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:31,575 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-29 02:01:31.575' WHERE GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:31,862 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:31,862 - 12227 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:32,145 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:32,146 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-29 02:01:32.146' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:32,422 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:32,422 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12227), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12227), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12227 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:32,750 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:32,751 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:33,029 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:33,033 - 12227 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-29 06:01:33,033 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13057... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:33,320 - 12227 - src.utils.log - INFO - βœ… Fetched 60 rows - __SPLIT__ 2026-05-29 06:01:33,320 - 12227 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-29 06:01:33,325 - 12227 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-29 06:01:33,326 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: ThreadPoolExecutor-0_0) - __SPLIT__ 2026-05-29 06:01:33,612 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:33,613 - 12227 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-31 00:00:00' and ServiceDate <= '2027-05-31 00:00:00' and ServiceSetupId = 23935 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: ThreadPoolExecutor-0_0) - __SPLIT__ 2026-05-29 06:01:33,894 - 12227 - src.utils.log - INFO - βœ… Fetched 15 rows - __SPLIT__ 2026-05-29 06:01:34,474 - 12227 - src.utils.log - INFO - Generating work orders for setup: 23935 - __SPLIT__ 2026-05-29 06:01:34,573 - 12227 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-29 06:01:34,580 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: ThreadPoolExecutor-0_0) - __SPLIT__ 2026-05-29 06:01:34,861 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:34,864 - 12227 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-29 06:01:34,864 - 12227 - src.utils.log - INFO - Running deletes in PARALLEL… - __SPLIT__ 2026-05-29 06:01:34,865 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_0) - __SPLIT__ 2026-05-29 06:01:34,865 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_1) - __SPLIT__ 2026-05-29 06:01:34,865 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_2) - __SPLIT__ 2026-05-29 06:01:34,867 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_3) - __SPLIT__ 2026-05-29 06:01:34,867 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_4) - __SPLIT__ 2026-05-29 06:01:34,868 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_5) - __SPLIT__ 2026-05-29 06:01:34,869 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: ThreadPoolExecutor-1_6) - __SPLIT__ 2026-05-29 06:01:35,153 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,030 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,032 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,039 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,048 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,053 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,064 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,065 - 12227 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:36,388 - 12227 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 06:01:36,389 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:36,666 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:36,666 - 12227 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-29 06:01:36,667 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23935... (Thread: ThreadPoolExecutor-2_0) - __SPLIT__ 2026-05-29 06:01:36,668 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23935... (Thread: ThreadPoolExecutor-2_1) - __SPLIT__ 2026-05-29 06:01:36,668 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23935... (Thread: ThreadPoolExecutor-2_2) - __SPLIT__ 2026-05-29 06:01:36,668 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23935... (Thread: ThreadPoolExecutor-2_3) - __SPLIT__ 2026-05-29 06:01:36,669 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23935;... (Thread: ThreadPoolExecutor-2_4) - __SPLIT__ 2026-05-29 06:01:36,669 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23935;... (Thread: ThreadPoolExecutor-2_5) - __SPLIT__ 2026-05-29 06:01:36,670 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23935;... (Thread: ThreadPoolExecutor-2_6) - __SPLIT__ 2026-05-29 06:01:36,671 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23935;... (Thread: ThreadPoolExecutor-2_7) - __SPLIT__ 2026-05-29 06:01:36,953 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:36,956 - 12227 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 06:01:36,956 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23935... (Thread: ThreadPoolExecutor-2_0) - __SPLIT__ 2026-05-29 06:01:36,957 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:36,958 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:36,962 - 12227 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 06:01:36,967 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:36,968 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:37,231 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:37,824 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:37,838 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:38,118 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:38,118 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 02:01:38.118' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:38,396 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:38,397 - 12227 - src.utils.log - INFO - - __SPLIT__ 2026-05-29 06:01:38,397 - 12227 - src.utils.log - INFO - Work order generation successful - Time took: 9.62 - __SPLIT__ 2026-05-29 06:01:38,397 - 12227 - src.utils.log - INFO - Work order publish in progress for GenerateWorkOrderHistoryId: 12227 - __SPLIT__ 2026-05-29 06:01:38,397 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress', WoPublishStartDateTime = '2026-05-29 02:01:38.397' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:38,764 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:01:38,766 - 12227 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:39,059 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:39,059 - 12227 - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-29 06:01:39,060 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:39,346 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:39,346 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:39,619 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:39,620 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:39,901 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:39,907 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:40,192 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:40,193 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:40,473 - 12227 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 06:01:40,473 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:40,756 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:40,756 - 12227 - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 10 OUTPUT INSERTED.NextNumber - 10 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:41,038 - 12227 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 06:01:41,041 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:41,332 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:41,332 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:41,620 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:41,626 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:41,912 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:41,913 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '292026' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:42,190 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:42,192 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167442R', '167443R', '167444R', '167445R', '167446R', '167447R', '167448R', '167449R', '167450R', '167451R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:42,486 - 12227 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:01:42,486 - 12227 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 10 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:42,942 - 12227 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 10) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-29 06:01:44,272 - 12227 - src.utils.log - INFO - βœ… All 10 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 06:01:44,413 - 12227 - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 06:01:44,415 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167442R', '167443R', '167444R', '167445R', '167446R', '167447R', '167448R', '167449R', '167450R', '167451R') AND wo.AccountNumber = '292026' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-3_0) - __SPLIT__ 2026-05-29 06:01:44,702 - 12227 - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-29 06:01:44,707 - 12227 - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-29 06:01:44,720 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:45,004 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:45,005 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:45,303 - 12227 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:01:45,308 - 12227 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 06:01:45,308 - 12227 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 10 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:45,622 - 12227 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 10) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-29 06:01:46,971 - 12227 - src.utils.log - INFO - βœ… All 10 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-29 06:01:46,972 - 12227 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23935 AND WorkOrderNo IN (5780877, 5595277, 8167790, 5109068, 7045230, 9443340, 4125614, 3980978, 5353223, 2982358) AND GenerateWorkOrderHistoryId = 12227;... (Thread: ThreadPoolExecutor-4_0) - __SPLIT__ 2026-05-29 06:01:47,275 - 12227 - src.utils.log - INFO - βœ… Fetched 10 rows - __SPLIT__ 2026-05-29 06:01:47,276 - 12227 - src.utils.log - INFO - 🏁 Final merged rows: 10 - __SPLIT__ 2026-05-29 06:01:47,282 - 12227 - src.utils.log - INFO - Error: insert_all_publish_tables_parallel() takes 11 positional arguments but 12 were given - __SPLIT__ 2026-05-29 06:01:47,282 - 12227 - src.utils.log - INFO - Time took to perform operation in publishing 12227: 18.51 - __SPLIT__ 2026-05-29 06:01:47,283 - 12227 - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: 12227 - __SPLIT__ 2026-05-29 06:01:47,283 - 12227 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 02:01:47.283' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12227;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:01:47,557 - 12227 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:04:13,407 - 12228 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12228 - __SPLIT__ 2026-05-29 06:04:13,408 - 12228 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12228 - __SPLIT__ 2026-05-29 06:04:13,409 - 12228 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 06:04:13,409 - 12228 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:04:15,392 - 12228 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:04:15,393 - 12228 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 06:04:15,393 - 12228 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12228;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:04:15,674 - 12228 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:04:15,674 - 12228 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12228), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12228), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12228 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:04:15,992 - 12228 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 06:04:15,993 - 12228 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12228;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:04:16,276 - 12228 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 06:04:16,277 - 12228 - src.utils.log - INFO - No Setup Found Error:No setups found for GenerateWorkOrderHistoryid: 12228 - __SPLIT__ 2026-05-29 06:04:16,277 - 12228 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12228;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:04:16,561 - 12228 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 06:04:16,561 - 12228 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 02:04:16.561' WHERE GenerateWorkOrderHistoryId = 12228;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 06:04:16,843 - 12228 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:18:05,663 - 12229 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12229 - __SPLIT__ 2026-05-29 07:18:05,664 - 12229 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12229 - __SPLIT__ 2026-05-29 07:18:05,665 - 12229 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 07:18:05,665 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:07,678 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:07,679 - 12229 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 07:18:07,679 - 12229 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:07,965 - 12229 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:18:07,965 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12229), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12229), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12229 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:08,288 - 12229 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:08,289 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:08,577 - 12229 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:08,580 - 12229 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-29 07:18:08,581 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13057... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:08,874 - 12229 - src.utils.log - INFO - βœ… Fetched 60 rows - __SPLIT__ 2026-05-29 07:18:08,875 - 12229 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-29 07:18:08,878 - 12229 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-29 07:18:08,879 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:09,165 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:09,166 - 12229 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-31 00:00:00' and ServiceDate <= '2029-12-31 00:00:00' and ServiceSetupId = 23935 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:09,458 - 12229 - src.utils.log - INFO - βœ… Fetched 25 rows - __SPLIT__ 2026-05-29 07:18:10,052 - 12229 - src.utils.log - INFO - Generating work orders for setup: 23935 - __SPLIT__ 2026-05-29 07:18:10,788 - 12229 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-29 07:18:10,798 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:11,085 - 12229 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:11,087 - 12229 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-29 07:18:11,087 - 12229 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-29 07:18:11,087 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:11,377 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:11,377 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:11,669 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:11,669 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:11,967 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:11,967 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:12,264 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:12,264 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:12,561 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:12,561 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:12,848 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:12,849 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:13,131 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:13,131 - 12229 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23935 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:13,428 - 12229 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:18:13,428 - 12229 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:13,429 - 12229 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 62 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:13,746 - 12229 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-29 07:18:16,467 - 12229 - src.utils.log - INFO - βœ… All 62 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-29 07:18:16,468 - 12229 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 62 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-28 21:10:37.875' and ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:16,766 - 12229 - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:16,767 - 12229 - src.utils.log - INFO - Id's of work order inserted to DB: [2730092 2730093 2730094 2730095 2730096 2730097 2730098 2730099 2730100 2730101 2730102 2730103 2730104 2730105 2730106 2730107 2730108 2730109 2730110 2730111 2730112 2730113 2730114 2730115 2730116 2730117 2730118 2730119 2730120 2730121 2730122 2730123 2730124 2730125 2730126 2730127 2730128 2730129 2730130 2730131 2730132 2730133 2730134 2730135 2730136 2730137 2730138 2730139 2730140 2730141 2730142 2730143 2730144 2730145 2730146 2730147 2730148 2730149 2730150 2730151 2730152 2730153] - __SPLIT__ 2026-05-29 07:18:16,767 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:17,048 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:17,048 - 12229 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-29 07:18:17,049 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:17,336 - 12229 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:18:17,336 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:17,638 - 12229 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:17,646 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:17,935 - 12229 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:18:17,937 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:18,227 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:18,228 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:18,520 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:18,520 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:18,806 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:18,807 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:19,094 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:19,095 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:19,402 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:19,402 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:19,694 - 12229 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:19,706 - 12229 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-29 07:18:19,706 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 07:18:19,706 - 12229 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,706 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-29 07:18:19,706 - 12229 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,706 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-29 07:18:19,707 - 12229 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,707 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-29 07:18:19,707 - 12229 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,707 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:19,708 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153, 2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:20,003 - 12229 - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:20,005 - 12229 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 62 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:20,298 - 12229 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-29 07:18:21,361 - 12229 - src.utils.log - INFO - βœ… All 62 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-29 07:18:21,362 - 12229 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-29 07:18:21,362 - 12229 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationServices: - __SPLIT__ 2026-05-29 07:18:21,362 - 12229 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 07:18:21,362 - 12229 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:21,362 - 12229 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153, 2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:21,649 - 12229 - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:21,650 - 12229 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 124 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:21,950 - 12229 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 124) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 07:18:23,528 - 12229 - src.utils.log - INFO - βœ… All 124 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 07:18:23,529 - 12229 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 07:18:23,529 - 12229 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:23,811 - 12229 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:18:23,811 - 12229 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-29 07:18:23,811 - 12229 - src.utils.log - INFO - Time took to perform operation: 18.15 - __SPLIT__ 2026-05-29 07:18:23,811 - 12229 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:24,108 - 12229 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:18:24,108 - 12229 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 03:18:24.108' WHERE GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:24,395 - 12229 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:18:40,210 - [12229] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=122885 company_id=135 project_id=[12229] publish_all=True - __SPLIT__ 2026-05-29 07:18:40,211 - [12229] - src.utils.log - INFO - ParallelProcessing=True temp_wo=[] user_id=122885 company_id=135 project_id=[12229] publish_all=True - __SPLIT__ 2026-05-29 07:18:40,212 - [12229] - src.utils.log - INFO - Parallel Work order publish in progress for GenerateWorkOrderHistoryId: [12229] - __SPLIT__ 2026-05-29 07:18:40,212 - [12229] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 07:18:40,212 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:42,210 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:42,210 - [12229] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 07:18:42,210 - [12229] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:42,497 - [12229] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:18:42,497 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.GenerateWorkOrderHistoryId = 12229... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:42,945 - [12229] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:42,945 - [12229] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-29 07:18:42,945 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:43,233 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:43,233 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:43,515 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:43,516 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23935 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:43,803 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:43,807 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:44,085 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:44,085 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:44,367 - [12229] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:18:44,368 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:44,649 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:44,650 - [12229] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 62 OUTPUT INSERTED.NextNumber - 62 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:44,931 - [12229] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:18:44,935 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:45,219 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:45,219 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:45,502 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:45,528 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:45,808 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:45,809 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '292026' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:46,091 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:46,093 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167453R', '167454R', '167455R', '167456R', '167457R', '167458R', '167459R', '167460R', '167461R', '167462R', '167463R', '167464R', '167465R', '167466R', '167467R', '167468R', '167469R', '167470R', '167471R', '167472R', '167473R', '167474R', '167475R', '167476R', '167477R', '167478R', '167479R', '167480R', '167481R', '167482R', '167483R', '167484R', '167485R', '167486R', '167487R', '167488R', '167489R', '167490R', '167491R', '167492R', '167493R', '167494R', '167495R', '167496R', '167497R', '167498R', '167499R', '167500R', '167501R', '167502R', '167503R', '167504R', '167505R', '167506R', '167507R', '167508R', '167509R', '167510R', '167511R', '167512R', '167513R', '167514R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:46,378 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:46,378 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 62 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:46,842 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-29 07:18:49,356 - [12229] - src.utils.log - INFO - βœ… All 62 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 07:18:49,497 - [12229] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 07:18:49,500 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167453R', '167454R', '167455R', '167456R', '167457R', '167458R', '167459R', '167460R', '167461R', '167462R', '167463R', '167464R', '167465R', '167466R', '167467R', '167468R', '167469R', '167470R', '167471R', '167472R', '167473R', '167474R', '167475R', '167476R', '167477R', '167478R', '167479R', '167480R', '167481R', '167482R', '167483R', '167484R', '167485R', '167486R', '167487R', '167488R', '167489R', '167490R', '167491R', '167492R', '167493R', '167494R', '167495R', '167496R', '167497R', '167498R', '167499R', '167500R', '167501R', '167502R', '167503R', '167504R', '167505R', '167506R', '167507R', '167508R', '167509R', '167510R', '167511R', '167512R', '167513R', '167514R') AND wo.AccountNumber = '292026' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-8_0) - __SPLIT__ 2026-05-29 07:18:49,795 - [12229] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:49,796 - [12229] - src.utils.log - INFO - Parallel fetching temp table records - __SPLIT__ 2026-05-29 07:18:49,796 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153)... (Thread: ThreadPoolExecutor-9_0) - __SPLIT__ 2026-05-29 07:18:49,797 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153)... (Thread: ThreadPoolExecutor-9_1) - __SPLIT__ 2026-05-29 07:18:49,797 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153)... (Thread: ThreadPoolExecutor-9_2) - __SPLIT__ 2026-05-29 07:18:49,798 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153)... (Thread: ThreadPoolExecutor-9_3) - __SPLIT__ 2026-05-29 07:18:49,799 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153)... (Thread: ThreadPoolExecutor-9_4) - __SPLIT__ 2026-05-29 07:18:49,800 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153)... (Thread: ThreadPoolExecutor-9_5) - __SPLIT__ 2026-05-29 07:18:49,801 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) and woag.RefType = 'TempWorkorder';... (Thread: ThreadPoolExecutor-9_6) - __SPLIT__ 2026-05-29 07:18:49,801 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153);... (Thread: ThreadPoolExecutor-9_7) - __SPLIT__ 2026-05-29 07:18:50,140 - [12229] - src.utils.log - INFO - βœ… Fetched 124 rows - __SPLIT__ 2026-05-29 07:18:50,948 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:50,951 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:50,952 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:50,960 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:50,976 - [12229] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:50,980 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:51,007 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:18:51,011 - [12229] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-29 07:18:51,024 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:51,307 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:51,308 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:51,588 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:51,592 - [12229] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:51,592 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 62 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:51,908 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-29 07:18:54,291 - [12229] - src.utils.log - INFO - βœ… All 62 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-29 07:18:54,293 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23935 AND WorkOrderNo IN ('4250840', '9348498', '1597055', '8344279', '6053637', '4308415', '7681182', '2339566', '8247618', '2734644', '6424270', '5512384', '4473358', '1921759', '8074454', '4325107', '5084179', '9884909', '5624813', '7681241', '7376402', '4785337', '2525783', '6560699', '3157761', '5939984', '7429514', '9267226', '4669483', '4933512', '5728643', '5835388', '1432876', '8851464', '6709214', '5746696', '4115887', '5562766', '8193437', '3124524', '6833242', '5123264', '6372828', '5769638', '3723200', '5477739', '9711292', '5372915', '3112857', '1790080', '5275734', '9000232', '8610455', '9930386', '5349898', '3878340', '1312927', '7997486', '7028757', '8692928', '2317041', '5495972') AND GenerateWorkOrderHistoryId = 12229;... (Thread: ThreadPoolExecutor-10_0) - __SPLIT__ 2026-05-29 07:18:54,615 - [12229] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:18:54,616 - [12229] - src.utils.log - INFO - 🏁 Final merged rows: 62 - __SPLIT__ 2026-05-29 07:18:54,622 - [12229] - src.utils.log - INFO - Parallel Insertion in work order tables begin - __SPLIT__ 2026-05-29 07:18:54,622 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 07:18:54,623 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-05-29 07:18:54,623 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-29 07:18:54,623 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-29 07:18:54,624 - [12229] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:54,624 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 124 rows in batches of 25000 (Thread: ThreadPoolExecutor-11_0) - __SPLIT__ 2026-05-29 07:18:54,624 - [12229] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:54,624 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 62 rows in batches of 25000 (Thread: ThreadPoolExecutor-11_1) - __SPLIT__ 2026-05-29 07:18:54,624 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-29 07:18:54,625 - [12229] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:18:54,625 - [12229] - src.utils.log - INFO - [OK] Lead Notes completed. - __SPLIT__ 2026-05-29 07:18:54,625 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 124 rows in batches of 25000 (Thread: ThreadPoolExecutor-11_3) - __SPLIT__ 2026-05-29 07:18:54,625 - [12229] - src.utils.log - INFO - [OK] Sales Person Commission completed. - __SPLIT__ 2026-05-29 07:18:54,625 - [12229] - src.utils.log - INFO - [OK] Adjustment completed. - __SPLIT__ 2026-05-29 07:18:54,626 - [12229] - src.utils.log - INFO - [OK] Discount Applied completed. - __SPLIT__ 2026-05-29 07:18:54,626 - [12229] - src.utils.log - INFO - [OK] Source Mapping completed. - __SPLIT__ 2026-05-29 07:18:54,917 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-29 07:18:54,927 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 124) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-29 07:18:54,938 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 124) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-29 07:18:56,257 - [12229] - src.utils.log - INFO - βœ… All 62 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-29 07:18:56,257 - [12229] - src.utils.log - INFO - [OK] Crew completed. - __SPLIT__ 2026-05-29 07:18:57,008 - [12229] - src.utils.log - INFO - βœ… All 124 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-29 07:18:57,008 - [12229] - src.utils.log - INFO - [OK] Services completed. - __SPLIT__ 2026-05-29 07:18:57,391 - [12229] - src.utils.log - INFO - βœ… All 124 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-29 07:18:57,391 - [12229] - src.utils.log - INFO - [OK] Publish Services completed. - __SPLIT__ 2026-05-29 07:18:57,392 - [12229] - src.utils.log - INFO - All publish tasks completed successfully. - __SPLIT__ 2026-05-29 07:18:57,392 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:57,680 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:57,680 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23935... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:57,971 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:18:57,978 - [12229] - src.utils.log - INFO - Size of Transaction: 62 - __SPLIT__ 2026-05-29 07:18:57,979 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 62 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:18:58,398 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-29 07:18:59,717 - [12229] - src.utils.log - INFO - βœ… All 62 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 07:18:59,853 - [12229] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 07:18:59,853 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914, 12345678915, 12345678916, 12345678917, 12345678918, 12345678919, 12345678920, 12345678921, 12345678922, 12345678923, 12345678924, 12345678925, 12345678926, 12345678927, 12345678928, 12345678929, 12345678930, 12345678931, 12345678932, 12345678933, 12345678934, 12345678935, 12345678936, 12345678937, 12345678938, 12345678939, 12345678940, 12345678941, 12345678942, 12345678943, 12345678944, 12345678945, 12345678946, 12345678947, 12345678948, 12345678949, 12345678950, 12345678951, 12345678952, 12345678953, 12345678954, 12345678955, 12345678956, 12345678957, 12345678958, 12345678959, 12345678960, 12345678961, 12345678962, 12345678963, 12345678964, 12345678965, 12345678966, 12345678967, 12345678968, 12345678969, 12345678970, 12345678971) and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-29 03:18:57.973';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:00,179 - [12229] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:19:00,181 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:00,466 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:00,476 - [12229] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914,12345678915,12345678916,12345678917,12345678918,12345678919,12345678920,12345678921,12345678922,12345678923,12345678924,12345678925,12345678926,12345678927,12345678928,12345678929,12345678930,12345678931,12345678932,12345678933,12345678934,12345678935,12345678936,12345678937,12345678938,12345678939,12345678940,12345678941,12345678942,12345678943,12345678944,12345678945,12345678946,12345678947,12345678948,12345678949,12345678950,12345678951,12345678952,12345678953,12345678954,12345678955,12345678956,12345678957,12345678958,12345678959,12345678960,12345678961,12345678962,12345678963,12345678964,12345678965,12345678966,12345678967,12345678968,12345678969,12345678970,12345678971) AND CreatedDate = '2026-05-29 03:18:57.973'; ... (Thread: ThreadPoolExecutor-12_0) - __SPLIT__ 2026-05-29 07:19:00,863 - [12229] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:19:00,869 - [12229] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:19:00,869 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 62 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:01,171 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 62) into Billing.Invoice - __SPLIT__ 2026-05-29 07:19:02,602 - [12229] - src.utils.log - INFO - βœ… All 62 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-29 07:19:02,603 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('167514R', '167513R', '167512R', '167511R', '167510R', '167509R', '167508R', '167507R', '167506R', '167505R', '167504R', '167503R', '167502R', '167501R', '167500R', '167499R', '167498R', '167497R', '167496R', '167495R', '167494R', '167493R', '167492R', '167491R', '167490R', '167489R', '167488R', '167487R', '167486R', '167485R', '167484R', '167483R', '167482R', '167481R', '167480R', '167479R', '167478R', '167477R', '167476R', '167475R', '167474R', '167473R', '167472R', '167471R', '167470R', '167469R', '167468R', '167467R', '167466R', '167465R', '167464R', '167463R', '167462R', '167461R', '167460R', '167459R', '167458R', '167457R', '167456R', '167455R', '167454R', '167453R')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:03,071 - [12229] - src.utils.log - INFO - βœ… Fetched 62 rows - __SPLIT__ 2026-05-29 07:19:03,081 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:03,381 - [12229] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:19:03,381 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:03,665 - [12229] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:19:03,666 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:03,946 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:03,946 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23935 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:04,231 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:04,244 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:04,533 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:04,539 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:04,825 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:04,829 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23935;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:05,113 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:05,113 - [12229] - src.utils.log - INFO - Parallel Insertion in invoice tables begin - __SPLIT__ 2026-05-29 07:19:05,114 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-05-29 07:19:05,114 - [12229] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:19:05,114 - [12229] - src.utils.log - INFO - Insert success for table: Billing.AccountDiscountSetup - __SPLIT__ 2026-05-29 07:19:05,114 - [12229] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-05-29 07:19:05,114 - [12229] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 124 rows in batches of 25000 (Thread: ThreadPoolExecutor-13_1) - __SPLIT__ 2026-05-29 07:19:05,115 - [12229] - src.utils.log - INFO - Insert success for table: Billing.DiscountApplied - __SPLIT__ 2026-05-29 07:19:05,403 - [12229] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 124) into Billing.InvoiceCharges - __SPLIT__ 2026-05-29 07:19:07,678 - [12229] - src.utils.log - INFO - βœ… All 124 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-05-29 07:19:07,678 - [12229] - src.utils.log - INFO - Insert success for table: Billing.InvoiceCharges - __SPLIT__ 2026-05-29 07:19:07,679 - [12229] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-05-29 07:19:07,679 - [12229] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-29 07:19:07,679 - [12229] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12229 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:07,967 - [12229] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:19:07,973 - [12229] - src.utils.log - INFO - πŸ”„ Updating next gen date parallely: inside update_next_workorder_generation - __SPLIT__ 2026-05-29 07:19:08,115 - [12229] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_78d1e9fe69 - __SPLIT__ 2026-05-29 07:19:08,256 - [12229] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_78d1e9fe69 - __SPLIT__ 2026-05-29 07:19:08,815 - [12229] - src.utils.log - INFO - πŸ” Running UPDATE to apply changes - __SPLIT__ 2026-05-29 07:19:09,108 - [12229] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-29 07:19:09,108 - [12229] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_78d1e9fe69 - __SPLIT__ 2026-05-29 07:19:09,108 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12229 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:09,388 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,389 - [12229] - src.utils.log - INFO - Parallel deletion from temp tables begin - __SPLIT__ 2026-05-29 07:19:09,389 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_0) - __SPLIT__ 2026-05-29 07:19:09,390 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_1) - __SPLIT__ 2026-05-29 07:19:09,390 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_2) - __SPLIT__ 2026-05-29 07:19:09,390 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_3) - __SPLIT__ 2026-05-29 07:19:09,391 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_4) - __SPLIT__ 2026-05-29 07:19:09,391 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_5) - __SPLIT__ 2026-05-29 07:19:09,392 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-15_6) - __SPLIT__ 2026-05-29 07:19:09,678 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,679 - [12229] - src.utils.log - INFO - [OK] Deleted from SalesPersonCommission - __SPLIT__ 2026-05-29 07:19:09,682 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,683 - [12229] - src.utils.log - INFO - [OK] Deleted from Adjustment - __SPLIT__ 2026-05-29 07:19:09,684 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,685 - [12229] - src.utils.log - INFO - [OK] Deleted from SubWorkOrder - __SPLIT__ 2026-05-29 07:19:09,703 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,704 - [12229] - src.utils.log - INFO - [OK] Deleted from Crews - __SPLIT__ 2026-05-29 07:19:09,723 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,724 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,724 - [12229] - src.utils.log - INFO - [OK] Deleted from Services - __SPLIT__ 2026-05-29 07:19:09,724 - [12229] - src.utils.log - INFO - [OK] Deleted from SourceMapping - __SPLIT__ 2026-05-29 07:19:09,754 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:09,754 - [12229] - src.utils.log - INFO - [OK] Deleted from AppliedDiscount - __SPLIT__ 2026-05-29 07:19:09,755 - [12229] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) (Thread: ThreadPoolExecutor-14_0) - __SPLIT__ 2026-05-29 07:19:10,149 - [12229] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:19:10,150 - [12229] - src.utils.log - INFO - βœ” Completed batch of 62 records - __SPLIT__ 2026-05-29 07:19:10,150 - [12229] - src.utils.log - INFO - πŸŽ‰ All batches processed. - __SPLIT__ 2026-05-29 07:19:10,150 - [12229] - src.utils.log - INFO - Work order published ids: (2730092, 2730093, 2730094, 2730095, 2730096, 2730097, 2730098, 2730099, 2730100, 2730101, 2730102, 2730103, 2730104, 2730105, 2730106, 2730107, 2730108, 2730109, 2730110, 2730111, 2730112, 2730113, 2730114, 2730115, 2730116, 2730117, 2730118, 2730119, 2730120, 2730121, 2730122, 2730123, 2730124, 2730125, 2730126, 2730127, 2730128, 2730129, 2730130, 2730131, 2730132, 2730133, 2730134, 2730135, 2730136, 2730137, 2730138, 2730139, 2730140, 2730141, 2730142, 2730143, 2730144, 2730145, 2730146, 2730147, 2730148, 2730149, 2730150, 2730151, 2730152, 2730153) - __SPLIT__ 2026-05-29 07:19:10,150 - [12229] - src.utils.log - INFO - Time took to perform operation in publishing [12229]: 29.94 - __SPLIT__ 2026-05-29 07:19:10,150 - [12229] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12229] - __SPLIT__ 2026-05-29 07:19:10,151 - [12229] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 03:19:10.150' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12229;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:19:10,439 - [12229] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:01,657 - 12230 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12230 - __SPLIT__ 2026-05-29 07:20:01,658 - 12230 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12230 - __SPLIT__ 2026-05-29 07:20:01,676 - 12230 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 07:20:01,676 - 12230 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:04,313 - 12230 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:20:04,314 - 12230 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 07:20:04,314 - 12230 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12230;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:04,594 - 12230 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:04,594 - 12230 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12230), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12230), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12230 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:04,908 - 12230 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:20:04,908 - 12230 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12230;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:05,192 - 12230 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:20:05,193 - 12230 - src.utils.log - INFO - No Setup Found Error:No setups found for GenerateWorkOrderHistoryid: 12230 - __SPLIT__ 2026-05-29 07:20:05,193 - 12230 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12230;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:05,481 - 12230 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:05,481 - 12230 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 03:20:05.481' WHERE GenerateWorkOrderHistoryId = 12230;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:05,768 - 12230 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:12,235 - 12231 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12231 - __SPLIT__ 2026-05-29 07:20:12,236 - 12231 - src.utils.log - INFO - Work order Generation/Publish algo started for GenerateWorkOrderHistoryId: 12231 - __SPLIT__ 2026-05-29 07:20:12,237 - 12231 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 07:20:12,237 - 12231 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:14,231 - 12231 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:20:14,231 - 12231 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 07:20:14,232 - 12231 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:14,518 - 12231 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:14,518 - 12231 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WoGenStartDateTime = '2026-05-29 03:20:14.518' WHERE GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:14,805 - 12231 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:14,805 - 12231 - src.utils.log - INFO - πŸ” Fetching data: Select CreatedBy, CompanyId from ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:15,093 - 12231 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:20:15,093 - 12231 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'New', WoPublishStartDateTime = '2026-05-29 03:20:15.093' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:15,375 - 12231 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:15,375 - 12231 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12231), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12231), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12231 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:15,688 - 12231 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:20:15,688 - 12231 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:15,977 - 12231 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:20:15,978 - 12231 - src.utils.log - INFO - No Setup Found Error:No setups found for GenerateWorkOrderHistoryid: 12231 - __SPLIT__ 2026-05-29 07:20:15,978 - 12231 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:16,262 - 12231 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:20:16,262 - 12231 - src.utils.log - INFO - Work order generation failed - Time took: 4.03 - __SPLIT__ 2026-05-29 07:20:16,262 - 12231 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 03:20:16.262' , WorkOrderStatusDateTime = '2026-05-29 03:20:16.262' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12231;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:20:16,544 - 12231 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:42:50,768 - 124493 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=124493 - __SPLIT__ 2026-05-29 07:42:50,769 - 124493 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 124493 - __SPLIT__ 2026-05-29 07:42:50,769 - 124493 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 07:42:50,770 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:52,778 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:52,778 - 124493 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-29 07:42:52,779 - 124493 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-29 07:42:52,779 - 124493 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-29 07:42:52,779 - 124493 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:55,779 - 124493 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:42:55,780 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124493), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124493), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124493 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:57,156 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:57,157 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:57,422 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:57,426 - 124493 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-29 07:42:57,427 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 14657... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:57,745 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:57,745 - 124493 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-29 07:42:57,748 - 124493 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-29 07:42:57,749 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:58,035 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:42:58,035 - 124493 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-29 00:00:00' and ServiceDate <= '2026-12-31 00:00:00' and ServiceSetupId = 150365 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:58,320 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:42:58,874 - 124493 - src.utils.log - INFO - Generating work orders for setup: 150365 - __SPLIT__ 2026-05-29 07:42:58,927 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11428;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:59,214 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:59,223 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 11436;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:59,492 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:59,530 - 124493 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-29 07:42:59,535 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=133 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:42:59,799 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:42:59,801 - 124493 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-29 07:42:59,802 - 124493 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-29 07:42:59,802 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:06,005 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:06,005 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:06,479 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:06,479 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:06,811 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:06,811 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:07,185 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:07,185 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:07,503 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:07,504 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:07,871 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:07,871 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:08,167 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:08,168 - 124493 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 150365 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:08,462 - 124493 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:43:08,462 - 124493 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:43:08,462 - 124493 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 8 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:08,799 - 124493 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 8) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-29 07:43:10,055 - 124493 - src.utils.log - INFO - βœ… All 8 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-29 07:43:10,056 - 124493 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 8 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-28 21:10:37.941' and ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:10,340 - 124493 - src.utils.log - INFO - βœ… Fetched 8 rows - __SPLIT__ 2026-05-29 07:43:10,341 - 124493 - src.utils.log - INFO - Id's of work order inserted to DB: [3679452 3679453 3679454 3679455 3679456 3679457 3679458 3679459] - __SPLIT__ 2026-05-29 07:43:10,341 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:10,606 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:10,606 - 124493 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-29 07:43:10,606 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:10,873 - 124493 - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-29 07:43:10,873 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:11,139 - 124493 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:43:11,146 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:11,418 - 124493 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:43:11,420 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:11,701 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:11,702 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:11,980 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:11,980 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:12,256 - 124493 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-29 07:43:12,257 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:12,537 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:12,538 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:13,851 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:13,851 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:14,142 - 124493 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:14,159 - 124493 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:43:14,160 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679456, 3679457, 3679458, 3679459, 3679452, 3679453, 3679454, 3679455) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:14,424 - 124493 - src.utils.log - INFO - βœ… Fetched 8 rows - __SPLIT__ 2026-05-29 07:43:14,425 - 124493 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationAppliedDiscount: 22 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:14,730 - 124493 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 22) into ServiceCore.WorkOrderAutoGenerationAppliedDiscount - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - βœ… All 22 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationAppliedDiscount in 1 batches - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 07:43:16,018 - 124493 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-29 07:43:16,019 - 124493 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-29 07:43:16,019 - 124493 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:43:16,019 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679456, 3679457, 3679458, 3679459, 3679452, 3679453, 3679454, 3679455) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:16,281 - 124493 - src.utils.log - INFO - βœ… Fetched 8 rows - __SPLIT__ 2026-05-29 07:43:16,282 - 124493 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 8 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:16,577 - 124493 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 8) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-29 07:43:17,528 - 124493 - src.utils.log - INFO - βœ… All 8 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-29 07:43:17,529 - 124493 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-29 07:43:17,529 - 124493 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:43:17,529 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 3679452 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:17,793 - 124493 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:17,794 - 124493 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:18,095 - 124493 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 07:43:19,047 - 124493 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 07:43:19,047 - 124493 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 07:43:19,048 - 124493 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:43:19,048 - 124493 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (3679456, 3679457, 3679458, 3679459, 3679453, 3679454, 3679455) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:19,313 - 124493 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 07:43:19,314 - 124493 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 21 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:19,586 - 124493 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 21) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 07:43:20,684 - 124493 - src.utils.log - INFO - βœ… All 21 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 07:43:20,684 - 124493 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 07:43:20,684 - 124493 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:20,950 - 124493 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:43:20,950 - 124493 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-29 07:43:20,950 - 124493 - src.utils.log - INFO - Time took to perform operation: 30.18 - __SPLIT__ 2026-05-29 07:43:20,951 - 124493 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:21,214 - 124493 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:43:21,214 - 124493 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 03:43:21.214' WHERE GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:21,483 - 124493 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:43:44,086 - [124493] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679452, 3679459] user_id=43135 company_id=133 project_id=[124493] publish_all=False - __SPLIT__ 2026-05-29 07:43:44,087 - [124493] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679452, 3679459] user_id=43135 company_id=133 project_id=[124493] publish_all=False - __SPLIT__ 2026-05-29 07:43:44,087 - [124493] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124493] - __SPLIT__ 2026-05-29 07:43:44,088 - [124493] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 07:43:44,088 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:46,084 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:46,085 - [124493] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-05-29 07:43:46,085 - [124493] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-05-29 07:43:46,086 - [124493] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-05-29 07:43:46,086 - [124493] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:48,534 - [124493] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:43:48,534 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:48,809 - [124493] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:43:48,810 - [124493] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-29 07:43:48,810 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150365 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:49,108 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:49,108 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150365 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:49,387 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:49,387 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150365 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:49,670 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:49,674 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:49,951 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:49,951 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:50,241 - [124493] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:43:50,241 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:50,511 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:50,512 - [124493] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:50,785 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:50,786 - [124493] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:51,060 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:51,064 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:51,336 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:51,337 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:51,671 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:51,674 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:51,944 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:51,945 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14880' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:52,217 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:52,219 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1426560', '1426561') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:52,497 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:52,498 - [124493] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:52,981 - [124493] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-29 07:43:55,185 - [124493] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 07:43:55,320 - [124493] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 07:43:55,321 - [124493] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 133 AND ServiceSetupId = 150365;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:55,648 - [124493] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 07:43:55,649 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1426560', '1426561') AND wo.AccountNumber = '14880' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-16_0) - __SPLIT__ 2026-05-29 07:43:55,929 - [124493] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:43:55,930 - [124493] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-29 07:43:55,930 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:57,015 - [124493] - src.utils.log - INFO - βœ… Fetched 5 rows - __SPLIT__ 2026-05-29 07:43:57,016 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:57,290 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:57,290 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:57,750 - [124493] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:43:57,750 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:58,022 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:58,022 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:58,296 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:58,296 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3679452, 3679459)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:58,909 - [124493] - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-29 07:43:58,909 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3679452, 3679459) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:59,186 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:59,186 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3679452, 3679459);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:59,457 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:43:59,460 - [124493] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-29 07:43:59,472 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:43:59,742 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:43:59,746 - [124493] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId IN (1159, 1160, 894) AND CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:00,025 - [124493] - src.utils.log - INFO - βœ… Fetched 3 rows - __SPLIT__ 2026-05-29 07:44:00,031 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:00,302 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:44:00,307 - [124493] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:44:00,307 - [124493] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:00,627 - [124493] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-29 07:44:01,682 - [124493] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-29 07:44:01,684 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150365 AND WorkOrderNo IN ('946148', '7083580') AND GenerateWorkOrderHistoryId = 124493;... (Thread: ThreadPoolExecutor-17_0) - __SPLIT__ 2026-05-29 07:44:04,153 - [124493] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 07:44:04,154 - [124493] - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-05-29 07:44:04,160 - [124493] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-29 07:44:04,160 - [124493] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:44:04,160 - [124493] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:04,463 - [124493] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-29 07:44:05,433 - [124493] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-29 07:44:05,433 - [124493] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:44:05,433 - [124493] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:05,733 - [124493] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-05-29 07:44:06,732 - [124493] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-05-29 07:44:06,733 - [124493] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-29 07:44:06,733 - [124493] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-29 07:44:06,733 - [124493] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:44:06,733 - [124493] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:07,031 - [124493] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-29 07:44:08,229 - [124493] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-29 07:44:08,229 - [124493] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-29 07:44:08,229 - [124493] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 07:44:08,229 - [124493] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 07:44:08,229 - [124493] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 5 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:08,531 - [124493] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 5) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-29 07:44:09,541 - [124493] - src.utils.log - INFO - βœ… All 5 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-29 07:44:09,541 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:09,811 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:44:09,811 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150365... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:10,082 - [124493] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 07:44:10,088 - [124493] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-29 07:44:10,089 - [124493] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124493 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:10,397 - [124493] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 07:44:10,403 - [124493] - src.utils.log - INFO - πŸ”„ Updating next gen date sequentially: inside update_next_workorder_generation - __SPLIT__ 2026-05-29 07:44:10,538 - [124493] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_dc247e06d3 - __SPLIT__ 2026-05-29 07:44:10,816 - [124493] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_dc247e06d3 - __SPLIT__ 2026-05-29 07:44:11,086 - [124493] - src.utils.log - INFO - πŸ” Running MERGE update to apply changes - __SPLIT__ 2026-05-29 07:44:11,238 - [124493] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-29 07:44:11,392 - [124493] - src.utils.log - INFO - πŸ” Verified successfully updated 1 rows via #tbl_dc247e06d3 - __SPLIT__ 2026-05-29 07:44:11,392 - [124493] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_dc247e06d3 - __SPLIT__ 2026-05-29 07:44:11,393 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124493 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:11,664 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:11,664 - [124493] - src.utils.log - INFO - Sequential deletion from temp tables begin - __SPLIT__ 2026-05-29 07:44:11,664 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:12,102 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:12,102 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:12,484 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:12,484 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:12,756 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:12,756 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:13,132 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:13,132 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:13,411 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:13,411 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:13,687 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:13,687 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:13,959 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:13,959 - [124493] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679452, 3679459) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:14,354 - [124493] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 07:44:14,354 - [124493] - src.utils.log - INFO - Work order published ids: (3679452, 3679459) - __SPLIT__ 2026-05-29 07:44:14,354 - [124493] - src.utils.log - INFO - Time took to perform operation in publishing [124493]: 30.27 - __SPLIT__ 2026-05-29 07:44:14,355 - [124493] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124493] - __SPLIT__ 2026-05-29 07:44:14,355 - [124493] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 03:44:14.354' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124493;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 07:44:14,647 - [124493] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:07:00,047 - 12233 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12233 - __SPLIT__ 2026-05-29 08:07:00,049 - 12233 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12233 - __SPLIT__ 2026-05-29 08:07:00,050 - 12233 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 08:07:00,051 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:02,041 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:02,042 - 12233 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 08:07:02,042 - 12233 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:02,323 - 12233 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:07:02,323 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12233), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12233), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12233 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:02,642 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:02,642 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:02,925 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:02,928 - 12233 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-05-29 08:07:02,929 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 13014... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:03,242 - 12233 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-29 08:07:03,242 - 12233 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-05-29 08:07:03,245 - 12233 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-05-29 08:07:03,246 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:03,529 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:03,529 - 12233 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-05-29 00:00:00' and ServiceDate <= '2027-12-31 00:00:00' and ServiceSetupId = 23937 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:03,826 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:04,436 - 12233 - src.utils.log - INFO - Generating work orders for setup: 23937 - __SPLIT__ 2026-05-29 08:07:04,477 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1425;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:04,769 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:04,809 - 12233 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-05-29 08:07:04,815 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:05,096 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:05,098 - 12233 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-05-29 08:07:05,098 - 12233 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-05-29 08:07:05,098 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:05,392 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:05,393 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:05,690 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:05,690 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:05,987 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:05,987 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:06,295 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:06,295 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:06,612 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:06,612 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:06,910 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:06,910 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:07,197 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:07,197 - 12233 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23937 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:07,524 - 12233 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:07:07,525 - 12233 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:07:07,525 - 12233 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:07,848 - 12233 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-05-29 08:07:09,077 - 12233 - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-05-29 08:07:09,077 - 12233 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 7 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-28 21:10:37.875' and ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:09,370 - 12233 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:07:09,371 - 12233 - src.utils.log - INFO - Id's of work order inserted to DB: [2730157 2730158 2730159 2730160 2730161 2730162 2730163] - __SPLIT__ 2026-05-29 08:07:09,371 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:09,652 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:09,652 - 12233 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-05-29 08:07:09,653 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:09,935 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:09,935 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:10,227 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:10,235 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:10,520 - 12233 - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-05-29 08:07:10,521 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:10,801 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:10,802 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:11,089 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:11,089 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:11,371 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:11,372 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:11,658 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:11,658 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:11,960 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:11,961 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:12,248 - 12233 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:07:12,260 - 12233 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-05-29 08:07:12,260 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-05-29 08:07:12,261 - 12233 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:07:12,262 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:12,545 - 12233 - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:07:12,546 - 12233 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 14 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:12,842 - 12233 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 14) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-05-29 08:07:13,855 - 12233 - src.utils.log - INFO - βœ… All 14 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-05-29 08:07:13,855 - 12233 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-05-29 08:07:13,855 - 12233 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:07:13,856 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730157 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:14,137 - 12233 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:07:14,138 - 12233 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 1 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:14,433 - 12233 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 1) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 08:07:15,427 - 12233 - src.utils.log - INFO - βœ… All 1 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 08:07:15,428 - 12233 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 08:07:15,428 - 12233 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:07:15,428 - 12233 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730158, 2730159, 2730160, 2730161, 2730162, 2730163) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:15,715 - 12233 - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-05-29 08:07:15,716 - 12233 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 6 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:16,010 - 12233 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 6) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-05-29 08:07:17,080 - 12233 - src.utils.log - INFO - βœ… All 6 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-05-29 08:07:17,081 - 12233 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-05-29 08:07:17,081 - 12233 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:17,367 - 12233 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:07:17,368 - 12233 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-05-29 08:07:17,368 - 12233 - src.utils.log - INFO - Time took to perform operation: 17.32 - __SPLIT__ 2026-05-29 08:07:17,368 - 12233 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:17,650 - 12233 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:07:17,650 - 12233 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-05-29 04:07:17.650' WHERE GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:07:17,932 - 12233 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:08:09,787 - [12233] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163] user_id=122885 company_id=135 project_id=[12233] publish_all=False - __SPLIT__ 2026-05-29 08:08:09,788 - [12233] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163] user_id=122885 company_id=135 project_id=[12233] publish_all=False - __SPLIT__ 2026-05-29 08:08:09,788 - [12233] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12233] - __SPLIT__ 2026-05-29 08:08:09,789 - [12233] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-05-29 08:08:09,789 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:11,739 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:11,739 - [12233] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-05-29 08:08:11,739 - [12233] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:12,019 - [12233] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:08:12,019 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:12,305 - [12233] - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:08:12,306 - [12233] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-05-29 08:08:12,306 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23937 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:12,594 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:12,594 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23937 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:12,881 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:12,882 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23937 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:13,168 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:13,172 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:13,445 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:13,446 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:13,728 - [12233] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 08:08:13,728 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:14,010 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:14,011 - [12233] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 7 OUTPUT INSERTED.NextNumber - 7 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:14,297 - [12233] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-05-29 08:08:14,301 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:14,579 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:14,580 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:14,873 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:14,878 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:15,159 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:15,160 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '8417' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:15,441 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:15,444 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167516R', '167517R', '167518R', '167519R', '167520R', '167521R', '167522R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:15,724 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:15,724 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:16,183 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-05-29 08:08:17,366 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 08:08:17,502 - [12233] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 08:08:17,504 - [12233] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 135 AND ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:17,789 - [12233] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:08:17,791 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167516R', '167517R', '167518R', '167519R', '167520R', '167521R', '167522R') AND wo.AccountNumber = '8417' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-18_0) - __SPLIT__ 2026-05-29 08:08:18,077 - [12233] - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:08:18,078 - [12233] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-05-29 08:08:18,078 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:18,365 - [12233] - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:08:18,366 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:18,647 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:18,647 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:18,935 - [12233] - src.utils.log - INFO - βœ… Fetched 14 rows - __SPLIT__ 2026-05-29 08:08:18,935 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:19,216 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:19,217 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:19,514 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:19,514 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:19,821 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:19,822 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:20,109 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:20,109 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:20,391 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:20,393 - [12233] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-05-29 08:08:20,407 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:20,683 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:20,684 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:20,965 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:20,970 - [12233] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:08:20,970 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:21,278 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-05-29 08:08:22,310 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-05-29 08:08:22,312 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23937 AND WorkOrderNo IN ('469172', '4634736', '8785601', '9196619', '9630010', '9795875', '2752222') AND GenerateWorkOrderHistoryId = 12233;... (Thread: ThreadPoolExecutor-19_0) - __SPLIT__ 2026-05-29 08:08:22,613 - [12233] - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:08:22,614 - [12233] - src.utils.log - INFO - 🏁 Final merged rows: 7 - __SPLIT__ 2026-05-29 08:08:22,620 - [12233] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-05-29 08:08:22,621 - [12233] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:08:22,621 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:22,913 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-05-29 08:08:23,918 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-05-29 08:08:23,918 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-05-29 08:08:23,919 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-05-29 08:08:23,919 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-05-29 08:08:23,919 - [12233] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:08:23,919 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 14 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:24,206 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 14) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-05-29 08:08:25,223 - [12233] - src.utils.log - INFO - βœ… All 14 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-05-29 08:08:25,224 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-05-29 08:08:25,224 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-05-29 08:08:25,224 - [12233] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:08:25,224 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:25,514 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-05-29 08:08:26,524 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-05-29 08:08:26,524 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:26,811 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:26,812 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23937... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:27,100 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:27,106 - [12233] - src.utils.log - INFO - Size of Transaction: 7 - __SPLIT__ 2026-05-29 08:08:27,107 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:27,543 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-05-29 08:08:28,545 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-05-29 08:08:28,686 - [12233] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-05-29 08:08:28,687 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911, 12345678912, 12345678913, 12345678914, 12345678915, 12345678916) and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-05-29 04:08:27.102';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:29,024 - [12233] - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:08:29,027 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:29,322 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:29,330 - [12233] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911,12345678912,12345678913,12345678914,12345678915,12345678916) AND CreatedDate = '2026-05-29 04:08:27.102'; ... (Thread: ThreadPoolExecutor-20_0) - __SPLIT__ 2026-05-29 08:08:29,714 - [12233] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-05-29 08:08:29,720 - [12233] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:08:29,720 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:30,016 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into Billing.Invoice - __SPLIT__ 2026-05-29 08:08:31,030 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-05-29 08:08:31,031 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('167516R', '167522R', '167521R', '167520R', '167519R', '167517R', '167518R')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:31,353 - [12233] - src.utils.log - INFO - βœ… Fetched 7 rows - __SPLIT__ 2026-05-29 08:08:31,362 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23937 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:31,645 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:31,646 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23937 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:31,928 - [12233] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-05-29 08:08:31,928 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23937 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:32,209 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:32,210 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23937 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:32,492 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:32,505 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:32,820 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:32,825 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:33,107 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:33,110 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23937;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:33,389 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:33,389 - [12233] - src.utils.log - INFO - Sequential Insertion in invoice tables begin - __SPLIT__ 2026-05-29 08:08:33,390 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-05-29 08:08:33,390 - [12233] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-05-29 08:08:33,390 - [12233] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 7 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:33,684 - [12233] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 7) into Billing.InvoiceCharges - __SPLIT__ 2026-05-29 08:08:34,683 - [12233] - src.utils.log - INFO - βœ… All 7 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-05-29 08:08:34,684 - [12233] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-05-29 08:08:34,684 - [12233] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-05-29 08:08:34,684 - [12233] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-05-29 08:08:34,685 - [12233] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12233 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:34,971 - [12233] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-05-29 08:08:34,977 - [12233] - src.utils.log - INFO - πŸ”„ Updating next gen date sequentially: inside update_next_workorder_generation - __SPLIT__ 2026-05-29 08:08:35,122 - [12233] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_32fef20f9a - __SPLIT__ 2026-05-29 08:08:35,404 - [12233] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_32fef20f9a - __SPLIT__ 2026-05-29 08:08:35,681 - [12233] - src.utils.log - INFO - πŸ” Running MERGE update to apply changes - __SPLIT__ 2026-05-29 08:08:35,838 - [12233] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-05-29 08:08:35,984 - [12233] - src.utils.log - INFO - πŸ” Verified successfully updated 1 rows via #tbl_32fef20f9a - __SPLIT__ 2026-05-29 08:08:35,984 - [12233] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_32fef20f9a - __SPLIT__ 2026-05-29 08:08:35,984 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12233 (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:36,266 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:36,266 - [12233] - src.utils.log - INFO - Sequential deletion from temp tables begin - __SPLIT__ 2026-05-29 08:08:36,267 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:36,568 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:36,569 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:36,861 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:36,861 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:37,148 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:37,149 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:37,466 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:37,466 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:37,768 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:37,768 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:38,050 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:38,051 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:38,337 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:38,338 - [12233] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:38,690 - [12233] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-05-29 08:08:38,691 - [12233] - src.utils.log - INFO - Work order published ids: (2730157, 2730158, 2730159, 2730160, 2730161, 2730162, 2730163) - __SPLIT__ 2026-05-29 08:08:38,691 - [12233] - src.utils.log - INFO - Time took to perform operation in publishing [12233]: 28.9 - __SPLIT__ 2026-05-29 08:08:38,691 - [12233] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12233] - __SPLIT__ 2026-05-29 08:08:38,691 - [12233] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-05-29 04:08:38.690' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12233;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-05-29 08:08:38,972 - [12233] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 17:55:18,368 - [124495] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679461, 3679462] user_id=43135 company_id=133 project_id=[124495] publish_all=False - __SPLIT__ 2026-06-02 17:55:18,625 - [124495] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[3679461, 3679462] user_id=43135 company_id=133 project_id=[124495] publish_all=False - __SPLIT__ 2026-06-02 17:55:18,692 - [124495] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [124495] - __SPLIT__ 2026-06-02 17:55:18,764 - [124495] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-06-02 17:55:18,835 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:20,903 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:20,973 - [124495] - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-06-02 17:55:21,036 - [124495] - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-06-02 17:55:21,106 - [124495] - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-06-02 17:55:21,175 - [124495] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124495;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:23,095 - [124495] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 17:55:23,166 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:23,505 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:23,579 - [124495] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-06-02 17:55:23,647 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150377 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:23,997 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:24,066 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150377 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:24,415 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:24,483 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 133 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 150377 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:24,829 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:24,956 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:25,284 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:25,344 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:25,673 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:25,739 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 133; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:26,073 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:26,130 - [124495] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'WorkOrder'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:26,459 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:26,516 - [124495] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig WITH (ROWLOCK) SET NextNumber = NextNumber + 2 OUTPUT deleted.NextNumber AS StartNumber WHERE CompanyId = 133 AND EnitityNumberType = 'Invoice'; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:26,847 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:26,918 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:27,251 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:27,317 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150377... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:27,653 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:27,721 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'abcdallas';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:28,050 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:28,119 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '14901' and a.CompanyId = 121;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:28,449 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:28,518 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('1426602', '1426603') AND CompanyId = 133 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:28,847 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:28,960 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:29,479 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-06-02 17:55:30,511 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-06-02 17:55:30,704 - [124495] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-06-02 17:55:30,769 - [124495] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 133 AND ServiceSetupId = 150377;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:31,134 - [124495] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 17:55:31,192 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('1426602', '1426603') AND wo.AccountNumber = '14901' AND wo.CompanyId = 133 ... (Thread: ThreadPoolExecutor-21_0) - __SPLIT__ 2026-06-02 17:55:31,525 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:31,586 - [124495] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-06-02 17:55:31,643 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:32,015 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:32,078 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:32,409 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:32,476 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:32,830 - [124495] - src.utils.log - INFO - βœ… Fetched 6 rows - __SPLIT__ 2026-06-02 17:55:32,893 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:33,226 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:33,288 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:33,646 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:33,715 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (3679461, 3679462)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:34,429 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:34,500 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (3679461, 3679462) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:34,837 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:34,913 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (3679461, 3679462);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:35,245 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:35,318 - [124495] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-06-02 17:55:35,405 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 133;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:35,741 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:35,819 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 133 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:36,150 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:36,228 - [124495] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-02 17:55:36,331 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:36,717 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-06-02 17:55:37,736 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-06-02 17:55:37,809 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 150377 AND WorkOrderNo IN ('434656', '8137523') AND GenerateWorkOrderHistoryId = 124495;... (Thread: ThreadPoolExecutor-22_0) - __SPLIT__ 2026-06-02 17:55:38,368 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:38,441 - [124495] - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-06-02 17:55:38,523 - [124495] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-06-02 17:55:38,590 - [124495] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-02 17:55:38,664 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:39,084 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-06-02 17:55:40,095 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-06-02 17:55:40,166 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-06-02 17:55:40,242 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-06-02 17:55:40,312 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-06-02 17:55:40,385 - [124495] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-02 17:55:40,456 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 6 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:40,816 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 6) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-06-02 17:55:41,831 - [124495] - src.utils.log - INFO - βœ… All 6 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-06-02 17:55:41,899 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-06-02 17:55:41,980 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-06-02 17:55:42,056 - [124495] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-02 17:55:42,129 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:42,491 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-06-02 17:55:43,503 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-06-02 17:55:43,593 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 133... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:43,919 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:43,988 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 150377... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:44,317 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:44,393 - [124495] - src.utils.log - INFO - Size of Transaction: 2 - __SPLIT__ 2026-06-02 17:55:44,510 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:45,000 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-06-02 17:55:46,000 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-06-02 17:55:46,198 - [124495] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-06-02 17:55:46,263 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911) and t.CompanyId = 133 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-06-02 13:55:44.388';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:46,752 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:46,811 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150377;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:47,136 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:47,207 - [124495] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911) AND CreatedDate = '2026-06-02 13:55:44.388'; ... (Thread: ThreadPoolExecutor-23_0) - __SPLIT__ 2026-06-02 17:55:47,656 - [124495] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 17:55:47,722 - [124495] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-02 17:55:47,783 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:48,142 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Invoice - __SPLIT__ 2026-06-02 17:55:49,152 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-06-02 17:55:49,222 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('1426602', '1426603')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:50,134 - [124495] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-02 17:55:50,202 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150377 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:50,533 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:50,601 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 150377 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:50,932 - [124495] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 17:55:51,042 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150377 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:51,377 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:51,434 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 150377 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:51,760 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:51,834 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 150377;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:52,160 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:52,223 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150377;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:52,545 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:52,609 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 150377;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:52,944 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:53,009 - [124495] - src.utils.log - INFO - Sequential Insertion in invoice tables begin - __SPLIT__ 2026-06-02 17:55:53,072 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-06-02 17:55:53,123 - [124495] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-02 17:55:53,183 - [124495] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:53,540 - [124495] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.InvoiceCharges - __SPLIT__ 2026-06-02 17:55:54,540 - [124495] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-06-02 17:55:54,597 - [124495] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-06-02 17:55:54,654 - [124495] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-06-02 17:55:54,713 - [124495] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-06-02 17:55:54,778 - [124495] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124495 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:55,170 - [124495] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 17:55:55,235 - [124495] - src.utils.log - INFO - πŸ”„ Updating next gen date sequentially: inside update_next_workorder_generation - __SPLIT__ 2026-06-02 17:55:55,420 - [124495] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_6bf5dea7a0 - __SPLIT__ 2026-06-02 17:55:55,743 - [124495] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_6bf5dea7a0 - __SPLIT__ 2026-06-02 17:55:56,064 - [124495] - src.utils.log - INFO - πŸ” Running MERGE update to apply changes - __SPLIT__ 2026-06-02 17:55:56,261 - [124495] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-06-02 17:55:56,453 - [124495] - src.utils.log - INFO - πŸ” Verified successfully updated 1 rows via #tbl_6bf5dea7a0 - __SPLIT__ 2026-06-02 17:55:56,505 - [124495] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_6bf5dea7a0 - __SPLIT__ 2026-06-02 17:55:56,560 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 124495 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:56,878 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:56,932 - [124495] - src.utils.log - INFO - Sequential deletion from temp tables begin - __SPLIT__ 2026-06-02 17:55:56,985 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:57,440 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:57,502 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:57,911 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:57,963 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:58,283 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:58,339 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:58,755 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:58,808 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:59,190 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:59,257 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:59,598 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:55:59,665 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:55:59,995 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:56:00,079 - [124495] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (3679461, 3679462) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:56:00,515 - [124495] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-02 17:56:00,580 - [124495] - src.utils.log - INFO - Work order published ids: (3679461, 3679462) - __SPLIT__ 2026-06-02 17:56:00,652 - [124495] - src.utils.log - INFO - Time took to perform operation in publishing [124495]: 41.89 - __SPLIT__ 2026-06-02 17:56:00,721 - [124495] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [124495] - __SPLIT__ 2026-06-02 17:56:00,819 - [124495] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-06-02 13:56:00.580' WHERE CompanyId = 133 AND GenerateWorkOrderHistoryId = 124495;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 17:56:01,153 - [124495] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 18:08:24,622 - 124496 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=124496 - __SPLIT__ 2026-06-02 18:08:24,738 - 124496 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 124496 - __SPLIT__ 2026-06-02 18:08:24,802 - 124496 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-06-02 18:08:24,859 - 124496 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'abcdallas'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 18:08:26,962 - 124496 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 18:08:27,028 - 124496 - src.utils.log - INFO - πŸ”’ Connection pool closed - __SPLIT__ 2026-06-02 18:08:27,091 - 124496 - src.utils.log - INFO - πŸ”Œ Connecting to: abcdallas - __SPLIT__ 2026-06-02 18:08:27,154 - 124496 - src.utils.log - INFO - βœ… Successfully connected to abcdallas - __SPLIT__ 2026-06-02 18:08:27,216 - 124496 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 124496;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 18:08:29,150 - 124496 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 18:08:29,213 - 124496 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124496), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 124496), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 124496 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 18:08:29,580 - 124496 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-02 18:08:29,636 - 124496 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 124496;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 18:08:29,973 - 124496 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-02 18:08:30,045 - 124496 - src.utils.log - INFO - No Setup Found Error:No setups found for GenerateWorkOrderHistoryid: 124496 - __SPLIT__ 2026-06-02 18:08:30,113 - 124496 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 124496;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 18:08:30,449 - 124496 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-02 18:08:30,526 - 124496 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-06-02 14:08:30.526' WHERE GenerateWorkOrderHistoryId = 124496;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-02 18:08:30,866 - 124496 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:26:49,412 - 12246 - src.utils.log - INFO - ParallelProcessing=False GenerateWorkOrderHistoryId=12246 - __SPLIT__ 2026-06-03 05:26:49,556 - 12246 - src.utils.log - INFO - Sequential Work order generation algo started for GenerateWorkOrderHistoryId: 12246 - __SPLIT__ 2026-06-03 05:26:49,630 - 12246 - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-06-03 05:26:49,698 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:51,799 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:26:51,869 - 12246 - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-06-03 05:26:51,932 - 12246 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'InProgress' WHERE GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:52,293 - 12246 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:26:52,363 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.RecurringServicePrice, gw.StartDate, gw.EndDate, gw.CreatedBy AS NewCreatedBy, gw.RouteIds, ss.* FROM ServiceCore.GenerateWorkOrderHistory gw JOIN ServiceCore.ServiceSetup ss ON gw.CompanyId = ss.CompanyId AND ( (ss.NextGenerationDate <= gw.EndDate AND ss.NextGenerationDate >= gw.StartDate) OR ss.NextGenerationDate IS NULL) AND (gw.AccountNumber IS NULL OR ss.AccountNumber = gw.AccountNumber) AND (gw.ServiceSetupId IS NULL OR ss.ServiceSetupId = gw.ServiceSetupId)AND (gw.RouteIds IS NULL OR ss.RouteMasterId IN (SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12246), ',' )) OR ss.InitialRouteId IN ( SELECT CAST(value AS INT) FROM STRING_SPLIT((SELECT RouteIds FROM ServiceCore.GenerateWorkOrderHistory WHERE GenerateWorkOrderHistoryid = 12246), ','))) JOIN (SELECT SUM(Price) AS RecurringServicePrice, ServiceSetupId FROM ServiceCore.ServiceSetupServices GROUP BY ServiceSetupId ) sss ON sss.ServiceSetupId = ss.ServiceSetupId WHERE gw.GenerateWorkOrderHistoryid = 12246 AND ss.FrequencyScheduleId IS NOT NULL AND ss.IsActive = 1 AND ss.IsDeleted = 0 AND ss.Status <> 'Canceled' AND ((ss.OrderType = gw.OrderType) OR gw.OrderType IS NULL);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:52,757 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:26:52,821 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.GenerateWorkOrderHistory gwoh WHERE GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:53,193 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:26:53,265 - 12246 - src.utils.log - INFO - FrequencyScheduleId missing for setups: []: Ignored these setups - __SPLIT__ 2026-06-03 05:26:53,334 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT fsd.IntervalDays, fs.CreatedDate ,f.FrequencyId , fs.FrequencyScheduleId, f.[SysName], f.FrequencyValue, f.YearlyOccurrence , fs.ScheduleFormat,fsd.Days, fsd.Weeks, fsd.Months,fsc.[Month] as sch_months, fsd.StartMonth , fsd.DateDay,fsd.DateMonth FROM [ServiceCore].[FrequencyMaster] f inner join [ServiceCore].[FrequencySchedule] fs on fs.FrequencyId = f.FrequencyId left join ServiceCore.FrequencyScheduleCycle fsc on fsc.FrequencyScheduleId = fs.FrequencyScheduleId left join [ServiceCore].[FrequencyScheduleDetail] fsd on fsd.FrequencyScheduleId = fs.FrequencyScheduleId WHERE fsd.FrequencyScheduleId = 12805... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:53,701 - 12246 - src.utils.log - INFO - βœ… Fetched 12 rows - __SPLIT__ 2026-06-03 05:26:53,766 - 12246 - src.utils.log - INFO - Found the Setups and Frequencies - __SPLIT__ 2026-06-03 05:26:53,838 - 12246 - src.utils.log - INFO - Inside work order function - __SPLIT__ 2026-06-03 05:26:53,905 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:54,269 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:26:54,330 - 12246 - src.utils.log - INFO - πŸ” Fetching data: select ServiceDate, ServiceSetupId, IsInitial from serviceCore.WorkOrder wo inner join ServiceCore.WorkOrderStatus wos on wo.WoStatusId = wos.WoStatusId where ServiceDate >= '2026-06-03 00:00:00' and ServiceDate <= '2026-07-31 00:00:00' and ServiceSetupId = 23975 and wo.IsActive = 1 and wos.Name not in ('Void', 'Cancelled');... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:54,697 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:26:55,534 - 12246 - src.utils.log - INFO - Generating work orders for setup: 23975 - __SPLIT__ 2026-06-03 05:26:55,619 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1355;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:55,979 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:26:56,052 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM COMMON.RangeofTime where RangeofTimeId = 1349;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:56,447 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:26:56,548 - 12246 - src.utils.log - INFO - Updating Next Gen Date - __SPLIT__ 2026-06-03 05:26:56,627 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT WoStatusId From ServiceCore.WorkOrderStatus wos where CompanyId=135 and [SysName]= 'Incomplete' ;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:56,975 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:26:57,045 - 12246 - src.utils.log - INFO - Deleting duplicate records - __SPLIT__ 2026-06-03 05:26:57,116 - 12246 - src.utils.log - INFO - Running deletes SEQUENTIALLY… - __SPLIT__ 2026-06-03 05:26:57,188 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:57,560 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:26:57,630 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:57,988 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:26:58,053 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:58,416 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:26:58,486 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:58,855 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:26:58,921 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:59,288 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:26:59,409 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:26:59,772 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:26:59,842 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId IN ( SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 ) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:00,200 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:27:00,270 - 12246 - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE ServiceSetupId = 23975 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:00,659 - 12246 - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:27:00,723 - 12246 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:00,793 - 12246 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGeneration: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:01,215 - 12246 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGeneration - __SPLIT__ 2026-06-03 05:27:02,343 - 12246 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGeneration in 1 batches - __SPLIT__ 2026-06-03 05:27:02,412 - 12246 - src.utils.log - INFO - πŸ” Fetching data: Select TOP 2 WorkOrderAutoGenerationId, ServiceSetupId , ModifiedBy, ModifiedDate, IsInitial From ServiceCore.WorkOrderAutoGeneration WHERE ModifiedDate='2026-05-28 21:10:37.875' and ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:02,771 - 12246 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:02,869 - 12246 - src.utils.log - INFO - Id's of work order inserted to DB: [2730242 2730243] - __SPLIT__ 2026-06-03 05:27:02,936 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:03,301 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:03,367 - 12246 - src.utils.log - INFO - Inside get_remaining_temp_tables - __SPLIT__ 2026-06-03 05:27:03,440 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.serviceSetupServices sss where ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:03,791 - 12246 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:03,854 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from servicecore.ServiceSetupInitialServices sss where ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:04,219 - 12246 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:04,354 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCrew ssc where ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:04,713 - 12246 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:04,785 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSalesPersonCommission ssspc where ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:05,145 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:05,221 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupCommissionAdjustment ssspc where ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:05,579 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:05,647 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.serviceSetupAppliedDiscount WHERE ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:06,047 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:06,109 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupSourceMapping WHERE ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:06,471 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:06,538 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM [ServiceCore].[CommunicationPreferencesServiceReportNotification] WITH(NOLOCK) WHERE EntityType = 'Setup' AND ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:07,080 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:07,150 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT * From CRM.LeadNote WHERE RefType = 'Setup' and RefId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:07,514 - 12246 - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:07,595 - 12246 - src.utils.log - INFO - Inside insert_data_in_temp_tables for work order generation - __SPLIT__ 2026-06-03 05:27:07,665 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-06-03 05:27:07,734 - 12246 - src.utils.log - INFO - leadNoteDf inserted to dream DB - __SPLIT__ 2026-06-03 05:27:07,809 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.CommunicationPreferencesServiceReportNotification: - __SPLIT__ 2026-06-03 05:27:07,875 - 12246 - src.utils.log - INFO - CommunicationPreferencesServiceReportNotification inserted to dream DB - __SPLIT__ 2026-06-03 05:27:07,936 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SetupAutoGenerationSourceMapping: - __SPLIT__ 2026-06-03 05:27:08,065 - 12246 - src.utils.log - INFO - SetupAutoGenerationSourceMapping inserted to dream DB - __SPLIT__ 2026-06-03 05:27:08,133 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationAppliedDiscount: - __SPLIT__ 2026-06-03 05:27:08,202 - 12246 - src.utils.log - INFO - WorkOrderAutoGenerationAppliedDiscount inserted to dream DB - __SPLIT__ 2026-06-03 05:27:08,266 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.SubWorkOrderAutoGeneration: - __SPLIT__ 2026-06-03 05:27:08,335 - 12246 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-06-03 05:27:08,407 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationCommissionAdjustment: - __SPLIT__ 2026-06-03 05:27:08,472 - 12246 - src.utils.log - INFO - SubWorkOrderAutoGeneration inserted to dream DB - __SPLIT__ 2026-06-03 05:27:08,536 - 12246 - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderAutoGenerationSalesPersonCommission: - __SPLIT__ 2026-06-03 05:27:08,607 - 12246 - src.utils.log - INFO - WorkOrderAutoGenerationSalesPersonCommission_df inserted to dream DB - __SPLIT__ 2026-06-03 05:27:08,676 - 12246 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:08,748 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId IN (2730242, 2730243) ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:09,117 - 12246 - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:09,191 - 12246 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationCrews: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:09,575 - 12246 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationCrews - __SPLIT__ 2026-06-03 05:27:10,663 - 12246 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationCrews in 1 batches - __SPLIT__ 2026-06-03 05:27:10,733 - 12246 - src.utils.log - INFO - WorkOrderAutoGenerationCrews inserted to dream DB - __SPLIT__ 2026-06-03 05:27:10,809 - 12246 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:10,877 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730242 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:11,243 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:11,318 - 12246 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:11,761 - 12246 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-06-03 05:27:12,866 - 12246 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-06-03 05:27:12,937 - 12246 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-06-03 05:27:13,012 - 12246 - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:13,077 - 12246 - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationId FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId = 2730243 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:13,441 - 12246 - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:13,520 - 12246 - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationServices: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:13,887 - 12246 - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationServices - __SPLIT__ 2026-06-03 05:27:15,013 - 12246 - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationServices in 1 batches - __SPLIT__ 2026-06-03 05:27:15,088 - 12246 - src.utils.log - INFO - WorkOrderAutoGenerationServices inserted to dream DB - __SPLIT__ 2026-06-03 05:27:15,159 - 12246 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:15,512 - 12246 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:27:15,584 - 12246 - src.utils.log - INFO - Sequential work order generation successful - __SPLIT__ 2026-06-03 05:27:15,655 - 12246 - src.utils.log - INFO - Time took to perform operation: 25.95 - __SPLIT__ 2026-06-03 05:27:15,726 - 12246 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET Status = 'Completed' WHERE GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:16,081 - 12246 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:27:16,148 - 12246 - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET WorkOrderStatusDateTime = '2026-06-03 01:27:16.148' WHERE GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:16,505 - 12246 - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:27:24,712 - [12246] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730242, 2730243] user_id=122885 company_id=135 project_id=[12246] publish_all=False - __SPLIT__ 2026-06-03 05:27:24,826 - [12246] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730242, 2730243] user_id=122885 company_id=135 project_id=[12246] publish_all=False - __SPLIT__ 2026-06-03 05:27:24,892 - [12246] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12246] - __SPLIT__ 2026-06-03 05:27:24,962 - [12246] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-06-03 05:27:25,023 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:27,079 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:27,143 - [12246] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-06-03 05:27:27,206 - [12246] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:27,550 - [12246] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:27:27,615 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:27,979 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:28,043 - [12246] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-06-03 05:27:28,106 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23975 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:28,469 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:28,529 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23975 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:28,876 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:28,940 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23975 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:29,305 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:29,377 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:29,738 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:29,803 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:30,207 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:30,269 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:30,641 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:30,711 - [12246] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 2 OUTPUT INSERTED.NextNumber - 2 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:31,064 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:31,133 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:31,472 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:31,539 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:31,907 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:31,978 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:32,324 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:32,386 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '8447' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:32,752 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:32,818 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167597R', '167598R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:33,160 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:33,223 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:33,764 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-06-03 05:27:34,924 - [12246] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-06-03 05:27:35,135 - [12246] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-06-03 05:27:35,199 - [12246] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.ServiceSetup SET IsInitialWoGenerated = 1 WHERE CompanyId = 135 AND ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:35,600 - [12246] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:27:35,660 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167597R', '167598R') AND wo.AccountNumber = '8447' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-24_0) - __SPLIT__ 2026-06-03 05:27:36,013 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:36,073 - [12246] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-06-03 05:27:36,137 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:36,498 - [12246] - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-06-03 05:27:36,557 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:36,921 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:36,984 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:37,340 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:37,406 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:37,762 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:37,854 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:38,195 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:38,257 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (2730242, 2730243)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:38,624 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:38,681 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (2730242, 2730243) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:39,032 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:39,139 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (2730242, 2730243);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:39,491 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:39,611 - [12246] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-06-03 05:27:39,687 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:40,030 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:40,096 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:40,444 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:40,515 - [12246] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:40,606 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:40,999 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-06-03 05:27:42,111 - [12246] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-06-03 05:27:42,175 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23975 AND WorkOrderNo IN ('905540', '3501247') AND GenerateWorkOrderHistoryId = 12246;... (Thread: ThreadPoolExecutor-25_0) - __SPLIT__ 2026-06-03 05:27:42,610 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:42,676 - [12246] - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-06-03 05:27:42,744 - [12246] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-06-03 05:27:42,809 - [12246] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:42,869 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:43,243 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-06-03 05:27:44,354 - [12246] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-06-03 05:27:44,419 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderAppliedDiscount: - __SPLIT__ 2026-06-03 05:27:44,481 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-06-03 05:27:44,542 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-06-03 05:27:44,658 - [12246] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:44,730 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:45,105 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-06-03 05:27:46,213 - [12246] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-06-03 05:27:46,278 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-06-03 05:27:46,348 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-06-03 05:27:46,415 - [12246] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:46,474 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:46,832 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-06-03 05:27:47,942 - [12246] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-06-03 05:27:48,011 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:48,371 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:48,441 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23975... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:48,785 - [12246] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:27:48,862 - [12246] - src.utils.log - INFO - Size of Transaction: 2 - __SPLIT__ 2026-06-03 05:27:48,936 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:49,446 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-06-03 05:27:50,543 - [12246] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-06-03 05:27:50,754 - [12246] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-06-03 05:27:50,824 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911) and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-06-03 01:27:48.858';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:51,250 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:51,322 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:51,673 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:51,760 - [12246] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911) AND CreatedDate = '2026-06-03 01:27:48.858'; ... (Thread: ThreadPoolExecutor-26_0) - __SPLIT__ 2026-06-03 05:27:52,150 - [12246] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:27:52,230 - [12246] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:52,302 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:52,674 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Invoice - __SPLIT__ 2026-06-03 05:27:53,768 - [12246] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-06-03 05:27:53,835 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('167597R', '167598R')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:54,238 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:54,318 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23975 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:54,672 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:54,744 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23975 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:55,095 - [12246] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:27:55,163 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23975 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:55,529 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:55,593 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23975 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:55,947 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:56,030 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:56,431 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:56,508 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:56,869 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:56,944 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId,IsActive,DiscountAmount, IsDiscountPercent,DiscountPercent,DiscountDescription , ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23975;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:57,307 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:57,371 - [12246] - src.utils.log - INFO - Sequential Insertion in invoice tables begin - __SPLIT__ 2026-06-03 05:27:57,441 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.AccountDiscountSetup: - __SPLIT__ 2026-06-03 05:27:57,503 - [12246] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:27:57,568 - [12246] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.InvoiceCharges: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:57,946 - [12246] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into Billing.InvoiceCharges - __SPLIT__ 2026-06-03 05:27:59,040 - [12246] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into Billing.InvoiceCharges in 1 batches - __SPLIT__ 2026-06-03 05:27:59,098 - [12246] - src.utils.log - INFO - πŸ“₯ Empty dataframe of Billing.DiscountApplied: - __SPLIT__ 2026-06-03 05:27:59,154 - [12246] - src.utils.log - INFO - Invoice Publish Done - __SPLIT__ 2026-06-03 05:27:59,227 - [12246] - src.utils.log - INFO - Updating Next GenerationDate - __SPLIT__ 2026-06-03 05:27:59,291 - [12246] - src.utils.log - INFO - πŸ” Fetching data: SELECT ServiceSetupId, MAX(NextWorkOrderGenerationDate) AS MaxNextWorkOrderGeneration FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12246 GROUP BY ServiceSetupId; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:27:59,656 - [12246] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:27:59,728 - [12246] - src.utils.log - INFO - πŸ”„ Updating next gen date sequentially: inside update_next_workorder_generation - __SPLIT__ 2026-06-03 05:27:59,937 - [12246] - src.utils.log - INFO - πŸ›  Creating temp table #tbl_ffad06d208 - __SPLIT__ 2026-06-03 05:28:00,305 - [12246] - src.utils.log - INFO - πŸ“Œ Bulk inserting 1 rows into #tbl_ffad06d208 - __SPLIT__ 2026-06-03 05:28:00,658 - [12246] - src.utils.log - INFO - πŸ” Running MERGE update to apply changes - __SPLIT__ 2026-06-03 05:28:00,910 - [12246] - src.utils.log - INFO - βœ” SQL reported affected rows: 1 - __SPLIT__ 2026-06-03 05:28:01,112 - [12246] - src.utils.log - INFO - πŸ” Verified successfully updated 1 rows via #tbl_ffad06d208 - __SPLIT__ 2026-06-03 05:28:01,175 - [12246] - src.utils.log - INFO - πŸŽ‰ Successfully updated NextGenerationDate using temp table #tbl_ffad06d208 - __SPLIT__ 2026-06-03 05:28:01,238 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderSkipMonthAutoGeneration WHERE GenerateWorkOrderHistoryId = 12246 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:01,580 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:01,641 - [12246] - src.utils.log - INFO - Sequential deletion from temp tables begin - __SPLIT__ 2026-06-03 05:28:01,697 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationServices WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:02,085 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:02,142 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCrews WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:02,503 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:02,568 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationSalesPersonCommission WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:02,911 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:02,974 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationAppliedDiscount WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:03,360 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:03,427 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SetupAutoGenerationSourceMapping WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:03,788 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:03,861 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.SubWorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:04,211 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:04,269 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:04,625 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:04,749 - [12246] - src.utils.log - INFO - πŸ—‘οΈ Deleting records: DELETE FROM ServiceCore.WorkOrderAutoGeneration WHERE WorkOrderAutoGenerationId in (2730242, 2730243) (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:05,119 - [12246] - src.utils.log - INFO - βœ… Records deleted successfully - __SPLIT__ 2026-06-03 05:28:05,193 - [12246] - src.utils.log - INFO - Work order published ids: (2730242, 2730243) - __SPLIT__ 2026-06-03 05:28:05,253 - [12246] - src.utils.log - INFO - Time took to perform operation in publishing [12246]: 40.29 - __SPLIT__ 2026-06-03 05:28:05,315 - [12246] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12246] - __SPLIT__ 2026-06-03 05:28:05,381 - [12246] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-06-03 01:28:05.193' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12246;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:28:05,733 - [12246] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:30:00,837 - [12247] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730244, 2730245] user_id=122885 company_id=135 project_id=[12247] publish_all=False - __SPLIT__ 2026-06-03 05:30:01,056 - [12247] - src.utils.log - INFO - ParallelProcessing=False temp_wo=[2730244, 2730245] user_id=122885 company_id=135 project_id=[12247] publish_all=False - __SPLIT__ 2026-06-03 05:30:01,137 - [12247] - src.utils.log - INFO - Sequential Work order publish in progress for GenerateWorkOrderHistoryId: [12247] - __SPLIT__ 2026-06-03 05:30:01,208 - [12247] - src.utils.log - INFO - βœ… Successfully connected to database - __SPLIT__ 2026-06-03 05:30:01,273 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT ConnectionStringName FROM Common.CompanyTenantMaster WHERE CompanyKey = 'Fortive'... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:03,365 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:03,441 - [12247] - src.utils.log - INFO - Connection string not found connecting to common DB - __SPLIT__ 2026-06-03 05:30:03,504 - [12247] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'InProgress' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12247;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:03,853 - [12247] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:30:03,922 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:04,286 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:04,359 - [12247] - src.utils.log - INFO - Inside get_work_order_table - __SPLIT__ 2026-06-03 05:30:04,429 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT DISTINCT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.ServiceCategoryMaster c ON c.DepartmentId = dm.DepartmentMasterId JOIN ServiceCore.ServiceMaster sm ON c.CategoryId = sm.CategoryId JOIN ServiceCore.ServiceSetupServices sss ON sss.ServiceId = sm.ServiceMasterId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23928 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:04,792 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:04,883 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId JOIN ServiceCore.SoldServiceNonStandard x on dm.DepartmentMasterId = x.DepartmentId JOIN ServiceCore.ServiceSetupServices sss ON sss.NonStdSoldServiceId = x.SoldServiceNonStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23928 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:05,245 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:05,315 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, dm.DepartmentMasterId, bm.BranchMasterId FROM Common.DepartmentMaster dm Inner JOIN Common.DivisionMaster d2 ON dm.DivisionMasterId = d2.DivisionMasterId Inner JOIN Common.BranchMaster bm ON d2.BranchMasterId = bm.BranchMasterId Inner JOIN [ServiceCore].[ServiceCategoryMaster] scm ON dm.DepartmentMasterId = scm.DepartmentId Inner JOIN ServiceCore.ServiceMaster sm ON scm.CategoryId = sm.CategoryId Inner JOIN ServiceCore.SoldServiceStandard x on x.ServiceId = sm.ServiceMasterId Inner JOIN ServiceCore.ServiceSetupServices sss ON sss.StdSoldServiceId = x.SoldServiceStandardId WHERE dm.CompanyId = 135 AND d2.CompanyId = bm.CompanyId AND sss.ServiceSetupId = 23928 AND sss.IsPrimary = 1; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:05,678 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:05,746 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder,BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:06,096 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:06,219 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:06,576 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:06,648 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInvoiceSameAsWorkorder, BillingIsCreateInvoice FROM Common.CompanyConfiguration cc WHERE cc.CompanyId = 135; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:07,004 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:07,073 - [12247] - src.utils.log - INFO - πŸ” Fetching data: UPDATE Common.GenerateNumberConfig SET NextNumber = NextNumber + 2 OUTPUT INSERTED.NextNumber - 2 AS StartNumber WHERE CompanyId = 135 AND EnitityNumberType IN ('WorkOrder','Invoice'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:07,442 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:07,508 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:07,870 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:07,940 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:08,310 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:08,372 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT x.CompanyId FROM CRM.CompanyMaster x WHERE CompanyKey = 'Fortive';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:08,733 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:08,803 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT CollectionStatus,IsHold,AccountNo FROM CRM.Account a WHERE a.AccountNo = '8412' and a.CompanyId = 124;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:09,161 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:09,225 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderNo FROM ServiceCore.WorkOrder WHERE WorkOrderNo IN ('167599R', '167600R') AND CompanyId = 135 ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:09,589 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:09,657 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrder (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:10,199 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrder (triggers skipped) - __SPLIT__ 2026-06-03 05:30:11,307 - [12247] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrder in 1 batches (triggers skipped) - __SPLIT__ 2026-06-03 05:30:11,514 - [12247] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-06-03 05:30:11,621 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkorderId, WorkOrderNo FROM ServiceCore.WorkOrder wo WHERE wo.WorkOrderNo IN ('167599R', '167600R') AND wo.AccountNumber = '8412' AND wo.CompanyId = 135 ... (Thread: ThreadPoolExecutor-0_0) - __SPLIT__ 2026-06-03 05:30:11,983 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:12,050 - [12247] - src.utils.log - INFO - Sequential fetching temp table records - __SPLIT__ 2026-06-03 05:30:12,124 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationServices woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:12,488 - [12247] - src.utils.log - INFO - βœ… Fetched 4 rows - __SPLIT__ 2026-06-03 05:30:12,564 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SubWorkOrderAutoGeneration woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:12,926 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:12,997 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationCrews woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:13,355 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:13,428 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.WorkOrderAutoGenerationSalesPersonCommission woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:13,798 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:13,872 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.SetupAutoGenerationSourceMapping woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:14,236 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:14,310 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT DiscountType, DiscountCode, DiscountAmount, DiscountDescription, DiscountName, IsActive, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, DiscountPercent, IsDiscountPercent, AppliedDiscountAmt, ApplyOnPartPrice, ApplyOnLaborPrice, DiscountSetupId, WorkOrderAutoGenerationId from ServiceCore.WorkOrderAutoGenerationAppliedDiscount woag WHERE woag.WorkOrderAutoGenerationId in (2730244, 2730245)... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:14,685 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:14,757 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from CRM.LeadNote woag WHERE woag.RefId in (2730244, 2730245) and woag.RefType = 'TempWorkorder';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:15,123 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:15,195 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM ServiceCore.WorkOrderAutoGenerationCommissionAdjustment woagca WHERE woagca.WorkOrderAutoGenerationId in (2730244, 2730245);... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:15,556 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:15,628 - [12247] - src.utils.log - INFO - Updating temp tables - __SPLIT__ 2026-06-03 05:30:15,772 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyKey FROM Common.CompanyMaster cm WHERE CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:16,136 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:16,210 - [12247] - src.utils.log - INFO - πŸ” Fetching data: Select DiscountSetupId, [SysName] as DiscountSysName from Common.DiscountSetupMaster WHERE DiscountSetupId = 1981 AND CompanyId = 135;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:16,569 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:16,644 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * FROM Common.GenerateNumberConfig gnc WHERE CompanyId = 135 AND EnitityNumberType in ('SubWorkOrder'); ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:17,018 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:17,092 - [12247] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:30:17,164 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishHistory: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:17,557 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderAutoGenerationPublishHistory - __SPLIT__ 2026-06-03 05:30:18,686 - [12247] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishHistory in 1 batches - __SPLIT__ 2026-06-03 05:30:18,753 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT WorkOrderAutoGenerationPublishHistoryId, WorkOrderNo, ServiceSetupId FROM ServiceCore.WorkOrderAutoGenerationPublishHistory WHERE ServiceSetupId = 23928 AND WorkOrderNo IN ('2638993', '5199577') AND GenerateWorkOrderHistoryId = 12247;... (Thread: ThreadPoolExecutor-1_0) - __SPLIT__ 2026-06-03 05:30:19,135 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:19,230 - [12247] - src.utils.log - INFO - 🏁 Final merged rows: 2 - __SPLIT__ 2026-06-03 05:30:19,306 - [12247] - src.utils.log - INFO - Sequential Insertion in work order tables begin - __SPLIT__ 2026-06-03 05:30:19,376 - [12247] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:30:19,437 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:19,808 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderServices - __SPLIT__ 2026-06-03 05:30:20,894 - [12247] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderServices in 1 batches - __SPLIT__ 2026-06-03 05:30:20,962 - [12247] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:30:21,032 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceAuto.WorkOrderAppliedDiscount: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:21,460 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceAuto.WorkOrderAppliedDiscount - __SPLIT__ 2026-06-03 05:30:22,542 - [12247] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceAuto.WorkOrderAppliedDiscount in 1 batches - __SPLIT__ 2026-06-03 05:30:22,610 - [12247] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkOrderSalesPersonCommission: - __SPLIT__ 2026-06-03 05:30:22,669 - [12247] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceAuto.WorkOrderCommissionAdjustment: - __SPLIT__ 2026-06-03 05:30:22,729 - [12247] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:30:22,795 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderCrew: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:23,152 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into ServiceCore.WorkOrderCrew - __SPLIT__ 2026-06-03 05:30:24,230 - [12247] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into ServiceCore.WorkOrderCrew in 1 batches - __SPLIT__ 2026-06-03 05:30:24,300 - [12247] - src.utils.log - INFO - πŸ“₯ Empty dataframe of ServiceCore.WorkorderSourceMapping: - __SPLIT__ 2026-06-03 05:30:24,357 - [12247] - src.utils.log - INFO - πŸ“₯ Empty dataframe of CRM.LeadNote: - __SPLIT__ 2026-06-03 05:30:24,419 - [12247] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:30:24,479 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into ServiceCore.WorkOrderAutoGenerationPublishServices: 4 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:24,848 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 4) into ServiceCore.WorkOrderAutoGenerationPublishServices - __SPLIT__ 2026-06-03 05:30:25,929 - [12247] - src.utils.log - INFO - βœ… All 4 rows inserted successfully into ServiceCore.WorkOrderAutoGenerationPublishServices in 1 batches - __SPLIT__ 2026-06-03 05:30:25,999 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT CompanyRoundingLevel ,CompanyRoundingMethod , SalesTaxRoundingMethod , SalesTaxRoundingLevel FROM common.CompanyConfiguration cc WHERE CompanyId = 135... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:26,352 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:26,414 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT ss.ServiceSetupId as SetupId, ss.FrequencyScheduleId as setup_frequency_schedule_id, ss.AccountNumber, ss.CompanyId, ss.BillingLocationId, ss.ServiceLocationId, ss.TaxSysName, ss.TermId, ss.TaxPercent, ss.PoNumber, ss.IsTaxExempt, ss.DisplayServiceAsSeparateLineItem, ss.GenerateInvoice, ss.IsGenerateInvoiceforInitalSetup, ss.IsGenerateInvoiceforInitalSetupBilling, ss.IsBilling, t.NetDueIn, ptm.PaymentType, ssb.* FROM ServiceCore.ServiceSetup ss LEFT JOIN ServiceCore.ServiceSetupBilling ssb ON ss.ServiceSetupId = ssb.ServiceSetupId LEFT JOIN Billing.PaymentTypeMaster ptm ON ptm.PaymentTypeMasterId = ssb.PaymentTypeMasterId left join Billing.Term t on ss.TermId = t.TermId WHERE ss.ServiceSetupId = 23928... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:26,776 - [12247] - src.utils.log - INFO - βœ… Fetched 1 rows - __SPLIT__ 2026-06-03 05:30:26,841 - [12247] - src.utils.log - INFO - Size of Transaction: 2 - __SPLIT__ 2026-06-03 05:30:26,903 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Transaction (skip triggers): 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:27,452 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Transaction (triggers skipped) - __SPLIT__ 2026-06-03 05:30:28,554 - [12247] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Transaction in 1 batches (triggers skipped) - __SPLIT__ 2026-06-03 05:30:28,766 - [12247] - src.utils.log - INFO - πŸ”„ Triggers re-enabled for session - __SPLIT__ 2026-06-03 05:30:28,827 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT TransactionId, ModifiedBy, TransactionDate as InvoiceDate from Billing.[Transaction] t WHERE t.ModifiedBy in (12345678910, 12345678911) and t.CompanyId = 135 AND t.TransactionType ='Invoice' AND t.CreatedDate = '2026-06-03 01:30:26.836';... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:29,210 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:29,281 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:29,664 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:29,740 - [12247] - src.utils.log - INFO - πŸ“ Executing: UPDATE Billing.[Transaction] SET ModifiedBy = NULL WHERE ModifiedBy IN (12345678910,12345678911) AND CreatedDate = '2026-06-03 01:30:26.836'; ... (Thread: ThreadPoolExecutor-2_0) - __SPLIT__ 2026-06-03 05:30:30,122 - [12247] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__ 2026-06-03 05:30:30,193 - [12247] - src.utils.log - INFO - Checking if all rows exist in parent table or not - __SPLIT__ 2026-06-03 05:30:30,254 - [12247] - src.utils.log - INFO - πŸ“₯ Inserting into Billing.Invoice: 2 rows in batches of 25000 (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:30,612 - [12247] - src.utils.log - INFO - πŸ“€ Inserting batch 1/1 (0 to 2) into Billing.Invoice - __SPLIT__ 2026-06-03 05:30:31,694 - [12247] - src.utils.log - INFO - βœ… All 2 rows inserted successfully into Billing.Invoice in 1 batches - __SPLIT__ 2026-06-03 05:30:31,756 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT InvoiceId, WorkOrderNo FROM Billing.Invoice i WHERE i.WorkOrderNo in ('167600R', '167599R')... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:32,143 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:32,222 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:32,572 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:32,637 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.Name as NonStandardServiceName, sm.Description , sm.ServiceMasterId as ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.ServiceMaster sm on sm.ServiceMasterId = sss.ServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:32,990 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:33,083 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:33,494 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:33,563 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT sss.ServiceSetupId, sss.NonStdSoldServiceId as SoldServiceNonStandardId, sss.Qty as Quantity, sss.Price as Rate, sss.IsTaxable, sm.servicename as NonStandardServiceName, sm.Description , sss.ServiceId FROM ServiceCore.ServiceSetupInitialServices sss join ServiceCore.SoldServiceNonStandard sm on sm.SoldServiceNonStandardId = sss.NonStdSoldServiceId where ServiceSetupId = 23928 and sss.IsDeleted =0; ... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:33,923 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:34,008 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT * from ServiceCore.ServiceSetupSubWorkOrder ssswo WHERE ssswo.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:34,371 - [12247] - src.utils.log - INFO - βœ… Fetched 0 rows - __SPLIT__ 2026-06-03 05:30:34,447 - [12247] - src.utils.log - INFO - πŸ” Fetching data: SELECT IsInitialSetupDiscount as IsInitial, DiscountSetupId, AppliedDiscountAmt as AppliedDiscountAmount,IsActive ,ServiceSetupId from ServiceCore.ServiceSetupAppliedDiscount ssad WHERE ssad.ServiceSetupId = 23928;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:34,810 - [12247] - src.utils.log - INFO - βœ… Fetched 2 rows - __SPLIT__ 2026-06-03 05:30:34,891 - [12247] - src.utils.log - INFO - Error: 'NoneType' object is not subscriptable - __SPLIT__ 2026-06-03 05:30:34,964 - [12247] - src.utils.log - INFO - Time took to perform operation in publishing [12247]: 33.76 - __SPLIT__ 2026-06-03 05:30:35,037 - [12247] - src.utils.log - INFO - Publish Completed for GenerateWorkOrderHistoryId: [12247] - __SPLIT__ 2026-06-03 05:30:35,114 - [12247] - src.utils.log - INFO - πŸ“ Executing: UPDATE ServiceCore.GenerateWorkOrderHistory SET PublishStatus = 'Completed', PublishStatusDateTime = '2026-06-03 01:30:35.114' WHERE CompanyId = 135 AND GenerateWorkOrderHistoryId = 12247;... (Thread: AnyIO worker thread) - __SPLIT__ 2026-06-03 05:30:35,489 - [12247] - src.utils.log - INFO - βœ… Command executed successfully - __SPLIT__