[2026-04-23 06:28:04] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 06:31:49] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 07:17:34] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 07:51:27] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 08:10:51] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 08:25:18] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 08:47:19] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:21:08] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:21:38] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:22:12] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:22:57] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:34:42] production.INFO: Query error in PERFECTBLINDSUK. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:36:09] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 09:49:51] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 10:18:03] production.INFO: Query error in PERFECTBLINDSUK. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 10:32:32] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 10:45:06] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 11:13:25] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 11:20:28] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 11:38:22] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 12:03:51] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 12:12:30] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 12:14:00] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 12:44:44] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 13:18:27] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 13:35:45] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 13:37:09] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 14:01:21] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 14:06:03] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 15:01:15] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 15:05:37] production.INFO: Query error in LLOYDSBLINDS. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 15:22:41] production.INFO: Query error in PERFECTBLINDSUK. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 15:58:09] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 16:00:17] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 18:33:03] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined) [2026-04-23 18:37:04] production.INFO: Query error in WESTCOUNTRY. Error is: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'on clause' (SQL: select JSON_MERGE(jd_jobcustomoizedkeyvalue,jd_deletedcustokeyvalue) AS customoizedarray, `jd_customerid` as `customerid`, `jd_contactid` as `contactid`, `jd_id` as `id`, `jd_jobref` as `orderid`, `jd_createddate` as `createddate`, `jd_orderdate` as `orderdate`, `jd_invoicedate` as `invoicedate`, `jd_completeddate` as `completeddate`, `jd_seq` as `seq`, `jd_status` as `status`, `jd_contactaddid` as `contactaddressid`, `jd_templateid` as `templateid`, `jd_createdby` as `createdby`, `jd_accref` as `accref`, IF(jd_invoiceno=0,"",jd_invoiceno) AS invoiceno, `jd_accref` as `accref`, `jd_orderstatus` as `orderstatus`, `jd_jobstatus` as `jobstatus`, `defaultsalestaxlabel`, `organization_id` as `organizationid`, `jmq_id` as `pivotId`, `jmq_duedate` as `duedate`, `jmq_sceduleddate` as `sceduleddate`, `jmq_listprice` as `listprice`, `jmq_netprice` as `netprice`, `jmq_vat` as `vat`, `jmq_isvaton` as `isvaton`, `jmq_deliverycost` as `deliverycost`, `jmq_deliverycosttypeid` as `deliverycosttypeid`, `jmq_deliverycostid` as `deliverycostid`, `jmq_overridetypeid` as `orderformtypeid`, `jmq_orderformprice` as `orderformprice`, `jmq_editpricebyid` as `editpricebyid`, `jmq_isroundon` as `isroundon`, `jmq_grossprice` as `grossprice`, `jmq_grossprofit` as `grossprofit`, `jmq_costprice` as `totcostprice`, `jmq_amountoutstanding` as `amountoutstanding`, `jmq_totpaid` as `totpaid`, `jmq_creditlimit` as `creditlimit`, `jmq_creditbalance` as `creditbalance`, `jmq_overdue` as `overdue`, `jmq_userdefinedarray` as `userdefinedarray`, `jmq_overrideprice` as `overrideprice`, `jmq_overridenetprice` as `overridenetprice`, `jmq_overridevatprice` as `overridevatprice`, `jmq_overridegrossprice` as `overridegrossprice`, `jmq_iscostpriceon` as `iscostpriceon`, `jmq_isonlineorder` as `isonlineorder`, `jmq_isonlineordersubmitted` as `submittedjob`, `jmq_endcustomervatprice` as `endcustomervatprice`, `jmq_endcustomeroverridetype` as `endcustomeroverridetype`, `jmq_endcustomeroverridevalue` as `endcustomeroverridevalue`, `jmq_endcustomeroverridenetprice` as `endcustomeroverridenetprice`, `jmq_endcustomeroverridevatprice` as `endcustomeroverridevatprice`, `jmq_endcustomeroverridegrossprice` as `endcustomeroverridegrossprice`, `jmq_endcustomerdeliverycost` as `endcustomerdeliverycost`, `jmq_endcustomerdeliverycostinclvat` as `endcustomerdeliverycostinclvat`, `jmq_endcustomerfittingcost` as `endcustomerfittingcost`, `jmq_endcustomerfittingcostinclvat` as `endcustomerfittingcostinclvat`, `jmq_commissionaddedvalue` as `commissionaddedvalue `, `jmq_onlinedeliveryaddreddtype` as `onlinedeliveryaddreddtype`, IF(jmq_overridetypeid=5,jmq_overrideprice,IF(jmq_overridetypeid=4,(jmq_listprice * jmq_overrideprice)/100,0)) AS discamt, `jmq_grossprofit_percentage` as `grossprofitpercentage` from `bm_jobdetails` inner join `bm_jobmultiquote` on `jmq_jobid` = undefined left join `bm_organizationdetails` on `organization_id` = JSON_UNQUOTE(JSON_EXTRACT(jd_jobcustomoizedkeyvalue,'$.33')) where `jd_id` = undefined and `jd_status` = 0 and `jmq_id` = undefined)