-
Global information
- Generated on Mon Jul 13 23:00:22 2026
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 208,615 log entries in 20s
- Log start from 2026-07-13 07:00:01 to 2026-07-13 22:00:00
-
Overview
Global Stats
- 26 Number of unique normalized queries
- 931 Number of queries
- 7h51m8s Total query duration
- 2026-07-13 07:00:06 First query
- 2026-07-13 21:52:55 Last query
- 2 queries/s at 2026-07-13 19:00:05 Query peak
- 7h51m8s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 7h51m8s Execute total duration
- 652 Number of events
- 7 Number of unique normalized events
- 567 Max number of times the same event was reported
- 0 Number of cancellation
- 47,610 Total number of automatic vacuums
- 137 Total number of automatic analyzes
- 2,586 Number temporary file
- 315.05 MiB Max size of temporary file
- 23.52 MiB Average size of temporary file
- 10,566 Total number of sessions
- 30 sessions at 2026-07-13 20:00:02 Session peak
- 4d2h9m13s Total duration of sessions
- 33s442ms Average duration of sessions
- 0 Average queries per session
- 2s675ms Average queries duration per session
- 30s767ms Average idle time per session
- 10,562 Total number of connections
- 11 connections/s at 2026-07-13 19:50:07 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-13 19:00:05 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-13 19:00:05 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-13 14:20:59 Date
Queries duration
Key values
- 7h51m8s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 07 64 0ms 2m57s 29s725ms 2m8s 2m57s 3m34s 08 62 0ms 2m28s 29s512ms 2m7s 3m31s 3m36s 09 62 0ms 2m58s 30s198ms 2m8s 2m58s 3m33s 10 61 0ms 2m27s 31s526ms 2m8s 3m31s 3m35s 11 63 0ms 2m57s 29s835ms 2m7s 2m57s 3m36s 12 61 0ms 2m31s 30s80ms 2m8s 3m33s 3m41s 13 62 0ms 2m58s 30s564ms 2m6s 2m19s 2m58s 14 62 0ms 2m25s 30s84ms 2m7s 2m20s 2m25s 15 62 0ms 2m58s 30s383ms 2m4s 3m26s 4m8s 16 62 0ms 2m25s 29s367ms 2m6s 3m29s 3m33s 17 62 0ms 2m57s 30s680ms 2m6s 2m21s 2m57s 18 63 0ms 2m25s 29s733ms 2m6s 2m21s 2m25s 19 62 0ms 2m59s 30s988ms 2m8s 2m23s 4m9s 20 62 0ms 2m25s 30s187ms 2m8s 2m21s 2m25s 21 61 0ms 2m57s 32s676ms 2m8s 3m29s 4m8s 22 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 07 39 0 14s904ms 24s703ms 41s86ms 1m9s 08 37 0 14s629ms 24s684ms 45s90ms 1m8s 09 38 0 14s632ms 24s607ms 40s999ms 1m8s 10 37 0 17s581ms 24s584ms 44s698ms 1m8s 11 38 0 14s629ms 24s811ms 41s183ms 1m8s 12 37 0 14s689ms 24s623ms 45s165ms 1m9s 13 37 0 15s262ms 35s256ms 41s345ms 1m8s 14 37 0 15s313ms 35s389ms 41s730ms 1m8s 15 38 0 14s892ms 24s936ms 45s125ms 1m9s 16 37 0 14s591ms 24s703ms 44s908ms 1m8s 17 38 0 15s5ms 35s596ms 42s74ms 1m8s 18 37 0 15s244ms 35s361ms 41s784ms 1m7s 19 38 0 15s183ms 33s309ms 45s514ms 1m7s 20 37 0 15s235ms 33s277ms 42s3ms 1m8s 21 37 0 18s79ms 25s65ms 45s402ms 1m11s 22 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 07 0 25 0 0 52s847ms 0ms 40s996ms 2m23s 08 0 25 0 0 51s539ms 0ms 40s785ms 2m22s 09 0 24 0 0 54s844ms 0ms 40s942ms 2m24s 10 0 24 0 0 53s25ms 0ms 41s37ms 2m23s 11 0 25 0 0 52s948ms 0ms 41s399ms 2m23s 12 0 24 0 0 53s809ms 0ms 41s130ms 2m24s 13 0 25 0 0 53s211ms 0ms 42s292ms 2m19s 14 0 25 0 0 51s944ms 0ms 41s782ms 2m20s 15 0 24 0 0 54s911ms 0ms 41s549ms 2m18s 16 0 25 0 0 51s236ms 0ms 41s65ms 2m20s 17 0 24 0 0 55s499ms 0ms 41s851ms 2m21s 18 0 26 0 0 50s351ms 0ms 41s726ms 2m21s 19 0 24 0 0 56s12ms 0ms 41s580ms 2m23s 20 0 25 0 0 52s315ms 0ms 41s771ms 2m21s 21 0 24 0 0 55s181ms 0ms 41s593ms 2m21s 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 13 07 0 62 62.00 0.00% 08 0 61 61.00 0.00% 09 0 61 61.00 0.00% 10 0 60 60.00 0.00% 11 0 62 62.00 0.00% 12 0 60 60.00 0.00% 13 0 61 61.00 0.00% 14 0 61 61.00 0.00% 15 0 61 61.00 0.00% 16 0 61 61.00 0.00% 17 0 61 61.00 0.00% 18 0 62 62.00 0.00% 19 0 61 61.00 0.00% 20 0 61 61.00 0.00% 21 0 60 60.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 13 07 702 0.20/s 08 708 0.20/s 09 704 0.20/s 10 702 0.20/s 11 704 0.20/s 12 706 0.20/s 13 704 0.20/s 14 703 0.20/s 15 705 0.20/s 16 702 0.20/s 17 704 0.20/s 18 703 0.20/s 19 704 0.20/s 20 704 0.20/s 21 704 0.20/s 22 3 0.00/s Day Hour Count Average Duration Average idle time Jul 13 07 709 1m4s 1m1s 08 708 25s489ms 22s904ms 09 704 43s404ms 40s745ms 10 702 33s261ms 30s521ms 11 704 27s150ms 24s480ms 12 706 34s380ms 31s781ms 13 704 17s808ms 15s116ms 14 703 33s332ms 30s679ms 15 705 31s122ms 28s450ms 16 702 42s570ms 39s976ms 17 704 33s173ms 30s471ms 18 703 33s328ms 30s663ms 19 704 25s503ms 22s774ms 20 704 38s681ms 36s23ms 21 704 18s19ms 15s187ms 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 11 connections Connection Peak
- 2026-07-13 19:50:07 Date
Connections per database
Key values
- etendo Main Database
- 10,562 connections Total
Connections per user
Key values
- postgres Main User
- 10,562 connections Total
-
Sessions
Simultaneous sessions
Key values
- 30 sessions Session Peak
- 2026-07-13 20:00:02 Date
Histogram of session times
Key values
- 10,419 0-500ms duration
Sessions per database
Key values
- etendo Main Database
- 10,566 sessions Total
Sessions per user
Key values
- postgres Main User
- 10,566 sessions Total
Sessions per host
Key values
- [local] Main Host
- 10,566 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 12,075 buffers Checkpoint Peak
- 2026-07-13 07:11:05 Date
- 270.011 seconds Highest write time
- 0.025 seconds Sync time
Checkpoints Wal files
Key values
- 20 files Wal files usage Peak
- 2026-07-13 11:11:11 Date
Checkpoints distance
Key values
- 624.58 Mo Distance Peak
- 2026-07-13 19:11:15 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 13 07 20,003 836.918s 0.029s 836.997s 08 427 44.049s 0.038s 44.118s 09 20,082 831.613s 0.027s 831.69s 10 1,054 104.634s 0.031s 104.698s 11 20,106 831.166s 0.031s 831.245s 12 515 50.575s 0.021s 50.634s 13 19,717 832.505s 0.032s 832.59s 14 522 54.452s 0.026s 54.512s 15 19,209 839.252s 0.035s 839.337s 16 310 29.68s 0.022s 29.743s 17 19,765 832.935s 0.026s 833.009s 18 380 36.605s 0.023s 36.662s 19 18,581 831.97s 0.031s 832.052s 20 394 38.245s 0.017s 38.298s 21 19,560 832.688s 0.029s 832.769s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 13 07 0 0 38 540 0.004s 0.011s 08 0 0 1 368 0.011s 0.012s 09 0 0 37 481 0.003s 0.012s 10 0 0 1 413 0.005s 0.012s 11 0 0 38 484 0.004s 0.012s 12 0 0 1 428 0.002s 0.012s 13 0 0 38 486 0.006s 0.012s 14 0 0 1 387 0.002s 0.012s 15 0 0 37 482 0.004s 0.012s 16 0 0 1 361 0.002s 0.012s 17 0 0 38 484 0.006s 0.012s 18 0 0 1 391 0.002s 0.012s 19 0 0 38 495 0.006s 0.012s 20 0 0 1 366 0.002s 0.012s 21 0 0 38 503 0.002s 0.012s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 13 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Jul 13 07 55,810.64 kB 201,558.00 kB 08 1,489.75 kB 68,777.75 kB 09 50,852.50 kB 199,756.08 kB 10 1,910.83 kB 63,921.08 kB 11 51,075.17 kB 202,237.50 kB 12 1,548.42 kB 64,381.92 kB 13 51,481.00 kB 195,520.33 kB 14 1,454.58 kB 62,108.67 kB 15 51,597.67 kB 202,632.58 kB 16 1,456.92 kB 64,292.25 kB 17 51,622.83 kB 202,082.67 kB 18 1,456.33 kB 64,046.33 kB 19 51,493.75 kB 202,857.00 kB 20 1,511.25 kB 64,521.83 kB 21 52,194.92 kB 202,108.50 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 315.05 MiB Temp Files size Peak
- 2026-07-13 17:00:16 Date
Number of temporary files
Key values
- 20 per second Temp Files Peak
- 2026-07-13 15:45:01 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 13 07 170 3.96 GiB 23.85 MiB 08 168 3.96 GiB 24.12 MiB 09 168 3.96 GiB 24.12 MiB 10 168 3.96 GiB 24.12 MiB 11 172 3.96 GiB 23.58 MiB 12 174 3.96 GiB 23.31 MiB 13 174 3.96 GiB 23.31 MiB 14 174 3.96 GiB 23.31 MiB 15 174 3.96 GiB 23.29 MiB 16 174 3.96 GiB 23.28 MiB 17 174 3.96 GiB 23.30 MiB 18 174 3.96 GiB 23.31 MiB 19 174 3.96 GiB 23.31 MiB 20 174 3.96 GiB 23.31 MiB 21 174 3.96 GiB 23.31 MiB 22 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 900 3.41 GiB 649 B 17.20 MiB 3.87 MiB update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select o.c_order_id as referencekey_id, ad_column_identifier (?, o.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || o.documentno || ? || ri.value || ? || o_ri.documentno || ? || prod.value as description, ? as isactive, o.ad_org_id, o.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_reservation r join c_orderline ol on ol.c_orderline_id = r.c_orderline_id join c_order o on o.c_order_id = ol.c_order_id join m_reservation_stock rs on rs.m_reservation_id = r.m_reservation_id join m_attributesetinstance att on att.m_attributesetinstance_id = rs.m_attributesetinstance_id join m_refinventory ri on ri.m_refinventory_id = att.m_refinventory_id join c_order o_ri on o_ri.c_order_id = ri.em_prpp_order_id join m_product prod on prod.m_product_id = r.m_product_id where ? = ? and o_ri.c_order_id <> o.c_order_id order by ri.value) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select o.c_order_id AS referencekey_id, ad_column_identifier ('c_order', o.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'SM en pedido incorrecto, Pv: ' || o.documentno || ' SM: ' || ri.value || ' PV-SM: ' || o_ri.documentno || ' Producto: ' || prod.value AS description, 'Y' AS isActive, o.ad_org_id, o.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_reservation r join c_orderline ol on ol.c_orderline_id = r.c_orderline_id join c_order o on o.c_order_id = ol.c_order_id join m_reservation_stock rs on rs.m_reservation_id = r.m_reservation_id join m_attributesetinstance att on att.m_attributesetinstance_id = rs.m_attributesetinstance_id join m_refinventory ri on ri.m_refinventory_id = att.m_refinventory_id join c_order o_ri on o_ri.c_order_id = ri.em_prpp_order_id join m_product prod on prod.m_product_id = r.m_product_id where 1 = 1 --and r.m_reservation_id = '001B269942C1479FA446FCEC3614D5C7' and o_ri.c_order_id <> o.c_order_id order by ri.value) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 07:05:11 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
2 630 7.53 GiB 8.43 MiB 23.41 MiB 12.25 MiB select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where ? = ? and wrpprod.movementqty > ? and prod.isstocked = ? and p.processed = ? and wrphase.ma_process_id <> ? and not exists ( select ? from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:16 Duration: 10s965ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:16 Duration: 10s925ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:02:01 Duration: 10s829ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
3 384 45.03 GiB 648.00 KiB 315.05 MiB 120.08 MiB select * from ( select ;-
SELECT * FROM ( select ;
Date: 2026-07-13 07:00:06 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
4 360 37.44 KiB 59 B 154 B 106.5 B update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select prepc_epc_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || epc || ? as description, ? as isactive, ad_org_id as ad_org_id, ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, prepc_epc_id, ?) as record_id from prepc_epc where prepc_epc_id in ( select prepc_epc_id from ( select count(?), prepc_epc_id, m_inoutline_id, m_inventoryline_id, m_productionline_id, m_movementline_id, m_internal_consumptionline_id from prepc_epctransaction pe group by prepc_epc_id, m_inoutline_id, m_inventoryline_id, m_productionline_id, m_movementline_id, m_internal_consumptionline_id having count(?) > ?) as sub)) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select prepc_epc_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Matricula ' || epc || ' está duplicada en transacciones. ' as description, 'Y' as isActive, ad_org_id as ad_org_id, ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('prepc_epc', prepc_epc_id, 'es_ES') AS RECORD_ID FROM prepc_epc WHERE prepc_epc_id IN ( SELECT prepc_epc_id FROM ( SELECT count(1), prepc_epc_id, m_inoutline_id, m_inventoryline_id, m_productionline_id, m_movementline_id, m_internal_consumptionline_id FROM prepc_epctransaction pe GROUP BY prepc_epc_id, m_inoutline_id, m_inventoryline_id, m_productionline_id, m_movementline_id, m_internal_consumptionline_id HAVING count(1) > 1) AS sub)) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 07:00:35 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
5 270 3.40 GiB 8.60 MiB 17.20 MiB 12.91 MiB select * from ( select o.c_order_id as referencekey_id, ad_column_identifier (?, o.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || o.documentno || ? || ri.value || ? || o_ri.documentno || ? || prod.value as description, ? as isactive, o.ad_org_id, o.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_reservation r join c_orderline ol on ol.c_orderline_id = r.c_orderline_id join c_order o on o.c_order_id = ol.c_order_id join m_reservation_stock rs on rs.m_reservation_id = r.m_reservation_id join m_attributesetinstance att on att.m_attributesetinstance_id = rs.m_attributesetinstance_id join m_refinventory ri on ri.m_refinventory_id = att.m_refinventory_id join c_order o_ri on o_ri.c_order_id = ri.em_prpp_order_id join m_product prod on prod.m_product_id = r.m_product_id where ? = ? and o_ri.c_order_id <> o.c_order_id order by ri.value) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);-
SELECT * FROM ( select o.c_order_id AS referencekey_id, ad_column_identifier ('c_order', o.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'SM en pedido incorrecto, Pv: ' || o.documentno || ' SM: ' || ri.value || ' PV-SM: ' || o_ri.documentno || ' Producto: ' || prod.value AS description, 'Y' AS isActive, o.ad_org_id, o.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_reservation r join c_orderline ol on ol.c_orderline_id = r.c_orderline_id join c_order o on o.c_order_id = ol.c_order_id join m_reservation_stock rs on rs.m_reservation_id = r.m_reservation_id join m_attributesetinstance att on att.m_attributesetinstance_id = rs.m_attributesetinstance_id join m_refinventory ri on ri.m_refinventory_id = att.m_refinventory_id join c_order o_ri on o_ri.c_order_id = ri.em_prpp_order_id join m_product prod on prod.m_product_id = r.m_product_id where 1 = 1 --and r.m_reservation_id = '001B269942C1479FA446FCEC3614D5C7' and o_ri.c_order_id <> o.c_order_id order by ri.value) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = $1 and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:05:08 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
6 33 21.47 MiB 648.00 KiB 688.00 KiB 666.18 KiB update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:01:48 Duration: 14s268ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:01:47 Duration: 14s84ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:01:47 Duration: 14s48ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 07:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 07:20:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 07:40:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 08:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 08:20:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 08:40:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 09:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 09:20:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 09:40:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 10:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 10:20:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 10:40:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 11:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 11:20:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 11:40:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 12:00:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 12:20:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 12:40:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 13:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 315.05 MiB SELECT * FROM ( select ;[ Date: 2026-07-13 13:20:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 45.43 sec Highest CPU-cost vacuum
Table public.c_invoice
Database etendo - 2026-07-13 08:00:58 Date
- 0 sec Highest CPU-cost analyze
Table
Database etendo - Date
Average Autovacuum Duration
Key values
- 45.43 sec Highest CPU-cost vacuum
Table public.c_invoice
Database etendo - 2026-07-13 08:00:58 Date
Analyzes per table
Key values
- profile.last_stat_user_functions_srv1 (15) Main table analyzed (database etendo)
- 137 analyzes Total
Table Number of analyzes etendo.profile.last_stat_user_functions_srv1 15 etendo.profile.last_stat_statements_srv1 15 etendo.profile.last_stat_tables_srv1 15 etendo.profile.last_stat_indexes_srv1 15 etendo.profile.indexes_list 9 etendo.public.c_invoice 8 etendo.profile.stmt_list 7 etendo.profile.last_stat_activity_count_srv1 5 etendo.profile.tables_list 5 etendo.public.ad_process_request 4 etendo.profile.last_extension_versions 4 etendo.pg_catalog.pg_type 4 etendo.pg_catalog.pg_attribute 4 etendo.profile.funcs_list 3 etendo.profile.sample_stat_user_functions 2 etendo.profile.last_stat_slru 2 etendo.profile.sample_stat_tables 2 etendo.pg_catalog.pg_class 1 etendo.profile.sample_stat_tables_total 1 etendo.profile.sample_stat_indexes_total 1 etendo.profile.last_stat_cluster 1 etendo.profile.sample_stat_indexes 1 etendo.public.ad_module 1 etendo.profile.sample_stat_tablespaces 1 etendo.public.ad_session 1 etendo.profile.last_stat_wal 1 etendo.public.m_stock_aux 1 etendo.profile.last_stat_archiver 1 etendo.profile.sample_stat_user_func_total 1 etendo.profile.sample_stat_database 1 etendo.profile.sample_stat_slru 1 template0.pg_catalog.pg_shdepend 1 etendo.profile.sample_statements 1 etendo.public.ad_process_run 1 etendo.profile.sample_statements_total 1 Total 137 Vacuums per table
Key values
- pg_catalog.pg_shdepend (900) Main table vacuumed on database template0
- 47,610 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples template0.pg_catalog.pg_shdepend 900 0 198,837 0 225 0 0 105 92 723,665 0 0 etendo.profile.last_extension_versions 899 0 96,859 0 55 0 0 1 1 8,177 0 0 etendo.pg_catalog.pg_class 899 0 659,403 0 156 0 0 108 90 733,644 0 0 etendo.profile.sample_stat_user_functions 899 0 258,525 0 61 0 0 15 0 3,495 0 0 etendo.public.ad_process_request 899 0 10,251,370 0 901 0 0 69 37 310,341 0 0 etendo.profile.sample_stat_indexes 899 0 744,773 0 66 0 0 16 1 11,732 0 0 etendo.profile.last_stat_cluster 899 0 44,867 0 55 0 0 1 1 8,201 0 0 etendo.profile.sample_stat_tables 899 0 3,934,856 0 170 0 0 16 0 3,728 0 0 etendo.profile.sample_stat_archiver 899 0 39,744 0 63 0 0 4 0 932 0 0 etendo.public.ad_pinstance 899 0 69,880 0 3 0 0 3 0 306 0 0 etendo.profile.sample_stat_indexes_total 899 0 82,619 0 61 0 0 4 0 932 0 0 etendo.public.ad_sequence 899 0 94,119 0 3 0 0 0 0 0 0 0 etendo.profile.stmt_list 899 0 1,662,347 0 412 0 0 23 13 107,227 0 0 etendo.profile.sample_stat_database 899 0 134,223 0 59 0 0 7 1 9,635 0 0 etendo.profile.sample_stat_slru 899 0 69,313 0 63 0 0 4 0 932 0 0 etendo.profile.sample_stat_user_func_total 899 0 49,520 0 63 0 0 4 0 932 0 0 etendo.public.m_stock_aux 899 1 106,457 0 6 0 0 10 2 17,182 0 0 etendo.profile.last_stat_wal 899 0 44,587 0 56 0 0 1 1 8,177 0 0 etendo.profile.last_stat_archiver 899 0 42,348 0 54 0 0 0 0 0 0 0 etendo.profile.sample_stat_tablespaces 899 0 62,062 0 61 0 0 4 0 932 0 0 etendo.profile.funcs_list 899 0 284,976 0 115 0 0 5 0 1,165 0 0 etendo.profile.sample_statements_total 899 0 91,277 0 67 0 0 5 4 32,509 0 0 etendo.pg_catalog.pg_attribute 899 0 1,488,900 0 327 0 682,341 401 117 1,028,497 0 0 etendo.profile.tables_list 899 0 931,183 0 496 0 0 16 0 3,728 0 0 etendo.profile.indexes_list 899 0 718,287 0 261 0 0 15 5 43,515 0 0 template1.pg_catalog.pg_shdepend 899 0 200,378 0 139 0 0 124 91 733,960 0 0 etendo.pg_catalog.pg_shdepend 899 0 189,806 0 98 0 0 108 90 743,364 0 0 etendo.profile.servers 899 0 79,309 0 53 0 0 0 0 0 0 0 etendo.profile.last_stat_activity_count_srv1 899 0 138,734 0 59 0 0 4 3 25,184 0 0 etendo.profile.sample_stat_wal 899 0 44,239 0 63 0 0 4 0 932 0 0 etendo.pg_toast.pg_toast_989809 899 0 5,589,183 0 2 0 0 1 1 8,069 0 0 etendo.profile.last_stat_slru 899 0 69,350 0 53 0 0 0 0 0 0 0 etendo.pg_toast.pg_toast_2619 899 0 5,818,684 0 102 0 0 36 21 172,857 0 0 etendo.profile.sample_stat_tables_total 899 0 188,246 0 54 0 0 7 0 1,631 0 0 etendo.profile.sample_statements 899 0 2,008,563 0 85 0 0 23 6 53,383 0 0 etendo.profile.sample_stat_cluster 899 0 45,843 0 65 0 0 4 1 8,936 0 0 etendo.public.ad_session 899 0 180,583 0 62 0 0 2 2 16,378 0 0 etendo.pg_catalog.pg_type 899 0 435,220 0 292 0 61,132 194 109 912,842 0 0 etendo.public.ad_module 899 0 1,114,951 0 1 0 0 1 1 8,157 0 0 etendo.pg_catalog.pg_depend 899 0 385,925 0 401 0 420,732 573 170 1,479,909 0 0 etendo.pg_catalog.pg_statistic 899 0 23,268,539 0 933 0 0 47 38 311,955 0 0 etendo.public.ad_session_usage_audit 899 0 178,955 0 8 0 0 3 2 16,502 0 0 etendo.profile.samples 899 0 63,753 0 61 0 0 4 0 932 0 0 etendo.pg_toast.pg_toast_989517 899 0 1,310,057 0 38 0 0 10 10 81,530 0 0 etendo.public.ad_process_run 899 0 13,724,592 0 892 0 0 384 179 1,481,459 0 0 etendo.public.c_invoice 899 0 2,725,117,507 0 31,986 320 2,600,807 147 65 543,281 0 0 etendo.profile.last_stat_statements_srv1 895 0 21,013,918 0 628 0 0 15 2 22,287 0 0 etendo.profile.last_stat_user_functions_srv1 895 0 11,166,702 0 391 0 0 22 0 10,406 0 0 etendo.profile.last_stat_database_srv1 895 0 131,058 0 55 0 0 15 0 7,095 0 0 etendo.profile.last_stat_tablespaces_srv1 895 0 55,084 0 62 0 0 15 2 22,359 0 0 postgres.pg_catalog.pg_shdepend 894 0 202,323 0 129 0 0 110 90 716,470 0 0 etendo.profile.last_stat_tables_srv1 893 0 134,996,278 0 3,244 0 0 30 7 67,614 0 0 etendo.profile.last_stat_indexes_srv1 888 0 161,831,063 0 3,899 0 0 30 0 14,190 0 0 Total 47,610 1 3,131,710,175 390,807,932 47,714 320 3,765,012 2,750 1,255 10,521,266 0 0 Vacuum throughput per table
Key values
- public.c_invoice (36215.85) Max CPU elapsed for vacuum on database etendo
- unknown (0 ms) Max I/O read time for vacuum on database etendo
- unknown (0 ms) Max I/O write time for vacuum on database etendo
I/O timing (ms) CPU (s) Table read write elapsed template0.pg_catalog.pg_shdepend 0 0 3.22999999999998 etendo.profile.last_extension_versions 0 0 0 etendo.pg_catalog.pg_class 0 0 1.11 etendo.profile.sample_stat_user_functions 0 0 7.2899999999999 etendo.public.ad_process_request 0 0 251.39 etendo.profile.sample_stat_indexes 0 0 29.9100000000001 etendo.profile.last_stat_cluster 0 0 0 etendo.profile.sample_stat_tables 0 0 187.14 etendo.profile.sample_stat_archiver 0 0 0 etendo.public.ad_pinstance 0 0 0 etendo.profile.sample_stat_indexes_total 0 0 0 etendo.public.ad_sequence 0 0 0 etendo.profile.stmt_list 0 0 74.4 etendo.profile.sample_stat_database 0 0 0 etendo.profile.sample_stat_slru 0 0 0 etendo.profile.sample_stat_user_func_total 0 0 0 etendo.public.m_stock_aux 0 0 0 etendo.profile.last_stat_wal 0 0 0 etendo.profile.last_stat_archiver 0 0 0 etendo.profile.sample_stat_tablespaces 0 0 0 etendo.profile.funcs_list 0 0 9.66999999999984 etendo.profile.sample_statements_total 0 0 0 etendo.pg_catalog.pg_attribute 0 0 73.9499999999999 etendo.profile.tables_list 0 0 38.2599999999998 etendo.profile.indexes_list 0 0 27.5900000000001 template1.pg_catalog.pg_shdepend 0 0 3.03999999999998 etendo.pg_catalog.pg_shdepend 0 0 0 etendo.profile.servers 0 0 0 etendo.profile.last_stat_activity_count_srv1 0 0 1.15 etendo.profile.sample_stat_wal 0 0 0 etendo.pg_toast.pg_toast_989809 0 0 274.35 etendo.profile.last_stat_slru 0 0 0 etendo.pg_toast.pg_toast_2619 0 0 287.2 etendo.profile.sample_stat_tables_total 0 0 1.62 etendo.profile.sample_statements 0 0 93.4100000000003 etendo.profile.sample_stat_cluster 0 0 0 etendo.public.ad_session 0 0 0 etendo.pg_catalog.pg_type 0 0 9.38999999999985 etendo.public.ad_module 0 0 40.5799999999997 etendo.pg_catalog.pg_depend 0 0 25.4299999999997 etendo.pg_catalog.pg_statistic 0 0 804.720000000002 etendo.public.ad_session_usage_audit 0 0 0 etendo.profile.samples 0 0 0 etendo.pg_toast.pg_toast_989517 0 0 62.3000000000002 etendo.public.ad_process_run 0 0 290.23 etendo.public.c_invoice 0 0 36,215.85 etendo.profile.last_stat_statements_srv1 0 0 900.589999999998 etendo.profile.last_stat_user_functions_srv1 0 0 520.1 etendo.profile.last_stat_database_srv1 0 0 0 etendo.profile.last_stat_tablespaces_srv1 0 0 0 postgres.pg_catalog.pg_shdepend 0 0 2.91999999999998 etendo.profile.last_stat_tables_srv1 0 0 5,720.23999999999 etendo.profile.last_stat_indexes_srv1 0 0 6,971.65999999999 Total 0 0 52,928.72 Tuples removed per table
Key values
- public.m_stock_aux (13) Main table with removed tuples on database etendo
- 18 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain etendo.public.m_stock_aux 899 1 13 1,187,579 1,101,275 0 39,556 etendo.public.ad_pinstance 899 0 5 587,946 510,632 0 18,879 etendo.profile.last_stat_statements_srv1 895 0 0 475,145,447 474,608,080 0 20,919,707 etendo.profile.last_extension_versions 899 0 0 4,538,120 4,530,928 0 61,671 etendo.pg_catalog.pg_class 899 0 0 13,039,831 7,759,838 0 331,731 etendo.profile.sample_stat_user_functions 899 0 0 21,543,611 15,867,003 0 201,736 etendo.public.ad_process_request 899 0 0 58,504,174 56,959,737 0 5,894,114 etendo.profile.last_stat_user_functions_srv1 895 0 0 343,998,659 343,484,929 0 11,061,317 etendo.profile.last_stat_database_srv1 895 0 0 2,258,956 2,255,376 0 94,510 etendo.profile.sample_stat_indexes 899 0 0 43,488,272 31,875,181 0 669,512 etendo.profile.last_stat_cluster 899 0 0 567,265 566,366 0 11,747 etendo.profile.sample_stat_tables 899 0 0 117,858,612 85,914,408 0 3,859,443 etendo.profile.sample_stat_archiver 899 0 0 567,265 415,696 0 5,394 etendo.profile.sample_stat_indexes_total 899 0 0 2,269,060 1,662,784 0 26,071 etendo.public.ad_sequence 899 0 0 624,805 220,255 0 18,879 etendo.profile.stmt_list 899 0 0 22,533,239 22,358,295 0 1,589,257 etendo.profile.sample_stat_database 899 0 0 2,269,060 1,662,784 0 91,160 etendo.profile.sample_stat_slru 899 0 0 2,269,060 1,662,784 0 32,364 etendo.profile.sample_stat_user_func_total 899 0 0 1,134,530 831,392 0 9,889 etendo.profile.last_stat_wal 899 0 0 567,265 566,366 0 8,570 etendo.profile.last_stat_archiver 899 0 0 567,265 566,366 0 5,394 etendo.profile.sample_stat_tablespaces 899 0 0 1,134,530 831,392 0 8,990 etendo.profile.funcs_list 899 0 0 8,995,698 8,923,778 0 229,425 etendo.profile.sample_statements_total 899 0 0 1,701,795 1,247,088 0 53,581 etendo.profile.last_stat_tables_srv1 893 0 0 2,684,049,291 2,682,011,460 0 134,008,574 etendo.profile.last_stat_indexes_srv1 888 0 0 4,020,530,373 4,017,376,197 0 160,821,700 etendo.pg_catalog.pg_attribute 899 0 0 80,888,126 76,092,196 0 2,177,900 etendo.profile.tables_list 899 0 0 39,690,859 38,629,868 0 863,692 etendo.profile.indexes_list 899 0 0 29,548,806 29,350,125 0 643,441 template1.pg_catalog.pg_shdepend 899 0 0 10,070,430 7,603,367 0 74,557 etendo.pg_catalog.pg_shdepend 899 0 0 10,070,433 7,603,412 0 74,557 etendo.profile.servers 899 0 0 568,164 567,265 0 10,788 postgres.pg_catalog.pg_shdepend 894 0 0 10,014,351 7,561,032 0 74,142 etendo.profile.last_stat_activity_count_srv1 899 0 0 4,894,120 4,894,120 0 119,627 etendo.profile.sample_stat_wal 899 0 0 567,265 415,696 0 8,091 etendo.pg_toast.pg_toast_989809 899 0 0 21,352,943 20,910,635 0 5,338,011 etendo.profile.last_stat_slru 899 0 0 2,269,060 2,265,464 0 32,364 etendo.pg_toast.pg_toast_2619 899 0 0 25,726,354 23,421,439 0 5,755,685 etendo.profile.sample_stat_tables_total 899 0 0 5,105,385 3,741,264 0 128,077 etendo.profile.sample_statements 899 0 0 48,273,930 35,850,069 0 1,934,012 template0.pg_catalog.pg_shdepend 900 0 0 10,081,653 7,611,873 0 74,640 etendo.profile.sample_stat_cluster 899 0 0 567,265 415,696 0 11,745 etendo.public.ad_session 899 0 0 2,831,503 2,779,452 0 91,030 etendo.pg_catalog.pg_type 899 0 0 15,740,958 15,206,824 0 427,145 etendo.public.ad_module 899 0 0 15,956,668 15,629,432 0 1,031,411 etendo.pg_catalog.pg_depend 899 0 0 41,764,565 22,824,748 0 696,036 etendo.pg_catalog.pg_statistic 899 0 0 334,772,940 323,471,611 0 20,171,040 etendo.public.ad_session_usage_audit 899 0 0 3,386,997 2,323,915 0 111,153 etendo.profile.samples 899 0 0 567,265 415,696 0 3,596 etendo.pg_toast.pg_toast_989517 899 0 0 5,403,693 4,619,961 0 1,281,160 etendo.profile.last_stat_tablespaces_srv1 895 0 0 1,129,478 1,127,688 0 17,900 etendo.public.ad_process_run 899 0 0 97,769,455 84,386,795 0 7,394,026 etendo.public.c_invoice 899 0 0 11,914,494,231 11,884,879,777 0 1,374,408,793 Total 47,610 1 18 20,565,438,605 20,390,369,810 0 1,763,027,790 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed etendo.profile.last_stat_statements_srv1 895 0 0 0 etendo.profile.last_extension_versions 899 0 0 0 etendo.pg_catalog.pg_class 899 0 0 0 etendo.profile.sample_stat_user_functions 899 0 0 0 etendo.public.ad_process_request 899 0 0 0 etendo.profile.last_stat_user_functions_srv1 895 0 0 0 etendo.profile.last_stat_database_srv1 895 0 0 0 etendo.profile.sample_stat_indexes 899 0 0 0 etendo.profile.last_stat_cluster 899 0 0 0 etendo.profile.sample_stat_tables 899 0 0 0 etendo.profile.sample_stat_archiver 899 0 0 0 etendo.public.ad_pinstance 899 0 5 0 etendo.profile.sample_stat_indexes_total 899 0 0 0 etendo.public.ad_sequence 899 0 0 0 etendo.profile.stmt_list 899 0 0 0 etendo.profile.sample_stat_database 899 0 0 0 etendo.profile.sample_stat_slru 899 0 0 0 etendo.profile.sample_stat_user_func_total 899 0 0 0 etendo.public.m_stock_aux 899 1 13 0 etendo.profile.last_stat_wal 899 0 0 0 etendo.profile.last_stat_archiver 899 0 0 0 etendo.profile.sample_stat_tablespaces 899 0 0 0 etendo.profile.funcs_list 899 0 0 0 etendo.profile.sample_statements_total 899 0 0 0 etendo.profile.last_stat_tables_srv1 893 0 0 0 etendo.profile.last_stat_indexes_srv1 888 0 0 0 etendo.pg_catalog.pg_attribute 899 0 0 0 etendo.profile.tables_list 899 0 0 0 etendo.profile.indexes_list 899 0 0 0 template1.pg_catalog.pg_shdepend 899 0 0 0 etendo.pg_catalog.pg_shdepend 899 0 0 0 etendo.profile.servers 899 0 0 0 postgres.pg_catalog.pg_shdepend 894 0 0 0 etendo.profile.last_stat_activity_count_srv1 899 0 0 0 etendo.profile.sample_stat_wal 899 0 0 0 etendo.pg_toast.pg_toast_989809 899 0 0 0 etendo.profile.last_stat_slru 899 0 0 0 etendo.pg_toast.pg_toast_2619 899 0 0 0 etendo.profile.sample_stat_tables_total 899 0 0 0 etendo.profile.sample_statements 899 0 0 0 template0.pg_catalog.pg_shdepend 900 0 0 0 etendo.profile.sample_stat_cluster 899 0 0 0 etendo.public.ad_session 899 0 0 0 etendo.pg_catalog.pg_type 899 0 0 0 etendo.public.ad_module 899 0 0 0 etendo.pg_catalog.pg_depend 899 0 0 0 etendo.pg_catalog.pg_statistic 899 0 0 0 etendo.public.ad_session_usage_audit 899 0 0 0 etendo.profile.samples 899 0 0 0 etendo.pg_toast.pg_toast_989517 899 0 0 0 etendo.profile.last_stat_tablespaces_srv1 895 0 0 0 etendo.public.ad_process_run 899 0 0 0 etendo.public.c_invoice 899 0 0 0 Total 47,610 1 18 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 13 07 3,150 14 08 3,178 9 09 3,179 8 10 3,167 6 11 3,178 11 12 3,179 7 13 3,178 11 14 3,156 8 15 3,180 10 16 3,180 12 17 3,180 10 18 3,180 7 19 3,180 8 20 3,177 9 21 3,168 7 22 0 0 - 45.43 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareUpdateExclusiveLock Main Lock Type
- 9 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 9 9s20ms 1s 1s9ms 1s2ms select profile.take_sample ();-
SELECT profile.take_sample ();
Date: 2026-07-13 21:01:58 Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 10:01:57 Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 14:00:12 Database: etendo User: postgres Remote: [local] Application: psql
Queries that waited the most
Rank Wait time Query 1 1s9ms SELECT profile.take_sample ();[ Date: 2026-07-13 10:00:04 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
2 1s7ms SELECT profile.take_sample ();[ Date: 2026-07-13 09:00:04 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
3 1s1ms SELECT profile.take_sample ();[ Date: 2026-07-13 08:00:04 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
4 1s SELECT profile.take_sample ();[ Date: 2026-07-13 13:00:04 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
5 1s SELECT profile.take_sample ();[ Date: 2026-07-13 14:00:05 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
6 1s SELECT profile.take_sample ();[ Date: 2026-07-13 14:00:04 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
7 1s SELECT profile.take_sample ();[ Date: 2026-07-13 11:00:04 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
8 1s SELECT profile.take_sample ();[ Date: 2026-07-13 13:00:05 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
9 1s SELECT profile.take_sample ();[ Date: 2026-07-13 12:00:05 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
-
Queries
Queries by type
Key values
- 562 Total read queries
- 369 Total write queries
Queries by database
Key values
- etendo Main database
- 931 Requests
- 7h51m8s (etendo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 915 Requests
User Request type Count Duration postgres Total 16 6m8s select 16 6m8s tad Total 915 7h45m select 546 2h17m21s update 369 5h27m39s Duration by user
Key values
- 7h45m (tad) Main time consuming user
User Request type Count Duration postgres Total 16 6m8s select 16 6m8s tad Total 915 7h45m select 546 2h17m21s update 369 5h27m39s Queries by host
Key values
- 127.0.0.1 Main host
- 915 Requests
- 7h45m (127.0.0.1)
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 915 Requests
- 7h45m (openbravo)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-13 18:15:05 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 566 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 2m59s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 19:04:03 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
2 2m58s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 09:04:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
3 2m58s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 13:04:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
4 2m58s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 15:04:00 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 2m57s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 07:04:02 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
6 2m57s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 17:04:00 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 2m57s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 11:04:00 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
8 2m57s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 21:04:00 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
9 2m31s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 12:23:30 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 2m28s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 17:23:28 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
11 2m28s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 08:43:26 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 2m27s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 11:23:27 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
13 2m27s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 10:03:27 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 2m27s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 15:23:26 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
15 2m26s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 08:23:25 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 2m26s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 21:23:26 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
17 2m26s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 12:03:27 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
18 2m25s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 07:43:24 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
19 2m25s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 18:43:25 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
20 2m25s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;[ Date: 2026-07-13 20:43:25 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3h29m31s 90 2m4s 2m59s 2m19s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> ?), ?) where coalesce(em_pit_ppb_quantity, ?) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> ?), ?) and docstatus = ? and issotrx = ? and c_order.c_order_id = c_order_id;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 6 14m14s 2m22s 08 6 13m47s 2m17s 09 6 14m14s 2m22s 10 6 13m38s 2m16s 11 6 14m16s 2m22s 12 6 13m54s 2m19s 13 6 14m8s 2m21s 14 6 13m33s 2m15s 15 6 14m7s 2m21s 16 6 13m36s 2m16s 17 6 14m12s 2m22s 18 6 13m38s 2m16s 19 6 14m19s 2m23s 20 6 13m38s 2m16s 21 6 14m11s 2m21s [ User: tad - Total duration: 3h29m31s - Times executed: 90 ]
[ Application: openbravo - Total duration: 3h29m31s - Times executed: 90 ]
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 19:04:03 Duration: 2m59s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 09:04:01 Duration: 2m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 13:04:01 Duration: 2m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 51m38s 45 1m7s 1m11s 1m8s select * from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and il.m_product_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id and i.docstatus <> ? and not exists ( select ? from c_order o where o.documentno ilike ? and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 3 3m28s 1m9s 08 3 3m25s 1m8s 09 3 3m28s 1m9s 10 3 3m25s 1m8s 11 3 3m27s 1m9s 12 3 3m27s 1m9s 13 3 3m27s 1m9s 14 3 3m24s 1m8s 15 3 3m28s 1m9s 16 3 3m25s 1m8s 17 3 3m26s 1m8s 18 3 3m23s 1m7s 19 3 3m25s 1m8s 20 3 3m24s 1m8s 21 3 3m28s 1m9s [ User: tad - Total duration: 51m38s - Times executed: 45 ]
[ Application: openbravo - Total duration: 51m38s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:03:56 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:03:56 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:04:14 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 51m20s 45 1m7s 1m10s 1m8s update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and il.m_product_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id and i.docstatus <> ? and not exists ( select ? from c_order o where o.documentno ilike ? and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 3 3m25s 1m8s 08 3 3m25s 1m8s 09 3 3m26s 1m8s 10 3 3m24s 1m8s 11 3 3m26s 1m8s 12 3 3m24s 1m8s 13 3 3m25s 1m8s 14 3 3m24s 1m8s 15 3 3m26s 1m8s 16 3 3m24s 1m8s 17 3 3m26s 1m8s 18 3 3m24s 1m8s 19 3 3m24s 1m8s 20 3 3m24s 1m8s 21 3 3m26s 1m8s [ User: tad - Total duration: 51m20s - Times executed: 45 ]
[ Application: openbravo - Total duration: 51m20s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 09:05:06 Duration: 1m10s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:05:21 Duration: 1m9s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:05:24 Duration: 1m9s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 46m49s 90 24s13ms 40s14ms 31s215ms update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = ? and ci.ispaid = ?), ?) where coalesce(em_pit_due_amount, ?) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = ? and ci.ispaid = ?), ?) and docstatus = ? and c_order.c_order_id = c_order_id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 07 6 3m6s 31s108ms 08 6 3m3s 30s522ms 09 6 3m7s 31s167ms 10 6 3m2s 30s348ms 11 6 3m7s 31s208ms 12 6 3m3s 30s594ms 13 6 3m9s 31s547ms 14 6 3m6s 31s147ms 15 6 3m8s 31s378ms 16 6 3m6s 31s38ms 17 6 3m10s 31s706ms 18 6 3m8s 31s345ms 19 6 3m10s 31s739ms 20 6 3m10s 31s696ms 21 6 3m10s 31s676ms [ User: tad - Total duration: 46m49s - Times executed: 90 ]
[ Application: openbravo - Total duration: 46m49s - Times executed: 90 ]
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 19:01:04 Duration: 40s14ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 07:01:04 Duration: 39s211ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 11:01:03 Duration: 39s44ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 25m52s 90 16s574ms 18s62ms 17s252ms select * from ( select pp.m_productionplan_id as referencekey_id, ad_column_identifier (?, pp.m_productionplan_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, pp.ad_org_id, pp.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where ? = ? and wrphase.ma_process_id <> ? group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * ? and wrphase.quantity * sum(wrpprod.movementqty) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 6 1m44s 17s426ms 08 6 1m42s 17s147ms 09 6 1m44s 17s389ms 10 6 1m42s 17s51ms 11 6 1m44s 17s404ms 12 6 1m42s 17s114ms 13 6 1m44s 17s345ms 14 6 1m43s 17s202ms 15 6 1m44s 17s369ms 16 6 1m42s 17s46ms 17 6 1m44s 17s346ms 18 6 1m42s 17s47ms 19 6 1m44s 17s344ms 20 6 1m42s 17s138ms 21 6 1m44s 17s404ms [ User: tad - Total duration: 25m52s - Times executed: 90 ]
[ Application: openbravo - Total duration: 25m52s - Times executed: 90 ]
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:00:57 Duration: 18s62ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:00:57 Duration: 18s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:00:57 Duration: 18s9ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 8m36s 45 8s89ms 16s578ms 11s481ms select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 07 3 26s343ms 8s781ms 08 3 24s549ms 8s183ms 09 3 26s510ms 8s836ms 10 3 24s682ms 8s227ms 11 3 26s705ms 8s901ms 12 3 25s13ms 8s337ms 13 3 39s964ms 13s321ms 14 3 46s617ms 15s539ms 15 3 34s72ms 11s357ms 16 3 24s894ms 8s298ms 17 3 40s574ms 13s524ms 18 3 46s878ms 15s626ms 19 3 47s871ms 15s957ms 20 3 46s927ms 15s642ms 21 3 35s46ms 11s682ms [ User: tad - Total duration: 8m36s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m36s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 14:21:33 Duration: 16s578ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:21:33 Duration: 16s572ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 18:21:33 Duration: 16s496ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 8m3s 45 10s599ms 11s92ms 10s755ms select * from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and loc.c_country_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 07 3 32s320ms 10s773ms 08 3 32s469ms 10s823ms 09 3 32s478ms 10s826ms 10 3 32s96ms 10s698ms 11 3 32s364ms 10s788ms 12 3 32s288ms 10s762ms 13 3 32s348ms 10s782ms 14 3 32s106ms 10s702ms 15 3 32s356ms 10s785ms 16 3 31s975ms 10s658ms 17 3 32s454ms 10s818ms 18 3 32s9ms 10s669ms 19 3 32s293ms 10s764ms 20 3 32s72ms 10s690ms 21 3 32s344ms 10s781ms [ User: tad - Total duration: 8m3s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m3s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:02:19 Duration: 11s92ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 17:02:23 Duration: 11s56ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:02:20 Duration: 11s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 8m1s 45 10s593ms 11s23ms 10s706ms update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and loc.c_country_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 07 3 32s297ms 10s765ms 08 3 32s171ms 10s723ms 09 3 32s285ms 10s761ms 10 3 31s923ms 10s641ms 11 3 32s285ms 10s761ms 12 3 32s119ms 10s706ms 13 3 32s97ms 10s699ms 14 3 31s917ms 10s639ms 15 3 32s209ms 10s736ms 16 3 31s915ms 10s638ms 17 3 32s229ms 10s743ms 18 3 31s900ms 10s633ms 19 3 32s255ms 10s751ms 20 3 32s25ms 10s675ms 21 3 32s176ms 10s725ms [ User: tad - Total duration: 8m1s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m1s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 07:02:31 Duration: 11s23ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 09:02:31 Duration: 10s987ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:02:46 Duration: 10s968ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 7m48s 45 10s170ms 10s965ms 10s415ms select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where ? = ? and wrpprod.movementqty > ? and prod.isstocked = ? and p.processed = ? and wrphase.ma_process_id <> ? and not exists ( select ? from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 07 3 31s395ms 10s465ms 08 3 31s32ms 10s344ms 09 3 31s308ms 10s436ms 10 3 31s17ms 10s339ms 11 3 31s285ms 10s428ms 12 3 31s21ms 10s340ms 13 3 31s664ms 10s554ms 14 3 31s377ms 10s459ms 15 3 31s520ms 10s506ms 16 3 30s857ms 10s285ms 17 3 31s469ms 10s489ms 18 3 31s98ms 10s366ms 19 3 31s625ms 10s541ms 20 3 30s926ms 10s308ms 21 3 31s79ms 10s359ms [ User: tad - Total duration: 7m48s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m48s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:16 Duration: 10s965ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:16 Duration: 10s925ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:02:01 Duration: 10s829ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 7m34s 45 9s793ms 10s538ms 10s90ms select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, wrphase.ma_wrphase_id, ?) || ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = ? and sum(pp.productionqty) > wrphase.quantity) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 07 3 30s527ms 10s175ms 08 3 30s80ms 10s26ms 09 3 30s448ms 10s149ms 10 3 29s857ms 9s952ms 11 3 30s500ms 10s166ms 12 3 29s888ms 9s962ms 13 3 30s517ms 10s172ms 14 3 30s148ms 10s49ms 15 3 30s840ms 10s280ms 16 3 29s791ms 9s930ms 17 3 30s444ms 10s148ms 18 3 30s206ms 10s68ms 19 3 30s379ms 10s126ms 20 3 30s53ms 10s17ms 21 3 30s408ms 10s136ms [ User: tad - Total duration: 7m34s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m34s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:00:16 Duration: 10s538ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:00:16 Duration: 10s469ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:00:16 Duration: 10s447ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 7m18s 45 9s481ms 10s304ms 9s738ms select * from ( select ps.fin_payment_schedule_id as referencekey_id, ad_column_identifier (?, ps.fin_payment_schedule_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno || ? || ps.amount || ? || sum(psd.amount) as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = ? group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 07 3 29s322ms 9s774ms 08 3 28s692ms 9s564ms 09 3 29s181ms 9s727ms 10 3 28s635ms 9s545ms 11 3 29s189ms 9s729ms 12 3 28s826ms 9s608ms 13 3 29s316ms 9s772ms 14 3 29s261ms 9s753ms 15 3 29s52ms 9s684ms 16 3 28s545ms 9s515ms 17 3 29s626ms 9s875ms 18 3 29s381ms 9s793ms 19 3 29s914ms 9s971ms 20 3 29s309ms 9s769ms 21 3 29s966ms 9s988ms [ User: tad - Total duration: 7m18s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m18s - Times executed: 45 ]
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:02:03 Duration: 10s304ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:00 Duration: 10s218ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:01:46 Duration: 9s994ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 7m8s 45 6s572ms 14s268ms 9s525ms update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 07 3 20s92ms 6s697ms 08 3 19s952ms 6s650ms 09 3 20s269ms 6s756ms 10 3 19s836ms 6s612ms 11 3 20s294ms 6s764ms 12 3 19s966ms 6s655ms 13 3 33s923ms 11s307ms 14 3 40s497ms 13s499ms 15 3 27s674ms 9s224ms 16 3 20s577ms 6s859ms 17 3 34s377ms 11s459ms 18 3 40s782ms 13s594ms 19 3 41s543ms 13s847ms 20 3 40s809ms 13s603ms 21 3 28s51ms 9s350ms [ User: tad - Total duration: 7m8s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m8s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:01:48 Duration: 14s268ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:01:47 Duration: 14s84ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:01:47 Duration: 14s48ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 5m43s 15 7s156ms 1m56s 22s912ms select profile.take_sample ();Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 13 07 1 7s426ms 7s426ms 08 1 8s458ms 8s458ms 09 1 8s589ms 8s589ms 10 1 1m56s 1m56s 11 1 8s719ms 8s719ms 12 1 8s844ms 8s844ms 13 1 9s394ms 9s394ms 14 1 10s407ms 10s407ms 15 1 8s798ms 8s798ms 16 1 8s376ms 8s376ms 17 1 7s457ms 7s457ms 18 1 8s575ms 8s575ms 19 1 8s445ms 8s445ms 20 1 7s156ms 7s156ms 21 1 1m56s 1m56s [ User: postgres - Total duration: 5m43s - Times executed: 15 ]
[ Application: psql - Total duration: 5m43s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 21:01:58 Duration: 1m56s Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 10:01:57 Duration: 1m56s Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 14:00:12 Duration: 10s407ms Database: etendo User: postgres Remote: [local] Application: psql
14 5m43s 45 7s212ms 10s835ms 7s634ms select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno || ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i where ? = ? and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 13 07 3 21s961ms 7s320ms 08 3 21s784ms 7s261ms 09 3 22s170ms 7s390ms 10 3 25s354ms 8s451ms 11 3 22s451ms 7s483ms 12 3 21s994ms 7s331ms 13 3 22s743ms 7s581ms 14 3 22s837ms 7s612ms 15 3 22s903ms 7s634ms 16 3 22s405ms 7s468ms 17 3 23s522ms 7s840ms 18 3 23s171ms 7s723ms 19 3 23s712ms 7s904ms 20 3 23s343ms 7s781ms 21 3 23s212ms 7s737ms [ User: tad - Total duration: 5m43s - Times executed: 45 ]
[ Application: openbravo - Total duration: 5m43s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:02:11 Duration: 10s835ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:24 Duration: 8s72ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:24 Duration: 7s978ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 5m1s 45 6s272ms 7s101ms 6s709ms select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > ? and i.issotrx = ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 07 3 20s194ms 6s731ms 08 3 19s886ms 6s628ms 09 3 20s82ms 6s694ms 10 3 19s454ms 6s484ms 11 3 20s39ms 6s679ms 12 3 19s977ms 6s659ms 13 3 20s169ms 6s723ms 14 3 20s56ms 6s685ms 15 3 20s263ms 6s754ms 16 3 20s107ms 6s702ms 17 3 20s403ms 6s801ms 18 3 20s27ms 6s675ms 19 3 20s567ms 6s855ms 20 3 20s172ms 6s724ms 21 3 20s538ms 6s846ms [ User: tad - Total duration: 5m1s - Times executed: 45 ]
[ Application: openbravo - Total duration: 5m1s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:02:56 Duration: 7s101ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:53 Duration: 7s44ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:52 Duration: 6s900ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 4m54s 45 6s303ms 6s916ms 6s537ms select * from ( select epct.prepc_epc_id as referencekey_id, ad_column_identifier (?, epct.prepc_epc_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, epct.prepc_epc_id, ?) as description, ? as isactive, pl.ad_org_id, pl.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = ? group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 07 3 19s952ms 6s650ms 08 3 19s253ms 6s417ms 09 3 19s934ms 6s644ms 10 3 19s186ms 6s395ms 11 3 19s942ms 6s647ms 12 3 19s195ms 6s398ms 13 3 19s899ms 6s633ms 14 3 19s403ms 6s467ms 15 3 19s754ms 6s584ms 16 3 19s94ms 6s364ms 17 3 19s950ms 6s650ms 18 3 19s482ms 6s494ms 19 3 19s785ms 6s595ms 20 3 19s494ms 6s498ms 21 3 19s840ms 6s613ms [ User: tad - Total duration: 4m54s - Times executed: 45 ]
[ Application: openbravo - Total duration: 4m54s - Times executed: 45 ]
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:20:28 Duration: 6s916ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:20:29 Duration: 6s903ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:20:28 Duration: 6s898ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 4m14s 48 5s12ms 5s695ms 5s304ms update c_orderline set em_pit_qtypending = coalesce(qtyordered - qtydelivered, ?), em_pit_qtyreserved = coalesce(( select coalesce(sum(mr.reservedqty - mr.releasedqty), ?) from m_reservation mr where mr.c_orderline_id = c_orderline.c_orderline_id), ?) where c_orderline.c_orderline_id = c_orderline_id and c_orderline.m_product_id not in (...) and (em_pit_qtypending <> coalesce(qtyordered - qtydelivered, ?) or em_pit_qtyreserved <> coalesce(( select coalesce(sum(mr.reservedqty - mr.releasedqty), ?) from m_reservation mr where mr.c_orderline_id = c_orderline.c_orderline_id), ?));Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 13 07 3 15s960ms 5s320ms 08 3 15s902ms 5s300ms 09 3 16s38ms 5s346ms 10 3 16s 5s333ms 11 4 21s143ms 5s285ms 12 3 16s10ms 5s336ms 13 3 16s64ms 5s354ms 14 4 21s87ms 5s271ms 15 3 16s80ms 5s360ms 16 3 15s753ms 5s251ms 17 3 15s860ms 5s286ms 18 4 20s782ms 5s195ms 19 3 15s916ms 5s305ms 20 3 15s798ms 5s266ms 21 3 16s199ms 5s399ms [ User: tad - Total duration: 4m14s - Times executed: 48 ]
[ Application: openbravo - Total duration: 4m14s - Times executed: 48 ]
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 21:00:13 Duration: 5s695ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 19:00:12 Duration: 5s536ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 09:00:12 Duration: 5s530ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 4m13s 45 5s242ms 6s339ms 5s633ms select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, wrphase.ma_wrphase_id, ?) || ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 13 07 3 17s593ms 5s864ms 08 3 16s222ms 5s407ms 09 3 17s321ms 5s773ms 10 3 16s255ms 5s418ms 11 3 17s278ms 5s759ms 12 3 16s503ms 5s501ms 13 3 17s374ms 5s791ms 14 3 16s788ms 5s596ms 15 3 17s392ms 5s797ms 16 3 16s82ms 5s360ms 17 3 16s954ms 5s651ms 18 3 16s943ms 5s647ms 19 3 16s966ms 5s655ms 20 3 16s750ms 5s583ms 21 3 17s59ms 5s686ms [ User: tad - Total duration: 4m13s - Times executed: 45 ]
[ Application: openbravo - Total duration: 4m13s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:20:06 Duration: 6s339ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:20:06 Duration: 6s336ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:20:06 Duration: 6s334ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 32s89ms 6 5s88ms 5s881ms 5s348ms update c_invoice set em_pit_qtyinvoiced = coalesce(( select sum(qtyinvoiced) from c_invoiceline co where co.c_invoice_id = c_invoice.c_invoice_id and co.m_product_id not in (...)), ?) where em_pit_qtyinvoiced <> coalesce(( select sum(qtyinvoiced) from c_invoiceline co where co.c_invoice_id = c_invoice.c_invoice_id and co.m_product_id not in (...)), ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 13 07 1 5s881ms 5s881ms 08 1 5s88ms 5s88ms 13 1 5s96ms 5s96ms 16 1 5s228ms 5s228ms 18 1 5s228ms 5s228ms 20 1 5s565ms 5s565ms [ User: tad - Total duration: 32s89ms - Times executed: 6 ]
[ Application: openbravo - Total duration: 32s89ms - Times executed: 6 ]
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 07:00:08 Duration: 5s881ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 20:00:07 Duration: 5s565ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 16:00:07 Duration: 5s228ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 28s404ms 5 5s253ms 6s410ms 5s680ms select invoice0_.c_invoice_id as c_invoic1_357_, invoice0_.ad_client_id as ad_clien2_357_, invoice0_.ad_org_id as ad_org_i3_357_, invoice0_.isactive as isactive4_357_, invoice0_.created as created5_357_, invoice0_.createdby as createdb6_357_, invoice0_.updated as updated7_357_, invoice0_.updatedby as updatedb8_357_, invoice0_.issotrx as issotrx9_357_, invoice0_.documentno as documen10_357_, invoice0_.docstatus as docstat11_357_, invoice0_.docaction as docacti12_357_, invoice0_.processing as process13_357_, invoice0_.processed as process14_357_, invoice0_.posted as posted15_357_, invoice0_.c_doctype_id as c_docty16_357_, invoice0_.c_doctypetarget_id as c_docty17_357_, invoice0_.c_order_id as c_order18_357_, invoice0_.description as descrip19_357_, invoice0_.isprinted as isprint20_357_, invoice0_.salesrep_id as salesre21_357_, invoice0_.dateinvoiced as dateinv22_357_, invoice0_.dateprinted as datepri23_357_, invoice0_.dateacct as dateacc24_357_, invoice0_.c_bpartner_id as c_bpart25_357_, invoice0_.c_bpartner_location_id as c_bpart26_357_, invoice0_.poreference as porefer27_357_, invoice0_.isdiscountprinted as isdisco28_357_, invoice0_.dateordered as dateord29_357_, invoice0_.c_currency_id as c_curre30_357_, invoice0_.c_paymentterm_id as c_payme31_357_, invoice0_.c_charge_id as c_charg32_357_, invoice0_.chargeamt as chargea33_357_, invoice0_.totallines as totalli34_357_, invoice0_.grandtotal as grandto35_357_, invoice0_.m_pricelist_id as m_price36_357_, invoice0_.istaxincluded as istaxin37_357_, invoice0_.c_campaign_id as c_campa38_357_, invoice0_.c_project_id as c_proje39_357_, invoice0_.c_activity_id as c_activ40_357_, invoice0_.createfrom as createf41_357_, invoice0_.generateto as generat42_357_, invoice0_.ad_user_id as ad_user43_357_, invoice0_.copyfrom as copyfro44_357_, invoice0_.isselfservice as isselfs45_357_, invoice0_.ad_orgtrx_id as ad_orgt46_357_, invoice0_.user1_id as user47_357_, invoice0_.user2_id as user48_357_, invoice0_.withholdingamount as withhol49_357_, invoice0_.taxdate as taxdate50_357_, invoice0_.c_withholding_id as c_withh51_357_, invoice0_.ispaid as ispaid52_357_, invoice0_.em_einv_generated as em_einv53_357_, invoice0_.totalpaid as totalpa54_357_, invoice0_.em_einv_sent as em_einv55_357_, invoice0_.outstandingamt as outstan56_357_, invoice0_.daystilldue as daystil57_357_, invoice0_.dueamt as dueamt58_357_, invoice0_.lastcalculatedondate as lastcal59_357_, invoice0_.fin_paymentmethod_id as fin_pay60_357_, invoice0_.fin_payment_priority_id as fin_pay61_357_, invoice0_.finalsettlement as finalse62_357_, invoice0_.daysoutstanding as daysout63_357_, invoice0_.percentageoverdue as percent64_357_, invoice0_.c_costcenter_id as c_costc65_357_, invoice0_.calculate_promotions as calcula66_357_, invoice0_.a_asset_id as a_asset67_357_, invoice0_.em_aprm_addpayment as em_aprm68_357_, invoice0_.iscashvat as iscashv69_357_, invoice0_.em_aprm_processinvoice as em_aprm70_357_, invoice0_.em_obcma_c_poc_email_id as em_obcm71_357_, invoice0_.prepaymentamt as prepaym72_357_, invoice0_.createfromorders as createf73_357_, invoice0_.createfrominouts as createf74_357_, invoice0_.em_advcrm_newactivity as em_advc75_357_, invoice0_.paidamtatinvoicing as paidamt76_357_, invoice0_.bpartner_extref as bpartne77_357_, invoice0_.em_sgpcrm_securitygroups_id as em_sgpc78_357_, invoice0_.em_aeatsii_send as em_aeat79_357_, invoice0_.em_etblkp_accountingstatus as em_etbl80_357_, invoice0_.em_aeatsii_issent as em_aeat81_357_, invoice0_.em_etafdp_unvoid as em_etaf82_357_, invoice0_.em_etblkp_bulkposting as em_etbl83_357_, invoice0_.em_etpr_remove_payment as em_etpr84_357_, invoice0_.em_prsc_iscommissionable as em_prsc85_357_, invoice0_.em_aeatsii_fecha_operacion as em_aeat86_357_, invoice0_.em_aeatsii_clave_tipo as em_aeat87_357_, invoice0_.em_etinter_interco_orig as em_etin88_357_, invoice0_.em_aeatsii_motivo_rectif as em_aeat89_357_, invoice0_.em_prouti_recalculate_price as em_prou90_357_, invoice0_.em_aeatsii_clave_tipo_fc as em_aeat91_357_, invoice0_.em_ml_select_product as em_ml_s92_357_, invoice0_.em_prouti_pricecalculatetdate as em_prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.em_aeatsii_tipo_rectif as em_aeat95_357_, invoice0_.em_prouti_totalizations as em_prou96_357_, invoice0_.em_tbai_url as em_tbai97_357_, invoice0_.em_aeatsii_dua as em_aeat98_357_, invoice0_.em_tbai_xmlgenerator as em_tbai99_357_, invoice0_.em_aeatsii_fecha_dua as em_aea100_357_, invoice0_.em_tbai_signaturevalue as em_tba101_357_, invoice0_.em_aeatsii_estado as em_aea102_357_, invoice0_.em_tbai_sequence as em_tba103_357_, invoice0_.em_aeatsii_error_registral as em_aea104_357_, invoice0_.em_prsc_commissiontype as em_prs105_357_, invoice0_.em_tbai_idtbai as em_tba106_357_, invoice0_.em_aeatsii_modif as em_aea107_357_, invoice0_.em_prsc_allowcommission as em_prs108_357_, invoice0_.em_tbai_reverseinvoicecode as em_tba109_357_, invoice0_.em_aeatsii_modified as em_aea110_357_, invoice0_.em_tbai_issent as em_tba111_357_, invoice0_.em_aeatsii_description_id as em_aea112_357_, invoice0_.em_tbai_reverseinvoicetype as em_tba113_357_, invoice0_.em_aeatsii_descripcion_sii as em_aea114_357_, invoice0_.em_tbai_isreverseinvoice as em_tba115_357_, invoice0_.em_advpro2_create_from_outs as em_adv116_357_, invoice0_.em_aeatsii_fecha_reg_cont as em_aea117_357_, invoice0_.em_tbai_invoiceseq as em_tba118_357_, invoice0_.em_aeatsii_dup as em_aea119_357_, invoice0_.em_tbai_invoicenum as em_tba120_357_, invoice0_.em_aeatsii_error_code as em_aea121_357_, invoice0_.em_aeatsii_error_msg as em_aea122_357_, invoice0_.em_aeatsii_unsubscribe as em_aea123_357_, invoice0_.em_aeatsii_pur_description_id as em_aea124_357_, invoice0_.em_fash_datevalue as em_fas125_357_, invoice0_.em_aeatsii_multi_dua as em_aea126_357_, invoice0_.em_aeatsii_ejercicio as em_aea127_357_, invoice0_.em_aeatsii_periodo as em_aea128_357_, invoice0_.em_aeatsii_autofactura as em_aea129_357_, invoice0_.em_aeatsii_invoice_id as em_aea130_357_, invoice0_.em_aeatsii_insiidate as em_aea131_357_, invoice0_.em_aeatsii_cause_exemption_id as em_aea132_357_, invoice0_.em_pit_paymentsched_duedate as em_pit133_357_, invoice0_.em_aeatsii_isauthorization as em_aea134_357_, invoice0_.em_aeatsii_authorizationno as em_aea135_357_, invoice0_.em_fshedi_function as em_fsh136_357_, invoice0_.em_fshedi_processed as em_fsh137_357_, invoice0_.em_fshedi_type as em_fsh138_357_, invoice0_.em_fshedi_sumprecion as em_fsh139_357_, invoice0_.em_fshedi_sumpreciob as em_fsh140_357_, invoice0_.em_rem_bankaccount_id as em_rem141_357_, invoice0_.em_priuti_createpurchinv as em_pri142_357_, invoice0_.em_priuti_generated as em_pri143_357_, invoice0_.em_priuti_date_complete as em_pri144_357_, invoice0_.em_tbai_issue_date as em_tba145_357_, invoice0_.em_priuti_user_complete_id as em_pri146_357_, invoice0_.em_priuti_status_of_review as em_pri147_357_, invoice0_.em_priuti_validate as em_pri148_357_, invoice0_.em_priuti_start_review as em_pri149_357_, invoice0_.em_tbai_date_operation as em_tba150_357_, invoice0_.em_tbai_voidxmlgenerator as em_tba151_357_, invoice0_.em_pit_qtyinvoiced as em_pit152_357_, invoice0_.em_pit_cancel_invdiscounts as em_pit153_357_, invoice0_.em_priuti_addlines_btn as em_pri154_357_, invoice0_.em_pruti_notsendinvoice as em_pru155_357_, invoice0_.em_pit_col_date_from as em_pit156_357_, invoice0_.em_pit_col_date_to as em_pit157_357_, invoice0_.em_pit_is_col_invoice as em_pit158_357_, invoice0_.em_pit_col_invoice_type as em_pit159_357_ from c_invoice invoice0_ left outer join fin_payment_schedule finpayment1_ on invoice0_.c_invoice_id = finpayment1_.c_invoice_id where invoice0_.processed = ? and (invoice0_.ispaid = ? or finpayment1_.updated >= invoice0_.lastcalculatedondate or invoice0_.outstandingamt <> ? or invoice0_.finalsettlement is null) and (invoice0_.ad_org_id in (...)) and (invoice0_.ad_client_id in (...)) and invoice0_.isactive = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 09 1 5s256ms 5s256ms 11 1 5s253ms 5s253ms 15 1 5s967ms 5s967ms 17 1 6s410ms 6s410ms 19 1 5s515ms 5s515ms [ User: tad - Total duration: 28s404ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 28s404ms - Times executed: 5 ]
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 17:00:06 Duration: 6s410ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 15:00:06 Duration: 5s967ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 19:00:05 Duration: 5s515ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 90 3h29m31s 2m4s 2m59s 2m19s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> ?), ?) where coalesce(em_pit_ppb_quantity, ?) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> ?), ?) and docstatus = ? and issotrx = ? and c_order.c_order_id = c_order_id;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 6 14m14s 2m22s 08 6 13m47s 2m17s 09 6 14m14s 2m22s 10 6 13m38s 2m16s 11 6 14m16s 2m22s 12 6 13m54s 2m19s 13 6 14m8s 2m21s 14 6 13m33s 2m15s 15 6 14m7s 2m21s 16 6 13m36s 2m16s 17 6 14m12s 2m22s 18 6 13m38s 2m16s 19 6 14m19s 2m23s 20 6 13m38s 2m16s 21 6 14m11s 2m21s [ User: tad - Total duration: 3h29m31s - Times executed: 90 ]
[ Application: openbravo - Total duration: 3h29m31s - Times executed: 90 ]
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 19:04:03 Duration: 2m59s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 09:04:01 Duration: 2m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 13:04:01 Duration: 2m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 90 46m49s 24s13ms 40s14ms 31s215ms update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = ? and ci.ispaid = ?), ?) where coalesce(em_pit_due_amount, ?) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = ? and ci.ispaid = ?), ?) and docstatus = ? and c_order.c_order_id = c_order_id;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 6 3m6s 31s108ms 08 6 3m3s 30s522ms 09 6 3m7s 31s167ms 10 6 3m2s 30s348ms 11 6 3m7s 31s208ms 12 6 3m3s 30s594ms 13 6 3m9s 31s547ms 14 6 3m6s 31s147ms 15 6 3m8s 31s378ms 16 6 3m6s 31s38ms 17 6 3m10s 31s706ms 18 6 3m8s 31s345ms 19 6 3m10s 31s739ms 20 6 3m10s 31s696ms 21 6 3m10s 31s676ms [ User: tad - Total duration: 46m49s - Times executed: 90 ]
[ Application: openbravo - Total duration: 46m49s - Times executed: 90 ]
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 19:01:04 Duration: 40s14ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 07:01:04 Duration: 39s211ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 11:01:03 Duration: 39s44ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 90 25m52s 16s574ms 18s62ms 17s252ms select * from ( select pp.m_productionplan_id as referencekey_id, ad_column_identifier (?, pp.m_productionplan_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, pp.ad_org_id, pp.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where ? = ? and wrphase.ma_process_id <> ? group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * ? and wrphase.quantity * sum(wrpprod.movementqty) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 6 1m44s 17s426ms 08 6 1m42s 17s147ms 09 6 1m44s 17s389ms 10 6 1m42s 17s51ms 11 6 1m44s 17s404ms 12 6 1m42s 17s114ms 13 6 1m44s 17s345ms 14 6 1m43s 17s202ms 15 6 1m44s 17s369ms 16 6 1m42s 17s46ms 17 6 1m44s 17s346ms 18 6 1m42s 17s47ms 19 6 1m44s 17s344ms 20 6 1m42s 17s138ms 21 6 1m44s 17s404ms [ User: tad - Total duration: 25m52s - Times executed: 90 ]
[ Application: openbravo - Total duration: 25m52s - Times executed: 90 ]
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:00:57 Duration: 18s62ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:00:57 Duration: 18s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:00:57 Duration: 18s9ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 48 4m14s 5s12ms 5s695ms 5s304ms update c_orderline set em_pit_qtypending = coalesce(qtyordered - qtydelivered, ?), em_pit_qtyreserved = coalesce(( select coalesce(sum(mr.reservedqty - mr.releasedqty), ?) from m_reservation mr where mr.c_orderline_id = c_orderline.c_orderline_id), ?) where c_orderline.c_orderline_id = c_orderline_id and c_orderline.m_product_id not in (...) and (em_pit_qtypending <> coalesce(qtyordered - qtydelivered, ?) or em_pit_qtyreserved <> coalesce(( select coalesce(sum(mr.reservedqty - mr.releasedqty), ?) from m_reservation mr where mr.c_orderline_id = c_orderline.c_orderline_id), ?));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 07 3 15s960ms 5s320ms 08 3 15s902ms 5s300ms 09 3 16s38ms 5s346ms 10 3 16s 5s333ms 11 4 21s143ms 5s285ms 12 3 16s10ms 5s336ms 13 3 16s64ms 5s354ms 14 4 21s87ms 5s271ms 15 3 16s80ms 5s360ms 16 3 15s753ms 5s251ms 17 3 15s860ms 5s286ms 18 4 20s782ms 5s195ms 19 3 15s916ms 5s305ms 20 3 15s798ms 5s266ms 21 3 16s199ms 5s399ms [ User: tad - Total duration: 4m14s - Times executed: 48 ]
[ Application: openbravo - Total duration: 4m14s - Times executed: 48 ]
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 21:00:13 Duration: 5s695ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 19:00:12 Duration: 5s536ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 09:00:12 Duration: 5s530ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 45 51m38s 1m7s 1m11s 1m8s select * from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and il.m_product_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id and i.docstatus <> ? and not exists ( select ? from c_order o where o.documentno ilike ? and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 3 3m28s 1m9s 08 3 3m25s 1m8s 09 3 3m28s 1m9s 10 3 3m25s 1m8s 11 3 3m27s 1m9s 12 3 3m27s 1m9s 13 3 3m27s 1m9s 14 3 3m24s 1m8s 15 3 3m28s 1m9s 16 3 3m25s 1m8s 17 3 3m26s 1m8s 18 3 3m23s 1m7s 19 3 3m25s 1m8s 20 3 3m24s 1m8s 21 3 3m28s 1m9s [ User: tad - Total duration: 51m38s - Times executed: 45 ]
[ Application: openbravo - Total duration: 51m38s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:03:56 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:03:56 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:04:14 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 45 51m20s 1m7s 1m10s 1m8s update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and il.m_product_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id and i.docstatus <> ? and not exists ( select ? from c_order o where o.documentno ilike ? and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 07 3 3m25s 1m8s 08 3 3m25s 1m8s 09 3 3m26s 1m8s 10 3 3m24s 1m8s 11 3 3m26s 1m8s 12 3 3m24s 1m8s 13 3 3m25s 1m8s 14 3 3m24s 1m8s 15 3 3m26s 1m8s 16 3 3m24s 1m8s 17 3 3m26s 1m8s 18 3 3m24s 1m8s 19 3 3m24s 1m8s 20 3 3m24s 1m8s 21 3 3m26s 1m8s [ User: tad - Total duration: 51m20s - Times executed: 45 ]
[ Application: openbravo - Total duration: 51m20s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 09:05:06 Duration: 1m10s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:05:21 Duration: 1m9s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:05:24 Duration: 1m9s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 45 8m36s 8s89ms 16s578ms 11s481ms select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 07 3 26s343ms 8s781ms 08 3 24s549ms 8s183ms 09 3 26s510ms 8s836ms 10 3 24s682ms 8s227ms 11 3 26s705ms 8s901ms 12 3 25s13ms 8s337ms 13 3 39s964ms 13s321ms 14 3 46s617ms 15s539ms 15 3 34s72ms 11s357ms 16 3 24s894ms 8s298ms 17 3 40s574ms 13s524ms 18 3 46s878ms 15s626ms 19 3 47s871ms 15s957ms 20 3 46s927ms 15s642ms 21 3 35s46ms 11s682ms [ User: tad - Total duration: 8m36s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m36s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 14:21:33 Duration: 16s578ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:21:33 Duration: 16s572ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 18:21:33 Duration: 16s496ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 45 8m3s 10s599ms 11s92ms 10s755ms select * from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and loc.c_country_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 07 3 32s320ms 10s773ms 08 3 32s469ms 10s823ms 09 3 32s478ms 10s826ms 10 3 32s96ms 10s698ms 11 3 32s364ms 10s788ms 12 3 32s288ms 10s762ms 13 3 32s348ms 10s782ms 14 3 32s106ms 10s702ms 15 3 32s356ms 10s785ms 16 3 31s975ms 10s658ms 17 3 32s454ms 10s818ms 18 3 32s9ms 10s669ms 19 3 32s293ms 10s764ms 20 3 32s72ms 10s690ms 21 3 32s344ms 10s781ms [ User: tad - Total duration: 8m3s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m3s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:02:19 Duration: 11s92ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 17:02:23 Duration: 11s56ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:02:20 Duration: 11s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 45 8m1s 10s593ms 11s23ms 10s706ms update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and loc.c_country_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 07 3 32s297ms 10s765ms 08 3 32s171ms 10s723ms 09 3 32s285ms 10s761ms 10 3 31s923ms 10s641ms 11 3 32s285ms 10s761ms 12 3 32s119ms 10s706ms 13 3 32s97ms 10s699ms 14 3 31s917ms 10s639ms 15 3 32s209ms 10s736ms 16 3 31s915ms 10s638ms 17 3 32s229ms 10s743ms 18 3 31s900ms 10s633ms 19 3 32s255ms 10s751ms 20 3 32s25ms 10s675ms 21 3 32s176ms 10s725ms [ User: tad - Total duration: 8m1s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m1s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 07:02:31 Duration: 11s23ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 09:02:31 Duration: 10s987ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:02:46 Duration: 10s968ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 45 7m48s 10s170ms 10s965ms 10s415ms select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where ? = ? and wrpprod.movementqty > ? and prod.isstocked = ? and p.processed = ? and wrphase.ma_process_id <> ? and not exists ( select ? from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 07 3 31s395ms 10s465ms 08 3 31s32ms 10s344ms 09 3 31s308ms 10s436ms 10 3 31s17ms 10s339ms 11 3 31s285ms 10s428ms 12 3 31s21ms 10s340ms 13 3 31s664ms 10s554ms 14 3 31s377ms 10s459ms 15 3 31s520ms 10s506ms 16 3 30s857ms 10s285ms 17 3 31s469ms 10s489ms 18 3 31s98ms 10s366ms 19 3 31s625ms 10s541ms 20 3 30s926ms 10s308ms 21 3 31s79ms 10s359ms [ User: tad - Total duration: 7m48s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m48s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:16 Duration: 10s965ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:16 Duration: 10s925ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:02:01 Duration: 10s829ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 45 7m34s 9s793ms 10s538ms 10s90ms select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, wrphase.ma_wrphase_id, ?) || ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = ? and sum(pp.productionqty) > wrphase.quantity) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 07 3 30s527ms 10s175ms 08 3 30s80ms 10s26ms 09 3 30s448ms 10s149ms 10 3 29s857ms 9s952ms 11 3 30s500ms 10s166ms 12 3 29s888ms 9s962ms 13 3 30s517ms 10s172ms 14 3 30s148ms 10s49ms 15 3 30s840ms 10s280ms 16 3 29s791ms 9s930ms 17 3 30s444ms 10s148ms 18 3 30s206ms 10s68ms 19 3 30s379ms 10s126ms 20 3 30s53ms 10s17ms 21 3 30s408ms 10s136ms [ User: tad - Total duration: 7m34s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m34s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:00:16 Duration: 10s538ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:00:16 Duration: 10s469ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:00:16 Duration: 10s447ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 45 7m18s 9s481ms 10s304ms 9s738ms select * from ( select ps.fin_payment_schedule_id as referencekey_id, ad_column_identifier (?, ps.fin_payment_schedule_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno || ? || ps.amount || ? || sum(psd.amount) as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = ? group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 07 3 29s322ms 9s774ms 08 3 28s692ms 9s564ms 09 3 29s181ms 9s727ms 10 3 28s635ms 9s545ms 11 3 29s189ms 9s729ms 12 3 28s826ms 9s608ms 13 3 29s316ms 9s772ms 14 3 29s261ms 9s753ms 15 3 29s52ms 9s684ms 16 3 28s545ms 9s515ms 17 3 29s626ms 9s875ms 18 3 29s381ms 9s793ms 19 3 29s914ms 9s971ms 20 3 29s309ms 9s769ms 21 3 29s966ms 9s988ms [ User: tad - Total duration: 7m18s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m18s - Times executed: 45 ]
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:02:03 Duration: 10s304ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:00 Duration: 10s218ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:01:46 Duration: 9s994ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 45 7m8s 6s572ms 14s268ms 9s525ms update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 13 07 3 20s92ms 6s697ms 08 3 19s952ms 6s650ms 09 3 20s269ms 6s756ms 10 3 19s836ms 6s612ms 11 3 20s294ms 6s764ms 12 3 19s966ms 6s655ms 13 3 33s923ms 11s307ms 14 3 40s497ms 13s499ms 15 3 27s674ms 9s224ms 16 3 20s577ms 6s859ms 17 3 34s377ms 11s459ms 18 3 40s782ms 13s594ms 19 3 41s543ms 13s847ms 20 3 40s809ms 13s603ms 21 3 28s51ms 9s350ms [ User: tad - Total duration: 7m8s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m8s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:01:48 Duration: 14s268ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:01:47 Duration: 14s84ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:01:47 Duration: 14s48ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 45 5m43s 7s212ms 10s835ms 7s634ms select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno || ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i where ? = ? and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 13 07 3 21s961ms 7s320ms 08 3 21s784ms 7s261ms 09 3 22s170ms 7s390ms 10 3 25s354ms 8s451ms 11 3 22s451ms 7s483ms 12 3 21s994ms 7s331ms 13 3 22s743ms 7s581ms 14 3 22s837ms 7s612ms 15 3 22s903ms 7s634ms 16 3 22s405ms 7s468ms 17 3 23s522ms 7s840ms 18 3 23s171ms 7s723ms 19 3 23s712ms 7s904ms 20 3 23s343ms 7s781ms 21 3 23s212ms 7s737ms [ User: tad - Total duration: 5m43s - Times executed: 45 ]
[ Application: openbravo - Total duration: 5m43s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:02:11 Duration: 10s835ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:24 Duration: 8s72ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:24 Duration: 7s978ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 45 5m1s 6s272ms 7s101ms 6s709ms select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > ? and i.issotrx = ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 07 3 20s194ms 6s731ms 08 3 19s886ms 6s628ms 09 3 20s82ms 6s694ms 10 3 19s454ms 6s484ms 11 3 20s39ms 6s679ms 12 3 19s977ms 6s659ms 13 3 20s169ms 6s723ms 14 3 20s56ms 6s685ms 15 3 20s263ms 6s754ms 16 3 20s107ms 6s702ms 17 3 20s403ms 6s801ms 18 3 20s27ms 6s675ms 19 3 20s567ms 6s855ms 20 3 20s172ms 6s724ms 21 3 20s538ms 6s846ms [ User: tad - Total duration: 5m1s - Times executed: 45 ]
[ Application: openbravo - Total duration: 5m1s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:02:56 Duration: 7s101ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:53 Duration: 7s44ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:52 Duration: 6s900ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 45 4m54s 6s303ms 6s916ms 6s537ms select * from ( select epct.prepc_epc_id as referencekey_id, ad_column_identifier (?, epct.prepc_epc_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, epct.prepc_epc_id, ?) as description, ? as isactive, pl.ad_org_id, pl.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = ? group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 07 3 19s952ms 6s650ms 08 3 19s253ms 6s417ms 09 3 19s934ms 6s644ms 10 3 19s186ms 6s395ms 11 3 19s942ms 6s647ms 12 3 19s195ms 6s398ms 13 3 19s899ms 6s633ms 14 3 19s403ms 6s467ms 15 3 19s754ms 6s584ms 16 3 19s94ms 6s364ms 17 3 19s950ms 6s650ms 18 3 19s482ms 6s494ms 19 3 19s785ms 6s595ms 20 3 19s494ms 6s498ms 21 3 19s840ms 6s613ms [ User: tad - Total duration: 4m54s - Times executed: 45 ]
[ Application: openbravo - Total duration: 4m54s - Times executed: 45 ]
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:20:28 Duration: 6s916ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:20:29 Duration: 6s903ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:20:28 Duration: 6s898ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 45 4m13s 5s242ms 6s339ms 5s633ms select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, wrphase.ma_wrphase_id, ?) || ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 13 07 3 17s593ms 5s864ms 08 3 16s222ms 5s407ms 09 3 17s321ms 5s773ms 10 3 16s255ms 5s418ms 11 3 17s278ms 5s759ms 12 3 16s503ms 5s501ms 13 3 17s374ms 5s791ms 14 3 16s788ms 5s596ms 15 3 17s392ms 5s797ms 16 3 16s82ms 5s360ms 17 3 16s954ms 5s651ms 18 3 16s943ms 5s647ms 19 3 16s966ms 5s655ms 20 3 16s750ms 5s583ms 21 3 17s59ms 5s686ms [ User: tad - Total duration: 4m13s - Times executed: 45 ]
[ Application: openbravo - Total duration: 4m13s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:20:06 Duration: 6s339ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:20:06 Duration: 6s336ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:20:06 Duration: 6s334ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 15 5m43s 7s156ms 1m56s 22s912ms select profile.take_sample ();Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 13 07 1 7s426ms 7s426ms 08 1 8s458ms 8s458ms 09 1 8s589ms 8s589ms 10 1 1m56s 1m56s 11 1 8s719ms 8s719ms 12 1 8s844ms 8s844ms 13 1 9s394ms 9s394ms 14 1 10s407ms 10s407ms 15 1 8s798ms 8s798ms 16 1 8s376ms 8s376ms 17 1 7s457ms 7s457ms 18 1 8s575ms 8s575ms 19 1 8s445ms 8s445ms 20 1 7s156ms 7s156ms 21 1 1m56s 1m56s [ User: postgres - Total duration: 5m43s - Times executed: 15 ]
[ Application: psql - Total duration: 5m43s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 21:01:58 Duration: 1m56s Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 10:01:57 Duration: 1m56s Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 14:00:12 Duration: 10s407ms Database: etendo User: postgres Remote: [local] Application: psql
19 6 32s89ms 5s88ms 5s881ms 5s348ms update c_invoice set em_pit_qtyinvoiced = coalesce(( select sum(qtyinvoiced) from c_invoiceline co where co.c_invoice_id = c_invoice.c_invoice_id and co.m_product_id not in (...)), ?) where em_pit_qtyinvoiced <> coalesce(( select sum(qtyinvoiced) from c_invoiceline co where co.c_invoice_id = c_invoice.c_invoice_id and co.m_product_id not in (...)), ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 13 07 1 5s881ms 5s881ms 08 1 5s88ms 5s88ms 13 1 5s96ms 5s96ms 16 1 5s228ms 5s228ms 18 1 5s228ms 5s228ms 20 1 5s565ms 5s565ms [ User: tad - Total duration: 32s89ms - Times executed: 6 ]
[ Application: openbravo - Total duration: 32s89ms - Times executed: 6 ]
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 07:00:08 Duration: 5s881ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 20:00:07 Duration: 5s565ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 16:00:07 Duration: 5s228ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 5 28s404ms 5s253ms 6s410ms 5s680ms select invoice0_.c_invoice_id as c_invoic1_357_, invoice0_.ad_client_id as ad_clien2_357_, invoice0_.ad_org_id as ad_org_i3_357_, invoice0_.isactive as isactive4_357_, invoice0_.created as created5_357_, invoice0_.createdby as createdb6_357_, invoice0_.updated as updated7_357_, invoice0_.updatedby as updatedb8_357_, invoice0_.issotrx as issotrx9_357_, invoice0_.documentno as documen10_357_, invoice0_.docstatus as docstat11_357_, invoice0_.docaction as docacti12_357_, invoice0_.processing as process13_357_, invoice0_.processed as process14_357_, invoice0_.posted as posted15_357_, invoice0_.c_doctype_id as c_docty16_357_, invoice0_.c_doctypetarget_id as c_docty17_357_, invoice0_.c_order_id as c_order18_357_, invoice0_.description as descrip19_357_, invoice0_.isprinted as isprint20_357_, invoice0_.salesrep_id as salesre21_357_, invoice0_.dateinvoiced as dateinv22_357_, invoice0_.dateprinted as datepri23_357_, invoice0_.dateacct as dateacc24_357_, invoice0_.c_bpartner_id as c_bpart25_357_, invoice0_.c_bpartner_location_id as c_bpart26_357_, invoice0_.poreference as porefer27_357_, invoice0_.isdiscountprinted as isdisco28_357_, invoice0_.dateordered as dateord29_357_, invoice0_.c_currency_id as c_curre30_357_, invoice0_.c_paymentterm_id as c_payme31_357_, invoice0_.c_charge_id as c_charg32_357_, invoice0_.chargeamt as chargea33_357_, invoice0_.totallines as totalli34_357_, invoice0_.grandtotal as grandto35_357_, invoice0_.m_pricelist_id as m_price36_357_, invoice0_.istaxincluded as istaxin37_357_, invoice0_.c_campaign_id as c_campa38_357_, invoice0_.c_project_id as c_proje39_357_, invoice0_.c_activity_id as c_activ40_357_, invoice0_.createfrom as createf41_357_, invoice0_.generateto as generat42_357_, invoice0_.ad_user_id as ad_user43_357_, invoice0_.copyfrom as copyfro44_357_, invoice0_.isselfservice as isselfs45_357_, invoice0_.ad_orgtrx_id as ad_orgt46_357_, invoice0_.user1_id as user47_357_, invoice0_.user2_id as user48_357_, invoice0_.withholdingamount as withhol49_357_, invoice0_.taxdate as taxdate50_357_, invoice0_.c_withholding_id as c_withh51_357_, invoice0_.ispaid as ispaid52_357_, invoice0_.em_einv_generated as em_einv53_357_, invoice0_.totalpaid as totalpa54_357_, invoice0_.em_einv_sent as em_einv55_357_, invoice0_.outstandingamt as outstan56_357_, invoice0_.daystilldue as daystil57_357_, invoice0_.dueamt as dueamt58_357_, invoice0_.lastcalculatedondate as lastcal59_357_, invoice0_.fin_paymentmethod_id as fin_pay60_357_, invoice0_.fin_payment_priority_id as fin_pay61_357_, invoice0_.finalsettlement as finalse62_357_, invoice0_.daysoutstanding as daysout63_357_, invoice0_.percentageoverdue as percent64_357_, invoice0_.c_costcenter_id as c_costc65_357_, invoice0_.calculate_promotions as calcula66_357_, invoice0_.a_asset_id as a_asset67_357_, invoice0_.em_aprm_addpayment as em_aprm68_357_, invoice0_.iscashvat as iscashv69_357_, invoice0_.em_aprm_processinvoice as em_aprm70_357_, invoice0_.em_obcma_c_poc_email_id as em_obcm71_357_, invoice0_.prepaymentamt as prepaym72_357_, invoice0_.createfromorders as createf73_357_, invoice0_.createfrominouts as createf74_357_, invoice0_.em_advcrm_newactivity as em_advc75_357_, invoice0_.paidamtatinvoicing as paidamt76_357_, invoice0_.bpartner_extref as bpartne77_357_, invoice0_.em_sgpcrm_securitygroups_id as em_sgpc78_357_, invoice0_.em_aeatsii_send as em_aeat79_357_, invoice0_.em_etblkp_accountingstatus as em_etbl80_357_, invoice0_.em_aeatsii_issent as em_aeat81_357_, invoice0_.em_etafdp_unvoid as em_etaf82_357_, invoice0_.em_etblkp_bulkposting as em_etbl83_357_, invoice0_.em_etpr_remove_payment as em_etpr84_357_, invoice0_.em_prsc_iscommissionable as em_prsc85_357_, invoice0_.em_aeatsii_fecha_operacion as em_aeat86_357_, invoice0_.em_aeatsii_clave_tipo as em_aeat87_357_, invoice0_.em_etinter_interco_orig as em_etin88_357_, invoice0_.em_aeatsii_motivo_rectif as em_aeat89_357_, invoice0_.em_prouti_recalculate_price as em_prou90_357_, invoice0_.em_aeatsii_clave_tipo_fc as em_aeat91_357_, invoice0_.em_ml_select_product as em_ml_s92_357_, invoice0_.em_prouti_pricecalculatetdate as em_prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.em_aeatsii_tipo_rectif as em_aeat95_357_, invoice0_.em_prouti_totalizations as em_prou96_357_, invoice0_.em_tbai_url as em_tbai97_357_, invoice0_.em_aeatsii_dua as em_aeat98_357_, invoice0_.em_tbai_xmlgenerator as em_tbai99_357_, invoice0_.em_aeatsii_fecha_dua as em_aea100_357_, invoice0_.em_tbai_signaturevalue as em_tba101_357_, invoice0_.em_aeatsii_estado as em_aea102_357_, invoice0_.em_tbai_sequence as em_tba103_357_, invoice0_.em_aeatsii_error_registral as em_aea104_357_, invoice0_.em_prsc_commissiontype as em_prs105_357_, invoice0_.em_tbai_idtbai as em_tba106_357_, invoice0_.em_aeatsii_modif as em_aea107_357_, invoice0_.em_prsc_allowcommission as em_prs108_357_, invoice0_.em_tbai_reverseinvoicecode as em_tba109_357_, invoice0_.em_aeatsii_modified as em_aea110_357_, invoice0_.em_tbai_issent as em_tba111_357_, invoice0_.em_aeatsii_description_id as em_aea112_357_, invoice0_.em_tbai_reverseinvoicetype as em_tba113_357_, invoice0_.em_aeatsii_descripcion_sii as em_aea114_357_, invoice0_.em_tbai_isreverseinvoice as em_tba115_357_, invoice0_.em_advpro2_create_from_outs as em_adv116_357_, invoice0_.em_aeatsii_fecha_reg_cont as em_aea117_357_, invoice0_.em_tbai_invoiceseq as em_tba118_357_, invoice0_.em_aeatsii_dup as em_aea119_357_, invoice0_.em_tbai_invoicenum as em_tba120_357_, invoice0_.em_aeatsii_error_code as em_aea121_357_, invoice0_.em_aeatsii_error_msg as em_aea122_357_, invoice0_.em_aeatsii_unsubscribe as em_aea123_357_, invoice0_.em_aeatsii_pur_description_id as em_aea124_357_, invoice0_.em_fash_datevalue as em_fas125_357_, invoice0_.em_aeatsii_multi_dua as em_aea126_357_, invoice0_.em_aeatsii_ejercicio as em_aea127_357_, invoice0_.em_aeatsii_periodo as em_aea128_357_, invoice0_.em_aeatsii_autofactura as em_aea129_357_, invoice0_.em_aeatsii_invoice_id as em_aea130_357_, invoice0_.em_aeatsii_insiidate as em_aea131_357_, invoice0_.em_aeatsii_cause_exemption_id as em_aea132_357_, invoice0_.em_pit_paymentsched_duedate as em_pit133_357_, invoice0_.em_aeatsii_isauthorization as em_aea134_357_, invoice0_.em_aeatsii_authorizationno as em_aea135_357_, invoice0_.em_fshedi_function as em_fsh136_357_, invoice0_.em_fshedi_processed as em_fsh137_357_, invoice0_.em_fshedi_type as em_fsh138_357_, invoice0_.em_fshedi_sumprecion as em_fsh139_357_, invoice0_.em_fshedi_sumpreciob as em_fsh140_357_, invoice0_.em_rem_bankaccount_id as em_rem141_357_, invoice0_.em_priuti_createpurchinv as em_pri142_357_, invoice0_.em_priuti_generated as em_pri143_357_, invoice0_.em_priuti_date_complete as em_pri144_357_, invoice0_.em_tbai_issue_date as em_tba145_357_, invoice0_.em_priuti_user_complete_id as em_pri146_357_, invoice0_.em_priuti_status_of_review as em_pri147_357_, invoice0_.em_priuti_validate as em_pri148_357_, invoice0_.em_priuti_start_review as em_pri149_357_, invoice0_.em_tbai_date_operation as em_tba150_357_, invoice0_.em_tbai_voidxmlgenerator as em_tba151_357_, invoice0_.em_pit_qtyinvoiced as em_pit152_357_, invoice0_.em_pit_cancel_invdiscounts as em_pit153_357_, invoice0_.em_priuti_addlines_btn as em_pri154_357_, invoice0_.em_pruti_notsendinvoice as em_pru155_357_, invoice0_.em_pit_col_date_from as em_pit156_357_, invoice0_.em_pit_col_date_to as em_pit157_357_, invoice0_.em_pit_is_col_invoice as em_pit158_357_, invoice0_.em_pit_col_invoice_type as em_pit159_357_ from c_invoice invoice0_ left outer join fin_payment_schedule finpayment1_ on invoice0_.c_invoice_id = finpayment1_.c_invoice_id where invoice0_.processed = ? and (invoice0_.ispaid = ? or finpayment1_.updated >= invoice0_.lastcalculatedondate or invoice0_.outstandingamt <> ? or invoice0_.finalsettlement is null) and (invoice0_.ad_org_id in (...)) and (invoice0_.ad_client_id in (...)) and invoice0_.isactive = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 09 1 5s256ms 5s256ms 11 1 5s253ms 5s253ms 15 1 5s967ms 5s967ms 17 1 6s410ms 6s410ms 19 1 5s515ms 5s515ms [ User: tad - Total duration: 28s404ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 28s404ms - Times executed: 5 ]
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 17:00:06 Duration: 6s410ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 15:00:06 Duration: 5s967ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 19:00:05 Duration: 5s515ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2m4s 2m59s 2m19s 90 3h29m31s update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> ?), ?) where coalesce(em_pit_ppb_quantity, ?) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> ?), ?) and docstatus = ? and issotrx = ? and c_order.c_order_id = c_order_id;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 07 6 14m14s 2m22s 08 6 13m47s 2m17s 09 6 14m14s 2m22s 10 6 13m38s 2m16s 11 6 14m16s 2m22s 12 6 13m54s 2m19s 13 6 14m8s 2m21s 14 6 13m33s 2m15s 15 6 14m7s 2m21s 16 6 13m36s 2m16s 17 6 14m12s 2m22s 18 6 13m38s 2m16s 19 6 14m19s 2m23s 20 6 13m38s 2m16s 21 6 14m11s 2m21s [ User: tad - Total duration: 3h29m31s - Times executed: 90 ]
[ Application: openbravo - Total duration: 3h29m31s - Times executed: 90 ]
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 19:04:03 Duration: 2m59s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 09:04:01 Duration: 2m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_ppb_quantity = coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) where coalesce(em_pit_ppb_quantity, 0) <> coalesce(( select sum(msd.qtyonhand) from m_storage_detail msd join m_refinventory mr on msd.m_refinventory_id = mr.m_refinventory_id where mr.em_prpp_order_id = c_order_id and msd.m_attributesetinstance_id <> '0'), 0) and docstatus = 'CO' and issotrx = 'Y' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 13:04:01 Duration: 2m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 1m7s 1m11s 1m8s 45 51m38s select * from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and il.m_product_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id and i.docstatus <> ? and not exists ( select ? from c_order o where o.documentno ilike ? and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 07 3 3m28s 1m9s 08 3 3m25s 1m8s 09 3 3m28s 1m9s 10 3 3m25s 1m8s 11 3 3m27s 1m9s 12 3 3m27s 1m9s 13 3 3m27s 1m9s 14 3 3m24s 1m8s 15 3 3m28s 1m9s 16 3 3m25s 1m8s 17 3 3m26s 1m8s 18 3 3m23s 1m7s 19 3 3m25s 1m8s 20 3 3m24s 1m8s 21 3 3m28s 1m9s [ User: tad - Total duration: 51m38s - Times executed: 45 ]
[ Application: openbravo - Total duration: 51m38s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:03:56 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:03:56 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4901BF54C5CD48979D2C6EC4A3656095' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:04:14 Duration: 1m11s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 1m7s 1m10s 1m8s 45 51m20s update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and il.m_product_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id and i.docstatus <> ? and not exists ( select ? from c_order o where o.documentno ilike ? and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 07 3 3m25s 1m8s 08 3 3m25s 1m8s 09 3 3m26s 1m8s 10 3 3m24s 1m8s 11 3 3m26s 1m8s 12 3 3m24s 1m8s 13 3 3m25s 1m8s 14 3 3m24s 1m8s 15 3 3m26s 1m8s 16 3 3m24s 1m8s 17 3 3m26s 1m8s 18 3 3m24s 1m8s 19 3 3m24s 1m8s 20 3 3m24s 1m8s 21 3 3m26s 1m8s [ User: tad - Total duration: 51m20s - Times executed: 45 ]
[ Application: openbravo - Total duration: 51m20s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 09:05:06 Duration: 1m10s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:05:21 Duration: 1m9s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '4901BF54C5CD48979D2C6EC4A3656095' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos con producto portes e impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and il.m_product_id = '262906F973E94A86AAD7E21BABCFEAE4' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id and i.docstatus <> 'CL' and not exists ( select 1 from c_order o where o.documentno ilike '42-%' and i.c_order_id = o.c_order_id) group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:05:24 Duration: 1m9s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 24s13ms 40s14ms 31s215ms 90 46m49s update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = ? and ci.ispaid = ?), ?) where coalesce(em_pit_due_amount, ?) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = ? and ci.ispaid = ?), ?) and docstatus = ? and c_order.c_order_id = c_order_id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 07 6 3m6s 31s108ms 08 6 3m3s 30s522ms 09 6 3m7s 31s167ms 10 6 3m2s 30s348ms 11 6 3m7s 31s208ms 12 6 3m3s 30s594ms 13 6 3m9s 31s547ms 14 6 3m6s 31s147ms 15 6 3m8s 31s378ms 16 6 3m6s 31s38ms 17 6 3m10s 31s706ms 18 6 3m8s 31s345ms 19 6 3m10s 31s739ms 20 6 3m10s 31s696ms 21 6 3m10s 31s676ms [ User: tad - Total duration: 46m49s - Times executed: 90 ]
[ Application: openbravo - Total duration: 46m49s - Times executed: 90 ]
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 19:01:04 Duration: 40s14ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 07:01:04 Duration: 39s211ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update c_order set em_pit_due_amount = coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) where coalesce(em_pit_due_amount, 0) <> coalesce(( select sum(dueamt) from c_invoice ci where ci.c_bpartner_id = c_order.c_bpartner_id and ci.issotrx = 'Y' and ci.ispaid = 'N'), 0) and docstatus = 'CO' and c_order.c_order_id = c_order_id;
Date: 2026-07-13 11:01:03 Duration: 39s44ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 7s156ms 1m56s 22s912ms 15 5m43s select profile.take_sample ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 07 1 7s426ms 7s426ms 08 1 8s458ms 8s458ms 09 1 8s589ms 8s589ms 10 1 1m56s 1m56s 11 1 8s719ms 8s719ms 12 1 8s844ms 8s844ms 13 1 9s394ms 9s394ms 14 1 10s407ms 10s407ms 15 1 8s798ms 8s798ms 16 1 8s376ms 8s376ms 17 1 7s457ms 7s457ms 18 1 8s575ms 8s575ms 19 1 8s445ms 8s445ms 20 1 7s156ms 7s156ms 21 1 1m56s 1m56s [ User: postgres - Total duration: 5m43s - Times executed: 15 ]
[ Application: psql - Total duration: 5m43s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-13 21:01:58 Duration: 1m56s Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 10:01:57 Duration: 1m56s Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-13 14:00:12 Duration: 10s407ms Database: etendo User: postgres Remote: [local] Application: psql
6 16s574ms 18s62ms 17s252ms 90 25m52s select * from ( select pp.m_productionplan_id as referencekey_id, ad_column_identifier (?, pp.m_productionplan_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, pp.ad_org_id, pp.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where ? = ? and wrphase.ma_process_id <> ? group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * ? and wrphase.quantity * sum(wrpprod.movementqty) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 07 6 1m44s 17s426ms 08 6 1m42s 17s147ms 09 6 1m44s 17s389ms 10 6 1m42s 17s51ms 11 6 1m44s 17s404ms 12 6 1m42s 17s114ms 13 6 1m44s 17s345ms 14 6 1m43s 17s202ms 15 6 1m44s 17s369ms 16 6 1m42s 17s46ms 17 6 1m44s 17s346ms 18 6 1m42s 17s47ms 19 6 1m44s 17s344ms 20 6 1m42s 17s138ms 21 6 1m44s 17s404ms [ User: tad - Total duration: 25m52s - Times executed: 90 ]
[ Application: openbravo - Total duration: 25m52s - Times executed: 90 ]
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:00:57 Duration: 18s62ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:00:57 Duration: 18s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select pp.m_productionplan_id AS referencekey_id, ad_column_identifier ('m_productionplan', pp.m_productionplan_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Parte de fabricación con consumos duplicados' AS description, 'Y' AS isActive, pp.ad_org_id, pp.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product materia on materia.m_product_id = wrpprod.m_product_id left join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id left join m_production p on p.m_production_id = pp.m_production_id where 1 = 1 and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' --and materia.value = 'CANCUN_NE' --and wrphase.ma_wrphase_id = '2ABDD92A0A2843EE9DA9DC30F7784CD4' --and wr.launchdate >= to_date('01-01-2024', 'dd-MM-yyyy') group by wr.launchdate, wr.documentno, wrphase.seqno, p.documentno, pp.line, wrphase.quantity, pp.m_productionplan_id, materia.m_product_id having ( select sum(pl.movementqty) from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id and pl.m_product_id = materia.m_product_id) = wrphase.quantity * sum(wrpprod.movementqty) * 3 and wrphase.quantity * sum(wrpprod.movementqty) > 0) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'A44D1AB1F1DB4AEBB2FE382E435D6B34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:00:57 Duration: 18s9ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 8s89ms 16s578ms 11s481ms 45 8m36s select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 07 3 26s343ms 8s781ms 08 3 24s549ms 8s183ms 09 3 26s510ms 8s836ms 10 3 24s682ms 8s227ms 11 3 26s705ms 8s901ms 12 3 25s13ms 8s337ms 13 3 39s964ms 13s321ms 14 3 46s617ms 15s539ms 15 3 34s72ms 11s357ms 16 3 24s894ms 8s298ms 17 3 40s574ms 13s524ms 18 3 46s878ms 15s626ms 19 3 47s871ms 15s957ms 20 3 46s927ms 15s642ms 21 3 35s46ms 11s682ms [ User: tad - Total duration: 8m36s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m36s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 14:21:33 Duration: 16s578ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:21:33 Duration: 16s572ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '991CC9BB4C49433893DBE5EC05EEC67F' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 18:21:33 Duration: 16s496ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 10s599ms 11s92ms 10s755ms 45 8m3s select * from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and loc.c_country_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 07 3 32s320ms 10s773ms 08 3 32s469ms 10s823ms 09 3 32s478ms 10s826ms 10 3 32s96ms 10s698ms 11 3 32s364ms 10s788ms 12 3 32s288ms 10s762ms 13 3 32s348ms 10s782ms 14 3 32s106ms 10s702ms 15 3 32s356ms 10s785ms 16 3 31s975ms 10s658ms 17 3 32s454ms 10s818ms 18 3 32s9ms 10s669ms 19 3 32s293ms 10s764ms 20 3 32s72ms 10s690ms 21 3 32s344ms 10s781ms [ User: tad - Total duration: 8m3s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m3s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:02:19 Duration: 11s92ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 17:02:23 Duration: 11s56ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'F8AC4C4AB47D4425B5182F54CE795465' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:02:20 Duration: 11s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 10s593ms 11s23ms 10s706ms 45 8m1s update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_order_id as referencekey_id, ad_column_identifier (?, i.c_order_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where ? = ? and loc.c_country_id = ? and i.issotrx = ? and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, ?, i.c_bpartner_location_id, i.c_bpartner_location_id, null, ?) <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 07 3 32s297ms 10s765ms 08 3 32s171ms 10s723ms 09 3 32s285ms 10s761ms 10 3 31s923ms 10s641ms 11 3 32s285ms 10s761ms 12 3 32s119ms 10s706ms 13 3 32s97ms 10s699ms 14 3 31s917ms 10s639ms 15 3 32s209ms 10s736ms 16 3 31s915ms 10s638ms 17 3 32s229ms 10s743ms 18 3 31s900ms 10s633ms 19 3 32s255ms 10s751ms 20 3 32s25ms 10s675ms 21 3 32s176ms 10s725ms [ User: tad - Total duration: 8m1s - Times executed: 45 ]
[ Application: openbravo - Total duration: 8m1s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 07:02:31 Duration: 11s23ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 09:02:31 Duration: 10s987ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = 'F8AC4C4AB47D4425B5182F54CE795465' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_order_id AS referencekey_id, ad_column_identifier ('c_order', i.c_order_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Pedidos de UK con impuestos incorrectos ' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_order i join c_bpartner_location bpl on bpl.c_bpartner_location_id = i.c_bpartner_location_id join c_location loc on loc.c_location_id = bpl.c_location_id join c_orderline il on il.c_order_id = i.c_order_id where 1 = 1 and loc.c_country_id = '333' and i.issotrx = 'Y' and c_gettax (il.m_product_id, i.dateordered, i.ad_org_id, '85A427B32A17462DA6C70E30AED1EB81', i.c_bpartner_location_id, i.c_bpartner_location_id, null, 'Y') <> il.c_tax_id group by i.c_order_id, i.ad_org_id, i.ad_client_id) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:02:46 Duration: 10s968ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 10s170ms 10s965ms 10s415ms 45 7m48s select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where ? = ? and wrpprod.movementqty > ? and prod.isstocked = ? and p.processed = ? and wrphase.ma_process_id <> ? and not exists ( select ? from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 07 3 31s395ms 10s465ms 08 3 31s32ms 10s344ms 09 3 31s308ms 10s436ms 10 3 31s17ms 10s339ms 11 3 31s285ms 10s428ms 12 3 31s21ms 10s340ms 13 3 31s664ms 10s554ms 14 3 31s377ms 10s459ms 15 3 31s520ms 10s506ms 16 3 30s857ms 10s285ms 17 3 31s469ms 10s489ms 18 3 31s98ms 10s366ms 19 3 31s625ms 10s541ms 20 3 30s926ms 10s308ms 21 3 31s79ms 10s359ms [ User: tad - Total duration: 7m48s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m48s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:16 Duration: 10s965ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:16 Duration: 10s925ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase de OF sin P- en los partes de trabajo' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_production p join m_productionplan pp on pp.m_production_id = p.m_production_id join ma_wrphase wrphase on wrphase.ma_wrphase_id = pp.ma_wrphase_id join ma_workrequirement wr on wr.ma_workrequirement_id = wrphase.ma_workrequirement_id join ma_wrphaseproduct wrpprod on wrpprod.ma_wrphase_id = wrphase.ma_wrphase_id join m_product prod on prod.m_product_id = wrpprod.m_product_id where 1 = 1 and wrpprod.movementqty > 0 and prod.isstocked = 'Y' and p.processed = 'Y' and wrphase.ma_process_id <> '08B07C6C6B0A47DE84A14272077A8AFF' and not exists ( select 1 from m_productionline pl where pl.m_productionplan_id = pp.m_productionplan_id)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '01D3DCF08E944DDD8A30964ADC46CF67' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:02:01 Duration: 10s829ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 9s793ms 10s538ms 10s90ms 45 7m34s select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, wrphase.ma_wrphase_id, ?) || ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = ? and sum(pp.productionqty) > wrphase.quantity) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 07 3 30s527ms 10s175ms 08 3 30s80ms 10s26ms 09 3 30s448ms 10s149ms 10 3 29s857ms 9s952ms 11 3 30s500ms 10s166ms 12 3 29s888ms 9s962ms 13 3 30s517ms 10s172ms 14 3 30s148ms 10s49ms 15 3 30s840ms 10s280ms 16 3 29s791ms 9s930ms 17 3 30s444ms 10s148ms 18 3 30s206ms 10s68ms 19 3 30s379ms 10s126ms 20 3 30s53ms 10s17ms 21 3 30s408ms 10s136ms [ User: tad - Total duration: 7m34s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m34s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:00:16 Duration: 10s538ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:00:16 Duration: 10s469ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', sum(pp.productionqty) > wrphase.quantity ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join m_productionplan pp on pp.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) = 1 and sum(pp.productionqty) > wrphase.quantity) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '05150FDA04A1495087B3147973E67837' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:00:16 Duration: 10s447ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 9s481ms 10s304ms 9s738ms 45 7m18s select * from ( select ps.fin_payment_schedule_id as referencekey_id, ad_column_identifier (?, ps.fin_payment_schedule_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno || ? || ps.amount || ? || sum(psd.amount) as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = ? group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 07 3 29s322ms 9s774ms 08 3 28s692ms 9s564ms 09 3 29s181ms 9s727ms 10 3 28s635ms 9s545ms 11 3 29s189ms 9s729ms 12 3 28s826ms 9s608ms 13 3 29s316ms 9s772ms 14 3 29s261ms 9s753ms 15 3 29s52ms 9s684ms 16 3 28s545ms 9s515ms 17 3 29s626ms 9s875ms 18 3 29s381ms 9s793ms 19 3 29s914ms 9s971ms 20 3 29s309ms 9s769ms 21 3 29s966ms 9s988ms [ User: tad - Total duration: 7m18s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m18s - Times executed: 45 ]
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:02:03 Duration: 10s304ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:00 Duration: 10s218ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select ps.fin_payment_schedule_id AS referencekey_id, ad_column_identifier ('fin_payment_schedule', ps.fin_payment_schedule_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Detalles de vencimientos incorrectos en factura ' || i.documentno || ' ' || ps.amount || ' <> ' || sum(psd.amount) AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where psd.iscanceled = 'N' group by i.documentno, ps.amount, ps.fin_payment_schedule_id, i.ad_org_id, i.ad_client_id having ps.amount <> sum(psd.amount)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '11E4EFFDF5C94014BF3CE498E189FF93' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:01:46 Duration: 9s994ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 6s572ms 14s268ms 9s525ms 45 7m8s update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = ? group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > ?) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 13 07 3 20s92ms 6s697ms 08 3 19s952ms 6s650ms 09 3 20s269ms 6s756ms 10 3 19s836ms 6s612ms 11 3 20s294ms 6s764ms 12 3 19s966ms 6s655ms 13 3 33s923ms 11s307ms 14 3 40s497ms 13s499ms 15 3 27s674ms 9s224ms 16 3 20s577ms 6s859ms 17 3 34s377ms 11s459ms 18 3 40s782ms 13s594ms 19 3 41s543ms 13s847ms 20 3 40s809ms 13s603ms 21 3 28s51ms 9s350ms [ User: tad - Total duration: 7m8s - Times executed: 45 ]
[ Application: openbravo - Total duration: 7m8s - Times executed: 45 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 21:01:48 Duration: 14s268ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 19:01:47 Duration: 14s84ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '991CC9BB4C49433893DBE5EC05EEC67F' AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura con mas de un vencimiento con la misma fecha, documento: ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i join fin_payment_schedule ps on ps.c_invoice_id = i.c_invoice_id where i.issotrx = 'Y' group by ps.expecteddate, i.c_invoice_id, i.documentno, i.ad_org_id, i.ad_client_id having count(*) > 1) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-07-13 15:01:47 Duration: 14s48ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 7s212ms 10s835ms 7s634ms 45 5m43s select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno || ? as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i where ? = ? and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 13 07 3 21s961ms 7s320ms 08 3 21s784ms 7s261ms 09 3 22s170ms 7s390ms 10 3 25s354ms 8s451ms 11 3 22s451ms 7s483ms 12 3 21s994ms 7s331ms 13 3 22s743ms 7s581ms 14 3 22s837ms 7s612ms 15 3 22s903ms 7s634ms 16 3 22s405ms 7s468ms 17 3 23s522ms 7s840ms 18 3 23s171ms 7s723ms 19 3 23s712ms 7s904ms 20 3 23s343ms 7s781ms 21 3 23s212ms 7s737ms [ User: tad - Total duration: 5m43s - Times executed: 45 ]
[ Application: openbravo - Total duration: 5m43s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 10:02:11 Duration: 10s835ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:24 Duration: 8s72ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Factura ' || i.documentno || ' con organizaciones diferentes en detalles de plan de pagos' AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where 1 = 1 and ( select count(*) from ( select distinct psd.ad_org_id from fin_payment_schedule ps join fin_payment_scheduledetail psd on psd.fin_payment_schedule_invoice = ps.fin_payment_schedule_id where ps.c_invoice_id = i.c_invoice_id) a) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '65A1AABFE2A2439C9BCDF8037D6D105C' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:24 Duration: 7s978ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 6s272ms 7s101ms 6s709ms 45 5m1s select * from ( select i.c_invoice_id as referencekey_id, ad_column_identifier (?, i.c_invoice_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || i.documentno as description, ? as isactive, i.ad_org_id, i.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > ? and i.issotrx = ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 07 3 20s194ms 6s731ms 08 3 19s886ms 6s628ms 09 3 20s82ms 6s694ms 10 3 19s454ms 6s484ms 11 3 20s39ms 6s679ms 12 3 19s977ms 6s659ms 13 3 20s169ms 6s723ms 14 3 20s56ms 6s685ms 15 3 20s263ms 6s754ms 16 3 20s107ms 6s702ms 17 3 20s403ms 6s801ms 18 3 20s27ms 6s675ms 19 3 20s567ms 6s855ms 20 3 20s172ms 6s724ms 21 3 20s538ms 6s846ms [ User: tad - Total duration: 5m1s - Times executed: 45 ]
[ Application: openbravo - Total duration: 5m1s - Times executed: 45 ]
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 21:02:56 Duration: 7s101ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 19:02:53 Duration: 7s44ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select i.c_invoice_id AS referencekey_id, ad_column_identifier ('c_invoice', i.c_invoice_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Descuentos duplicados en factura ' || i.documentno AS description, 'Y' AS isActive, i.ad_org_id, i.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from c_invoice i where ( select count(*) from ( select distinct id.createdby from c_invoice_discount id where id.c_invoice_id = i.c_invoice_id) a) > 1 and i.issotrx = 'Y') AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'AB95CDACF40C49568F4EF6AAB03CE8DD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:02:52 Duration: 6s900ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 6s303ms 6s916ms 6s537ms 45 4m54s select * from ( select epct.prepc_epc_id as referencekey_id, ad_column_identifier (?, epct.prepc_epc_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, epct.prepc_epc_id, ?) as description, ? as isactive, pl.ad_org_id, pl.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = ? group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 07 3 19s952ms 6s650ms 08 3 19s253ms 6s417ms 09 3 19s934ms 6s644ms 10 3 19s186ms 6s395ms 11 3 19s942ms 6s647ms 12 3 19s195ms 6s398ms 13 3 19s899ms 6s633ms 14 3 19s403ms 6s467ms 15 3 19s754ms 6s584ms 16 3 19s94ms 6s364ms 17 3 19s950ms 6s650ms 18 3 19s482ms 6s494ms 19 3 19s785ms 6s595ms 20 3 19s494ms 6s498ms 21 3 19s840ms 6s613ms [ User: tad - Total duration: 4m54s - Times executed: 45 ]
[ Application: openbravo - Total duration: 4m54s - Times executed: 45 ]
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 07:20:28 Duration: 6s916ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:20:29 Duration: 6s903ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select epct.prepc_epc_id AS referencekey_id, ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Matricula metida por duplicado ' || ad_column_identifier ('prepc_epc', epct.prepc_epc_id, 'es_ES') AS description, 'Y' AS isActive, pl.ad_org_id, pl.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from m_productionplan pp join m_productionline pl on pl.m_productionplan_id = pp.m_productionplan_id join m_production p on p.m_production_id = pp.m_production_id join prepc_epctransaction epct on epct.m_productionline_id = pl.m_productionline_id where pl.productiontype = '+' group by epct.prepc_epc_id, pl.m_product_id, pl.ad_org_id, pl.ad_client_id having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '1CBD232B81CC4AAE84A9380A959613BA' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 09:20:28 Duration: 6s898ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 5s253ms 6s410ms 5s680ms 5 28s404ms select invoice0_.c_invoice_id as c_invoic1_357_, invoice0_.ad_client_id as ad_clien2_357_, invoice0_.ad_org_id as ad_org_i3_357_, invoice0_.isactive as isactive4_357_, invoice0_.created as created5_357_, invoice0_.createdby as createdb6_357_, invoice0_.updated as updated7_357_, invoice0_.updatedby as updatedb8_357_, invoice0_.issotrx as issotrx9_357_, invoice0_.documentno as documen10_357_, invoice0_.docstatus as docstat11_357_, invoice0_.docaction as docacti12_357_, invoice0_.processing as process13_357_, invoice0_.processed as process14_357_, invoice0_.posted as posted15_357_, invoice0_.c_doctype_id as c_docty16_357_, invoice0_.c_doctypetarget_id as c_docty17_357_, invoice0_.c_order_id as c_order18_357_, invoice0_.description as descrip19_357_, invoice0_.isprinted as isprint20_357_, invoice0_.salesrep_id as salesre21_357_, invoice0_.dateinvoiced as dateinv22_357_, invoice0_.dateprinted as datepri23_357_, invoice0_.dateacct as dateacc24_357_, invoice0_.c_bpartner_id as c_bpart25_357_, invoice0_.c_bpartner_location_id as c_bpart26_357_, invoice0_.poreference as porefer27_357_, invoice0_.isdiscountprinted as isdisco28_357_, invoice0_.dateordered as dateord29_357_, invoice0_.c_currency_id as c_curre30_357_, invoice0_.c_paymentterm_id as c_payme31_357_, invoice0_.c_charge_id as c_charg32_357_, invoice0_.chargeamt as chargea33_357_, invoice0_.totallines as totalli34_357_, invoice0_.grandtotal as grandto35_357_, invoice0_.m_pricelist_id as m_price36_357_, invoice0_.istaxincluded as istaxin37_357_, invoice0_.c_campaign_id as c_campa38_357_, invoice0_.c_project_id as c_proje39_357_, invoice0_.c_activity_id as c_activ40_357_, invoice0_.createfrom as createf41_357_, invoice0_.generateto as generat42_357_, invoice0_.ad_user_id as ad_user43_357_, invoice0_.copyfrom as copyfro44_357_, invoice0_.isselfservice as isselfs45_357_, invoice0_.ad_orgtrx_id as ad_orgt46_357_, invoice0_.user1_id as user47_357_, invoice0_.user2_id as user48_357_, invoice0_.withholdingamount as withhol49_357_, invoice0_.taxdate as taxdate50_357_, invoice0_.c_withholding_id as c_withh51_357_, invoice0_.ispaid as ispaid52_357_, invoice0_.em_einv_generated as em_einv53_357_, invoice0_.totalpaid as totalpa54_357_, invoice0_.em_einv_sent as em_einv55_357_, invoice0_.outstandingamt as outstan56_357_, invoice0_.daystilldue as daystil57_357_, invoice0_.dueamt as dueamt58_357_, invoice0_.lastcalculatedondate as lastcal59_357_, invoice0_.fin_paymentmethod_id as fin_pay60_357_, invoice0_.fin_payment_priority_id as fin_pay61_357_, invoice0_.finalsettlement as finalse62_357_, invoice0_.daysoutstanding as daysout63_357_, invoice0_.percentageoverdue as percent64_357_, invoice0_.c_costcenter_id as c_costc65_357_, invoice0_.calculate_promotions as calcula66_357_, invoice0_.a_asset_id as a_asset67_357_, invoice0_.em_aprm_addpayment as em_aprm68_357_, invoice0_.iscashvat as iscashv69_357_, invoice0_.em_aprm_processinvoice as em_aprm70_357_, invoice0_.em_obcma_c_poc_email_id as em_obcm71_357_, invoice0_.prepaymentamt as prepaym72_357_, invoice0_.createfromorders as createf73_357_, invoice0_.createfrominouts as createf74_357_, invoice0_.em_advcrm_newactivity as em_advc75_357_, invoice0_.paidamtatinvoicing as paidamt76_357_, invoice0_.bpartner_extref as bpartne77_357_, invoice0_.em_sgpcrm_securitygroups_id as em_sgpc78_357_, invoice0_.em_aeatsii_send as em_aeat79_357_, invoice0_.em_etblkp_accountingstatus as em_etbl80_357_, invoice0_.em_aeatsii_issent as em_aeat81_357_, invoice0_.em_etafdp_unvoid as em_etaf82_357_, invoice0_.em_etblkp_bulkposting as em_etbl83_357_, invoice0_.em_etpr_remove_payment as em_etpr84_357_, invoice0_.em_prsc_iscommissionable as em_prsc85_357_, invoice0_.em_aeatsii_fecha_operacion as em_aeat86_357_, invoice0_.em_aeatsii_clave_tipo as em_aeat87_357_, invoice0_.em_etinter_interco_orig as em_etin88_357_, invoice0_.em_aeatsii_motivo_rectif as em_aeat89_357_, invoice0_.em_prouti_recalculate_price as em_prou90_357_, invoice0_.em_aeatsii_clave_tipo_fc as em_aeat91_357_, invoice0_.em_ml_select_product as em_ml_s92_357_, invoice0_.em_prouti_pricecalculatetdate as em_prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.em_aeatsii_tipo_rectif as em_aeat95_357_, invoice0_.em_prouti_totalizations as em_prou96_357_, invoice0_.em_tbai_url as em_tbai97_357_, invoice0_.em_aeatsii_dua as em_aeat98_357_, invoice0_.em_tbai_xmlgenerator as em_tbai99_357_, invoice0_.em_aeatsii_fecha_dua as em_aea100_357_, invoice0_.em_tbai_signaturevalue as em_tba101_357_, invoice0_.em_aeatsii_estado as em_aea102_357_, invoice0_.em_tbai_sequence as em_tba103_357_, invoice0_.em_aeatsii_error_registral as em_aea104_357_, invoice0_.em_prsc_commissiontype as em_prs105_357_, invoice0_.em_tbai_idtbai as em_tba106_357_, invoice0_.em_aeatsii_modif as em_aea107_357_, invoice0_.em_prsc_allowcommission as em_prs108_357_, invoice0_.em_tbai_reverseinvoicecode as em_tba109_357_, invoice0_.em_aeatsii_modified as em_aea110_357_, invoice0_.em_tbai_issent as em_tba111_357_, invoice0_.em_aeatsii_description_id as em_aea112_357_, invoice0_.em_tbai_reverseinvoicetype as em_tba113_357_, invoice0_.em_aeatsii_descripcion_sii as em_aea114_357_, invoice0_.em_tbai_isreverseinvoice as em_tba115_357_, invoice0_.em_advpro2_create_from_outs as em_adv116_357_, invoice0_.em_aeatsii_fecha_reg_cont as em_aea117_357_, invoice0_.em_tbai_invoiceseq as em_tba118_357_, invoice0_.em_aeatsii_dup as em_aea119_357_, invoice0_.em_tbai_invoicenum as em_tba120_357_, invoice0_.em_aeatsii_error_code as em_aea121_357_, invoice0_.em_aeatsii_error_msg as em_aea122_357_, invoice0_.em_aeatsii_unsubscribe as em_aea123_357_, invoice0_.em_aeatsii_pur_description_id as em_aea124_357_, invoice0_.em_fash_datevalue as em_fas125_357_, invoice0_.em_aeatsii_multi_dua as em_aea126_357_, invoice0_.em_aeatsii_ejercicio as em_aea127_357_, invoice0_.em_aeatsii_periodo as em_aea128_357_, invoice0_.em_aeatsii_autofactura as em_aea129_357_, invoice0_.em_aeatsii_invoice_id as em_aea130_357_, invoice0_.em_aeatsii_insiidate as em_aea131_357_, invoice0_.em_aeatsii_cause_exemption_id as em_aea132_357_, invoice0_.em_pit_paymentsched_duedate as em_pit133_357_, invoice0_.em_aeatsii_isauthorization as em_aea134_357_, invoice0_.em_aeatsii_authorizationno as em_aea135_357_, invoice0_.em_fshedi_function as em_fsh136_357_, invoice0_.em_fshedi_processed as em_fsh137_357_, invoice0_.em_fshedi_type as em_fsh138_357_, invoice0_.em_fshedi_sumprecion as em_fsh139_357_, invoice0_.em_fshedi_sumpreciob as em_fsh140_357_, invoice0_.em_rem_bankaccount_id as em_rem141_357_, invoice0_.em_priuti_createpurchinv as em_pri142_357_, invoice0_.em_priuti_generated as em_pri143_357_, invoice0_.em_priuti_date_complete as em_pri144_357_, invoice0_.em_tbai_issue_date as em_tba145_357_, invoice0_.em_priuti_user_complete_id as em_pri146_357_, invoice0_.em_priuti_status_of_review as em_pri147_357_, invoice0_.em_priuti_validate as em_pri148_357_, invoice0_.em_priuti_start_review as em_pri149_357_, invoice0_.em_tbai_date_operation as em_tba150_357_, invoice0_.em_tbai_voidxmlgenerator as em_tba151_357_, invoice0_.em_pit_qtyinvoiced as em_pit152_357_, invoice0_.em_pit_cancel_invdiscounts as em_pit153_357_, invoice0_.em_priuti_addlines_btn as em_pri154_357_, invoice0_.em_pruti_notsendinvoice as em_pru155_357_, invoice0_.em_pit_col_date_from as em_pit156_357_, invoice0_.em_pit_col_date_to as em_pit157_357_, invoice0_.em_pit_is_col_invoice as em_pit158_357_, invoice0_.em_pit_col_invoice_type as em_pit159_357_ from c_invoice invoice0_ left outer join fin_payment_schedule finpayment1_ on invoice0_.c_invoice_id = finpayment1_.c_invoice_id where invoice0_.processed = ? and (invoice0_.ispaid = ? or finpayment1_.updated >= invoice0_.lastcalculatedondate or invoice0_.outstandingamt <> ? or invoice0_.finalsettlement is null) and (invoice0_.ad_org_id in (...)) and (invoice0_.ad_client_id in (...)) and invoice0_.isactive = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 13 09 1 5s256ms 5s256ms 11 1 5s253ms 5s253ms 15 1 5s967ms 5s967ms 17 1 6s410ms 6s410ms 19 1 5s515ms 5s515ms [ User: tad - Total duration: 28s404ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 28s404ms - Times executed: 5 ]
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 17:00:06 Duration: 6s410ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 15:00:06 Duration: 5s967ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as C_Invoic1_357_, invoice0_.AD_Client_ID as AD_Clien2_357_, invoice0_.AD_Org_ID as AD_Org_I3_357_, invoice0_.IsActive as IsActive4_357_, invoice0_.Created as Created5_357_, invoice0_.CreatedBy as CreatedB6_357_, invoice0_.Updated as Updated7_357_, invoice0_.UpdatedBy as UpdatedB8_357_, invoice0_.IsSOTrx as IsSOTrx9_357_, invoice0_.DocumentNo as Documen10_357_, invoice0_.DocStatus as DocStat11_357_, invoice0_.DocAction as DocActi12_357_, invoice0_.Processing as Process13_357_, invoice0_.Processed as Process14_357_, invoice0_.Posted as Posted15_357_, invoice0_.C_DocType_ID as C_DocTy16_357_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_357_, invoice0_.C_Order_ID as C_Order18_357_, invoice0_.Description as Descrip19_357_, invoice0_.IsPrinted as IsPrint20_357_, invoice0_.SalesRep_ID as SalesRe21_357_, invoice0_.DateInvoiced as DateInv22_357_, invoice0_.DatePrinted as DatePri23_357_, invoice0_.DateAcct as DateAcc24_357_, invoice0_.C_BPartner_ID as C_BPart25_357_, invoice0_.C_BPartner_Location_ID as C_BPart26_357_, invoice0_.POReference as PORefer27_357_, invoice0_.IsDiscountPrinted as IsDisco28_357_, invoice0_.DateOrdered as DateOrd29_357_, invoice0_.C_Currency_ID as C_Curre30_357_, invoice0_.C_PaymentTerm_ID as C_Payme31_357_, invoice0_.C_Charge_ID as C_Charg32_357_, invoice0_.ChargeAmt as ChargeA33_357_, invoice0_.TotalLines as TotalLi34_357_, invoice0_.GrandTotal as GrandTo35_357_, invoice0_.M_PriceList_ID as M_Price36_357_, invoice0_.IsTaxIncluded as IsTaxIn37_357_, invoice0_.C_Campaign_ID as C_Campa38_357_, invoice0_.C_Project_ID as C_Proje39_357_, invoice0_.C_Activity_ID as C_Activ40_357_, invoice0_.CreateFrom as CreateF41_357_, invoice0_.GenerateTo as Generat42_357_, invoice0_.AD_User_ID as AD_User43_357_, invoice0_.CopyFrom as CopyFro44_357_, invoice0_.IsSelfService as IsSelfS45_357_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_357_, invoice0_.User1_ID as User47_357_, invoice0_.User2_ID as User48_357_, invoice0_.Withholdingamount as Withhol49_357_, invoice0_.Taxdate as Taxdate50_357_, invoice0_.C_Withholding_ID as C_Withh51_357_, invoice0_.Ispaid as Ispaid52_357_, invoice0_.EM_Einv_Generated as EM_Einv53_357_, invoice0_.Totalpaid as Totalpa54_357_, invoice0_.EM_Einv_Sent as EM_Einv55_357_, invoice0_.OutstandingAmt as Outstan56_357_, invoice0_.DaysTillDue as DaysTil57_357_, invoice0_.DueAmt as DueAmt58_357_, invoice0_.LastCalculatedOnDate as LastCal59_357_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_357_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_357_, invoice0_.Finalsettlement as Finalse62_357_, invoice0_.Daysoutstanding as Daysout63_357_, invoice0_.Percentageoverdue as Percent64_357_, invoice0_.C_Costcenter_ID as C_Costc65_357_, invoice0_.Calculate_Promotions as Calcula66_357_, invoice0_.A_Asset_ID as A_Asset67_357_, invoice0_.EM_APRM_Addpayment as EM_APRM68_357_, invoice0_.Iscashvat as Iscashv69_357_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_357_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_357_, invoice0_.Prepaymentamt as Prepaym72_357_, invoice0_.Createfromorders as Createf73_357_, invoice0_.Createfrominouts as Createf74_357_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_357_, invoice0_.Paidamtatinvoicing as Paidamt76_357_, invoice0_.BPartner_ExtRef as BPartne77_357_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_357_, invoice0_.EM_Aeatsii_Send as EM_Aeat79_357_, invoice0_.EM_Etblkp_Accountingstatus as EM_Etbl80_357_, invoice0_.EM_Aeatsii_Issent as EM_Aeat81_357_, invoice0_.EM_Etafdp_Unvoid as EM_Etaf82_357_, invoice0_.EM_Etblkp_Bulkposting as EM_Etbl83_357_, invoice0_.EM_Etpr_Remove_Payment as EM_Etpr84_357_, invoice0_.EM_Prsc_Iscommissionable as EM_Prsc85_357_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat86_357_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat87_357_, invoice0_.EM_Etinter_Interco_Orig as EM_Etin88_357_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat89_357_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou90_357_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat91_357_, invoice0_.EM_Ml_Select_Product as EM_Ml_S92_357_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou93_357_, invoice0_.em_tbai_qrcode as em_tbai94_357_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat95_357_, invoice0_.EM_Prouti_Totalizations as EM_Prou96_357_, invoice0_.EM_Tbai_Url as EM_Tbai97_357_, invoice0_.EM_Aeatsii_Dua as EM_Aeat98_357_, invoice0_.EM_Tbai_Xmlgenerator as EM_Tbai99_357_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aea100_357_, invoice0_.EM_Tbai_Signaturevalue as EM_Tba101_357_, invoice0_.EM_Aeatsii_Estado as EM_Aea102_357_, invoice0_.EM_Tbai_Sequence as EM_Tba103_357_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aea104_357_, invoice0_.EM_Prsc_Commissiontype as EM_Prs105_357_, invoice0_.EM_Tbai_Idtbai as EM_Tba106_357_, invoice0_.EM_Aeatsii_Modif as EM_Aea107_357_, invoice0_.EM_Prsc_Allowcommission as EM_Prs108_357_, invoice0_.EM_Tbai_Reverseinvoicecode as EM_Tba109_357_, invoice0_.EM_Aeatsii_Modified as EM_Aea110_357_, invoice0_.EM_Tbai_Issent as EM_Tba111_357_, invoice0_.EM_Aeatsii_Description_ID as EM_Aea112_357_, invoice0_.EM_Tbai_Reverseinvoicetype as EM_Tba113_357_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea114_357_, invoice0_.EM_Tbai_Isreverseinvoice as EM_Tba115_357_, invoice0_.EM_Advpro2_Create_From_Outs as EM_Adv116_357_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea117_357_, invoice0_.EM_Tbai_Invoiceseq as EM_Tba118_357_, invoice0_.EM_Aeatsii_Dup as EM_Aea119_357_, invoice0_.EM_Tbai_Invoicenum as EM_Tba120_357_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea121_357_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea122_357_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea123_357_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea124_357_, invoice0_.EM_Fash_Datevalue as EM_Fas125_357_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea126_357_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea127_357_, invoice0_.EM_Aeatsii_Periodo as EM_Aea128_357_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea129_357_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea130_357_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea131_357_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea132_357_, invoice0_.EM_Pit_Paymentsched_Duedate as EM_Pit133_357_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea134_357_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea135_357_, invoice0_.EM_Fshedi_Function as EM_Fsh136_357_, invoice0_.EM_Fshedi_Processed as EM_Fsh137_357_, invoice0_.EM_Fshedi_Type as EM_Fsh138_357_, invoice0_.EM_Fshedi_Sumprecion as EM_Fsh139_357_, invoice0_.EM_Fshedi_Sumpreciob as EM_Fsh140_357_, invoice0_.EM_Rem_Bankaccount_ID as EM_Rem141_357_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri142_357_, invoice0_.EM_Priuti_Generated as EM_Pri143_357_, invoice0_.EM_Priuti_Date_Complete as EM_Pri144_357_, invoice0_.EM_Tbai_Issue_Date as EM_Tba145_357_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri146_357_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri147_357_, invoice0_.EM_Priuti_Validate as EM_Pri148_357_, invoice0_.EM_Priuti_Start_Review as EM_Pri149_357_, invoice0_.EM_Tbai_Date_Operation as EM_Tba150_357_, invoice0_.EM_Tbai_Voidxmlgenerator as EM_Tba151_357_, invoice0_.EM_Pit_Qtyinvoiced as EM_Pit152_357_, invoice0_.EM_Pit_Cancel_Invdiscounts as EM_Pit153_357_, invoice0_.EM_Priuti_Addlines_Btn as EM_Pri154_357_, invoice0_.EM_Pruti_Notsendinvoice as EM_Pru155_357_, invoice0_.EM_Pit_Col_Date_From as EM_Pit156_357_, invoice0_.EM_Pit_Col_Date_To as EM_Pit157_357_, invoice0_.EM_Pit_Is_Col_Invoice as EM_Pit158_357_, invoice0_.EM_Pit_Col_Invoice_Type as EM_Pit159_357_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID = finpayment1_.C_Invoice_ID where invoice0_.Processed = 'Y' and (invoice0_.Ispaid = 'N' or finpayment1_.Updated >= invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt <> 0 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ('945CD9E60FF14A2C95DC6D89CFF8F389', 'F4C85BA291D041AFA07B50F2BCE78FD4', '9E43BE778CC2478BB36CF5BF82381EE8', 'DE86184F1BC648418293E5C5805AE74C', '3FBDE7938DB2477ABDFC1A6DD98C80E7', '6BA36F6BB4A94377B1614F39BEBE80D4', '81826B44DF354424B14A348E62BDAFE4', '05C8E8421AA044A9ABA8B74863D1312B', '0', 'BF2FDCD2B45B4DAFA30C495554205E91', 'B7916B710EB14C9787CD44BE0E6068D9', '038E5CE0183443BC9225107D9A918CDB', 'E9BAA1786B5A4FFC98FE99DDA89B2EB9')) and (invoice0_.AD_Client_ID in ('D67239D2B3B24A05881F81A734E563EA', '0')) and invoice0_.IsActive = 'Y';
Date: 2026-07-13 19:00:05 Duration: 5s515ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 5s242ms 6s339ms 5s633ms 45 4m13s select * from ( select wrphase.ma_wrphase_id as referencekey_id, ad_column_identifier (?, wrphase.ma_wrphase_id, ?) as record_id, ? as ad_role_id, null as ad_user_id, ? || ad_column_identifier (?, wrphase.ma_wrphase_id, ?) || ? as description, ? as isactive, wrphase.ad_org_id, wrphase.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > ?) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 13 07 3 17s593ms 5s864ms 08 3 16s222ms 5s407ms 09 3 17s321ms 5s773ms 10 3 16s255ms 5s418ms 11 3 17s278ms 5s759ms 12 3 16s503ms 5s501ms 13 3 17s374ms 5s791ms 14 3 16s788ms 5s596ms 15 3 17s392ms 5s797ms 16 3 16s82ms 5s360ms 17 3 16s954ms 5s651ms 18 3 16s943ms 5s647ms 19 3 16s966ms 5s655ms 20 3 16s750ms 5s583ms 21 3 17s59ms 5s686ms [ User: tad - Total duration: 4m13s - Times executed: 45 ]
[ Application: openbravo - Total duration: 4m13s - Times executed: 45 ]
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 11:20:06 Duration: 6s339ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 15:20:06 Duration: 6s336ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select wrphase.ma_wrphase_id AS referencekey_id, ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Fase ' || ad_column_identifier ('ma_wrphase', wrphase.ma_wrphase_id, 'es_ES') || ', en mas de un parte de trabajo ' AS description, 'Y' AS isActive, wrphase.ad_org_id, wrphase.ad_client_id, now() AS created, 0 AS createdBy, now() AS updated, 0 AS updatedBy from ma_workrequirement wr join ma_wrphase wrphase on wrphase.ma_workrequirement_id = wr.ma_workrequirement_id join advpro2_outsourcing_phase osphase on osphase.ma_wrphase_id = wrphase.ma_wrphase_id group by wr.documentno, wrphase.seqno, wrphase.ma_wrphase_id, wrphase.quantity, wrphase.donequantity having count(*) > 1) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '4EA584FE6BAC4144970F6BDC197DA4B5' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-13 13:20:06 Duration: 6s334ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 5s88ms 5s881ms 5s348ms 6 32s89ms update c_invoice set em_pit_qtyinvoiced = coalesce(( select sum(qtyinvoiced) from c_invoiceline co where co.c_invoice_id = c_invoice.c_invoice_id and co.m_product_id not in (...)), ?) where em_pit_qtyinvoiced <> coalesce(( select sum(qtyinvoiced) from c_invoiceline co where co.c_invoice_id = c_invoice.c_invoice_id and co.m_product_id not in (...)), ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 13 07 1 5s881ms 5s881ms 08 1 5s88ms 5s88ms 13 1 5s96ms 5s96ms 16 1 5s228ms 5s228ms 18 1 5s228ms 5s228ms 20 1 5s565ms 5s565ms [ User: tad - Total duration: 32s89ms - Times executed: 6 ]
[ Application: openbravo - Total duration: 32s89ms - Times executed: 6 ]
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 07:00:08 Duration: 5s881ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 20:00:07 Duration: 5s565ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_invoice SET em_pit_qtyinvoiced = COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0) WHERE em_pit_qtyinvoiced <> COALESCE(( SELECT SUM(qtyinvoiced) FROM c_invoiceline co WHERE co.c_invoice_id = c_invoice.c_invoice_id AND co.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73', '262906F973E94A86AAD7E21BABCFEAE4')), 0);
Date: 2026-07-13 16:00:07 Duration: 5s228ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 5s12ms 5s695ms 5s304ms 48 4m14s update c_orderline set em_pit_qtypending = coalesce(qtyordered - qtydelivered, ?), em_pit_qtyreserved = coalesce(( select coalesce(sum(mr.reservedqty - mr.releasedqty), ?) from m_reservation mr where mr.c_orderline_id = c_orderline.c_orderline_id), ?) where c_orderline.c_orderline_id = c_orderline_id and c_orderline.m_product_id not in (...) and (em_pit_qtypending <> coalesce(qtyordered - qtydelivered, ?) or em_pit_qtyreserved <> coalesce(( select coalesce(sum(mr.reservedqty - mr.releasedqty), ?) from m_reservation mr where mr.c_orderline_id = c_orderline.c_orderline_id), ?));Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 07 3 15s960ms 5s320ms 08 3 15s902ms 5s300ms 09 3 16s38ms 5s346ms 10 3 16s 5s333ms 11 4 21s143ms 5s285ms 12 3 16s10ms 5s336ms 13 3 16s64ms 5s354ms 14 4 21s87ms 5s271ms 15 3 16s80ms 5s360ms 16 3 15s753ms 5s251ms 17 3 15s860ms 5s286ms 18 4 20s782ms 5s195ms 19 3 15s916ms 5s305ms 20 3 15s798ms 5s266ms 21 3 16s199ms 5s399ms [ User: tad - Total duration: 4m14s - Times executed: 48 ]
[ Application: openbravo - Total duration: 4m14s - Times executed: 48 ]
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 21:00:13 Duration: 5s695ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 19:00:12 Duration: 5s536ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE c_orderline SET em_pit_qtypending = COALESCE(qtyordered - qtydelivered, 0), em_pit_qtyreserved = COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0) WHERE c_orderline.c_orderline_id = c_orderline_id AND c_orderline.m_product_id NOT IN ('91DD91F682DC4420967C975ADDE05D10', 'C30900FF9CF042588A9558D0F0C0BF73') AND (em_pit_qtypending <> COALESCE(qtyordered - qtydelivered, 0) OR em_pit_qtyreserved <> COALESCE(( SELECT COALESCE(SUM(mr.reservedqty - mr.releasedqty), 0) FROM m_reservation mr WHERE mr.c_orderline_id = c_orderline.c_orderline_id), 0));
Date: 2026-07-13 09:00:12 Duration: 5s530ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 98,164 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 634 FATAL entries
- 9 ERROR entries
- 0 WARNING entries
- 9 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 567 Max number of times the same event was reported
- 652 Total events found
Rank Times reported Error 1 567 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", no encryption
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 13 07 42 08 38 09 39 10 39 11 37 12 37 13 38 14 38 15 40 16 40 17 39 18 40 19 41 20 39 21 20 - FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "186.236.254.56", user "webuser", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
Date: 2026-07-13 07:01:37 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
Date: 2026-07-13 07:01:46 Database: postgres Application: [unknown] User: webuser Remote: 186.236.254.56
Date: 2026-07-13 07:04:16 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
2 45 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL encryption
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 13 11 14 14 14 15 14 19 1 21 2 - FATAL: no pg_hba.conf entry for host "213.209.159.66", user "postgres", database "postgres", SSL encryption
- FATAL: no pg_hba.conf entry for host "213.209.159.66", user "postgres", database "postgres", SSL encryption
- FATAL: no pg_hba.conf entry for host "213.209.159.66", user "postgres", database "postgres", SSL encryption
Date: 2026-07-13 11:34:08 Database: postgres Application: [unknown] User: postgres Remote: 213.209.159.66
Date: 2026-07-13 11:35:52 Database: postgres Application: [unknown] User: postgres Remote: 213.209.159.66
Date: 2026-07-13 11:37:34 Database: postgres Application: [unknown] User: postgres Remote: 213.209.159.66
3 9 LOG: process ... still waiting for ShareUpdateExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 13 08 1 09 1 10 1 11 1 12 1 13 2 14 2 - LOG: process 3411636 still waiting for ShareUpdateExclusiveLock on relation 2467887 of database 986710 after 1000.102 ms
- LOG: process 3428459 still waiting for ShareUpdateExclusiveLock on relation 2467887 of database 986710 after 1004.826 ms
- LOG: process 3445306 still waiting for ShareUpdateExclusiveLock on relation 2467887 of database 986710 after 1001.573 ms
Detail: Process holding the lock: 3411429. Wait queue: 3411636.
Context: SQL statement "ANALYZE last_stat_indexes_srv1" PL/pgSQL function collect_obj_stats(jsonb,integer,integer,boolean) line 832 at EXECUTE PL/pgSQL function take_sample(integer,boolean) line 276 at assignment PL/pgSQL function take_sample_subset(integer,integer) line 37 at assignment SQL function "take_sample" statement 1
Statement: SELECT profile.take_sample();Date: 2026-07-13 08:00:04 Database: etendo Application: psql User: postgres Remote: [local]
Detail: Process holding the lock: 3428261. Wait queue: 3428459.
Context: SQL statement "ANALYZE last_stat_indexes_srv1" PL/pgSQL function collect_obj_stats(jsonb,integer,integer,boolean) line 832 at EXECUTE PL/pgSQL function take_sample(integer,boolean) line 276 at assignment PL/pgSQL function take_sample_subset(integer,integer) line 37 at assignment SQL function "take_sample" statement 1
Statement: SELECT profile.take_sample();Date: 2026-07-13 09:00:04 Database: etendo Application: psql User: postgres Remote: [local]
Detail: Process holding the lock: 3445109. Wait queue: 3445306.
Context: SQL statement "ANALYZE last_stat_indexes_srv1" PL/pgSQL function collect_obj_stats(jsonb,integer,integer,boolean) line 832 at EXECUTE PL/pgSQL function take_sample(integer,boolean) line 276 at assignment PL/pgSQL function take_sample_subset(integer,integer) line 37 at assignment SQL function "take_sample" statement 1
Statement: SELECT profile.take_sample();Date: 2026-07-13 10:00:04 Database: etendo Application: psql User: postgres Remote: [local]
4 9 ERROR: canceling autovacuum task automatic vacuum of table "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 13 08 1 09 1 10 1 11 1 12 1 13 2 14 2 - ERROR: canceling autovacuum task automatic vacuum of table "etendo.profile.last_stat_indexes_srv1"
- ERROR: canceling autovacuum task automatic vacuum of table "etendo.profile.last_stat_indexes_srv1"
- ERROR: canceling autovacuum task automatic vacuum of table "etendo.profile.last_stat_indexes_srv1"
Context: while scanning block 109125 of relation "profile.last_stat_indexes_srv1"
Date: 2026-07-13 08:00:04
Context: while scanning block 100683 of relation "profile.last_stat_indexes_srv1"
Date: 2026-07-13 09:00:04
Context: while scanning block 50156 of relation "profile.last_stat_indexes_srv1"
Date: 2026-07-13 10:00:04
5 8 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 13 07 1 11 1 12 1 13 1 15 1 16 1 17 1 18 1 - FATAL: no PostgreSQL user name specified in startup packet
- FATAL: no PostgreSQL user name specified in startup packet
- FATAL: no PostgreSQL user name specified in startup packet
Date: 2026-07-13 07:04:57 Database: [unknown] Application: [unknown] User: [unknown] Remote: 172.104.100.117
Date: 2026-07-13 11:24:40 Database: [unknown] Application: [unknown] User: [unknown] Remote: 213.209.159.66
Date: 2026-07-13 12:25:31 Database: [unknown] Application: [unknown] User: [unknown] Remote: 3.131.220.121
6 7 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 13 07 1 11 1 12 1 13 1 15 1 16 1 18 1 - FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Date: 2026-07-13 07:04:56 Database: [unknown] Application: [unknown] User: [unknown] Remote: 172.104.100.117
Date: 2026-07-13 11:24:40 Database: [unknown] Application: [unknown] User: [unknown] Remote: 213.209.159.66
Date: 2026-07-13 12:25:30 Database: [unknown] Application: [unknown] User: [unknown] Remote: 3.131.220.121
7 7 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 13 07 1 11 1 12 1 13 1 15 1 16 1 18 1 - FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Date: 2026-07-13 07:04:56 Database: [unknown] Application: [unknown] User: [unknown] Remote: 172.104.100.117
Date: 2026-07-13 11:24:40 Database: [unknown] Application: [unknown] User: [unknown] Remote: 213.209.159.66
Date: 2026-07-13 12:25:30 Database: [unknown] Application: [unknown] User: [unknown] Remote: 3.131.220.121