HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/logs/asp/SQL_ERRORS_itp.castironradiatorcentre.co.uk.txt
04/08/2025 15:48:42,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]SELECT command denied to user 'castironradcen'@'::1' for table `circ_penn`.`wc_orders`	OpenQuery	SELECT * FROM circ_penn.wc_orders WHERE NOT Imported ORDER BY WooCommerceOrderID
04/08/2025 15:48:47,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]SELECT command denied to user 'castironradcen'@'::1' for table `circ_penn`.`wc_orders`	OpenQuery	SELECT * FROM circ_penn.wc_orders WHERE NOT Imported ORDER BY WooCommerceOrderID
27/08/2025 11:30:38,  0.25,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Syntax error in JSON text in argument 1 to function 'json_extract' at position 1	ExecuteQuery	UPDATE wc_order_updates SET  number = JSON_VALUE(json_data, '$.number'), order_key = JSON_VALUE(json_data, '$.order_key'), created_via = JSON_VALUE(json_data, '$.created_via'), wc_status = JSON_VALUE(json_data, '$.status'), date_created = JSON_VALUE(json_data, '$.date_created'), date_modified = JSON_VALUE(json_data, '$.date_modified'), date_paid = JSON_VALUE(json_data, '$.date_paid'), date_completed = JSON_VALUE(json_data, '$.date_completed'), total = JSON_VALUE(json_data, '$.total'), total_tax = JSON_VALUE(json_data, '$.total_tax'), payment_method = JSON_VALUE(json_data, '$.payment_method'), PaymentReference = JSON_VALUE(json_data, '$.transaction_id'), customer_note = JSON_VALUE(json_data, '$.customer_note'), billing = JSON_EXTRACT(json_data, '$.billing'), shipping = JSON_EXTRACT(json_data, '$.shipping'), shipping_lines = JSON_EXTRACT(json_data, '$.shipping_lines'), meta_data = JSON_EXTRACT(json_data, '$.meta_data'), line_items = JSON_EXTRACT(json_data, '$.line_items'), refunds = JSON_EXTRACT(json_data, '$.refunds') WHERE UpdateID = 2
27/08/2025 11:30:59,  0.22,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Syntax error in JSON text in argument 1 to function 'json_extract' at position 1	ExecuteQuery	UPDATE wc_order_updates SET  number = JSON_VALUE(json_data, '$.number'), order_key = JSON_VALUE(json_data, '$.order_key'), created_via = JSON_VALUE(json_data, '$.created_via'), wc_status = JSON_VALUE(json_data, '$.status'), date_created = JSON_VALUE(json_data, '$.date_created'), date_modified = JSON_VALUE(json_data, '$.date_modified'), date_paid = JSON_VALUE(json_data, '$.date_paid'), date_completed = JSON_VALUE(json_data, '$.date_completed'), total = JSON_VALUE(json_data, '$.total'), total_tax = JSON_VALUE(json_data, '$.total_tax'), payment_method = JSON_VALUE(json_data, '$.payment_method'), PaymentReference = JSON_VALUE(json_data, '$.transaction_id'), customer_note = JSON_VALUE(json_data, '$.customer_note'), billing = JSON_EXTRACT(json_data, '$.billing'), shipping = JSON_EXTRACT(json_data, '$.shipping'), shipping_lines = JSON_EXTRACT(json_data, '$.shipping_lines'), meta_data = JSON_EXTRACT(json_data, '$.meta_data'), line_items = JSON_EXTRACT(json_data, '$.line_items'), refunds = JSON_EXTRACT(json_data, '$.refunds') WHERE UpdateID = 3
27/08/2025 11:31:09,  0.20,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Syntax error in JSON text in argument 1 to function 'json_extract' at position 1	ExecuteQuery	UPDATE wc_order_updates SET  number = JSON_VALUE(json_data, '$.number'), order_key = JSON_VALUE(json_data, '$.order_key'), created_via = JSON_VALUE(json_data, '$.created_via'), wc_status = JSON_VALUE(json_data, '$.status'), date_created = JSON_VALUE(json_data, '$.date_created'), date_modified = JSON_VALUE(json_data, '$.date_modified'), date_paid = JSON_VALUE(json_data, '$.date_paid'), date_completed = JSON_VALUE(json_data, '$.date_completed'), total = JSON_VALUE(json_data, '$.total'), total_tax = JSON_VALUE(json_data, '$.total_tax'), payment_method = JSON_VALUE(json_data, '$.payment_method'), PaymentReference = JSON_VALUE(json_data, '$.transaction_id'), customer_note = JSON_VALUE(json_data, '$.customer_note'), billing = JSON_EXTRACT(json_data, '$.billing'), shipping = JSON_EXTRACT(json_data, '$.shipping'), shipping_lines = JSON_EXTRACT(json_data, '$.shipping_lines'), meta_data = JSON_EXTRACT(json_data, '$.meta_data'), line_items = JSON_EXTRACT(json_data, '$.line_items'), refunds = JSON_EXTRACT(json_data, '$.refunds') WHERE UpdateID = 4
27/08/2025 15:57:28,  1.81,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
27/08/2025 15:57:29,  3.11,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
27/08/2025 15:57:31,  2.78,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
27/08/2025 15:57:38,  1.77,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
30/08/2025 08:50:47,  1.73,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
01/09/2025 16:38:36,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265722', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 16:47:05,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265724', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 16:48:07,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265725', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 17:34:01,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265728', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 18:38:22,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265730', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 19:27:32,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265734', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 19:37:14,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265735', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 20:21:14,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265738', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 21:38:01,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265741', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
01/09/2025 22:30:29,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265743', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 05:13:03,  1.78,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/09/2025 06:16:10,  1.80,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
02/09/2025 07:38:49,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='686265767', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 09:05:33,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='883306526', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 09:06:08,  0.01,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='883306527', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 09:06:10,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600030, WooCommerceOrderID=3544, SessionID='883306527', IPAddress='150.143.213.31', CustomerID=NULL, FirstName='steve', Surname='Tipson', CompanyName='Fisheries Ltd', AddressLine1='2 Heath Terrace', AddressLine2='Beausale', Town='Warwick', County='Warwickshire', Postcode='CV8 1JX', Country='United Kingdom', Telephone='07970490347', EmailAddress='stevietipson@gmail.com', Message='This is another high value test order.', DateTimeOrdered='2025-08-28 10:39:40', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=0, DeliveryName='steve Tipson', DeliveryCompanyName='', DeliveryAddressLine1='2 Heath Terrace', DeliveryAddressLine2='Beausale', DeliveryTown='Warwick', DeliveryCounty='Warwickshire', DeliveryPostcode='CV35 7NR', DeliveryCountry='United Kingdom', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=0, Exchange=0, ExchangeReason='', AlternativePhone='07970490347', Subtotal=2.25, Discount=0, Delivery=4.95, VATIncluded=1.44, GrandTotal=8.64, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 02/09/2025 to 03/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='BANK TRANSFER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 09:44:15,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306530', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 09:50:52,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306531', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 10:08:54,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306535', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 10:17:52,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306537', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 10:20:02,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306538', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 10:26:59,  0.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306526', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 10:27:12,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306527', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
02/09/2025 10:27:13,  0.01,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=600146, WooCommerceOrderID=4001, SessionID='883306527', IPAddress='', CustomerID=NULL, FirstName='Paul', Surname='Brown', CompanyName='The Cast Iron Radiator Centre (a Division of Mossmead Ltd)', AddressLine1='The Cast Iron Radiator Centre', AddressLine2='241 Torrington Avenue (corner of Padstow Road)', Town='Coventry', County='West Midlands', Postcode='CV4 9AP', Country='United Kingdom', Telephone='02476303999', EmailAddress='paul@castironradiatorcentre.co.uk', Message='', DateTimeOrdered='2025-09-02 09:42:04', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='CANCELLED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=2.25, Discount=0, Delivery=0, VATIncluded=0.45, GrandTotal=2.7, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 03/09/2025 to 04/09/2025)', DespatchFromDate='2025-09-09 00:00:00', DespatchByDate='2025-09-11 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='0000-00-00 00:00:00', PaymentMethod='OTHER', PaymentReference='', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
03/09/2025 06:35:48,  1.80,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/09/2025 19:24:19,  1.78,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/09/2025 19:25:31,  1.81,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
06/09/2025 23:12:48,  1.78,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
09/09/2025 06:15:53,  1.80,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
11/09/2025 15:55:09,  1.84,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
17/09/2025 06:16:37,  1.86,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
18/09/2025 06:23:05,  1.86,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
19/09/2025 06:16:12,  1.86,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
22/09/2025 06:13:32,  1.88,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
23/09/2025 05:07:58,  1.88,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
23/09/2025 05:08:02,  1.80,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
23/09/2025 14:01:23,  50.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '0.50' WHERE OrderNo = 600796
23/09/2025 15:10:27,  1.89,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
24/09/2025 06:32:40,  1.82,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
25/09/2025 06:19:36,  1.81,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
25/09/2025 18:38:54,  1.88,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
28/09/2025 09:38:03,  1.84,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
29/09/2025 15:24:10,  1.86,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
29/09/2025 15:24:11,  3.39,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
30/09/2025 14:02:45,  50.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '1.00' WHERE OrderNo = 601003
01/10/2025 16:35:14,  1.88,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
02/10/2025 12:22:55,  1.83,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
04/10/2025 09:09:57,  1.88,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
06/10/2025 06:15:36,  1.81,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
06/10/2025 16:37:21,  1.89,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
07/10/2025 06:07:01,  1.84,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
08/10/2025 06:08:18,  2.06,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
09/10/2025 06:13:03,  3.25,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/10/2025 06:11:12,  2.10,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/10/2025 15:20:48,  2.05,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/10/2025 15:20:50,  3.73,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
13/10/2025 15:20:52,  2.25,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/10/2025 15:20:58,  2.11,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
14/10/2025 06:24:54,  2.14,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
15/10/2025 06:11:49,  2.13,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
15/10/2025 14:01:41,  50.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '1.40' WHERE OrderNo = 601518
16/10/2025 06:13:24,  2.09,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
16/10/2025 08:00:03,  2.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
16/10/2025 08:00:09,  2.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
17/10/2025 06:06:41,  2.36,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
17/10/2025 14:00:52,  50.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '0.70' WHERE OrderNo = 601574
20/10/2025 16:41:30,  2.20,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
20/10/2025 16:41:32,  4.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
23/10/2025 06:14:24,  2.06,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
24/10/2025 06:06:03,  2.05,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
25/10/2025 07:18:00,  2.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
27/10/2025 15:45:09,  2.06,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
27/10/2025 15:45:11,  3.49,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
27/10/2025 15:45:13,  3.79,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
27/10/2025 15:45:15,  2.24,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag  AND (NOT Exchange OR ExchangeReason = 'Damaged in transit')  GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
28/10/2025 06:09:54,  2.20,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
28/10/2025 22:16:28,  2.19,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
29/10/2025 04:37:18,  0.10,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''page=404&404;https://itp.castironradiatorcentre.co.uk:443/${(#a=@org.apache....' at line 1	ExecuteQuery	CALL save_app_stats('other', 'products.asp', 36, 0, '144.31.2.199', 'page=404&404;https://itp.castironradiatorcentre.co.uk:443/${(#a=@org.apache.commons.io.IOUtils@toString(@java.lang.Runtime@getRuntime().exec(\"whoami\").getInputStream(),\"utf-8\")).(@com.opensymphony.webwork.ServletActionContext@getResponse().setHeader(\')
29/10/2025 06:02:05,  2.19,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
30/10/2025 06:10:12,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/11/2025 10:13:45,  2.14,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
04/11/2025 11:13:27,  2.22,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
04/11/2025 14:02:03,  50.36,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET EmailAddress = 'Info@giffnockvillagedental.co.uk' WHERE WooCommerceOrderID = '7762'
05/11/2025 06:00:12,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/11/2025 12:26:53,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/11/2025 16:39:01,  2.33,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
06/11/2025 06:13:54,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
11/11/2025 11:32:52,  2.23,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
11/11/2025 11:32:54,  3.80,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
11/11/2025 11:32:56,  2.64,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag  AND (NOT Exchange OR ExchangeReason = 'Damaged in transit')  GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
11/11/2025 18:47:20,  3.50,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/11/2025 14:00:53,  50.09,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '96.10' WHERE OrderNo = 602478
17/11/2025 06:40:05,  3.37,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
17/11/2025 15:43:01,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
18/11/2025 08:03:22,  2.20,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
19/11/2025 06:08:35,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
20/11/2025 06:14:52,  2.32,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
25/11/2025 19:02:30,  2.28,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/11/2025 16:23:08,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
26/11/2025 16:23:11,  2.39,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/11/2025 16:23:13,  2.52,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
05/12/2025 15:58:22,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612257', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 16:25:40,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612259', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 16:29:36,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612260', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 16:40:04,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612262', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 16:42:49,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612265', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 17:00:15,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612270', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 17:04:51,  0.00,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612271', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
05/12/2025 17:17:17,  0.02,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Column 'PaymentReceived' cannot be null	ExecuteQuery	INSERT INTO orders SET OrderNo=603320, WooCommerceOrderID=10570, SessionID='299612272', IPAddress='Web Admin', CustomerID=NULL, FirstName='John', Surname='Blackwell', CompanyName='', AddressLine1='Haughton House,', AddressLine2='Bradley Lane', Town='Haughton', County='', Postcode='ST18 9DL', Country='United Kingdom', Telephone='07595690625', EmailAddress='blackwellrefurb@gmail.com', Message='Delivery charge for order 602492', DateTimeOrdered='2025-12-05 15:55:37', DeliveryWillCollect=0, DeliveryAddressSameAsInvoice=1, DeliveryName='', DeliveryCompanyName='', DeliveryAddressLine1='', DeliveryAddressLine2='', DeliveryTown='', DeliveryCounty='', DeliveryPostcode='', DeliveryCountry='', Status='COMPLETED', CurrencyCode='GBP', ExchangeRate=1, DefaultPaymentCurrencyCode=NULL, DefaultPaymentCurrencyRate=NULL, LocalMode=1, Exchange=0, ExchangeReason='', AlternativePhone='', Subtotal=0, Discount=0, Delivery=80, VATIncluded=16, GrandTotal=96, TotalWeight=NULL, DeliveryInfo='Despatched in 1 - 2 full working days (from 08/12/2025 to 09/12/2025)', DespatchFromDate='2025-12-08 00:00:00', DespatchByDate='2025-12-09 00:00:00', DeliveryOption=NULL, Priority=5, DateTimePaid='2025-12-05 15:58:21', PaymentMethod='STRIPE', PaymentReference='ch_3Sb1OhFjY4PlUHpU0vCRH0wR', PaymentInfo=NULL, PaymentReceived=NULL, PaymentReceivedAmount=NULL, PaymentReceivedCurrencyCode=NULL
10/12/2025 14:01:11,  50.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '315.70' WHERE OrderNo = 603453
11/12/2025 15:23:10,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
27/12/2025 07:01:10,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/01/2026 12:23:38,  2.33,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/01/2026 12:23:41,  4.07,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `15-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `15-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `15-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `15-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 14 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
02/01/2026 12:23:43,  2.63,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/01/2026 12:23:45,  2.73,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag  AND (NOT Exchange OR ExchangeReason = 'Damaged in transit')  GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
02/01/2026 15:35:08,  2.31,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
07/01/2026 16:47:38,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
09/01/2026 08:16:14,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:13:54,  2.36,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:13:56,  3.83,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:13:58,  2.55,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:00,  2.97,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:03,  2.39,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:05,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:07,  2.59,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:09,  2.75,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:12,  4.41,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
14/01/2026 15:14:18,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
19/01/2026 08:03:01,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
22/01/2026 07:58:45,  2.25,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
22/01/2026 07:58:52,  2.25,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
23/01/2026 08:21:32,  2.36,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 1 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 1 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 1 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag  AND (NOT Exchange OR ExchangeReason = 'Damaged in transit')  GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 1 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 1 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 1 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
26/01/2026 08:06:42,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
28/01/2026 09:50:11,  2.35,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
28/01/2026 09:50:13,  3.14,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
31/01/2026 13:01:03,  2.28,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/02/2026 08:08:42,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
04/02/2026 11:59:21,  2.28,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
09/02/2026 05:29:11,  2.27,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
09/02/2026 08:04:13,  2.42,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
11/02/2026 13:23:06,  2.45,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
11/02/2026 16:14:24,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
12/02/2026 16:50:45,  2.38,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
12/02/2026 16:50:48,  3.83,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/02/2026 12:16:26,  2.38,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/02/2026 12:16:29,  3.63,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `11-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `11-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `11-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `11-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 10 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
13/02/2026 12:16:31,  3.14,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
16/02/2026 07:59:44,  2.33,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
16/02/2026 13:23:44,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
19/02/2026 15:26:21,  2.77,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `11-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `11-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `11-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `11-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 10 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
23/02/2026 08:08:07,  2.39,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
23/02/2026 14:02:02,  50.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '114.60' WHERE OrderNo = 605083
25/02/2026 13:23:28,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/02/2026 15:53:54,  2.32,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
02/03/2026 08:01:18,  2.36,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
04/03/2026 20:42:23,  2.39,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/03/2026 13:35:22,  2.33,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
09/03/2026 05:13:57,  2.41,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
09/03/2026 08:04:50,  2.42,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/03/2026 08:09:54,  2.30,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/03/2026 15:42:12,  2.41,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/03/2026 16:48:01,  2.41,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
16/03/2026 08:11:37,  2.36,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
17/03/2026 13:26:32,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
18/03/2026 10:36:51,  2.51,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
18/03/2026 10:36:53,  4.38,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
18/03/2026 14:01:04,  50.03,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.17-MariaDB-log]Lock wait timeout exceeded; try restarting transaction	ExecuteQuery	UPDATE orders SET TotalWeight = '134.80' WHERE OrderNo = 605767
22/03/2026 09:10:25,  2.39,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
23/03/2026 08:00:53,  2.57,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
24/03/2026 07:09:20,  2.40,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/03/2026 09:39:52,  2.46,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/03/2026 09:40:00,  2.44,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/03/2026 11:55:07,  2.43,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/03/2026 15:23:07,  2.34,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
30/03/2026 07:59:10,  2.55,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
30/03/2026 20:40:22,  2.50,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag  AND (NOT Exchange OR ExchangeReason = 'Damaged in transit')  GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
07/04/2026 08:05:13,  2.44,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
15/04/2026 13:28:54,  2.38,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
27/04/2026 08:02:09,  2.38,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/05/2026 14:31:57,  2.41,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
11/05/2026 08:06:15,  2.46,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
12/05/2026 08:02:06,  2.88,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
13/05/2026 13:22:49,  2.42,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
16/05/2026 16:55:47,  4.06,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
18/05/2026 08:43:59,  2.53,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
26/05/2026 08:06:17,  2.45,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
01/06/2026 08:03:00,  2.48,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
05/06/2026 10:10:10,  2.48,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 63 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
07/06/2026 15:05:26,  2.42,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 32
08/06/2026 08:34:41,  2.56,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
10/06/2026 09:10:22,  2.55,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
15/06/2026 08:12:14,  2.66,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
17/06/2026 14:56:18,  2.55,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `12-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `12-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `12-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `12-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 11 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
22/06/2026 07:52:27,  2.50,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
24/06/2026 14:17:18,  2.50,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `30-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `30-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `30-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `30-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 29 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
24/06/2026 14:17:20,  4.08,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
24/06/2026 14:17:22,  2.97,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `30-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `30-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `30-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `30-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 29 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
24/06/2026 14:17:25,  3.14,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
29/06/2026 08:04:03,  2.42,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
13/07/2026 08:02:01,  2.48,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
15/07/2026 08:01:02,  1.14,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
20/07/2026 08:04:26,  1.17,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
21/07/2026 09:12:49,  1.13,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
24/07/2026 07:58:51,  1.13,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'tmp_radiator_quota' already exists	ExecuteQuery	CREATE TABLE tmp_radiator_quota SELECT SUBSTR(a4.DayName, 1, 3) AS Day, a4.Date, DATE_FORMAT(a4.Date, "%d/%m/%y") AS DateFormatted, a4.Radiators AS Rads, a4.Orders, a4.Latest,  a4.weekly_cumulative_sum AS WeeklyCumulative, ROUND(a4.weekly_cumulative_sum * 7 / (WEEKDAY(a4.Date) + 1), 0) AS WeeklyPredictive, a4.monthly_cumulative_sum AS MonthlyCumulative, ROUND(a4.monthly_cumulative_sum * DAY(LAST_DAY(a4.Date)) / DAY(a4.Date), 0) AS MonthlyPredictive  FROM ( SELECT a1.DayName, a1.Date, a1.Radiators, a1.Orders, a1.Latest, IF(DayName = "Monday", @weekly_running_total := 0, @weekly_running_total = @weekly_running_total) AS IsMonday, @weekly_running_total := @weekly_running_total + COALESCE(a1.Radiators, 0) AS weekly_cumulative_sum, IF(Day = 1, @monthly_running_total := 0, @monthly_running_total = @monthly_running_total) AS IsMonthStart, @monthly_running_total := @monthly_running_total + COALESCE(a1.Radiators, 0) AS monthly_cumulative_sum  FROM  ( SELECT DAYNAME(c.CalendarDate) AS DayName, DAY(c.CalendarDate) AS Day, c.CalendarDate AS Date, COALESCE(a.Radiators, 0) AS Radiators, a.Orders, DATE_FORMAT(a.Latest, "%H:%i") AS Latest FROM common.Calendar c LEFT JOIN  ( SELECT DATE(o.DateTimeOrdered) AS Date, SUM(od.Qty) AS Radiators, COUNT(DISTINCT o.OrderNo) AS Orders, MAX(o.DateTimeOrdered) AS Latest FROM orderdetails od INNER JOIN orders o ON o.OrderNo = od.OrderNo INNER JOIN products p ON p.ProductID = od.ProductID LEFT JOIN product_attributes pa ON pa.ProductID = od.ProductID AND pa.AttributeID = 1 WHERE DATE(o.DateTimeOrdered) BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY))) AND CURDATE() - INTERVAL 0 YEAR AND (o.Status = 'COMPLETED' OR o.Status = 'PAYMENT RECEIVED' OR o.Status = 'AWAITING PAYMENT') AND AttributeValue = 'Radiator' AND SubproductOrderDetailID IS NULL AND p.CustomFlag    GROUP BY Date ) a ON a.Date = c.CalendarDate WHERE c.CalendarDate BETWEEN SUBDATE(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY), WEEKDAY(DATE_SUB(CURDATE() - INTERVAL 0 YEAR, INTERVAL 397 DAY))) AND CURDATE() - INTERVAL 0 YEAR ORDER BY Date ) a1 JOIN (SELECT @weekly_running_total:=0) a3 ) a4  ORDER BY Date DESC
27/07/2026 08:01:20,  1.12,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
29/07/2026 13:10:03,  1.18,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `14-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `14-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `14-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `14-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 13 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366
03/08/2026 08:02:44,  1.13,   0, [MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.6.25-MariaDB-log]Table 'castironradcen.tmp_radiator_quota' doesn't exist	OpenQuery	SELECT t1.Day, t1.DateFormatted AS Date, t1.Orders, t1.Latest AS `Latest~Time`, t1.Rads,  ROUND(AVG(t2.Rads), 0) AS `10-Day~Rolling~Avg.`, ROUND(AVG(t2.Rads) * 7 / 6, 0) AS `10-Day~Rolling~Avg.~6 day wk.`, ROUND(AVG(t2.Rads) * 7 / 5, 0) AS `10-Day~Rolling~Avg.~5 day wk.`, SUM(t2.Rads) AS `10-Day~Rolling~Total`, t1.MonthlyCumulative AS `Monthly~Cumul.`, t1.MonthlyPredictive AS `Monthly~Pred.` FROM tmp_radiator_quota t1 JOIN tmp_radiator_quota AS t2  ON t2.Date BETWEEN DATE_SUB(t1.Date, INTERVAL 9 DAY) AND t1.Date GROUP BY 1, 2 ORDER BY t1.Date DESC LIMIT 366