-
Global information
- Generated on Tue Jul 14 23:00:29 2026
- Log file: /var/log/postgresql/postgresql-16-main.log
- Parsed 87,461 log entries in 28s
- Log start from 2026-07-14 07:00:02 to 2026-07-14 22:00:00
-
Overview
Global Stats
- 15 Number of unique normalized queries
- 114 Number of queries
- 9m22s Total query duration
- 2026-07-14 07:00:10 First query
- 2026-07-14 21:00:15 Last query
- 2 queries/s at 2026-07-14 13:00:19 Query peak
- 9m22s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 9m22s Execute total duration
- 7 Number of events
- 3 Number of unique normalized events
- 4 Max number of times the same event was reported
- 0 Number of cancellation
- 55,795 Total number of automatic vacuums
- 239 Total number of automatic analyzes
- 30 Number temporary file
- 154.41 MiB Max size of temporary file
- 132.31 MiB Average size of temporary file
- 3,283 Total number of sessions
- 6 sessions at 2026-07-14 22:00:00 Session peak
- 3d19h25m46s Total duration of sessions
- 1m40s Average duration of sessions
- 0 Average queries per session
- 171ms Average queries duration per session
- 1m40s Average idle time per session
- 3,287 Total number of connections
- 5 connections/s at 2026-07-14 22:00:00 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-14 13:00:19 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-07-14 13:00:19 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-14 07:58:27 Date
Queries duration
Key values
- 9m22s 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 14 07 23 0ms 11s212ms 1s956ms 2s207ms 3s224ms 21s982ms 08 11 0ms 17s964ms 4s209ms 0ms 1s71ms 38s792ms 09 4 0ms 14s924ms 7s941ms 0ms 0ms 31s767ms 10 9 0ms 12s770ms 3s719ms 0ms 1s714ms 26s175ms 11 13 0ms 15s437ms 3s515ms 1s96ms 2s426ms 33s685ms 12 7 0ms 45s151ms 9s57ms 0ms 2s151ms 56s521ms 13 7 0ms 17s507ms 5s504ms 0ms 1s49ms 36s352ms 14 6 0ms 14s853ms 5s647ms 0ms 1s66ms 30s646ms 15 4 0ms 19s310ms 9s834ms 0ms 0ms 38s331ms 16 7 0ms 12s213ms 4s655ms 0ms 1s147ms 25s410ms 17 7 0ms 13s772ms 4s316ms 0ms 1s932ms 24s895ms 18 5 0ms 13s448ms 5s887ms 0ms 1s21ms 27s391ms 19 5 0ms 16s853ms 6s875ms 0ms 0ms 32s150ms 20 3 0ms 16s90ms 10s328ms 0ms 0ms 30s984ms 21 3 0ms 13s911ms 9s66ms 0ms 0ms 27s198ms 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 14 07 22 0 2s 0ms 2s207ms 4s117ms 08 11 0 4s209ms 0ms 0ms 4s427ms 09 4 0 7s941ms 0ms 0ms 0ms 10 9 0 3s719ms 0ms 0ms 3s260ms 11 13 0 3s515ms 0ms 1s96ms 2s675ms 12 7 0 9s57ms 0ms 0ms 4s733ms 13 7 0 5s504ms 0ms 0ms 1s128ms 14 6 0 5s647ms 0ms 0ms 2s170ms 15 4 0 9s834ms 0ms 0ms 1s7ms 16 7 0 4s655ms 0ms 0ms 3s888ms 17 7 0 4s316ms 0ms 0ms 2s338ms 18 5 0 5s887ms 0ms 0ms 1s24ms 19 5 0 6s875ms 0ms 0ms 2s227ms 20 3 0 10s328ms 0ms 0ms 0ms 21 3 0 9s66ms 0ms 0ms 0ms 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 14 07 0 0 1 0 1s6ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 14 07 0 22 22.00 0.00% 08 0 10 10.00 0.00% 09 0 3 3.00 0.00% 10 0 8 8.00 0.00% 11 0 12 12.00 0.00% 12 0 6 6.00 0.00% 13 0 6 6.00 0.00% 14 0 5 5.00 0.00% 15 0 3 3.00 0.00% 16 0 6 6.00 0.00% 17 0 6 6.00 0.00% 18 0 4 4.00 0.00% 19 0 4 4.00 0.00% 20 0 2 2.00 0.00% 21 0 2 2.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 14 07 221 0.06/s 08 217 0.06/s 09 222 0.06/s 10 218 0.06/s 11 217 0.06/s 12 220 0.06/s 13 218 0.06/s 14 220 0.06/s 15 217 0.06/s 16 218 0.06/s 17 221 0.06/s 18 220 0.06/s 19 217 0.06/s 20 217 0.06/s 21 219 0.06/s 22 5 0.00/s Day Hour Count Average Duration Average idle time Jul 14 07 221 5m21s 5m21s 08 217 123ms 0ms 09 223 5m42s 5m42s 10 217 103ms 0ms 11 217 123ms 0ms 12 221 1m19s 1m18s 13 217 127ms 0ms 14 220 2m45s 2m45s 15 217 142ms 0ms 16 219 3m2s 3m2s 17 221 4m10s 4m10s 18 219 35s207ms 35s73ms 19 217 121ms 0ms 20 217 120ms 0ms 21 220 1m51s 1m50s 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 5 connections Connection Peak
- 2026-07-14 22:00:00 Date
Connections per database
Key values
- etendo Main Database
- 3,287 connections Total
Connections per user
Key values
- tad Main User
- 3,287 connections Total
-
Sessions
Simultaneous sessions
Key values
- 6 sessions Session Peak
- 2026-07-14 22:00:00 Date
Histogram of session times
Key values
- 3,223 0-500ms duration
Sessions per database
Key values
- etendo Main Database
- 3,283 sessions Total
Sessions per user
Key values
- tad Main User
- 3,283 sessions Total
Sessions per host
Key values
- 127.0.0.1 Main Host
- 3,283 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 6,480 buffers Checkpoint Peak
- 2026-07-14 18:56:28 Date
- 269.442 seconds Highest write time
- 0.004 seconds Sync time
Checkpoints Wal files
Key values
- 2 files Wal files usage Peak
- 2026-07-14 14:06:26 Date
Checkpoints distance
Key values
- 59.97 Mo Distance Peak
- 2026-07-14 14:06:26 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 14 07 9,058 901.973s 0.016s 902.002s 08 9,621 957.602s 0.016s 957.632s 09 8,495 847.096s 0.015s 847.122s 10 9,862 983.025s 0.019s 983.054s 11 7,231 726.541s 0.018s 726.573s 12 5,947 591.137s 0.012s 591.163s 13 5,810 578.51s 0.017s 578.538s 14 9,538 661.235s 0.013s 661.26s 15 4,682 465.257s 0.016s 465.282s 16 6,408 637.723s 0.014s 637.75s 17 3,845 382.224s 0.014s 382.25s 18 11,622 784.243s 0.016s 784.273s 19 3,203 321.194s 0.012s 321.216s 20 2,133 211.756s 0.012s 211.778s 21 2,084 206.88s 0.012s 206.901s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 14 07 0 0 2 2,299 0.001s 0.012s 08 0 0 3 2,378 0.001s 0.012s 09 0 0 2 1,912 0.001s 0.012s 10 0 0 3 2,524 0.001s 0.012s 11 0 0 2 2,029 0.001s 0.012s 12 0 0 2 1,727 0.001s 0.012s 13 0 0 1 1,697 0.001s 0.012s 14 0 0 3 1,686 0.001s 0.012s 15 0 0 1 1,444 0.001s 0.012s 16 0 0 2 1,696 0.001s 0.012s 17 0 0 1 1,079 0.001s 0.012s 18 0 0 3 1,471 0.001s 0.012s 19 0 0 1 708 0.001s 0.012s 20 0 0 1 329 0.001s 0.012s 21 0 0 0 349 0.001s 0.012s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 14 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 14 07 3,385.75 kB 7,189.58 kB 08 3,901.08 kB 11,093.58 kB 09 2,716.00 kB 9,696.50 kB 10 3,767.67 kB 9,615.50 kB 11 2,746.92 kB 7,921.33 kB 12 2,386.92 kB 9,263.00 kB 13 2,241.83 kB 7,614.92 kB 14 3,896.75 kB 19,110.25 kB 15 1,791.92 kB 7,555.67 kB 16 2,455.67 kB 7,911.17 kB 17 1,563.83 kB 7,846.83 kB 18 3,441.42 kB 10,410.67 kB 19 1,384.25 kB 9,911.17 kB 20 976.83 kB 6,693.58 kB 21 941.83 kB 6,431.42 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 264.66 MiB Temp Files size Peak
- 2026-07-14 20:00:14 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2026-07-14 20:00:14 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 14 07 2 264.57 MiB 132.29 MiB 08 2 264.59 MiB 132.29 MiB 09 2 264.59 MiB 132.30 MiB 10 2 264.60 MiB 132.30 MiB 11 2 264.61 MiB 132.30 MiB 12 2 264.62 MiB 132.31 MiB 13 2 264.62 MiB 132.31 MiB 14 2 264.62 MiB 132.31 MiB 15 2 264.64 MiB 132.32 MiB 16 2 264.64 MiB 132.32 MiB 17 2 264.65 MiB 132.32 MiB 18 2 264.65 MiB 132.32 MiB 19 2 264.66 MiB 132.33 MiB 20 2 264.66 MiB 132.33 MiB 21 2 264.66 MiB 132.33 MiB 22 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 30 3.88 GiB 110.22 MiB 154.41 MiB 132.31 MiB select * from ( select c_invoice_id as referencekey_id, ;-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;
Date: 2026-07-14 07:00:10 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 154.41 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 19:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 154.41 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 20:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 154.41 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 21:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 154.40 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 17:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 154.40 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 18:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 154.39 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 15:00:19 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 154.39 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 16:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 154.38 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 13:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 154.38 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 14:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 154.38 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 11:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 154.38 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 12:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 154.37 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 09:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 154.37 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 10:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 154.36 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 08:00:18 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 154.35 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 07:00:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 110.26 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 19:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 110.26 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 20:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 110.26 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 21:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 110.25 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 15:00:19 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 110.25 MiB SELECT * FROM ( select C_INVOICE_id as referencekey_id, ;[ Date: 2026-07-14 16:00:13 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 4.56 sec Highest CPU-cost vacuum
Table profile.last_stat_tables_srv1
Database etendo - 2026-07-14 08:00:37 Date
- 0 sec Highest CPU-cost analyze
Table
Database etendo - Date
Average Autovacuum Duration
Key values
- 4.56 sec Highest CPU-cost vacuum
Table profile.last_stat_tables_srv1
Database etendo - 2026-07-14 08:00:37 Date
Analyzes per table
Key values
- public.ad_ep_instance_para (73) Main table analyzed (database etendo)
- 239 analyzes Total
Table Number of analyzes etendo.public.ad_ep_instance_para 73 etendo.profile.last_stat_tables_srv1 15 etendo.profile.last_stat_statements_srv1 15 etendo.profile.last_stat_indexes_srv1 15 etendo.profile.tables_list 15 etendo.profile.last_stat_user_functions_srv1 15 etendo.public.ad_session 15 etendo.profile.indexes_list 7 etendo.profile.last_stat_io 7 etendo.profile.stmt_list 7 etendo.profile.funcs_list 5 etendo.profile.last_extension_versions 4 etendo.public.ad_preference 4 etendo.profile.last_stat_activity_count_srv1 4 etendo.public.ad_sequence 4 etendo.public.ad_process_request 3 etendo.profile.last_stat_slru 3 etendo.public.ad_pinstance 3 etendo.profile.sample_stat_user_functions 2 etendo.profile.sample_statements 2 etendo.profile.sample_stat_indexes 2 etendo.profile.last_stat_cluster 1 etendo.public.ad_process_run 1 etendo.public.ad_pinstance_para 1 etendo.public.m_storage_pending 1 etendo.profile.sample_statements_total 1 etendo.profile.last_stat_wal 1 etendo.profile.sample_stat_tables_total 1 etendo.profile.servers 1 etendo.profile.sample_stat_indexes_total 1 etendo.public.ad_module 1 etendo.profile.sample_stat_tables 1 etendo.profile.sample_stat_database 1 etendo.profile.sample_stat_slru 1 etendo.public.c_orderline 1 etendo.profile.last_stat_archiver 1 etendo.profile.sample_stat_tablespaces 1 etendo.profile.sample_stat_io 1 etendo.public.m_stock_proposed 1 etendo.profile.sample_stat_user_func_total 1 Total 239 Vacuums per table
Key values
- pg_toast.pg_toast_125223 (900) Main table vacuumed on database etendo
- 55,795 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples etendo.pg_toast.pg_toast_125223 900 0 83,637 0 117 0 0 216 103 293,209 0 0 etendo.profile.sample_stat_user_functions 900 0 333,473 0 18 0 0 216 0 52,056 0 0 etendo.profile.sample_stat_tables_total 900 0 194,101 0 36 0 0 216 0 52,056 0 0 etendo.profile.sample_stat_indexes_total 900 0 78,986 0 45 0 0 215 0 51,815 0 0 etendo.profile.last_stat_io 900 0 425,154 0 30 0 0 222 0 41,736 0 0 etendo.profile.funcs_list 900 0 613,154 0 21 0 0 216 0 52,056 0 0 etendo.profile.samples 900 0 56,500 0 45 0 0 215 0 51,815 0 0 etendo.public.m_storage_pending 900 0 1,569,999 0 270 0 0 227 111 314,949 0 0 etendo.profile.indexes_list 900 0 1,264,029 0 3 0 0 216 0 52,056 0 0 etendo.public.m_storage_detail 900 1 1,592,988 0 315 0 0 524 110 410,460 189 350 etendo.profile.last_extension_versions 900 0 143,169 0 144 0 0 222 102 289,216 0 0 etendo.public.ad_audit_trail 900 0 7,415,458 0 186 0 0 480 64 268,303 0 0 etendo.profile.sample_stat_archiver 900 0 35,546 0 45 0 0 215 0 51,815 0 0 etendo.public.ad_pinstance 900 0 328,940 0 257 0 0 279 3 49,599 52 106 etendo.profile.sample_stat_user_func_total 900 0 44,512 0 45 0 0 215 0 51,815 0 0 etendo.pg_toast.pg_toast_45833 900 0 277,445 0 54 0 0 226 7 60,163 0 0 etendo.public.m_stock_proposed 900 1 192,750 0 242 0 0 242 121 360,729 0 0 etendo.public.ad_session 900 0 2,608,351 0 475 0 0 285 40 153,838 1 1 etendo.pg_catalog.pg_type 900 0 164,610 0 52 0 0 232 6 72,295 0 0 etendo.profile.tables_list 900 0 4,313,380 0 0 0 0 216 0 52,056 0 0 etendo.pg_catalog.pg_attribute 900 0 1,083,529 0 43 0 0 69 11 45,861 0 0 etendo.profile.sample_stat_database 900 0 140,609 0 42 0 0 215 0 51,815 0 0 etendo.public.c_invoice 900 0 43,383,540 0 289 0 0 459 131 437,195 213 1,251 etendo.public.ad_module 900 0 974,292 0 136 0 0 224 111 325,034 2 2 postgres.pg_catalog.pg_shdepend 900 0 104,610 0 135 0 0 235 116 252,045 0 0 etendo.profile.sample_stat_tables 900 0 4,919,062 0 0 0 0 216 0 52,056 0 0 etendo.pg_catalog.pg_statistic 900 0 32,270,209 0 262 0 0 252 73 257,379 0 0 etendo.profile.last_stat_activity_count_srv1 900 0 245,905 0 147 0 0 215 111 326,238 0 0 etendo.public.c_bpartner 900 0 1,666,936 0 3,660 0 0 5,942 3,196 14,091,571 145 268 etendo.profile.sample_stat_cluster 900 0 41,846 0 45 0 0 215 0 51,815 0 0 etendo.pg_toast.pg_toast_2619 900 0 3,497,354 0 151 0 0 234 115 305,490 0 0 etendo.profile.servers 900 0 59,031 0 156 0 0 237 111 291,617 15 15 etendo.public.ad_session_usage_audit 900 0 8,778,793 0 525 0 0 538 134 427,512 0 0 template1.pg_catalog.pg_shdepend 900 0 104,719 0 123 0 0 225 121 258,547 0 0 etendo.public.ad_process_request 900 0 3,294,308 0 512 0 0 236 0 44,368 0 0 etendo.public.ad_ep_instance_para 900 1 1,771,810 0 468 0 0 424 279 1,119,973 0 0 etendo.profile.sample_statements_total 900 0 81,717 0 45 0 0 215 0 51,815 0 0 etendo.profile.last_stat_wal 900 0 44,274 0 45 0 0 222 0 41,736 0 0 etendo.public.ad_preference 900 0 2,625,025 0 390 0 0 257 15 86,128 0 0 etendo.public.ad_pinstance_para 900 0 79,043 0 97 0 0 223 0 41,924 0 0 etendo.profile.sample_stat_wal 900 0 37,131 0 45 0 0 215 0 51,815 0 0 etendo.public.ad_process_run 900 0 4,694,623 0 603 0 0 342 158 462,665 0 0 etendo.profile.last_stat_cluster 900 0 51,438 0 156 0 0 222 111 293,842 0 0 etendo.public.fin_financial_account 900 0 108,228 0 128 0 0 224 112 335,212 0 0 etendo.public.ad_sequence 900 0 344,081 0 403 0 0 228 91 271,087 0 0 etendo.pg_catalog.pg_shdepend 900 0 96,718 0 121 0 0 233 119 285,761 0 0 etendo.pg_catalog.pg_class 900 0 196,500 0 51 0 0 31 0 7,471 0 0 etendo.pg_toast.pg_toast_46165 900 0 4,143,717 0 10 0 0 215 9 62,335 0 0 etendo.profile.sample_stat_indexes 900 0 754,188 0 3 0 0 216 0 52,056 0 0 etendo.profile.last_stat_slru 900 0 112,878 0 42 0 0 222 0 41,736 0 0 etendo.profile.sample_stat_io 900 0 121,177 0 36 0 0 216 0 52,056 0 0 etendo.profile.sample_stat_tablespaces 900 0 55,621 0 45 0 0 215 0 51,815 0 0 etendo.profile.sample_statements 900 0 2,258,158 0 0 0 0 216 0 52,056 0 0 etendo.profile.sample_stat_slru 900 0 65,571 0 42 0 0 215 0 51,815 0 0 etendo.profile.last_stat_archiver 900 0 37,098 0 156 0 0 222 111 295,306 0 0 etendo.profile.stmt_list 900 0 3,754,354 0 115 0 0 216 111 272,667 0 0 etendo.profile.last_stat_indexes_srv1 899 0 259,879,800 0 4 0 0 227 2 110,195 0 0 etendo.profile.last_stat_tables_srv1 899 0 172,410,484 0 100 0 0 230 96 244,384 0 0 etendo.profile.last_stat_database_srv1 899 0 218,041 0 42 0 0 221 0 104,533 0 0 etendo.profile.last_stat_statements_srv1 899 0 40,402,004 0 104 0 0 232 102 257,228 0 0 etendo.profile.last_stat_user_functions_srv1 899 0 18,119,919 0 4 0 0 215 4 107,339 0 0 etendo.profile.last_stat_tablespaces_srv1 899 0 67,578 0 45 0 0 220 0 104,060 0 0 etendo.public.c_order 1 1 38,185 0 7,627 0 0 9,390 6,960 16,885,997 2,924 15,807 Total 55,795 4 634,870,286 99,258,413 19,553 0 0 30,131 13,177 41,795,587 3,541 17,800 Vacuum throughput per table
Key values
- profile.last_stat_indexes_srv1 (3155.15) 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 etendo.pg_toast.pg_toast_125223 0 0 0 etendo.profile.sample_stat_user_functions 0 0 8.99999999999985 etendo.profile.sample_stat_tables_total 0 0 0 etendo.profile.sample_stat_indexes_total 0 0 0 etendo.profile.last_stat_io 0 0 0 etendo.profile.funcs_list 0 0 0 etendo.profile.samples 0 0 0 etendo.public.m_storage_pending 0 0 24.8700000000001 etendo.profile.indexes_list 0 0 8.99999999999985 etendo.public.m_storage_detail 0 0 18.0399999999997 etendo.profile.last_extension_versions 0 0 0 etendo.public.ad_audit_trail 0 0 260.640000000001 etendo.profile.sample_stat_archiver 0 0 0 etendo.public.ad_pinstance 0 0 8.24999999999987 etendo.profile.sample_stat_user_func_total 0 0 0 etendo.pg_toast.pg_toast_45833 0 0 0.07 etendo.public.m_stock_proposed 0 0 0.01 etendo.public.ad_session 0 0 32.5099999999999 etendo.pg_catalog.pg_type 0 0 0 etendo.profile.tables_list 0 0 46.8600000000001 etendo.pg_catalog.pg_attribute 0 0 21.4599999999999 etendo.profile.sample_stat_database 0 0 0 etendo.public.c_invoice 0 0 517.529999999995 etendo.public.ad_module 0 0 9.00999999999985 postgres.pg_catalog.pg_shdepend 0 0 0 etendo.profile.sample_stat_tables 0 0 168.21 etendo.pg_catalog.pg_statistic 0 0 410.919999999999 etendo.profile.last_stat_activity_count_srv1 0 0 0 etendo.public.c_bpartner 0 0 20.3099999999999 etendo.profile.sample_stat_cluster 0 0 0 etendo.pg_toast.pg_toast_2619 0 0 108.520000000001 etendo.profile.servers 0 0 0 etendo.public.ad_session_usage_audit 0 0 311.11 template1.pg_catalog.pg_shdepend 0 0 0 etendo.public.ad_process_request 0 0 36.0099999999994 etendo.public.ad_ep_instance_para 0 0 18.7499999999998 etendo.profile.sample_statements_total 0 0 0 etendo.profile.last_stat_wal 0 0 0 etendo.public.ad_preference 0 0 28.2900000000002 etendo.public.ad_pinstance_para 0 0 0 etendo.profile.sample_stat_wal 0 0 0 etendo.public.ad_process_run 0 0 54.0300000000005 etendo.profile.last_stat_cluster 0 0 0 etendo.public.fin_financial_account 0 0 0 etendo.public.ad_sequence 0 0 0 etendo.pg_catalog.pg_shdepend 0 0 0 etendo.pg_catalog.pg_class 0 0 0 etendo.pg_toast.pg_toast_46165 0 0 93.6099999999996 etendo.profile.sample_stat_indexes 0 0 18.0799999999997 etendo.profile.last_stat_slru 0 0 0 etendo.profile.sample_stat_io 0 0 0 etendo.profile.sample_stat_tablespaces 0 0 0 etendo.profile.sample_statements 0 0 72.1199999999989 etendo.profile.sample_stat_slru 0 0 0 etendo.profile.last_stat_archiver 0 0 0 etendo.profile.stmt_list 0 0 38.4499999999996 etendo.profile.last_stat_indexes_srv1 0 0 3,155.15 etendo.profile.last_stat_tables_srv1 0 0 2,984.98000000001 etendo.profile.last_stat_database_srv1 0 0 0 etendo.profile.last_stat_statements_srv1 0 0 1,130.36000000001 etendo.profile.last_stat_user_functions_srv1 0 0 217.77 etendo.profile.last_stat_tablespaces_srv1 0 0 0 etendo.public.c_order 0 0 2.58 Total 0 0 9,826.50000000001 Tuples removed per table
Key values
- public.c_order (1077) Main table with removed tuples on database etendo
- 1234 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain etendo.public.c_order 1 1 1,077 224,412 34,004 0 19,638 etendo.public.ad_ep_instance_para 900 1 84 46,701,782 46,701,782 0 909,784 etendo.public.m_storage_pending 900 0 24 30,587,995 18,373,227 0 965,361 etendo.public.c_invoice 900 0 13 264,674,854 160,172,584 0 21,555,679 etendo.public.ad_audit_trail 900 0 12 335,550,020 107,473,500 0 15,907,284 etendo.public.m_storage_detail 900 1 10 23,060,903 7,414,435 0 739,136 etendo.public.ad_sequence 900 0 5 6,284,394 6,139,494 0 153,388 etendo.public.ad_pinstance 900 0 4 9,714,238 8,024,529 0 290,492 etendo.public.m_stock_proposed 900 1 4 4,387,204 2,826,900 0 139,654 etendo.public.c_bpartner 900 0 1 12,086,153 2,757,653 0 681,385 etendo.pg_toast.pg_toast_125223 900 0 0 162,476 101,760 0 29,280 etendo.profile.sample_stat_user_functions 900 0 0 29,889,646 22,062,600 0 279,779 etendo.profile.sample_stat_tables_total 900 0 0 5,305,491 3,940,920 0 139,140 etendo.profile.sample_stat_indexes_total 900 0 0 2,357,996 1,751,520 0 27,120 etendo.profile.last_stat_io 900 0 0 8,762,385 8,748,885 0 195,300 etendo.profile.funcs_list 900 0 0 10,477,237 10,300,237 0 283,739 etendo.profile.samples 900 0 0 589,499 437,880 0 3,600 etendo.profile.indexes_list 900 0 0 27,582,169 27,238,069 0 601,019 etendo.profile.last_stat_indexes_srv1 899 0 0 3,208,345,570 3,205,927,260 0 130,460,028 etendo.profile.last_stat_tables_srv1 899 0 0 2,067,249,348 2,065,779,725 0 105,193,246 etendo.profile.last_extension_versions 900 0 0 4,126,493 4,120,193 0 56,220 etendo.profile.sample_stat_archiver 900 0 0 589,499 437,880 0 5,400 etendo.profile.sample_stat_user_func_total 900 0 0 1,178,998 875,760 0 10,020 etendo.profile.last_stat_database_srv1 899 0 0 2,355,388 2,351,792 0 94,575 etendo.pg_toast.pg_toast_45833 900 0 0 1,165,590 939,128 0 240,592 etendo.public.ad_session 900 0 0 47,086,006 46,263,091 0 1,387,836 etendo.pg_catalog.pg_type 900 0 0 4,293,258 2,019,484 0 100,375 etendo.profile.tables_list 900 0 0 98,074,242 97,129,544 0 2,134,136 etendo.pg_catalog.pg_attribute 900 0 0 38,837,314 10,155,020 0 741,384 etendo.profile.sample_stat_database 900 0 0 2,357,996 1,751,520 0 94,680 etendo.public.ad_module 900 0 0 6,285,224 6,067,424 0 478,296 postgres.pg_catalog.pg_shdepend 900 0 0 2,751,876 1,009,728 0 23,400 etendo.profile.sample_stat_tables 900 0 0 144,313,294 106,545,240 0 4,816,251 etendo.pg_catalog.pg_statistic 900 0 0 247,315,934 242,187,158 0 16,312,757 etendo.profile.last_stat_activity_count_srv1 900 0 0 4,797,892 4,797,892 0 116,820 etendo.profile.sample_stat_cluster 900 0 0 589,499 437,880 0 12,600 etendo.pg_toast.pg_toast_2619 900 0 0 16,053,859 14,730,038 0 3,308,321 etendo.profile.servers 900 0 0 590,399 589,499 0 10,980 etendo.public.ad_session_usage_audit 900 0 0 352,413,399 158,057,100 0 10,042,385 template1.pg_catalog.pg_shdepend 900 0 0 2,751,881 1,009,742 0 23,400 etendo.public.ad_process_request 900 0 0 15,622,831 14,386,650 0 1,627,433 etendo.profile.sample_statements_total 900 0 0 1,178,998 875,760 0 49,560 etendo.profile.last_stat_wal 900 0 0 589,499 588,599 0 9,000 etendo.public.ad_preference 900 0 0 10,304,605 9,627,805 0 1,338,419 etendo.profile.last_stat_statements_srv1 899 0 0 634,908,046 633,415,530 0 33,909,324 etendo.public.ad_pinstance_para 900 0 0 1,286,526 650,700 0 39,078 etendo.profile.sample_stat_wal 900 0 0 589,499 437,880 0 8,100 etendo.public.ad_process_run 900 0 0 31,777,500 24,302,849 0 2,325,289 etendo.profile.last_stat_cluster 900 0 0 589,499 588,599 0 12,600 etendo.public.fin_financial_account 900 0 0 1,025,155 1,016,155 0 38,116 etendo.pg_catalog.pg_shdepend 900 0 0 2,751,879 1,009,742 0 23,400 etendo.pg_catalog.pg_class 900 0 0 4,549,181 1,166,342 0 116,100 etendo.pg_toast.pg_toast_46165 900 0 0 12,695,424 12,252,624 0 3,172,956 etendo.profile.sample_stat_indexes 900 0 0 42,814,364 31,539,600 0 680,939 etendo.profile.last_stat_slru 900 0 0 2,947,495 2,942,995 0 41,940 etendo.profile.sample_stat_io 900 0 0 3,843,293 2,790,480 0 83,400 etendo.profile.sample_stat_tablespaces 900 0 0 1,178,998 875,760 0 9,000 etendo.profile.sample_statements 900 0 0 43,462,422 32,436,360 0 2,173,560 etendo.profile.last_stat_user_functions_srv1 899 0 0 280,919,158 280,526,595 0 9,069,504 etendo.profile.last_stat_tablespaces_srv1 899 0 0 1,177,694 1,175,896 0 18,699 etendo.profile.sample_stat_slru 900 0 0 2,358,896 1,752,420 0 33,660 etendo.profile.last_stat_archiver 900 0 0 589,499 588,599 0 5,400 etendo.profile.stmt_list 900 0 0 25,349,643 24,893,528 0 1,873,197 Total 55,795 4 1,234 8,194,431,917 7,487,523,545 0 375,243,154 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.pg_toast.pg_toast_125223 900 0 0 0 etendo.profile.sample_stat_user_functions 900 0 0 0 etendo.profile.sample_stat_tables_total 900 0 0 0 etendo.profile.sample_stat_indexes_total 900 0 0 0 etendo.profile.last_stat_io 900 0 0 0 etendo.profile.funcs_list 900 0 0 0 etendo.profile.samples 900 0 0 0 etendo.public.m_storage_pending 900 0 24 0 etendo.profile.indexes_list 900 0 0 0 etendo.profile.last_stat_indexes_srv1 899 0 0 0 etendo.public.m_storage_detail 900 1 10 0 etendo.profile.last_stat_tables_srv1 899 0 0 0 etendo.profile.last_extension_versions 900 0 0 0 etendo.public.ad_audit_trail 900 0 12 0 etendo.profile.sample_stat_archiver 900 0 0 0 etendo.public.ad_pinstance 900 0 4 0 etendo.profile.sample_stat_user_func_total 900 0 0 0 etendo.profile.last_stat_database_srv1 899 0 0 0 etendo.pg_toast.pg_toast_45833 900 0 0 0 etendo.public.m_stock_proposed 900 1 4 0 etendo.public.ad_session 900 0 0 0 etendo.pg_catalog.pg_type 900 0 0 0 etendo.profile.tables_list 900 0 0 0 etendo.pg_catalog.pg_attribute 900 0 0 0 etendo.profile.sample_stat_database 900 0 0 0 etendo.public.c_invoice 900 0 13 0 etendo.public.ad_module 900 0 0 0 postgres.pg_catalog.pg_shdepend 900 0 0 0 etendo.profile.sample_stat_tables 900 0 0 0 etendo.pg_catalog.pg_statistic 900 0 0 0 etendo.profile.last_stat_activity_count_srv1 900 0 0 0 etendo.public.c_bpartner 900 0 1 0 etendo.profile.sample_stat_cluster 900 0 0 0 etendo.pg_toast.pg_toast_2619 900 0 0 0 etendo.profile.servers 900 0 0 0 etendo.public.ad_session_usage_audit 900 0 0 0 template1.pg_catalog.pg_shdepend 900 0 0 0 etendo.public.ad_process_request 900 0 0 0 etendo.public.ad_ep_instance_para 900 1 84 0 etendo.profile.sample_statements_total 900 0 0 0 etendo.profile.last_stat_wal 900 0 0 0 etendo.public.ad_preference 900 0 0 0 etendo.profile.last_stat_statements_srv1 899 0 0 0 etendo.public.ad_pinstance_para 900 0 0 0 etendo.profile.sample_stat_wal 900 0 0 0 etendo.public.ad_process_run 900 0 0 0 etendo.profile.last_stat_cluster 900 0 0 0 etendo.public.fin_financial_account 900 0 0 0 etendo.public.c_order 1 1 1077 0 etendo.public.ad_sequence 900 0 5 0 etendo.pg_catalog.pg_shdepend 900 0 0 0 etendo.pg_catalog.pg_class 900 0 0 0 etendo.pg_toast.pg_toast_46165 900 0 0 0 etendo.profile.sample_stat_indexes 900 0 0 0 etendo.profile.last_stat_slru 900 0 0 0 etendo.profile.sample_stat_io 900 0 0 0 etendo.profile.sample_stat_tablespaces 900 0 0 0 etendo.profile.sample_statements 900 0 0 0 etendo.profile.last_stat_user_functions_srv1 899 0 0 0 etendo.profile.last_stat_tablespaces_srv1 899 0 0 0 etendo.profile.sample_stat_slru 900 0 0 0 etendo.profile.last_stat_archiver 900 0 0 0 etendo.profile.stmt_list 900 0 0 0 Total 55,795 4 1,234 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 14 07 3,720 19 08 3,720 30 09 3,720 19 10 3,720 28 11 3,720 17 12 3,714 16 13 3,720 16 14 3,720 15 15 3,720 13 16 3,720 15 17 3,720 10 18 3,721 14 19 3,720 9 20 3,720 8 21 3,720 10 22 0 0 - 4.56 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 113 Total read queries
- 1 Total write queries
Queries by database
Key values
- etendo Main database
- 114 Requests
- 9m22s (etendo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 99 Requests
User Request type Count Duration postgres Total 15 4m14s select 15 4m14s tad Total 99 5m7s delete 1 1s6ms select 98 5m6s Duration by user
Key values
- 5m7s (tad) Main time consuming user
User Request type Count Duration postgres Total 15 4m14s select 15 4m14s tad Total 99 5m7s delete 1 1s6ms select 98 5m6s Queries by host
Key values
- 127.0.0.1 Main host
- 99 Requests
- 5m7s (127.0.0.1)
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 99 Requests
- 5m7s (openbravo)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-14 16:36:48 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 87 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 45s151ms SELECT profile.take_sample ();[ Date: 2026-07-14 12:00:46 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
2 19s310ms SELECT profile.take_sample ();[ Date: 2026-07-14 15:00:20 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
3 17s964ms SELECT profile.take_sample ();[ Date: 2026-07-14 08:00:20 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
4 17s824ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 15:00:19 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 17s507ms SELECT profile.take_sample ();[ Date: 2026-07-14 13:00:19 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
6 17s113ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 08:00:18 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 16s853ms SELECT profile.take_sample ();[ Date: 2026-07-14 19:00:18 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
8 16s90ms SELECT profile.take_sample ();[ Date: 2026-07-14 20:00:17 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
9 15s437ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 11:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 15s354ms SELECT profile.take_sample ();[ Date: 2026-07-14 11:00:16 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
11 14s924ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 09:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 14s853ms SELECT profile.take_sample ();[ Date: 2026-07-14 14:00:16 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
13 14s610ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 13:00:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 14s290ms SELECT profile.take_sample ();[ Date: 2026-07-14 09:00:16 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
15 13s911ms SELECT profile.take_sample ();[ Date: 2026-07-14 21:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
16 13s772ms SELECT profile.take_sample ();[ Date: 2026-07-14 17:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
17 13s721ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 19:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
18 13s448ms SELECT profile.take_sample ();[ Date: 2026-07-14 18:00:15 - Database: etendo - User: postgres - Remote: [local] - Application: psql ]
19 13s432ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 14:00:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
20 13s262ms SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-14 20:00:14 - 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 4m14s 15 11s212ms 45s151ms 16s980ms select profile.take_sample ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 07 1 11s212ms 11s212ms 08 1 17s964ms 17s964ms 09 1 14s290ms 14s290ms 10 1 12s770ms 12s770ms 11 1 15s354ms 15s354ms 12 1 45s151ms 45s151ms 13 1 17s507ms 17s507ms 14 1 14s853ms 14s853ms 15 1 19s310ms 19s310ms 16 1 12s213ms 12s213ms 17 1 13s772ms 13s772ms 18 1 13s448ms 13s448ms 19 1 16s853ms 16s853ms 20 1 16s90ms 16s90ms 21 1 13s911ms 13s911ms [ User: postgres - Total duration: 4m14s - Times executed: 15 ]
[ Application: psql - Total duration: 4m14s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-14 12:00:46 Duration: 45s151ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-14 15:00:20 Duration: 19s310ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-14 08:00:20 Duration: 17s964ms Database: etendo User: postgres Remote: [local] Application: psql
2 3m16s 15 8s880ms 17s824ms 13s72ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice, c_doctype, fact_acct f1, fact_acct f2 where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id group by c_invoice_id, posted, c_invoice.ad_client_id, c_invoice.ad_org_id, f1.ad_table_id, f1.record_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 14 07 1 8s922ms 8s922ms 08 1 17s113ms 17s113ms 09 1 14s924ms 14s924ms 10 1 12s166ms 12s166ms 11 1 15s437ms 15s437ms 12 1 8s880ms 8s880ms 13 1 14s610ms 14s610ms 14 1 13s432ms 13s432ms 15 1 17s824ms 17s824ms 16 1 12s105ms 12s105ms 17 1 9s318ms 9s318ms 18 1 12s568ms 12s568ms 19 1 13s721ms 13s721ms 20 1 13s262ms 13s262ms 21 1 11s792ms 11s792ms [ User: tad - Total duration: 3m16s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m16s - Times executed: 15 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 15:00:19 Duration: 17s824ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:18 Duration: 17s113ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 11:00:16 Duration: 15s437ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 44s185ms 41 1s 1s311ms 1s77ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ left outer join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro4_ cross join m_pricelist_version pricingpri5_ cross join m_pricelist pricingpri9_ where productbyp0_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro4_.m_pricelist_version_id = pricingpri5_.m_pricelist_version_id and pricingpri5_.m_pricelist_id = pricingpri9_.m_pricelist_id and (upper(product1_.value) like upper(?) escape ? or upper(product1_.name) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl3_.name from m_product_trl producttrl3_ where producttrl3_.m_product_id = product1_.m_product_id and producttrl3_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ?) and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri5_.isactive = ? and ad_org_isinnaturaltree (pricingpro4_.ad_org_id, ?, ?) = ? and pricingpri9_.issopricelist = ? and pricingpri9_.c_currency_id = ? and pricingpro4_.m_pricelist_version_id = ? and productbyp0_.m_warehouse_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.value, product1_.m_product_id limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 07 17 18s103ms 1s64ms 08 7 7s510ms 1s72ms 10 4 4s265ms 1s66ms 11 2 2s426ms 1s213ms 12 2 2s151ms 1s75ms 14 1 1s66ms 1s66ms 15 1 1s7ms 1s7ms 16 2 2s200ms 1s100ms 17 3 3s390ms 1s130ms 18 1 1s21ms 1s21ms 19 1 1s40ms 1s40ms [ User: tad - Total duration: 44s185ms - Times executed: 41 ]
[ Application: openbravo - Total duration: 44s185ms - Times executed: 41 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%m%') escape '|' or upper(product1_.Name) like upper('%m%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%m%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%m%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 07:07:10 Duration: 1s311ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%ar%') escape '|' or upper(product1_.Name) like upper('%ar%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%ar%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%ar%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 11:42:13 Duration: 1s297ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%LI%') escape '|' or upper(product1_.Name) like upper('%LI%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%LI%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%LI%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 17:36:20 Duration: 1s241ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 24s737ms 17 1s13ms 1s880ms 1s455ms select * from ( select c_invoice.c_invoice_id as referencekey_id, c_invoice.documentno as record_id, ? as ad_role_id, null as ad_user_id, ?| | c_invoice.documentno || ?| | c_invoice.grandtotal || ?| | (( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, ? as isactive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice where c_invoice.issotrx = ? and c_invoice.grandtotal <> round((( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_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 #4
Day Hour Count Duration Avg duration Jul 14 07 1 1s847ms 1s847ms 08 2 3s714ms 1s857ms 09 1 1s36ms 1s36ms 10 1 1s238ms 1s238ms 11 1 1s13ms 1s13ms 12 1 1s338ms 1s338ms 13 2 3s34ms 1s517ms 14 1 1s343ms 1s343ms 15 1 1s197ms 1s197ms 16 1 1s91ms 1s91ms 17 1 1s804ms 1s804ms 18 1 1s374ms 1s374ms 19 1 1s574ms 1s574ms 20 1 1s632ms 1s632ms 21 1 1s493ms 1s493ms [ User: tad - Total duration: 24s737ms - Times executed: 17 ]
[ Application: openbravo - Total duration: 24s737ms - Times executed: 17 ]
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:23 Duration: 1s880ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 07:00:13 Duration: 1s847ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'N' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '64986CDE8CEA4AA1BA98CD9FEEEE3553' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:22 Duration: 1s834ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 11s287ms 7 1s42ms 3s888ms 1s612ms select a.id, ev.value as account_id, coalesce(ev_trl.name, ev.name) as name, a.initialamt as saldo_inicial, a.amtacctcr, a.amtacctdr, a.initialamt + a.amtacctdr - a.amtacctcr as saldo_final, a.groupbyid, case ad_column_identifier (?, groupbyid, to_char(?)) when ? then ? else ad_column_identifier (?, groupbyid, to_char(?)) end as groupbyname from ( select sum( case when (dateacct < to_date(?) or (dateacct = to_date(?) and f.factaccttype = ?)) then f.amtacctdr - f.amtacctcr else ? end) as initialamt, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctdr else ? end) as amtacctdr, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctcr else ? end) as amtacctcr, f.account_id as id, to_char(?) as groupbyid from fact_acct f where f.ad_org_id in (...) and f.ad_client_id in (...) and f.ad_org_id in (...) and dateacct < to_date(?) and ? = ? and f.c_acctschema_id = ? and f.isactive = ? group by f.account_id) a left join c_elementvalue ev on a.id = ev.c_elementvalue_id left join c_elementvalue_trl ev_trl on ev.c_elementvalue_id = ev_trl.c_elementvalue_id and ev_trl.ad_language = ? where ev.elementlevel = ? and ? = ? and ev.value >= ? and ev.value <= ? and (a.initialamt <> ? or a.amtacctcr <> ? or a.amtacctdr <> ?) order by ev.value, ev.name, id, groupbyname;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 11 5 6s308ms 1s261ms 16 2 4s978ms 2s489ms [ User: tad - Total duration: 11s287ms - Times executed: 7 ]
[ Application: openbravo - Total duration: 11s287ms - Times executed: 7 ]
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '60000' AND EV.VALUE <= '99900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 16:56:46 Duration: 3s888ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 11:26:44 Duration: 1s969ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-04-2026') or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-04-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-04-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '60000' AND EV.VALUE <= '79000' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 11:29:36 Duration: 1s104ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 9s105ms 5 1s24ms 2s791ms 1s821ms select * from c_order_post (?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 07 1 2s791ms 2s791ms 14 1 2s170ms 2s170ms 17 1 1s932ms 1s932ms 18 1 1s24ms 1s24ms 19 1 1s186ms 1s186ms [ User: tad - Total duration: 9s105ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 9s105ms - Times executed: 5 ]
-
SELECT * FROM C_ORDER_POST ('84417DD4E18145799517A0889BA57D8F');
Date: 2026-07-14 07:28:41 Duration: 2s791ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('E990492D4E314A2DB48B88BCD457E1CC');
Date: 2026-07-14 14:02:20 Duration: 2s170ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('BF130C4D305B4262BA4F933341ADA762');
Date: 2026-07-14 17:57:42 Duration: 1s932ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 5s157ms 3 1s570ms 1s880ms 1s719ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_order order_comp3_ cross join c_doctype documentty4_ where order1_.c_order_id = order_comp3_.c_order_id and order1_.c_doctypetarget_id = documentty4_.c_doctype_id and order1_.docstatus = ? and (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp3_.iscancelled = ? or order_comp3_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), ?)) = ? and order1_.issotrx = ? and documentty4_.isreturn = ? and (documentty4_.docsubtypeso not like ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 11 3 5s157ms 1s719ms [ User: tad - Total duration: 5s157ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 5s157ms - Times executed: 3 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%j%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:00:42 Duration: 1s880ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%j%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:02:42 Duration: 1s706ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%f%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:29:45 Duration: 1s570ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 4s733ms 1 4s733ms 4s733ms 4s733ms select nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, sum(amount) as amount, sum(qty) as qty, sum(weight) as weight, sum(amountref) as amountref, sum(qtyref) as qtyref, sum(weightref) as weightref, sum(convamount) as convamount, c_currency_symbol (?, ?, ?) as convsym, sum(convamountref) as convamountref, c_currency_isosym (?) as convisosym from ( select nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, sum(linenetamt) as amount, sum(movementqty) as qty, sum(weight) as weight, sum(linenetref) as amountref, sum(movementqtyref) as qtyref, sum(weightref) as weightref, c_currency_convert (sum(linenetamt), trcurrencyid, ?, to_date(trdate), null, trclientid, trorgid) as convamount, ? as convamountref, trcurrencyid, trdate, trclientid, trorgid from ( select to_char(ad_column_identifier (to_char(?), to_char(c_bpartner.c_bpartner_id), to_char(?))) as nivel1, to_char(?) as nivel2, to_char(?) as nivel3, to_char(?) as nivel4, to_char(?) as nivel5, to_char(?) as nivel6, to_char(?) as nivel7, to_char(?) as nivel8, to_char(?) as nivel9, coalesce(m_inoutline.movementqty * c_orderline.priceactual, ?) as linenetamt, m_inoutline.movementqty, m_inoutline.movementqty * m_product.weight as weight, ? as linenetref, ? as movementqtyref, ? as weightref, c_uom.uomsymbol, c_orderline.c_currency_id as trcurrencyid, to_date(coalesce(c_order.dateordered, now())) as trdate, c_orderline.ad_client_id as trclientid, c_orderline.ad_org_id as trorgid from m_inoutline left join c_orderline on m_inoutline.c_orderline_id = c_orderline.c_orderline_id left join c_order on c_orderline.c_order_id = c_order.c_order_id, m_inout left join ad_user on m_inout.salesrep_id = ad_user.ad_user_id, c_bpartner left join c_bpartner cb on c_bpartner.salesrep_id = cb.c_bpartner_id, c_bp_group, m_product, m_product_category, m_warehouse, c_uom, ad_org where m_inout.c_bpartner_id = c_bpartner.c_bpartner_id and c_bpartner.c_bp_group_id = c_bp_group.c_bp_group_id and m_inout.m_inout_id = m_inoutline.m_inout_id and m_inoutline.m_product_id = m_product.m_product_id and m_product.m_product_category_id = m_product_category.m_product_category_id and m_inout.m_warehouse_id = m_warehouse.m_warehouse_id and m_inoutline.c_uom_id = c_uom.c_uom_id and m_inout.ad_org_id = ad_org.ad_org_id and m_inout.issotrx = ? and m_inout.processed = ? and ? = ? and m_inout.ad_org_id in (...) and m_inout.ad_client_id in (...) and ? = ? and m_inout.movementdate >= to_date(?) and m_inout.movementdate < to_date(?)) aa group by nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, trcurrencyid, trdate, trclientid, trorgid) zz group by nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9 order by nivel1;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 12 1 4s733ms 4s733ms [ User: tad - Total duration: 4s733ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 4s733ms - Times executed: 1 ]
-
SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, SUM(AMOUNT) AS AMOUNT, SUM(QTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(AMOUNTREF) AS AMOUNTREF, SUM(QTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, SUM(CONVAMOUNT) AS CONVAMOUNT, C_CURRENCY_SYMBOL ('102', 0, 'Y') AS CONVSYM, SUM(CONVAMOUNTREF) AS CONVAMOUNTREF, C_CURRENCY_ISOSYM ('102') AS CONVISOSYM FROM ( SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, SUM(LINENETAMT) AS AMOUNT, SUM(MOVEMENTQTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(LINENETREF) AS AMOUNTREF, SUM(MOVEMENTQTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, C_CURRENCY_CONVERT (SUM(LINENETAMT), TRCURRENCYID, '102', TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS CONVAMOUNT, 0 AS CONVAMOUNTREF, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID FROM ( SELECT to_char(AD_COLUMN_IDENTIFIER (to_char('C_Bpartner'), to_char(C_BPARTNER.C_BPARTNER_ID), to_char('es_ES'))) AS NIVEL1, to_char('') AS NIVEL2, to_char('') AS NIVEL3, to_char('') AS NIVEL4, to_char('') AS NIVEL5, to_char('') AS NIVEL6, to_char('') AS NIVEL7, to_char('') AS NIVEL8, to_char('') AS NIVEL9, COALESCE(M_INOUTLINE.MOVEMENTQTY * C_ORDERLINE.PRICEACTUAL, 0) AS LINENETAMT, M_INOUTLINE.MOVEMENTQTY, M_INOUTLINE.MOVEMENTQTY * M_PRODUCT.WEIGHT AS WEIGHT, 0 AS LINENETREF, 0 AS MOVEMENTQTYREF, 0 AS WEIGHTREF, C_UOM.UOMSYMBOL, C_ORDERLINE.C_CURRENCY_ID AS TRCURRENCYID, TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE, C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID, C_ORDERLINE.AD_ORG_ID AS TRORGID FROM M_INOUTLINE left join C_ORDERLINE on M_INOUTLINE.C_ORDERLINE_ID = C_ORDERLINE.C_ORDERLINE_ID left join C_ORDER on C_ORDERLINE.C_ORDER_ID = C_ORDER.C_ORDER_ID, M_INOUT left join AD_USER on M_INOUT.SALESREP_ID = AD_USER.AD_USER_ID, C_BPARTNER left join C_BPARTNER CB on C_BPARTNER.SALESREP_ID = CB.C_BPARTNER_ID, C_BP_GROUP, M_PRODUCT, M_PRODUCT_CATEGORY, M_WAREHOUSE, C_UOM, AD_ORG WHERE M_INOUT.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID AND M_INOUT.M_INOUT_ID = M_INOUTLINE.M_INOUT_ID AND M_INOUTLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID AND M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID AND M_INOUT.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID AND M_INOUTLINE.C_UOM_ID = C_UOM.C_UOM_ID AND M_INOUT.AD_ORG_ID = AD_ORG.AD_ORG_ID AND M_INOUT.ISSOTRX = 'Y' AND M_INOUT.PROCESSED = 'Y' AND 0 = 0 AND M_INOUT.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', '203E608E4BEC43F8BC282264DF075FCC', '0') AND M_INOUT.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND 1 = 1 AND M_INOUT.MOVEMENTDATE >= TO_DATE('01-07-2026') AND M_INOUT.MOVEMENTDATE < TO_DATE('01-08-2026')) AA GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID) ZZ GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9 ORDER BY NIVEL1;
Date: 2026-07-14 12:47:29 Duration: 4s733ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 3s366ms 3 1s16ms 1s199ms 1s122ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id, posted from c_invoice, c_doctype where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and not exists ( select ? from c_period where c_period.startdate <= trunc(dateacct) and trunc(dateacct) <= c_period.enddate) group by c_invoice_id, posted, c_invoice.ad_org_id, c_invoice.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 #9
Day Hour Count Duration Avg duration Jul 14 12 1 1s149ms 1s149ms 13 1 1s199ms 1s199ms 14 1 1s16ms 1s16ms [ User: tad - Total duration: 3s366ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 3s366ms - Times executed: 3 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 13:00:01 Duration: 1s199ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 12:00:01 Duration: 1s149ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 14:00:01 Duration: 1s16ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 3s230ms 2 1s515ms 1s714ms 1s615ms select * from c_invoice_post0 (?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 09 1 1s515ms 1s515ms 10 1 1s714ms 1s714ms [ User: tad - Total duration: 3s230ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 3s230ms - Times executed: 2 ]
-
SELECT * FROM C_Invoice_Post0 ('49939C5860CB474F928B18082F5464A8');
Date: 2026-07-14 10:37:42 Duration: 1s714ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_Invoice_Post0 ('18F3EC2F65C14D94A721A25C3E44ED56');
Date: 2026-07-14 09:00:02 Duration: 1s515ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 2s175ms 2 1s49ms 1s126ms 1s87ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from m_inout materialmg1_ inner join c_bpartner businesspa2_ on materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_doctype documentty3_ where materialmg1_.c_doctype_id = documentty3_.c_doctype_id and (materialmg1_.movementtype in (...)) and materialmg1_.islogistic = ? and documentty3_.isreturn = ? and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 07 1 1s126ms 1s126ms 13 1 1s49ms 1s49ms [ User: tad - Total duration: 2s175ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s175ms - Times executed: 2 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%sa%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('V-', 'V+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 07:21:44 Duration: 1s126ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%c%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('V-', 'V+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 13:01:59 Duration: 1s49ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 1s324ms 1 1s324ms 1s324ms 1s324ms select priuti_cre0_.priuti_createinfromord_v_id as priuti_c1_729_, priuti_cre0_.ad_client_id as ad_clien2_729_, priuti_cre0_.isactive as isactive3_729_, priuti_cre0_.created as created4_729_, priuti_cre0_.createdby as createdb5_729_, priuti_cre0_.updated as updated6_729_, priuti_cre0_.updatedby as updatedb7_729_, priuti_cre0_.c_order_id as c_order_8_729_, priuti_cre0_.ad_org_id as ad_org_i9_729_, priuti_cre0_.o_ad_org_id as o_ad_or10_729_, priuti_cre0_.c_doctype_id as c_docty11_729_, priuti_cre0_.documentno as documen12_729_, priuti_cre0_.c_bpartner_id as c_bpart13_729_, priuti_cre0_.dateordered as dateord14_729_, priuti_cre0_.totalgross as totalgr15_729_, priuti_cre0_.amountlines as amountl16_729_, priuti_cre0_.linesinvoiced as linesin17_729_, priuti_cre0_.relatedshipments as related18_729_, priuti_cre0_.notinvoicedlines as notinvo19_729_, priuti_cre0_.pendinglines as pending20_729_, priuti_cre0_.termname as termnam21_729_, priuti_cre0_.termvalue as termval22_729_, priuti_cre0_.qtyordered as qtyorde23_729_, priuti_cre0_.qtydelivered as qtydeli24_729_, priuti_cre0_.gridposition as gridpos25_729_ from priuti_createinfromord_v priuti_cre0_ where (priuti_cre0_.ad_org_id in (...)) and priuti_cre0_.ad_client_id = ? and (priuti_cre0_.o_ad_org_id in (...)) and (priuti_cre0_.ad_client_id in (...)) and priuti_cre0_.isactive = ? order by priuti_cre0_.priuti_createinfromord_v_id desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 10 1 1s324ms 1s324ms [ User: tad - Total duration: 1s324ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s324ms - Times executed: 1 ]
-
select priuti_cre0_.Priuti_Createinfromord_V_ID as priuti_c1_729_, priuti_cre0_.AD_Client_ID as ad_clien2_729_, priuti_cre0_.Isactive as isactive3_729_, priuti_cre0_.Created as created4_729_, priuti_cre0_.Createdby as createdb5_729_, priuti_cre0_.Updated as updated6_729_, priuti_cre0_.Updatedby as updatedb7_729_, priuti_cre0_.C_Order_ID as c_order_8_729_, priuti_cre0_.AD_Org_ID as ad_org_i9_729_, priuti_cre0_.O_Ad_Org_ID as o_ad_or10_729_, priuti_cre0_.C_Doctype_ID as c_docty11_729_, priuti_cre0_.Documentno as documen12_729_, priuti_cre0_.C_Bpartner_ID as c_bpart13_729_, priuti_cre0_.Dateordered as dateord14_729_, priuti_cre0_.Totalgross as totalgr15_729_, priuti_cre0_.Amountlines as amountl16_729_, priuti_cre0_.Linesinvoiced as linesin17_729_, priuti_cre0_.Relatedshipments as related18_729_, priuti_cre0_.Notinvoicedlines as notinvo19_729_, priuti_cre0_.Pendinglines as pending20_729_, priuti_cre0_.Termname as termnam21_729_, priuti_cre0_.Termvalue as termval22_729_, priuti_cre0_.Qtyordered as qtyorde23_729_, priuti_cre0_.Qtydelivered as qtydeli24_729_, priuti_cre0_.Gridposition as gridpos25_729_ from priuti_CreateInfromOrd_v priuti_cre0_ where (priuti_cre0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and priuti_cre0_.AD_Client_ID = '4E7785E633254999A6D7545B0BE57A46' and (priuti_cre0_.O_Ad_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (priuti_cre0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and priuti_cre0_.Isactive = 'Y' order by priuti_cre0_.Priuti_Createinfromord_V_ID desc limit '101';
Date: 2026-07-14 10:13:34 Duration: 1s324ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1s128ms 1 1s128ms 1s128ms 1s128ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where exists ( select ? from m_inout materialmg1_ left outer join c_bpartner businesspa2_ on materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id inner join c_bpartner businesspa3_ on materialmg1_.c_bpartner_id = businesspa3_.c_bpartner_id where (upper((materialmg1_.documentno || ?| | coalesce(to_char(materialmg1_.movementdate), ?) || ?| | (businesspa3_.name || ?| | coalesce(to_char(businesspa3_.name2), ?) || ?| | coalesce(to_char(businesspa3_.taxid), ?)))) like upper(?) escape ?) and businesspa3_.c_bpartner_id = businesspa0_.c_bpartner_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 13 1 1s128ms 1s128ms [ User: tad - Total duration: 1s128ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s128ms - Times executed: 1 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where exists ( select 1 from M_InOut materialmg1_ left outer join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join C_BPartner businesspa3_ on materialmg1_.C_BPartner_ID = businesspa3_.C_BPartner_ID where (upper((materialmg1_.DocumentNo || ' - ' || coalesce(to_char(materialmg1_.MovementDate), '') || ' - ' || (businesspa3_.Name || ' - ' || coalesce(to_char(businesspa3_.Name2), '') || ' - ' || coalesce(to_char(businesspa3_.TaxID), '')))) like upper('%coimp%') escape '|') and businesspa3_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0'))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 13:02:01 Duration: 1s128ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 1s6ms 1 1s6ms 1s6ms 1s6ms delete from c_orderline where c_orderline_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 07 1 1s6ms 1s6ms [ User: tad - Total duration: 1s6ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s6ms - Times executed: 1 ]
-
delete from C_OrderLine where C_OrderLine_ID = '7C32309DFD384EA2AAA13D4591F52784';
Date: 2026-07-14 07:58:27 Duration: 1s6ms 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 41 44s185ms 1s 1s311ms 1s77ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ left outer join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro4_ cross join m_pricelist_version pricingpri5_ cross join m_pricelist pricingpri9_ where productbyp0_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro4_.m_pricelist_version_id = pricingpri5_.m_pricelist_version_id and pricingpri5_.m_pricelist_id = pricingpri9_.m_pricelist_id and (upper(product1_.value) like upper(?) escape ? or upper(product1_.name) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl3_.name from m_product_trl producttrl3_ where producttrl3_.m_product_id = product1_.m_product_id and producttrl3_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ?) and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri5_.isactive = ? and ad_org_isinnaturaltree (pricingpro4_.ad_org_id, ?, ?) = ? and pricingpri9_.issopricelist = ? and pricingpri9_.c_currency_id = ? and pricingpro4_.m_pricelist_version_id = ? and productbyp0_.m_warehouse_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.value, product1_.m_product_id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 07 17 18s103ms 1s64ms 08 7 7s510ms 1s72ms 10 4 4s265ms 1s66ms 11 2 2s426ms 1s213ms 12 2 2s151ms 1s75ms 14 1 1s66ms 1s66ms 15 1 1s7ms 1s7ms 16 2 2s200ms 1s100ms 17 3 3s390ms 1s130ms 18 1 1s21ms 1s21ms 19 1 1s40ms 1s40ms [ User: tad - Total duration: 44s185ms - Times executed: 41 ]
[ Application: openbravo - Total duration: 44s185ms - Times executed: 41 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%m%') escape '|' or upper(product1_.Name) like upper('%m%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%m%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%m%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 07:07:10 Duration: 1s311ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%ar%') escape '|' or upper(product1_.Name) like upper('%ar%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%ar%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%ar%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 11:42:13 Duration: 1s297ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%LI%') escape '|' or upper(product1_.Name) like upper('%LI%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%LI%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%LI%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 17:36:20 Duration: 1s241ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 17 24s737ms 1s13ms 1s880ms 1s455ms select * from ( select c_invoice.c_invoice_id as referencekey_id, c_invoice.documentno as record_id, ? as ad_role_id, null as ad_user_id, ?| | c_invoice.documentno || ?| | c_invoice.grandtotal || ?| | (( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, ? as isactive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice where c_invoice.issotrx = ? and c_invoice.grandtotal <> round((( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_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 14 07 1 1s847ms 1s847ms 08 2 3s714ms 1s857ms 09 1 1s36ms 1s36ms 10 1 1s238ms 1s238ms 11 1 1s13ms 1s13ms 12 1 1s338ms 1s338ms 13 2 3s34ms 1s517ms 14 1 1s343ms 1s343ms 15 1 1s197ms 1s197ms 16 1 1s91ms 1s91ms 17 1 1s804ms 1s804ms 18 1 1s374ms 1s374ms 19 1 1s574ms 1s574ms 20 1 1s632ms 1s632ms 21 1 1s493ms 1s493ms [ User: tad - Total duration: 24s737ms - Times executed: 17 ]
[ Application: openbravo - Total duration: 24s737ms - Times executed: 17 ]
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:23 Duration: 1s880ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 07:00:13 Duration: 1s847ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'N' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '64986CDE8CEA4AA1BA98CD9FEEEE3553' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:22 Duration: 1s834ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 15 4m14s 11s212ms 45s151ms 16s980ms select profile.take_sample ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 07 1 11s212ms 11s212ms 08 1 17s964ms 17s964ms 09 1 14s290ms 14s290ms 10 1 12s770ms 12s770ms 11 1 15s354ms 15s354ms 12 1 45s151ms 45s151ms 13 1 17s507ms 17s507ms 14 1 14s853ms 14s853ms 15 1 19s310ms 19s310ms 16 1 12s213ms 12s213ms 17 1 13s772ms 13s772ms 18 1 13s448ms 13s448ms 19 1 16s853ms 16s853ms 20 1 16s90ms 16s90ms 21 1 13s911ms 13s911ms [ User: postgres - Total duration: 4m14s - Times executed: 15 ]
[ Application: psql - Total duration: 4m14s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-14 12:00:46 Duration: 45s151ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-14 15:00:20 Duration: 19s310ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-14 08:00:20 Duration: 17s964ms Database: etendo User: postgres Remote: [local] Application: psql
4 15 3m16s 8s880ms 17s824ms 13s72ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice, c_doctype, fact_acct f1, fact_acct f2 where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id group by c_invoice_id, posted, c_invoice.ad_client_id, c_invoice.ad_org_id, f1.ad_table_id, f1.record_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 #4
Day Hour Count Duration Avg duration Jul 14 07 1 8s922ms 8s922ms 08 1 17s113ms 17s113ms 09 1 14s924ms 14s924ms 10 1 12s166ms 12s166ms 11 1 15s437ms 15s437ms 12 1 8s880ms 8s880ms 13 1 14s610ms 14s610ms 14 1 13s432ms 13s432ms 15 1 17s824ms 17s824ms 16 1 12s105ms 12s105ms 17 1 9s318ms 9s318ms 18 1 12s568ms 12s568ms 19 1 13s721ms 13s721ms 20 1 13s262ms 13s262ms 21 1 11s792ms 11s792ms [ User: tad - Total duration: 3m16s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m16s - Times executed: 15 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 15:00:19 Duration: 17s824ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:18 Duration: 17s113ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 11:00:16 Duration: 15s437ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 7 11s287ms 1s42ms 3s888ms 1s612ms select a.id, ev.value as account_id, coalesce(ev_trl.name, ev.name) as name, a.initialamt as saldo_inicial, a.amtacctcr, a.amtacctdr, a.initialamt + a.amtacctdr - a.amtacctcr as saldo_final, a.groupbyid, case ad_column_identifier (?, groupbyid, to_char(?)) when ? then ? else ad_column_identifier (?, groupbyid, to_char(?)) end as groupbyname from ( select sum( case when (dateacct < to_date(?) or (dateacct = to_date(?) and f.factaccttype = ?)) then f.amtacctdr - f.amtacctcr else ? end) as initialamt, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctdr else ? end) as amtacctdr, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctcr else ? end) as amtacctcr, f.account_id as id, to_char(?) as groupbyid from fact_acct f where f.ad_org_id in (...) and f.ad_client_id in (...) and f.ad_org_id in (...) and dateacct < to_date(?) and ? = ? and f.c_acctschema_id = ? and f.isactive = ? group by f.account_id) a left join c_elementvalue ev on a.id = ev.c_elementvalue_id left join c_elementvalue_trl ev_trl on ev.c_elementvalue_id = ev_trl.c_elementvalue_id and ev_trl.ad_language = ? where ev.elementlevel = ? and ? = ? and ev.value >= ? and ev.value <= ? and (a.initialamt <> ? or a.amtacctcr <> ? or a.amtacctdr <> ?) order by ev.value, ev.name, id, groupbyname;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 11 5 6s308ms 1s261ms 16 2 4s978ms 2s489ms [ User: tad - Total duration: 11s287ms - Times executed: 7 ]
[ Application: openbravo - Total duration: 11s287ms - Times executed: 7 ]
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '60000' AND EV.VALUE <= '99900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 16:56:46 Duration: 3s888ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 11:26:44 Duration: 1s969ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-04-2026') or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-04-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-04-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '60000' AND EV.VALUE <= '79000' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 11:29:36 Duration: 1s104ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 5 9s105ms 1s24ms 2s791ms 1s821ms select * from c_order_post (?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 07 1 2s791ms 2s791ms 14 1 2s170ms 2s170ms 17 1 1s932ms 1s932ms 18 1 1s24ms 1s24ms 19 1 1s186ms 1s186ms [ User: tad - Total duration: 9s105ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 9s105ms - Times executed: 5 ]
-
SELECT * FROM C_ORDER_POST ('84417DD4E18145799517A0889BA57D8F');
Date: 2026-07-14 07:28:41 Duration: 2s791ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('E990492D4E314A2DB48B88BCD457E1CC');
Date: 2026-07-14 14:02:20 Duration: 2s170ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('BF130C4D305B4262BA4F933341ADA762');
Date: 2026-07-14 17:57:42 Duration: 1s932ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 3 5s157ms 1s570ms 1s880ms 1s719ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_order order_comp3_ cross join c_doctype documentty4_ where order1_.c_order_id = order_comp3_.c_order_id and order1_.c_doctypetarget_id = documentty4_.c_doctype_id and order1_.docstatus = ? and (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp3_.iscancelled = ? or order_comp3_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), ?)) = ? and order1_.issotrx = ? and documentty4_.isreturn = ? and (documentty4_.docsubtypeso not like ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 11 3 5s157ms 1s719ms [ User: tad - Total duration: 5s157ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 5s157ms - Times executed: 3 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%j%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:00:42 Duration: 1s880ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%j%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:02:42 Duration: 1s706ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%f%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:29:45 Duration: 1s570ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 3 3s366ms 1s16ms 1s199ms 1s122ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id, posted from c_invoice, c_doctype where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and not exists ( select ? from c_period where c_period.startdate <= trunc(dateacct) and trunc(dateacct) <= c_period.enddate) group by c_invoice_id, posted, c_invoice.ad_org_id, c_invoice.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 14 12 1 1s149ms 1s149ms 13 1 1s199ms 1s199ms 14 1 1s16ms 1s16ms [ User: tad - Total duration: 3s366ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 3s366ms - Times executed: 3 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 13:00:01 Duration: 1s199ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 12:00:01 Duration: 1s149ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 14:00:01 Duration: 1s16ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 2 3s230ms 1s515ms 1s714ms 1s615ms select * from c_invoice_post0 (?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 09 1 1s515ms 1s515ms 10 1 1s714ms 1s714ms [ User: tad - Total duration: 3s230ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 3s230ms - Times executed: 2 ]
-
SELECT * FROM C_Invoice_Post0 ('49939C5860CB474F928B18082F5464A8');
Date: 2026-07-14 10:37:42 Duration: 1s714ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_Invoice_Post0 ('18F3EC2F65C14D94A721A25C3E44ED56');
Date: 2026-07-14 09:00:02 Duration: 1s515ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 2 2s175ms 1s49ms 1s126ms 1s87ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from m_inout materialmg1_ inner join c_bpartner businesspa2_ on materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_doctype documentty3_ where materialmg1_.c_doctype_id = documentty3_.c_doctype_id and (materialmg1_.movementtype in (...)) and materialmg1_.islogistic = ? and documentty3_.isreturn = ? and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 07 1 1s126ms 1s126ms 13 1 1s49ms 1s49ms [ User: tad - Total duration: 2s175ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s175ms - Times executed: 2 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%sa%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('V-', 'V+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 07:21:44 Duration: 1s126ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%c%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('V-', 'V+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 13:01:59 Duration: 1s49ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 1 4s733ms 4s733ms 4s733ms 4s733ms select nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, sum(amount) as amount, sum(qty) as qty, sum(weight) as weight, sum(amountref) as amountref, sum(qtyref) as qtyref, sum(weightref) as weightref, sum(convamount) as convamount, c_currency_symbol (?, ?, ?) as convsym, sum(convamountref) as convamountref, c_currency_isosym (?) as convisosym from ( select nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, sum(linenetamt) as amount, sum(movementqty) as qty, sum(weight) as weight, sum(linenetref) as amountref, sum(movementqtyref) as qtyref, sum(weightref) as weightref, c_currency_convert (sum(linenetamt), trcurrencyid, ?, to_date(trdate), null, trclientid, trorgid) as convamount, ? as convamountref, trcurrencyid, trdate, trclientid, trorgid from ( select to_char(ad_column_identifier (to_char(?), to_char(c_bpartner.c_bpartner_id), to_char(?))) as nivel1, to_char(?) as nivel2, to_char(?) as nivel3, to_char(?) as nivel4, to_char(?) as nivel5, to_char(?) as nivel6, to_char(?) as nivel7, to_char(?) as nivel8, to_char(?) as nivel9, coalesce(m_inoutline.movementqty * c_orderline.priceactual, ?) as linenetamt, m_inoutline.movementqty, m_inoutline.movementqty * m_product.weight as weight, ? as linenetref, ? as movementqtyref, ? as weightref, c_uom.uomsymbol, c_orderline.c_currency_id as trcurrencyid, to_date(coalesce(c_order.dateordered, now())) as trdate, c_orderline.ad_client_id as trclientid, c_orderline.ad_org_id as trorgid from m_inoutline left join c_orderline on m_inoutline.c_orderline_id = c_orderline.c_orderline_id left join c_order on c_orderline.c_order_id = c_order.c_order_id, m_inout left join ad_user on m_inout.salesrep_id = ad_user.ad_user_id, c_bpartner left join c_bpartner cb on c_bpartner.salesrep_id = cb.c_bpartner_id, c_bp_group, m_product, m_product_category, m_warehouse, c_uom, ad_org where m_inout.c_bpartner_id = c_bpartner.c_bpartner_id and c_bpartner.c_bp_group_id = c_bp_group.c_bp_group_id and m_inout.m_inout_id = m_inoutline.m_inout_id and m_inoutline.m_product_id = m_product.m_product_id and m_product.m_product_category_id = m_product_category.m_product_category_id and m_inout.m_warehouse_id = m_warehouse.m_warehouse_id and m_inoutline.c_uom_id = c_uom.c_uom_id and m_inout.ad_org_id = ad_org.ad_org_id and m_inout.issotrx = ? and m_inout.processed = ? and ? = ? and m_inout.ad_org_id in (...) and m_inout.ad_client_id in (...) and ? = ? and m_inout.movementdate >= to_date(?) and m_inout.movementdate < to_date(?)) aa group by nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, trcurrencyid, trdate, trclientid, trorgid) zz group by nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9 order by nivel1;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 12 1 4s733ms 4s733ms [ User: tad - Total duration: 4s733ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 4s733ms - Times executed: 1 ]
-
SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, SUM(AMOUNT) AS AMOUNT, SUM(QTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(AMOUNTREF) AS AMOUNTREF, SUM(QTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, SUM(CONVAMOUNT) AS CONVAMOUNT, C_CURRENCY_SYMBOL ('102', 0, 'Y') AS CONVSYM, SUM(CONVAMOUNTREF) AS CONVAMOUNTREF, C_CURRENCY_ISOSYM ('102') AS CONVISOSYM FROM ( SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, SUM(LINENETAMT) AS AMOUNT, SUM(MOVEMENTQTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(LINENETREF) AS AMOUNTREF, SUM(MOVEMENTQTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, C_CURRENCY_CONVERT (SUM(LINENETAMT), TRCURRENCYID, '102', TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS CONVAMOUNT, 0 AS CONVAMOUNTREF, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID FROM ( SELECT to_char(AD_COLUMN_IDENTIFIER (to_char('C_Bpartner'), to_char(C_BPARTNER.C_BPARTNER_ID), to_char('es_ES'))) AS NIVEL1, to_char('') AS NIVEL2, to_char('') AS NIVEL3, to_char('') AS NIVEL4, to_char('') AS NIVEL5, to_char('') AS NIVEL6, to_char('') AS NIVEL7, to_char('') AS NIVEL8, to_char('') AS NIVEL9, COALESCE(M_INOUTLINE.MOVEMENTQTY * C_ORDERLINE.PRICEACTUAL, 0) AS LINENETAMT, M_INOUTLINE.MOVEMENTQTY, M_INOUTLINE.MOVEMENTQTY * M_PRODUCT.WEIGHT AS WEIGHT, 0 AS LINENETREF, 0 AS MOVEMENTQTYREF, 0 AS WEIGHTREF, C_UOM.UOMSYMBOL, C_ORDERLINE.C_CURRENCY_ID AS TRCURRENCYID, TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE, C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID, C_ORDERLINE.AD_ORG_ID AS TRORGID FROM M_INOUTLINE left join C_ORDERLINE on M_INOUTLINE.C_ORDERLINE_ID = C_ORDERLINE.C_ORDERLINE_ID left join C_ORDER on C_ORDERLINE.C_ORDER_ID = C_ORDER.C_ORDER_ID, M_INOUT left join AD_USER on M_INOUT.SALESREP_ID = AD_USER.AD_USER_ID, C_BPARTNER left join C_BPARTNER CB on C_BPARTNER.SALESREP_ID = CB.C_BPARTNER_ID, C_BP_GROUP, M_PRODUCT, M_PRODUCT_CATEGORY, M_WAREHOUSE, C_UOM, AD_ORG WHERE M_INOUT.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID AND M_INOUT.M_INOUT_ID = M_INOUTLINE.M_INOUT_ID AND M_INOUTLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID AND M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID AND M_INOUT.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID AND M_INOUTLINE.C_UOM_ID = C_UOM.C_UOM_ID AND M_INOUT.AD_ORG_ID = AD_ORG.AD_ORG_ID AND M_INOUT.ISSOTRX = 'Y' AND M_INOUT.PROCESSED = 'Y' AND 0 = 0 AND M_INOUT.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', '203E608E4BEC43F8BC282264DF075FCC', '0') AND M_INOUT.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND 1 = 1 AND M_INOUT.MOVEMENTDATE >= TO_DATE('01-07-2026') AND M_INOUT.MOVEMENTDATE < TO_DATE('01-08-2026')) AA GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID) ZZ GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9 ORDER BY NIVEL1;
Date: 2026-07-14 12:47:29 Duration: 4s733ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 1 1s324ms 1s324ms 1s324ms 1s324ms select priuti_cre0_.priuti_createinfromord_v_id as priuti_c1_729_, priuti_cre0_.ad_client_id as ad_clien2_729_, priuti_cre0_.isactive as isactive3_729_, priuti_cre0_.created as created4_729_, priuti_cre0_.createdby as createdb5_729_, priuti_cre0_.updated as updated6_729_, priuti_cre0_.updatedby as updatedb7_729_, priuti_cre0_.c_order_id as c_order_8_729_, priuti_cre0_.ad_org_id as ad_org_i9_729_, priuti_cre0_.o_ad_org_id as o_ad_or10_729_, priuti_cre0_.c_doctype_id as c_docty11_729_, priuti_cre0_.documentno as documen12_729_, priuti_cre0_.c_bpartner_id as c_bpart13_729_, priuti_cre0_.dateordered as dateord14_729_, priuti_cre0_.totalgross as totalgr15_729_, priuti_cre0_.amountlines as amountl16_729_, priuti_cre0_.linesinvoiced as linesin17_729_, priuti_cre0_.relatedshipments as related18_729_, priuti_cre0_.notinvoicedlines as notinvo19_729_, priuti_cre0_.pendinglines as pending20_729_, priuti_cre0_.termname as termnam21_729_, priuti_cre0_.termvalue as termval22_729_, priuti_cre0_.qtyordered as qtyorde23_729_, priuti_cre0_.qtydelivered as qtydeli24_729_, priuti_cre0_.gridposition as gridpos25_729_ from priuti_createinfromord_v priuti_cre0_ where (priuti_cre0_.ad_org_id in (...)) and priuti_cre0_.ad_client_id = ? and (priuti_cre0_.o_ad_org_id in (...)) and (priuti_cre0_.ad_client_id in (...)) and priuti_cre0_.isactive = ? order by priuti_cre0_.priuti_createinfromord_v_id desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 10 1 1s324ms 1s324ms [ User: tad - Total duration: 1s324ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s324ms - Times executed: 1 ]
-
select priuti_cre0_.Priuti_Createinfromord_V_ID as priuti_c1_729_, priuti_cre0_.AD_Client_ID as ad_clien2_729_, priuti_cre0_.Isactive as isactive3_729_, priuti_cre0_.Created as created4_729_, priuti_cre0_.Createdby as createdb5_729_, priuti_cre0_.Updated as updated6_729_, priuti_cre0_.Updatedby as updatedb7_729_, priuti_cre0_.C_Order_ID as c_order_8_729_, priuti_cre0_.AD_Org_ID as ad_org_i9_729_, priuti_cre0_.O_Ad_Org_ID as o_ad_or10_729_, priuti_cre0_.C_Doctype_ID as c_docty11_729_, priuti_cre0_.Documentno as documen12_729_, priuti_cre0_.C_Bpartner_ID as c_bpart13_729_, priuti_cre0_.Dateordered as dateord14_729_, priuti_cre0_.Totalgross as totalgr15_729_, priuti_cre0_.Amountlines as amountl16_729_, priuti_cre0_.Linesinvoiced as linesin17_729_, priuti_cre0_.Relatedshipments as related18_729_, priuti_cre0_.Notinvoicedlines as notinvo19_729_, priuti_cre0_.Pendinglines as pending20_729_, priuti_cre0_.Termname as termnam21_729_, priuti_cre0_.Termvalue as termval22_729_, priuti_cre0_.Qtyordered as qtyorde23_729_, priuti_cre0_.Qtydelivered as qtydeli24_729_, priuti_cre0_.Gridposition as gridpos25_729_ from priuti_CreateInfromOrd_v priuti_cre0_ where (priuti_cre0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and priuti_cre0_.AD_Client_ID = '4E7785E633254999A6D7545B0BE57A46' and (priuti_cre0_.O_Ad_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (priuti_cre0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and priuti_cre0_.Isactive = 'Y' order by priuti_cre0_.Priuti_Createinfromord_V_ID desc limit '101';
Date: 2026-07-14 10:13:34 Duration: 1s324ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1 1s128ms 1s128ms 1s128ms 1s128ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where exists ( select ? from m_inout materialmg1_ left outer join c_bpartner businesspa2_ on materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id inner join c_bpartner businesspa3_ on materialmg1_.c_bpartner_id = businesspa3_.c_bpartner_id where (upper((materialmg1_.documentno || ?| | coalesce(to_char(materialmg1_.movementdate), ?) || ?| | (businesspa3_.name || ?| | coalesce(to_char(businesspa3_.name2), ?) || ?| | coalesce(to_char(businesspa3_.taxid), ?)))) like upper(?) escape ?) and businesspa3_.c_bpartner_id = businesspa0_.c_bpartner_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 13 1 1s128ms 1s128ms [ User: tad - Total duration: 1s128ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s128ms - Times executed: 1 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where exists ( select 1 from M_InOut materialmg1_ left outer join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join C_BPartner businesspa3_ on materialmg1_.C_BPartner_ID = businesspa3_.C_BPartner_ID where (upper((materialmg1_.DocumentNo || ' - ' || coalesce(to_char(materialmg1_.MovementDate), '') || ' - ' || (businesspa3_.Name || ' - ' || coalesce(to_char(businesspa3_.Name2), '') || ' - ' || coalesce(to_char(businesspa3_.TaxID), '')))) like upper('%coimp%') escape '|') and businesspa3_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0'))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 13:02:01 Duration: 1s128ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 1 1s6ms 1s6ms 1s6ms 1s6ms delete from c_orderline where c_orderline_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 07 1 1s6ms 1s6ms [ User: tad - Total duration: 1s6ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s6ms - Times executed: 1 ]
-
delete from C_OrderLine where C_OrderLine_ID = '7C32309DFD384EA2AAA13D4591F52784';
Date: 2026-07-14 07:58:27 Duration: 1s6ms 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 11s212ms 45s151ms 16s980ms 15 4m14s select profile.take_sample ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 07 1 11s212ms 11s212ms 08 1 17s964ms 17s964ms 09 1 14s290ms 14s290ms 10 1 12s770ms 12s770ms 11 1 15s354ms 15s354ms 12 1 45s151ms 45s151ms 13 1 17s507ms 17s507ms 14 1 14s853ms 14s853ms 15 1 19s310ms 19s310ms 16 1 12s213ms 12s213ms 17 1 13s772ms 13s772ms 18 1 13s448ms 13s448ms 19 1 16s853ms 16s853ms 20 1 16s90ms 16s90ms 21 1 13s911ms 13s911ms [ User: postgres - Total duration: 4m14s - Times executed: 15 ]
[ Application: psql - Total duration: 4m14s - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-14 12:00:46 Duration: 45s151ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-14 15:00:20 Duration: 19s310ms Database: etendo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-14 08:00:20 Duration: 17s964ms Database: etendo User: postgres Remote: [local] Application: psql
2 8s880ms 17s824ms 13s72ms 15 3m16s select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id from c_invoice, c_doctype, fact_acct f1, fact_acct f2 where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id group by c_invoice_id, posted, c_invoice.ad_client_id, c_invoice.ad_org_id, f1.ad_table_id, f1.record_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 14 07 1 8s922ms 8s922ms 08 1 17s113ms 17s113ms 09 1 14s924ms 14s924ms 10 1 12s166ms 12s166ms 11 1 15s437ms 15s437ms 12 1 8s880ms 8s880ms 13 1 14s610ms 14s610ms 14 1 13s432ms 13s432ms 15 1 17s824ms 17s824ms 16 1 12s105ms 12s105ms 17 1 9s318ms 9s318ms 18 1 12s568ms 12s568ms 19 1 13s721ms 13s721ms 20 1 13s262ms 13s262ms 21 1 11s792ms 11s792ms [ User: tad - Total duration: 3m16s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m16s - Times executed: 15 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 15:00:19 Duration: 17s824ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:18 Duration: 17s113ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE POSTED MORE THAN ONCE' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID FROM C_INVOICE, c_doctype, fact_acct f1, fact_acct f2 WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and f1.record_id = c_invoice.c_invoice_id and f1.record_id = f2.record_id and f1.ad_table_id = f2.ad_table_id and f1.fact_acct_group_id <> f2.fact_acct_group_id and f1.c_acctschema_id = f2.c_acctschema_id GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_client_id, C_INVOICE.ad_org_id, f1.ad_table_id, f1.record_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '67AC26DEBEC1455D9510182FB973BC34' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 11:00:16 Duration: 15s437ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 4s733ms 4s733ms 4s733ms 1 4s733ms select nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, sum(amount) as amount, sum(qty) as qty, sum(weight) as weight, sum(amountref) as amountref, sum(qtyref) as qtyref, sum(weightref) as weightref, sum(convamount) as convamount, c_currency_symbol (?, ?, ?) as convsym, sum(convamountref) as convamountref, c_currency_isosym (?) as convisosym from ( select nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, sum(linenetamt) as amount, sum(movementqty) as qty, sum(weight) as weight, sum(linenetref) as amountref, sum(movementqtyref) as qtyref, sum(weightref) as weightref, c_currency_convert (sum(linenetamt), trcurrencyid, ?, to_date(trdate), null, trclientid, trorgid) as convamount, ? as convamountref, trcurrencyid, trdate, trclientid, trorgid from ( select to_char(ad_column_identifier (to_char(?), to_char(c_bpartner.c_bpartner_id), to_char(?))) as nivel1, to_char(?) as nivel2, to_char(?) as nivel3, to_char(?) as nivel4, to_char(?) as nivel5, to_char(?) as nivel6, to_char(?) as nivel7, to_char(?) as nivel8, to_char(?) as nivel9, coalesce(m_inoutline.movementqty * c_orderline.priceactual, ?) as linenetamt, m_inoutline.movementqty, m_inoutline.movementqty * m_product.weight as weight, ? as linenetref, ? as movementqtyref, ? as weightref, c_uom.uomsymbol, c_orderline.c_currency_id as trcurrencyid, to_date(coalesce(c_order.dateordered, now())) as trdate, c_orderline.ad_client_id as trclientid, c_orderline.ad_org_id as trorgid from m_inoutline left join c_orderline on m_inoutline.c_orderline_id = c_orderline.c_orderline_id left join c_order on c_orderline.c_order_id = c_order.c_order_id, m_inout left join ad_user on m_inout.salesrep_id = ad_user.ad_user_id, c_bpartner left join c_bpartner cb on c_bpartner.salesrep_id = cb.c_bpartner_id, c_bp_group, m_product, m_product_category, m_warehouse, c_uom, ad_org where m_inout.c_bpartner_id = c_bpartner.c_bpartner_id and c_bpartner.c_bp_group_id = c_bp_group.c_bp_group_id and m_inout.m_inout_id = m_inoutline.m_inout_id and m_inoutline.m_product_id = m_product.m_product_id and m_product.m_product_category_id = m_product_category.m_product_category_id and m_inout.m_warehouse_id = m_warehouse.m_warehouse_id and m_inoutline.c_uom_id = c_uom.c_uom_id and m_inout.ad_org_id = ad_org.ad_org_id and m_inout.issotrx = ? and m_inout.processed = ? and ? = ? and m_inout.ad_org_id in (...) and m_inout.ad_client_id in (...) and ? = ? and m_inout.movementdate >= to_date(?) and m_inout.movementdate < to_date(?)) aa group by nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9, trcurrencyid, trdate, trclientid, trorgid) zz group by nivel1, nivel2, nivel3, nivel4, nivel5, nivel6, nivel7, nivel8, nivel9 order by nivel1;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 12 1 4s733ms 4s733ms [ User: tad - Total duration: 4s733ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 4s733ms - Times executed: 1 ]
-
SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, SUM(AMOUNT) AS AMOUNT, SUM(QTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(AMOUNTREF) AS AMOUNTREF, SUM(QTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, SUM(CONVAMOUNT) AS CONVAMOUNT, C_CURRENCY_SYMBOL ('102', 0, 'Y') AS CONVSYM, SUM(CONVAMOUNTREF) AS CONVAMOUNTREF, C_CURRENCY_ISOSYM ('102') AS CONVISOSYM FROM ( SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, SUM(LINENETAMT) AS AMOUNT, SUM(MOVEMENTQTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(LINENETREF) AS AMOUNTREF, SUM(MOVEMENTQTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, C_CURRENCY_CONVERT (SUM(LINENETAMT), TRCURRENCYID, '102', TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS CONVAMOUNT, 0 AS CONVAMOUNTREF, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID FROM ( SELECT to_char(AD_COLUMN_IDENTIFIER (to_char('C_Bpartner'), to_char(C_BPARTNER.C_BPARTNER_ID), to_char('es_ES'))) AS NIVEL1, to_char('') AS NIVEL2, to_char('') AS NIVEL3, to_char('') AS NIVEL4, to_char('') AS NIVEL5, to_char('') AS NIVEL6, to_char('') AS NIVEL7, to_char('') AS NIVEL8, to_char('') AS NIVEL9, COALESCE(M_INOUTLINE.MOVEMENTQTY * C_ORDERLINE.PRICEACTUAL, 0) AS LINENETAMT, M_INOUTLINE.MOVEMENTQTY, M_INOUTLINE.MOVEMENTQTY * M_PRODUCT.WEIGHT AS WEIGHT, 0 AS LINENETREF, 0 AS MOVEMENTQTYREF, 0 AS WEIGHTREF, C_UOM.UOMSYMBOL, C_ORDERLINE.C_CURRENCY_ID AS TRCURRENCYID, TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE, C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID, C_ORDERLINE.AD_ORG_ID AS TRORGID FROM M_INOUTLINE left join C_ORDERLINE on M_INOUTLINE.C_ORDERLINE_ID = C_ORDERLINE.C_ORDERLINE_ID left join C_ORDER on C_ORDERLINE.C_ORDER_ID = C_ORDER.C_ORDER_ID, M_INOUT left join AD_USER on M_INOUT.SALESREP_ID = AD_USER.AD_USER_ID, C_BPARTNER left join C_BPARTNER CB on C_BPARTNER.SALESREP_ID = CB.C_BPARTNER_ID, C_BP_GROUP, M_PRODUCT, M_PRODUCT_CATEGORY, M_WAREHOUSE, C_UOM, AD_ORG WHERE M_INOUT.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID AND M_INOUT.M_INOUT_ID = M_INOUTLINE.M_INOUT_ID AND M_INOUTLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID AND M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID AND M_INOUT.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID AND M_INOUTLINE.C_UOM_ID = C_UOM.C_UOM_ID AND M_INOUT.AD_ORG_ID = AD_ORG.AD_ORG_ID AND M_INOUT.ISSOTRX = 'Y' AND M_INOUT.PROCESSED = 'Y' AND 0 = 0 AND M_INOUT.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', '203E608E4BEC43F8BC282264DF075FCC', '0') AND M_INOUT.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND 1 = 1 AND M_INOUT.MOVEMENTDATE >= TO_DATE('01-07-2026') AND M_INOUT.MOVEMENTDATE < TO_DATE('01-08-2026')) AA GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID) ZZ GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9 ORDER BY NIVEL1;
Date: 2026-07-14 12:47:29 Duration: 4s733ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 1s24ms 2s791ms 1s821ms 5 9s105ms select * from c_order_post (?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 07 1 2s791ms 2s791ms 14 1 2s170ms 2s170ms 17 1 1s932ms 1s932ms 18 1 1s24ms 1s24ms 19 1 1s186ms 1s186ms [ User: tad - Total duration: 9s105ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 9s105ms - Times executed: 5 ]
-
SELECT * FROM C_ORDER_POST ('84417DD4E18145799517A0889BA57D8F');
Date: 2026-07-14 07:28:41 Duration: 2s791ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('E990492D4E314A2DB48B88BCD457E1CC');
Date: 2026-07-14 14:02:20 Duration: 2s170ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_ORDER_POST ('BF130C4D305B4262BA4F933341ADA762');
Date: 2026-07-14 17:57:42 Duration: 1s932ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 1s570ms 1s880ms 1s719ms 3 5s157ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_order order_comp3_ cross join c_doctype documentty4_ where order1_.c_order_id = order_comp3_.c_order_id and order1_.c_doctypetarget_id = documentty4_.c_doctype_id and order1_.docstatus = ? and (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp3_.iscancelled = ? or order_comp3_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), ?)) = ? and order1_.issotrx = ? and documentty4_.isreturn = ? and (documentty4_.docsubtypeso not like ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 11 3 5s157ms 1s719ms [ User: tad - Total duration: 5s157ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 5s157ms - Times executed: 3 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%j%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:00:42 Duration: 1s880ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%j%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:02:42 Duration: 1s706ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%f%') escape '|') and (exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_Order order_comp3_ cross join C_DocType documentty4_ where order1_.C_Order_ID = order_comp3_.C_Order_ID and order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID and order1_.DocStatus = 'CO' and (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp3_.iscancelled = 'Y' or order_comp3_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp3_.c_order_id and ol.c_order_discount_id is null), 0)) = '0' and order1_.IsSOTrx = 'Y' and documentty4_.IsReturn = 'N' and (documentty4_.DocSubTypeSO not like 'OB') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (order1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 11:29:45 Duration: 1s570ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 1s515ms 1s714ms 1s615ms 2 3s230ms select * from c_invoice_post0 (?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 09 1 1s515ms 1s515ms 10 1 1s714ms 1s714ms [ User: tad - Total duration: 3s230ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 3s230ms - Times executed: 2 ]
-
SELECT * FROM C_Invoice_Post0 ('49939C5860CB474F928B18082F5464A8');
Date: 2026-07-14 10:37:42 Duration: 1s714ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM C_Invoice_Post0 ('18F3EC2F65C14D94A721A25C3E44ED56');
Date: 2026-07-14 09:00:02 Duration: 1s515ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 1s42ms 3s888ms 1s612ms 7 11s287ms select a.id, ev.value as account_id, coalesce(ev_trl.name, ev.name) as name, a.initialamt as saldo_inicial, a.amtacctcr, a.amtacctdr, a.initialamt + a.amtacctdr - a.amtacctcr as saldo_final, a.groupbyid, case ad_column_identifier (?, groupbyid, to_char(?)) when ? then ? else ad_column_identifier (?, groupbyid, to_char(?)) end as groupbyname from ( select sum( case when (dateacct < to_date(?) or (dateacct = to_date(?) and f.factaccttype = ?)) then f.amtacctdr - f.amtacctcr else ? end) as initialamt, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctdr else ? end) as amtacctdr, sum( case when (dateacct >= to_date(?) and f.factaccttype not in (...)) or (dateacct = to_date(?) and f.factaccttype = ?) then f.amtacctcr else ? end) as amtacctcr, f.account_id as id, to_char(?) as groupbyid from fact_acct f where f.ad_org_id in (...) and f.ad_client_id in (...) and f.ad_org_id in (...) and dateacct < to_date(?) and ? = ? and f.c_acctschema_id = ? and f.isactive = ? group by f.account_id) a left join c_elementvalue ev on a.id = ev.c_elementvalue_id left join c_elementvalue_trl ev_trl on ev.c_elementvalue_id = ev_trl.c_elementvalue_id and ev_trl.ad_language = ? where ev.elementlevel = ? and ? = ? and ev.value >= ? and ev.value <= ? and (a.initialamt <> ? or a.amtacctcr <> ? or a.amtacctdr <> ?) order by ev.value, ev.name, id, groupbyname;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 11 5 6s308ms 1s261ms 16 2 4s978ms 2s489ms [ User: tad - Total duration: 11s287ms - Times executed: 7 ]
[ Application: openbravo - Total duration: 11s287ms - Times executed: 7 ]
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '60000' AND EV.VALUE <= '99900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 16:56:46 Duration: 3s888ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-01-2026') or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-01-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-01-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '47000' AND EV.VALUE <= '47900' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 11:26:44 Duration: 1s969ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select a.id, ev.value as account_id, COALESCE(ev_trl.name, ev.name) as name, a.initialamt as SALDO_INICIAL, a.amtacctcr, a.amtacctdr, A.INITIALAMT + A.AMTACCTDR - A.AMTACCTCR AS SALDO_FINAL, a.groupbyid, CASE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) WHEN '**' THEN '' ELSE ad_column_identifier ('',groupbyid,TO_CHAR('es_ES')) END AS groupbyname from( SELECT sum(case when (DATEACCT < TO_DATE('01-04-2026') or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = 'O')) then F.AMTACCTDR - F.AMTACCTCR else 0 end) as initialamt, sum(case when (DATEACCT >= TO_DATE('01-04-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTDR else 0 end) as AMTACCTDR, sum(case when (DATEACCT >= TO_DATE('01-04-2026') AND F.FACTACCTTYPE not in('O', 'R', 'C')) or (DATEACCT = TO_DATE('01-04-2026') and F.FACTACCTTYPE = NULL) then F.AMTACCTCR else 0 end) as AMTACCTCR, F.ACCOUNT_ID AS ID, to_char('') AS groupbyid FROM FACT_ACCT F WHERE F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND F.AD_CLIENT_ID IN ('0', '4E7785E633254999A6D7545B0BE57A46') AND F.AD_ORG_ID IN ('C34A537D1464452783C0A7C7C913FC86', 'B2834B32C6C2488CA31DE4D756AD4A5F', '3724B485FEC444038C28CAEE0F24E7E6') AND DATEACCT < TO_DATE('01-07-2026') AND 1 = 1 AND F.C_ACCTSCHEMA_ID = '0F5D42F2ED1147B1A08F51C2E218D734' AND F.ISACTIVE = 'Y' group by F.ACCOUNT_ID) a LEFT JOIN c_elementvalue ev ON a.id = ev.c_elementvalue_id LEFT JOIN c_elementvalue_trl ev_trl ON ev.c_elementvalue_id = ev_trl.c_elementvalue_id AND ev_trl.ad_language = 'es_ES' WHERE ev.elementlevel = 'S' AND 2 = 2 AND EV.VALUE >= '60000' AND EV.VALUE <= '79000' and (a.initialamt <> 0 or a.amtacctcr <> 0 or a.amtacctdr <> 0) order by ev.value, ev.name, id, groupbyname;
Date: 2026-07-14 11:29:36 Duration: 1s104ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 1s13ms 1s880ms 1s455ms 17 24s737ms select * from ( select c_invoice.c_invoice_id as referencekey_id, c_invoice.documentno as record_id, ? as ad_role_id, null as ad_user_id, ?| | c_invoice.documentno || ?| | c_invoice.grandtotal || ?| | (( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, ? as isactive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby from c_invoice where c_invoice.issotrx = ? and c_invoice.grandtotal <> round((( select round(sum(linenetamt), ?) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), ?), ?) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_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 14 07 1 1s847ms 1s847ms 08 2 3s714ms 1s857ms 09 1 1s36ms 1s36ms 10 1 1s238ms 1s238ms 11 1 1s13ms 1s13ms 12 1 1s338ms 1s338ms 13 2 3s34ms 1s517ms 14 1 1s343ms 1s343ms 15 1 1s197ms 1s197ms 16 1 1s91ms 1s91ms 17 1 1s804ms 1s804ms 18 1 1s374ms 1s374ms 19 1 1s574ms 1s574ms 20 1 1s632ms 1s632ms 21 1 1s493ms 1s493ms [ User: tad - Total duration: 24s737ms - Times executed: 17 ]
[ Application: openbravo - Total duration: 24s737ms - Times executed: 17 ]
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:23 Duration: 1s880ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'Y' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = 'D385EC7B4B9F428093AF4EBA38AF5821' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 07:00:13 Duration: 1s847ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select c_invoice.C_INVOICE_ID as referencekey_id, c_invoice.documentno as record_id, 0 as ad_role_id, null as ad_user_id, 'Factura ' || c_invoice.documentno || ' difiere el importe total ' || c_invoice.grandtotal || ' con la suma del total de las lineas + impuestos ' || (( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)) as description, 'Y' as isActive, c_invoice.ad_org_id, c_invoice.ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from c_invoice where c_invoice.issotrx = 'N' and c_invoice.grandtotal <> round((( select round(sum(linenetamt), 2) from c_invoiceline line where line.c_invoice_id = c_invoice.c_invoice_id) + ( select coalesce(round(sum(tax.taxamt), 2), 0) from c_invoicetax tax where tax.c_invoice_id = c_invoice.c_invoice_id)), 2)) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '64986CDE8CEA4AA1BA98CD9FEEEE3553' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 08:00:22 Duration: 1s834ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 1s324ms 1s324ms 1s324ms 1 1s324ms select priuti_cre0_.priuti_createinfromord_v_id as priuti_c1_729_, priuti_cre0_.ad_client_id as ad_clien2_729_, priuti_cre0_.isactive as isactive3_729_, priuti_cre0_.created as created4_729_, priuti_cre0_.createdby as createdb5_729_, priuti_cre0_.updated as updated6_729_, priuti_cre0_.updatedby as updatedb7_729_, priuti_cre0_.c_order_id as c_order_8_729_, priuti_cre0_.ad_org_id as ad_org_i9_729_, priuti_cre0_.o_ad_org_id as o_ad_or10_729_, priuti_cre0_.c_doctype_id as c_docty11_729_, priuti_cre0_.documentno as documen12_729_, priuti_cre0_.c_bpartner_id as c_bpart13_729_, priuti_cre0_.dateordered as dateord14_729_, priuti_cre0_.totalgross as totalgr15_729_, priuti_cre0_.amountlines as amountl16_729_, priuti_cre0_.linesinvoiced as linesin17_729_, priuti_cre0_.relatedshipments as related18_729_, priuti_cre0_.notinvoicedlines as notinvo19_729_, priuti_cre0_.pendinglines as pending20_729_, priuti_cre0_.termname as termnam21_729_, priuti_cre0_.termvalue as termval22_729_, priuti_cre0_.qtyordered as qtyorde23_729_, priuti_cre0_.qtydelivered as qtydeli24_729_, priuti_cre0_.gridposition as gridpos25_729_ from priuti_createinfromord_v priuti_cre0_ where (priuti_cre0_.ad_org_id in (...)) and priuti_cre0_.ad_client_id = ? and (priuti_cre0_.o_ad_org_id in (...)) and (priuti_cre0_.ad_client_id in (...)) and priuti_cre0_.isactive = ? order by priuti_cre0_.priuti_createinfromord_v_id desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 10 1 1s324ms 1s324ms [ User: tad - Total duration: 1s324ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s324ms - Times executed: 1 ]
-
select priuti_cre0_.Priuti_Createinfromord_V_ID as priuti_c1_729_, priuti_cre0_.AD_Client_ID as ad_clien2_729_, priuti_cre0_.Isactive as isactive3_729_, priuti_cre0_.Created as created4_729_, priuti_cre0_.Createdby as createdb5_729_, priuti_cre0_.Updated as updated6_729_, priuti_cre0_.Updatedby as updatedb7_729_, priuti_cre0_.C_Order_ID as c_order_8_729_, priuti_cre0_.AD_Org_ID as ad_org_i9_729_, priuti_cre0_.O_Ad_Org_ID as o_ad_or10_729_, priuti_cre0_.C_Doctype_ID as c_docty11_729_, priuti_cre0_.Documentno as documen12_729_, priuti_cre0_.C_Bpartner_ID as c_bpart13_729_, priuti_cre0_.Dateordered as dateord14_729_, priuti_cre0_.Totalgross as totalgr15_729_, priuti_cre0_.Amountlines as amountl16_729_, priuti_cre0_.Linesinvoiced as linesin17_729_, priuti_cre0_.Relatedshipments as related18_729_, priuti_cre0_.Notinvoicedlines as notinvo19_729_, priuti_cre0_.Pendinglines as pending20_729_, priuti_cre0_.Termname as termnam21_729_, priuti_cre0_.Termvalue as termval22_729_, priuti_cre0_.Qtyordered as qtyorde23_729_, priuti_cre0_.Qtydelivered as qtydeli24_729_, priuti_cre0_.Gridposition as gridpos25_729_ from priuti_CreateInfromOrd_v priuti_cre0_ where (priuti_cre0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and priuti_cre0_.AD_Client_ID = '4E7785E633254999A6D7545B0BE57A46' and (priuti_cre0_.O_Ad_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (priuti_cre0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and priuti_cre0_.Isactive = 'Y' order by priuti_cre0_.Priuti_Createinfromord_V_ID desc limit '101';
Date: 2026-07-14 10:13:34 Duration: 1s324ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 1s128ms 1s128ms 1s128ms 1 1s128ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where exists ( select ? from m_inout materialmg1_ left outer join c_bpartner businesspa2_ on materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id inner join c_bpartner businesspa3_ on materialmg1_.c_bpartner_id = businesspa3_.c_bpartner_id where (upper((materialmg1_.documentno || ?| | coalesce(to_char(materialmg1_.movementdate), ?) || ?| | (businesspa3_.name || ?| | coalesce(to_char(businesspa3_.name2), ?) || ?| | coalesce(to_char(businesspa3_.taxid), ?)))) like upper(?) escape ?) and businesspa3_.c_bpartner_id = businesspa0_.c_bpartner_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 13 1 1s128ms 1s128ms [ User: tad - Total duration: 1s128ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s128ms - Times executed: 1 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where exists ( select 1 from M_InOut materialmg1_ left outer join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join C_BPartner businesspa3_ on materialmg1_.C_BPartner_ID = businesspa3_.C_BPartner_ID where (upper((materialmg1_.DocumentNo || ' - ' || coalesce(to_char(materialmg1_.MovementDate), '') || ' - ' || (businesspa3_.Name || ' - ' || coalesce(to_char(businesspa3_.Name2), '') || ' - ' || coalesce(to_char(businesspa3_.TaxID), '')))) like upper('%coimp%') escape '|') and businesspa3_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0'))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 13:02:01 Duration: 1s128ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 1s16ms 1s199ms 1s122ms 3 3s366ms select * from ( select c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? as description, ? as isactive, c_invoice.ad_org_id as ad_org_id, c_invoice.ad_client_id as ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, c_invoice_id, ?) as record_id, posted from c_invoice, c_doctype where c_invoice.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype in (...) and not exists ( select ? from c_period where c_period.startdate <= trunc(dateacct) and trunc(dateacct) <= c_period.enddate) group by c_invoice_id, posted, c_invoice.ad_org_id, c_invoice.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 #11
Day Hour Count Duration Avg duration Jul 14 12 1 1s149ms 1s149ms 13 1 1s199ms 1s199ms 14 1 1s16ms 1s16ms [ User: tad - Total duration: 3s366ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 3s366ms - Times executed: 3 ]
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 13:00:01 Duration: 1s199ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 12:00:01 Duration: 1s149ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM ( select C_INVOICE_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'SALES INVOICE ACCOUNTING DATE NOT IN A PERIOD' as description, 'Y' as isActive, C_INVOICE.ad_org_id as ad_org_id, C_INVOICE.ad_client_id as ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('C_INVOICE', C_INVOICE_id, 'es_ES') AS RECORD_ID, posted FROM C_INVOICE, c_doctype WHERE C_INVOICE.c_doctype_id = c_doctype.c_doctype_id and c_doctype.docbasetype IN ('ARI', 'ARC', 'ARF') and not exists ( select 1 from c_period where c_period.startdate <= TRUNC(dateacct) and TRUNC(dateacct) <= c_period.enddate) GROUP BY C_INVOICE_id, posted, C_INVOICE.ad_org_id, C_INVOICE.ad_client_id) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '9949239808164E51ADF2E6B1E8DF6D63' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-14 14:00:01 Duration: 1s16ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 1s49ms 1s126ms 1s87ms 2 2s175ms select businesspa0_.c_bpartner_id as c_bpartn1_188_, businesspa0_.ad_client_id as ad_clien2_188_, businesspa0_.ad_org_id as ad_org_i3_188_, businesspa0_.isactive as isactive4_188_, businesspa0_.created as created5_188_, businesspa0_.createdby as createdb6_188_, businesspa0_.updated as updated7_188_, businesspa0_.updatedby as updatedb8_188_, businesspa0_.value as value9_188_, businesspa0_.name as name10_188_, businesspa0_.name2 as name11_188_, businesspa0_.description as descrip12_188_, businesspa0_.issummary as issumma13_188_, businesspa0_.c_bp_group_id as c_bp_gr14_188_, businesspa0_.isonetime as isoneti15_188_, businesspa0_.isprospect as isprosp16_188_, businesspa0_.isvendor as isvendo17_188_, businesspa0_.iscustomer as iscusto18_188_, businesspa0_.isemployee as isemplo19_188_, businesspa0_.issalesrep as issales20_188_, businesspa0_.referenceno as referen21_188_, businesspa0_.duns as duns22_188_, businesspa0_.url as url23_188_, businesspa0_.ad_language as ad_lang24_188_, businesspa0_.taxid as taxid25_188_, businesspa0_.istaxexempt as istaxex26_188_, businesspa0_.c_invoiceschedule_id as c_invoi27_188_, businesspa0_.rating as rating28_188_, businesspa0_.salesvolume as salesvo29_188_, businesspa0_.numberemployees as numbere30_188_, businesspa0_.naics as naics31_188_, businesspa0_.firstsale as firstsa32_188_, businesspa0_.acqusitioncost as acqusit33_188_, businesspa0_.potentiallifetimevalue as potenti34_188_, businesspa0_.actuallifetimevalue as actuall35_188_, businesspa0_.shareofcustomer as shareof36_188_, businesspa0_.paymentrule as payment37_188_, businesspa0_.so_creditlimit as so_cred38_188_, businesspa0_.so_creditused as so_cred39_188_, businesspa0_.c_paymentterm_id as c_payme40_188_, businesspa0_.m_pricelist_id as m_price41_188_, businesspa0_.isdiscountprinted as isdisco42_188_, businesspa0_.so_description as so_desc43_188_, businesspa0_.poreference as porefer44_188_, businesspa0_.paymentrulepo as payment45_188_, businesspa0_.po_pricelist_id as po_pric46_188_, businesspa0_.po_paymentterm_id as po_paym47_188_, businesspa0_.documentcopies as documen48_188_, businesspa0_.c_greeting_id as c_greet49_188_, businesspa0_.invoicerule as invoice50_188_, businesspa0_.deliveryrule as deliver51_188_, businesspa0_.deliveryviarule as deliver52_188_, businesspa0_.salesrep_id as salesre53_188_, businesspa0_.bpartner_parent_id as bpartne54_188_, businesspa0_.socreditstatus as socredi55_188_, businesspa0_.ad_forced_org_id as ad_forc56_188_, businesspa0_.showpriceinorder as showpri57_188_, businesspa0_.invoicegrouping as invoice58_188_, businesspa0_.fixmonthday as fixmont59_188_, businesspa0_.fixmonthday2 as fixmont60_188_, businesspa0_.fixmonthday3 as fixmont61_188_, businesspa0_.isworker as isworke62_188_, businesspa0_.upc as upc63_188_, businesspa0_.c_salary_category_id as c_salar64_188_, businesspa0_.invoice_printformat as invoice65_188_, businesspa0_.last_days as last_da66_188_, businesspa0_.po_bankaccount_id as po_bank67_188_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_188_, businesspa0_.po_fixmonthday as po_fixm69_188_, businesspa0_.po_fixmonthday2 as po_fixm70_188_, businesspa0_.po_fixmonthday3 as po_fixm71_188_, businesspa0_.so_bankaccount_id as so_bank72_188_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_188_, businesspa0_.fiscalcode as fiscalc74_188_, businesspa0_.isofiscalcode as isofisc75_188_, businesspa0_.em_einv_einvoice as em_einv76_188_, businesspa0_.po_c_incoterms_id as po_c_in77_188_, businesspa0_.em_einv_format_id as em_einv78_188_, businesspa0_.so_c_incoterms_id as so_c_in79_188_, businesspa0_.em_einv_platform_id as em_einv80_188_, businesspa0_.fin_paymentmethod_id as fin_pay81_188_, businesspa0_.em_einv_email as em_einv82_188_, businesspa0_.po_paymentmethod_id as po_paym83_188_, businesspa0_.fin_financial_account_id as fin_fin84_188_, businesspa0_.em_einv_deliverymode as em_einv85_188_, businesspa0_.po_financial_account_id as po_fina86_188_, businesspa0_.customer_blocking as custome87_188_, businesspa0_.vendor_blocking as vendor_88_188_, businesspa0_.so_payment_blocking as so_paym89_188_, businesspa0_.po_payment_blocking as po_paym90_188_, businesspa0_.so_invoice_blocking as so_invo91_188_, businesspa0_.po_invoice_blocking as po_invo92_188_, businesspa0_.so_order_blocking as so_orde93_188_, businesspa0_.po_order_blocking as po_orde94_188_, businesspa0_.so_goods_blocking as so_good95_188_, businesspa0_.po_goods_blocking as po_good96_188_, businesspa0_.iscashvat as iscashv97_188_, businesspa0_.update_currency as update_98_188_, businesspa0_.bp_currency_id as bp_curr99_188_, businesspa0_.birthplace as birthp100_188_, businesspa0_.birthday as birthd101_188_, businesspa0_.is_customer_consent as is_cus102_188_, businesspa0_.em_obsepad_mandate_identifier as em_obs103_188_, businesspa0_.em_obsepad_mandate_date as em_obs104_188_, businesspa0_.em_aeatsii_rep_taxid as em_aea105_188_, businesspa0_.em_jr_inoutval as em_jr_106_188_, businesspa0_.em_aeatsii_menor as em_aea107_188_, businesspa0_.em_jr_isgeneric as em_jr_108_188_, businesspa0_.em_pruti_addbp as em_pru109_188_, businesspa0_.em_prei_iseinvoice as em_pre110_188_, businesspa0_.em_prei_format_id as em_pre111_188_, businesspa0_.em_pruti_unlock_date as em_pru112_188_, businesspa0_.em_prei_platform_id as em_pre113_188_, businesspa0_.em_pruti_unlock_order_date as em_pru114_188_, businesspa0_.em_prei_send_method as em_pre115_188_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru116_188_, businesspa0_.em_prei_email as em_pre117_188_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru118_188_, businesspa0_.em_prei_need_expedient as em_pre119_188_, businesspa0_.em_aeatsii_defaultsiikey as em_aea120_188_, businesspa0_.em_aeatsii_siikeylist as em_aea121_188_, businesspa0_.em_tbai_issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.em_pruti_notsendinvoice as em_pru124_188_, businesspa0_.em_obtik_tax_id_key as em_obt125_188_ from c_bpartner businesspa0_ where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.name2), ?) || ?| | coalesce(to_char(businesspa0_.taxid), ?))) like upper(?) escape ?) and (exists ( select ? from m_inout materialmg1_ inner join c_bpartner businesspa2_ on materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id cross join c_doctype documentty3_ where materialmg1_.c_doctype_id = documentty3_.c_doctype_id and (materialmg1_.movementtype in (...)) and materialmg1_.islogistic = ? and documentty3_.isreturn = ? and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.name2, businesspa0_.taxid limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 07 1 1s126ms 1s126ms 13 1 1s49ms 1s49ms [ User: tad - Total duration: 2s175ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s175ms - Times executed: 2 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%sa%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('V-', 'V+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 07:21:44 Duration: 1s126ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_188_, businesspa0_.AD_Client_ID as ad_clien2_188_, businesspa0_.AD_Org_ID as ad_org_i3_188_, businesspa0_.IsActive as isactive4_188_, businesspa0_.Created as created5_188_, businesspa0_.CreatedBy as createdb6_188_, businesspa0_.Updated as updated7_188_, businesspa0_.UpdatedBy as updatedb8_188_, businesspa0_.Value as value9_188_, businesspa0_.Name as name10_188_, businesspa0_.Name2 as name11_188_, businesspa0_.Description as descrip12_188_, businesspa0_.IsSummary as issumma13_188_, businesspa0_.C_BP_Group_ID as c_bp_gr14_188_, businesspa0_.IsOneTime as isoneti15_188_, businesspa0_.IsProspect as isprosp16_188_, businesspa0_.IsVendor as isvendo17_188_, businesspa0_.IsCustomer as iscusto18_188_, businesspa0_.IsEmployee as isemplo19_188_, businesspa0_.IsSalesRep as issales20_188_, businesspa0_.ReferenceNo as referen21_188_, businesspa0_.DUNS as duns22_188_, businesspa0_.URL as url23_188_, businesspa0_.AD_Language as ad_lang24_188_, businesspa0_.TaxID as taxid25_188_, businesspa0_.IsTaxExempt as istaxex26_188_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_188_, businesspa0_.Rating as rating28_188_, businesspa0_.SalesVolume as salesvo29_188_, businesspa0_.NumberEmployees as numbere30_188_, businesspa0_.NAICS as naics31_188_, businesspa0_.FirstSale as firstsa32_188_, businesspa0_.AcqusitionCost as acqusit33_188_, businesspa0_.PotentialLifeTimeValue as potenti34_188_, businesspa0_.ActualLifeTimeValue as actuall35_188_, businesspa0_.ShareOfCustomer as shareof36_188_, businesspa0_.PaymentRule as payment37_188_, businesspa0_.SO_CreditLimit as so_cred38_188_, businesspa0_.SO_CreditUsed as so_cred39_188_, businesspa0_.C_PaymentTerm_ID as c_payme40_188_, businesspa0_.M_PriceList_ID as m_price41_188_, businesspa0_.IsDiscountPrinted as isdisco42_188_, businesspa0_.SO_Description as so_desc43_188_, businesspa0_.POReference as porefer44_188_, businesspa0_.PaymentRulePO as payment45_188_, businesspa0_.PO_PriceList_ID as po_pric46_188_, businesspa0_.PO_PaymentTerm_ID as po_paym47_188_, businesspa0_.DocumentCopies as documen48_188_, businesspa0_.C_Greeting_ID as c_greet49_188_, businesspa0_.InvoiceRule as invoice50_188_, businesspa0_.DeliveryRule as deliver51_188_, businesspa0_.DeliveryViaRule as deliver52_188_, businesspa0_.SalesRep_ID as salesre53_188_, businesspa0_.BPartner_Parent_ID as bpartne54_188_, businesspa0_.SOCreditStatus as socredi55_188_, businesspa0_.AD_Forced_Org_ID as ad_forc56_188_, businesspa0_.ShowPriceInOrder as showpri57_188_, businesspa0_.Invoicegrouping as invoice58_188_, businesspa0_.FixMonthDay as fixmont59_188_, businesspa0_.FixMonthDay2 as fixmont60_188_, businesspa0_.Fixmonthday3 as fixmont61_188_, businesspa0_.Isworker as isworke62_188_, businesspa0_.UPC as upc63_188_, businesspa0_.C_Salary_Category_ID as c_salar64_188_, businesspa0_.Invoice_Printformat as invoice65_188_, businesspa0_.Last_Days as last_da66_188_, businesspa0_.PO_Bankaccount_ID as po_bank67_188_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_188_, businesspa0_.PO_Fixmonthday as po_fixm69_188_, businesspa0_.PO_Fixmonthday2 as po_fixm70_188_, businesspa0_.PO_Fixmonthday3 as po_fixm71_188_, businesspa0_.SO_Bankaccount_ID as so_bank72_188_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_188_, businesspa0_.Fiscalcode as fiscalc74_188_, businesspa0_.Isofiscalcode as isofisc75_188_, businesspa0_.EM_Einv_Einvoice as em_einv76_188_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_188_, businesspa0_.EM_Einv_Format_Id as em_einv78_188_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_188_, businesspa0_.EM_Einv_Platform_Id as em_einv80_188_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_188_, businesspa0_.EM_Einv_Email as em_einv82_188_, businesspa0_.PO_Paymentmethod_ID as po_paym83_188_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_188_, businesspa0_.EM_Einv_Deliverymode as em_einv85_188_, businesspa0_.PO_Financial_Account_ID as po_fina86_188_, businesspa0_.Customer_Blocking as custome87_188_, businesspa0_.Vendor_Blocking as vendor_88_188_, businesspa0_.SO_Payment_Blocking as so_paym89_188_, businesspa0_.PO_Payment_Blocking as po_paym90_188_, businesspa0_.SO_Invoice_Blocking as so_invo91_188_, businesspa0_.PO_Invoice_Blocking as po_invo92_188_, businesspa0_.SO_Order_Blocking as so_orde93_188_, businesspa0_.PO_Order_Blocking as po_orde94_188_, businesspa0_.SO_Goods_Blocking as so_good95_188_, businesspa0_.PO_Goods_Blocking as po_good96_188_, businesspa0_.Iscashvat as iscashv97_188_, businesspa0_.Update_Currency as update_98_188_, businesspa0_.BP_Currency_ID as bp_curr99_188_, businesspa0_.Birthplace as birthp100_188_, businesspa0_.Birthday as birthd101_188_, businesspa0_.Is_Customer_Consent as is_cus102_188_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs103_188_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs104_188_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea105_188_, businesspa0_.EM_Jr_Inoutval as em_jr_106_188_, businesspa0_.EM_Aeatsii_Menor as em_aea107_188_, businesspa0_.EM_Jr_Isgeneric as em_jr_108_188_, businesspa0_.EM_Pruti_Addbp as em_pru109_188_, businesspa0_.EM_Prei_Iseinvoice as em_pre110_188_, businesspa0_.EM_Prei_Format_ID as em_pre111_188_, businesspa0_.EM_Pruti_Unlock_Date as em_pru112_188_, businesspa0_.EM_Prei_Platform_ID as em_pre113_188_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru114_188_, businesspa0_.EM_Prei_Send_Method as em_pre115_188_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru116_188_, businesspa0_.EM_Prei_Email as em_pre117_188_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru118_188_, businesspa0_.EM_Prei_Need_Expedient as em_pre119_188_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea120_188_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea121_188_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba122_188_, businesspa0_.em_pruti_cus_block_reason_id as em_pru123_188_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru124_188_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt125_188_ from C_BPartner businesspa0_ where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Name2), '') || ' - ' || coalesce(to_char(businesspa0_.TaxID), ''))) like upper('%c%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_BPartner businesspa2_ on materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('V-', 'V+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (materialmg1_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and (materialmg1_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')))) order by businesspa0_.Name, businesspa0_.Name2, businesspa0_.TaxID limit '76';
Date: 2026-07-14 13:01:59 Duration: 1s49ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1s 1s311ms 1s77ms 41 44s185ms select productbyp0_.m_product_price_warehouse_v_id as m_produc1_496_, productbyp0_.ad_client_id as ad_clien2_496_, productbyp0_.ad_org_id as ad_org_i3_496_, productbyp0_.isactive as isactive4_496_, productbyp0_.updated as updated5_496_, productbyp0_.updatedby as updatedb6_496_, productbyp0_.created as created7_496_, productbyp0_.createdby as createdb8_496_, productbyp0_.m_product_id as m_produc9_496_, productbyp0_.m_warehouse_id as m_wareh10_496_, productbyp0_.m_productprice_id as m_produ11_496_, productbyp0_.qty_available as qty_ava12_496_, productbyp0_.qty_onhand as qty_onh13_496_, productbyp0_.qty_reserved as qty_res14_496_, productbyp0_.qty_ordered as qty_ord15_496_, productbyp0_.pricelist as priceli16_496_, productbyp0_.pricestd as pricest17_496_, productbyp0_.pricelimit as priceli18_496_, productbyp0_.orgwarehouse as orgware19_496_ from m_product_price_warehouse_v productbyp0_ left outer join m_product product1_ on productbyp0_.m_product_id = product1_.m_product_id cross join m_productprice pricingpro4_ cross join m_pricelist_version pricingpri5_ cross join m_pricelist pricingpri9_ where productbyp0_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro4_.m_pricelist_version_id = pricingpri5_.m_pricelist_version_id and pricingpri5_.m_pricelist_id = pricingpri9_.m_pricelist_id and (upper(product1_.value) like upper(?) escape ? or upper(product1_.name) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ? or upper((coalesce(to_char(( select producttrl3_.name from m_product_trl producttrl3_ where producttrl3_.m_product_id = product1_.m_product_id and producttrl3_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value)) like upper(?) escape ?) and (productbyp0_.ad_org_id in (...)) and productbyp0_.isactive = ? and ad_org_isinnaturaltree (productbyp0_.orgwarehouse, ?, ?) = ? and pricingpri5_.isactive = ? and ad_org_isinnaturaltree (pricingpro4_.ad_org_id, ?, ?) = ? and pricingpri9_.issopricelist = ? and pricingpri9_.c_currency_id = ? and pricingpro4_.m_pricelist_version_id = ? and productbyp0_.m_warehouse_id = ? and (productbyp0_.ad_client_id in (...)) and productbyp0_.isactive = ? order by product1_.name, product1_.value, product1_.m_product_id limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 07 17 18s103ms 1s64ms 08 7 7s510ms 1s72ms 10 4 4s265ms 1s66ms 11 2 2s426ms 1s213ms 12 2 2s151ms 1s75ms 14 1 1s66ms 1s66ms 15 1 1s7ms 1s7ms 16 2 2s200ms 1s100ms 17 3 3s390ms 1s130ms 18 1 1s21ms 1s21ms 19 1 1s40ms 1s40ms [ User: tad - Total duration: 44s185ms - Times executed: 41 ]
[ Application: openbravo - Total duration: 44s185ms - Times executed: 41 ]
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%m%') escape '|' or upper(product1_.Name) like upper('%m%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%m%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%m%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 07:07:10 Duration: 1s311ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%ar%') escape '|' or upper(product1_.Name) like upper('%ar%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%ar%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%ar%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 11:42:13 Duration: 1s297ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select productbyp0_.M_Product_Price_Warehouse_V_ID as m_produc1_496_, productbyp0_.AD_Client_ID as ad_clien2_496_, productbyp0_.AD_Org_ID as ad_org_i3_496_, productbyp0_.Isactive as isactive4_496_, productbyp0_.Updated as updated5_496_, productbyp0_.Updatedby as updatedb6_496_, productbyp0_.Created as created7_496_, productbyp0_.Createdby as createdb8_496_, productbyp0_.M_Product_ID as m_produc9_496_, productbyp0_.M_Warehouse_ID as m_wareh10_496_, productbyp0_.M_Productprice_ID as m_produ11_496_, productbyp0_.QTY_Available as qty_ava12_496_, productbyp0_.QTY_Onhand as qty_onh13_496_, productbyp0_.QTY_Reserved as qty_res14_496_, productbyp0_.QTY_Ordered as qty_ord15_496_, productbyp0_.Pricelist as priceli16_496_, productbyp0_.Pricestd as pricest17_496_, productbyp0_.Pricelimit as priceli18_496_, productbyp0_.Orgwarehouse as orgware19_496_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID = product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID = pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper('%LI%') escape '|' or upper(product1_.Name) like upper('%LI%') escape '|' or upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%LI%') escape '|' or upper((coalesce(to_char(( select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID = product1_.M_Product_ID and producttrl3_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value)) like upper('%LI%') escape '|') and (productbyp0_.AD_Org_ID in ('0', 'C34A537D1464452783C0A7C7C913FC86', '4A2127624482427B8B0BE0DD8ABF92D4', '3724B485FEC444038C28CAEE0F24E7E6', 'B2834B32C6C2488CA31DE4D756AD4A5F')) and productbyp0_.Isactive = 'Y' and AD_ORG_ISINNATURALTREE (productbyp0_.Orgwarehouse, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri5_.IsActive = 'Y' and AD_ORG_ISINNATURALTREE (pricingpro4_.AD_Org_ID, 'B2834B32C6C2488CA31DE4D756AD4A5F', '4E7785E633254999A6D7545B0BE57A46') = 'Y' and pricingpri9_.IsSOPriceList = 'Y' and pricingpri9_.C_Currency_ID = '102' and pricingpro4_.M_PriceList_Version_ID = '1000113' and productbyp0_.M_Warehouse_ID = '6F618729B86C4789AF3EC693A15D4785' and (productbyp0_.AD_Client_ID in ('4E7785E633254999A6D7545B0BE57A46', '0')) and productbyp0_.Isactive = 'Y' order by product1_.Name, product1_.Value, product1_.M_Product_ID limit '76';
Date: 2026-07-14 17:36:20 Duration: 1s241ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 1s6ms 1s6ms 1s6ms 1 1s6ms delete from c_orderline where c_orderline_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 07 1 1s6ms 1s6ms [ User: tad - Total duration: 1s6ms - Times executed: 1 ]
[ Application: openbravo - Total duration: 1s6ms - Times executed: 1 ]
-
delete from C_OrderLine where C_OrderLine_ID = '7C32309DFD384EA2AAA13D4591F52784';
Date: 2026-07-14 07:58:27 Duration: 1s6ms 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
- 69,808 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 7 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 4 Max number of times the same event was reported
- 7 Total events found
Rank Times reported Error 1 4 ERROR: @20501@
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 14 10 1 12 2 13 1 - ERROR: @20501@
- ERROR: @20501@
- ERROR: @20501@
Context: PL/pgSQL function c_orderlinetax_trg() line 132 at RAISE
Statement: delete from C_OrderLineTax where C_Orderlinetax_ID=$1Date: 2026-07-14 10:06:41 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function c_orderlinetax_trg() line 132 at RAISE
Statement: delete from C_OrderLineTax where C_Orderlinetax_ID=$1Date: 2026-07-14 12:39:16 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function c_orderlinetax_trg() line 132 at RAISE
Statement: delete from C_OrderLineTax where C_Orderlinetax_ID=$1Date: 2026-07-14 12:39:31 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
2 2 ERROR: new row for relation "..." violates check constraint "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 14 14 1 16 1 - ERROR: new row for relation "c_invoiceline" violates check constraint "c_invoiceline_finacct_chk"
- ERROR: new row for relation "c_bp_bankaccount" violates check constraint "c_bp_bacc_showgeneric_chk"
Detail: Failing row contains (9E4419515F0B475E87BE4DACE08C9316, 4E7785E633254999A6D7545B0BE57A46, B2834B32C6C2488CA31DE4D756AD4A5F, Y, 2026-07-14 14:05:05.159, 1000006, 2026-07-14 14:05:05.159, 1000006, 1ABAF3906D2948F39FA43D7B5952B627, null, null, 10, null, Y, null, null, 1, 0, 0, 0, 0, null, 0, 100, null, null, null, N, null, null, null, null, null, 0, N, N, null, 0, 0, 1011821, null, 0, null, null, 0, null, N, null, null, null, null, N, null, N, null, null, 0, N, N, N, N).
Statement: insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, Line, Financial_Invoice_Line, QtyInvoiced, PriceList, PriceActual, PriceLimit, LineNetAmt, C_UOM_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Line_Gross_Amount, Gross_Unit_Price, C_Bpartner_ID, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, CANCELPRICEAD, EM_Priuti_Discount, EM_Priuti_Updatepricelist, EM_Priuti_Pricelist_Updated, EM_Priuti_Changeprice, C_InvoiceLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34)Date: 2026-07-14 14:05:05 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Failing row contains (19A5AB96FD01403E8AE11CE4C4272228, 4E7785E633254999A6D7545B0BE57A46, 0, 2026-07-14 16:38:24.299, 2026-07-14 16:38:24.299, Y, 1000006, 1000006, 1014069, null, null, null, null, null, null, 2000, null, null, null, null, null, null, null, null, null, null, null, ernest, null, null, 106, null, GENERIC, null, N).
Statement: insert into C_BP_BankAccount (AD_Client_ID, AD_Org_ID, Created, Updated, IsActive, CreatedBy, UpdatedBy, C_BPartner_ID, CreditCardExpYY, Bank_Name, C_Country_ID, EM_Etabam_Isdefault, BankFormat, C_BP_BankAccount_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)Date: 2026-07-14 16:38:24 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
3 1 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 14 09 1 - ERROR: update or delete on table "c_orderline" violates foreign key constraint "m_inoutline_c_orderline" on table "m_inoutline"
Detail: Key (c_orderline_id)=(FDC4E713876A40EBBB76D633C2C923FE) is still referenced from table "m_inoutline".
Statement: delete from C_OrderLine where C_OrderLine_ID=$1Date: 2026-07-14 09:36:10 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1