[11:57:59 21-Nov-2022] [localhost/General/Consultas.php] [724] : [INFO] - This is message 
[11:57:59 21-Nov-2022] [localhost/General/Consultas.php] [725] : [DEBUG] - Mensajes -> [SELECT MessageID, Description,date_format(CreateDate,'%d/%m/%Y') CreateDate,Type ,Criticity, Status FROM message WHERE Status =1 AND UserID=] 
[11:57:59 21-Nov-2022] [localhost/General/Consultas.php] [726] : [DEBUG] - SELECT MessageID, Description,date_format(CreateDate,'%d/%m/%Y') CreateDate,Type ,Criticity, Status FROM message WHERE Status =1 AND UserID= 
[11:58:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[11:58:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[11:58:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[11:58:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[11:58:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[11:58:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[11:58:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[11:58:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[11:58:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[11:58:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[11:58:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[11:58:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[11:58:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[11:58:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[11:58:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[11:58:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[11:59:36 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[11:59:36 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[11:59:36 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[11:59:36 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[11:59:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[11:59:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[11:59:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[11:59:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[12:18:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:18:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[12:18:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[12:18:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[12:18:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:18:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[12:18:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[12:18:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[12:59:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:59:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =59763  order by 1 desc] 
[12:59:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =59763  order by 1 desc 
[12:59:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 5 
[12:59:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:59:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =59719  order by 1 desc] 
[12:59:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =59719  order by 1 desc 
[12:59:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 5 
[12:59:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:59:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =59763  order by 1 desc] 
[12:59:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =59763  order by 1 desc 
[12:59:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 5 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[12:59:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:00:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:00:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:00:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:00:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:00:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:00:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:00:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:00:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:01:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:01:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 81  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:01:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 81  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:01:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 1 
[13:01:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 26  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:01:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 26  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:01:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 3 
[13:01:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 79  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:01:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 79  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:01:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 7 
[13:01:46 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:46 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 72  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:01:46 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 72  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:01:46 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 3 
[13:01:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:01:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:01:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:01:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:02:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:02:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:02:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:02:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:02:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:03:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:03:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:03:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:03:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:03:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:03:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:03:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:03:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:09:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:10:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:10:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:10:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:10:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:10:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:10:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%09%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:10:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%09%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:10:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 42 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:11:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:11:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:12:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:12:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:12:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:12:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:12:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:12:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:12:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:12:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:12:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:12:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:13:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:13:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:13:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:13:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:13:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:13:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:13:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:13:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:14:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:14:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:14:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:14:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:14:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:14:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:14:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:14:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:14:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:20:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:20:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:20:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:20:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:20:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:20:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:20:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:20:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:20:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:20:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:20:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:20:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:26:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:26:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:26:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 72  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:26:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 72  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:26:23 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 3 
[13:26:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:26:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:26:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:26:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:26:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:26:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:26:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:26:32 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:44:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:44:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:44:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:44:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:44:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:44:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:44:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:44:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:44:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:44:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:44:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:44:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:45:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:45:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:45:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:45:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:47:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:47:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:47:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:47:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:47:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:47:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:47:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:47:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:47:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:48:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:49:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:50:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:50:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:50:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:50:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:50:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:50:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:50:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:50:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:50:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:51:50 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:53:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:53:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:53:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:53:40 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:53:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:53:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%09%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:53:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%09%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:53:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 42 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:56:17 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:56:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:56:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:56:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:56:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:56:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:56:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:56:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:56:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[13:58:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[13:58:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:58:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[13:58:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[13:58:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[13:58:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[13:58:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%09%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[13:58:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%09%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[13:58:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 42 
[14:12:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:12:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[14:12:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[14:12:43 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[14:12:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:12:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[14:12:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[14:12:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[14:12:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:12:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[14:12:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[14:12:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[14:12:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:12:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[14:12:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[14:12:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[14:18:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[14:18:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:18:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[14:18:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[14:18:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[14:18:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:18:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[14:18:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[14:18:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[14:19:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[14:19:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:19:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[14:19:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[14:19:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[14:20:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:20:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[14:20:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[14:20:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[14:21:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:21:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[14:21:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[14:21:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[14:21:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:21:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[14:21:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[14:21:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[14:21:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:21:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[14:21:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[14:21:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[14:21:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[14:21:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[14:21:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[14:21:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[19:35:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:35:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =62964  order by 1 desc] 
[19:35:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =62964  order by 1 desc 
[19:35:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 0 
[19:35:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:35:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =62935  order by 1 desc] 
[19:35:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =62935  order by 1 desc 
[19:35:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 0 
[19:36:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:36:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58687  order by 1 desc] 
[19:36:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58687  order by 1 desc 
[19:36:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 5 
[19:36:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:36:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58881  order by 1 desc] 
[19:36:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58881  order by 1 desc 
[19:36:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 3 
[19:36:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:36:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58881  order by 1 desc] 
[19:36:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58881  order by 1 desc 
[19:36:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 3 
[19:36:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:36:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - HistoricoEstados -> [select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58729  order by 1 desc] 
[19:36:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select st.when AS FECHA, us.username AS USUARIO, cs.description AS ESTADO, st.comentario as COMENTARIO
						  from statushistory st, contractstatus cs, usersystem us
						 where cs.statusid = st.status_end
						   AND us.usersystemid = st.usersystemid
						   AND st.contract_type = 1
						   and st.contractid =58729  order by 1 desc 
[19:36:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 5 
[19:36:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:36:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[19:36:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[19:36:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[19:36:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:36:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[19:36:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[19:36:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[19:41:14 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[19:41:18 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:41:18 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[19:41:18 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[19:41:18 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[19:41:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[19:41:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[19:41:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[19:41:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:05:12 21-Nov-2022] [localhost/General/Consultas.php] [724] : [INFO] - This is message 
[21:05:12 21-Nov-2022] [localhost/General/Consultas.php] [725] : [DEBUG] - Mensajes -> [SELECT MessageID, Description,date_format(CreateDate,'%d/%m/%Y') CreateDate,Type ,Criticity, Status FROM message WHERE Status =1 AND UserID=] 
[21:05:12 21-Nov-2022] [localhost/General/Consultas.php] [726] : [DEBUG] - SELECT MessageID, Description,date_format(CreateDate,'%d/%m/%Y') CreateDate,Type ,Criticity, Status FROM message WHERE Status =1 AND UserID= 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:05:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:05:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:05:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:05:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:05:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:05:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:05:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:05:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:05:26 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:07:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:07:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:07:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:07:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:07:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:07:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:07:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:07:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:08:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:08:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:08:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:08:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:20:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:20:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:20:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:20:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:20:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:20:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:20:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:20:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:20:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:21:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:21:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:21:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:21:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:21:57 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:22:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:22:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:22:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:22:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:26:00 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:26:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:26:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:26:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:26:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:26:09 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:26:09 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:26:09 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:26:09 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:27:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:28:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:28:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:28:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:28:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:28:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:28:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:28:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:28:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:29:21 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:29:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:29:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:29:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:29:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:29:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:29:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:29:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:29:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:30:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:30:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:30:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:30:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:30:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:30:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:30:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:30:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:30:29 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:38:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:38:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:38:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:38:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:38:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:38:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:38:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:38:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:39:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:40:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:42:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:42:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:42:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:42:53 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:42:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:42:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:42:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:42:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:43:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:43:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:43:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:43:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:43:22 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:43:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:43:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:43:30 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:43:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:46:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:46:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:46:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:46:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:46:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:46:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:46:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:46:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:46:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:46:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 72  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:46:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 72  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:46:15 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 3 
[21:46:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:46:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:46:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:46:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:46:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:46:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:46:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:46:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:47:45 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:47:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:47:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:47:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:47:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:47:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:47:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:47:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:47:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:50:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:50:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:50:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:50:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:50:08 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:50:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:50:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:50:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:50:13 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:51:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:51:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:51:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:51:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:51:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:52:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:52:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:52:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:52:02 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:53:27 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:53:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:53:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:53:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:53:31 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:53:35 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[21:56:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:56:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[21:56:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[21:56:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[21:56:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:56:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[21:56:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[21:56:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[21:56:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:56:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[21:56:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[21:56:10 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[21:56:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[21:56:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[21:56:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[21:56:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:01:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:01:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:01:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:01:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:01:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:01:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:01:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:01:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:01:52 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:07:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:07:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:07:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:07:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:07:56 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:07:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:07:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:07:58 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:07:59 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:08:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:08:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:08:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:08:03 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:09:07 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:09:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:09:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:09:11 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:09:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:09:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:09:16 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:09:51 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:09:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:09:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:09:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:09:55 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:10:01 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:10:01 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:10:01 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:10:01 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:11:05 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:11:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:11:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:11:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:11:48 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:11:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:11:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:11:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:11:54 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:12:39 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:12:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:12:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:12:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:12:41 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:12:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:12:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:12:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:12:47 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[22:13:34 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[22:14:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:14:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[22:14:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[22:14:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[22:14:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[22:14:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[22:14:37 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[22:14:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[23:08:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[23:08:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:08:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[23:08:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[23:08:28 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[23:08:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:08:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[23:08:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77   and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[23:08:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 394 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[23:10:12 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[23:10:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:10:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[23:10:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[23:10:19 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[23:10:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:10:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[23:10:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[23:10:25 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[23:10:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[23:11:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:11:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[23:11:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[23:11:20 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[23:11:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:11:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[23:11:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[23:11:24 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[23:13:04 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[23:13:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:13:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 21  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[23:13:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 21  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[23:13:06 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 1 
[23:13:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:13:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[23:13:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[23:13:33 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[23:13:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:13:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[23:13:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[23:13:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboCustomerB -> [select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER] 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select CUSTOMERID , CUSTOMERFIDUCIA||'-'||CUSTOMERNAME DESCRIPTION FROM CUSTOMER 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 49 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboFormatoB -> [ SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT] 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT TRUSTTYPEID, DESCRIPTION FROM TRUSTTYPEFORMAT 
[23:15:38 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 32 
[23:15:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:15:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - ComboAgencyB -> [ SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1 ] 
[23:15:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] -  SELECT CI.CITYID || '-'|| CU.CUSTOMERID AS CUSTOMERCITYID, CI.DESCRIPTION AS DESCRIPTION FROM CUSTOMERCITY CU, CITY CI  WHERE CU.CUSTOMERID = 77  AND CU.STATEID = 1  AND CU.CITYID = CI.CITYID  AND CI.STATUS = 1  
[23:15:44 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 10 
[23:15:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [99] : [INFO] - ON FORMAT 
[23:15:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [100] : [DEBUG] - GridCcontratoB -> [select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc ] 
[23:15:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [101] : [DEBUG] - select tmp.contractid AS CONTRATOID, tmp.name AS NOMBRE,  to_char(tmp.daycontract, 'DD/MM/YYYY') AS FECHA, tmp.vehicleid, tmp.vehicle AS VEHICULO, tmp.cedula AS CEDULARUC, tmp.vehicleenginenumber AS MOTOR, tmp.vehiclechassisnumber, tmp.customername, tmp.description AS ESTADO, tmp.urltype, tmp.statusid, tmp.pasaporte  from (  SELECT  co.contractid as contractid, ve.vehicleid as vehicleid, a.identitynumber as cedula, a.lastname||' '||a.lastnamemother||' '||a.firstname||' '||a.secondname as name , p.description||' '||ve.vehicletype||' '||ve.vehicleclass as vehicle, ve.enginenumber as vehicleenginenumber, ve.chassisnumber as vehiclechassisnumber, co.daycontract as daycontract, cu.customername as customername, ct.description as description, tr.urltype as urltype, co.statusid as statusid, a.passport as pasaporte  FROM contractadhesion co, applicant a, customer cu, vehicle ve, contractstatus ct, trusttypeformat tr, parameter p  WHERE co.customerid =   77 and a.identitynumber like '%0%'  and co.cityid = 182 and co.trusttypeid =  15  AND co.customerid = cu.customerid and co.contractid = a.contractid and co.contractid = ve.contractid and co.statusid = ct.statusid and co.trusttypeid = tr.trusttypeid and co.statusid = ct.statusid and p.domainid = cu.domainformarca and p.subdomainid = ve.trademark and a.applicantid = (select min(e.applicantid) from applicant e where e.contractid = co.contractid and e.applicanttype=1)  group by co.contractid, a.identitynumber, ve.vehicleid, p.description || ' ' || ve.vehicletype || ' ' || ve.vehicleclass, ve.enginenumber, ve.chassisnumber,  co.daycontract, cu.customername, ct.description, tr.urltype, co.statusid, a.firstname, a.secondname, a.lastname, a.lastnamemother, a.passport  ) tmp order by tmp.contractid desc  
[23:15:49 21-Nov-2022] [localhost/Backend/Adhesion/Formato.php] [104] : [DEBUG] - 256 
