-
Global information
- Generated on Wed Jul 1 02:08:52 2026
- Log file: /var/log/rds/asf-is-prod-55411203_2026-06-30_primary.log.gz
- Parsed 32,587,106 log entries in 8m50s
- Log start from 2026-06-29 22:00:00 to 2026-06-30 22:00:00
-
Overview
Global Stats
- 22 Number of unique normalized queries
- 32 Number of queries
- 28m7s Total query duration
- 2026-06-30 01:00:05 First query
- 2026-06-30 20:10:13 Last query
- 1 queries/s at 2026-06-30 19:32:33 Query peak
- 28m7s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 28m7s Execute total duration
- 150 Number of events
- 9 Number of unique normalized events
- 65 Max number of times the same event was reported
- 0 Number of cancellation
- 126 Total number of automatic vacuums
- 408 Total number of automatic analyzes
- 1,009,756 Number temporary file
- 123.96 MiB Max size of temporary file
- 18.84 KiB Average size of temporary file
- 33,866 Total number of sessions
- 1,101 sessions at 2026-06-30 21:48:07 Session peak
- 5d3h37m12s Total duration of sessions
- 13s140ms Average duration of sessions
- 0 Average queries per session
- 49ms Average queries duration per session
- 13s91ms Average idle time per session
- 35,444 Total number of connections
- 7 connections/s at 2026-06-30 19:31:54 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 1 queries/s Query Peak
- 2026-06-30 19:32:33 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2026-06-30 19:32:33 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-06-30 13:02:01 Date
Queries duration
Key values
- 28m7s 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) Jun 29 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Jun 30 00 0 0ms 0ms 0ms 0ms 0ms 0ms 01 1 0ms 5s462ms 5s462ms 0ms 0ms 5s462ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 4 0ms 13s496ms 10s138ms 0ms 6s833ms 20s221ms 06 3 0ms 13s373ms 9s849ms 0ms 0ms 20s194ms 07 1 0ms 10s809ms 10s809ms 0ms 0ms 10s809ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 9 0ms 6m57s 1m27s 0ms 1m44s 6m57s 13 2 0ms 47s368ms 27s490ms 0ms 0ms 47s368ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 1 0ms 9s11ms 9s11ms 0ms 0ms 9s11ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 9 0ms 6m31s 1m20s 0ms 1m44s 6m31s 20 2 0ms 13s439ms 10s69ms 0ms 0ms 20s139ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 29 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Jun 30 00 0 0 0ms 0ms 0ms 0ms 01 1 0 5s462ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 4 0 10s138ms 0ms 0ms 13s496ms 06 3 0 9s849ms 0ms 0ms 9s355ms 07 1 0 10s809ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 9 0 1m27s 0ms 0ms 4m18s 13 1 0 7s611ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 1 0 9s11ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 9 0 1m20s 0ms 0ms 2m10s 20 2 0 10s69ms 0ms 0ms 0ms 21 0 0 0ms 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) Jun 29 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 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 1 0 0 47s368ms 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 Jun 29 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Jun 30 00 0 0 0.00 0.00% 01 0 1 1.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 4 4.00 0.00% 06 0 3 3.00 0.00% 07 0 1 1.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 9 9.00 0.00% 13 0 2 2.00 0.00% 14 0 0 0.00 0.00% 15 0 1 1.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 9 9.00 0.00% 20 0 2 2.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jun 29 22 1,469 0.41/s 23 1,466 0.41/s Jun 30 00 1,466 0.41/s 01 1,468 0.41/s 02 1,463 0.41/s 03 1,466 0.41/s 04 1,467 0.41/s 05 1,579 0.44/s 06 1,548 0.43/s 07 1,481 0.41/s 08 1,474 0.41/s 09 1,466 0.41/s 10 1,464 0.41/s 11 1,464 0.41/s 12 1,481 0.41/s 13 1,471 0.41/s 14 1,462 0.41/s 15 1,462 0.41/s 16 1,461 0.41/s 17 1,459 0.41/s 18 1,459 0.41/s 19 1,471 0.41/s 20 1,518 0.42/s 21 1,459 0.41/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Jun 29 22 1,405 11s931ms 11s931ms 23 1,402 19s694ms 19s694ms Jun 30 00 1,400 7s972ms 7s972ms 01 1,402 14s559ms 14s555ms 02 1,397 8s153ms 8s153ms 03 1,400 21s258ms 21s258ms 04 1,401 13s196ms 13s196ms 05 1,514 16s955ms 16s928ms 06 1,478 3s321ms 3s301ms 07 1,418 20s883ms 20s875ms 08 1,408 10s442ms 10s442ms 09 1,400 15s793ms 15s793ms 10 1,399 14s367ms 14s367ms 11 1,398 9s560ms 9s560ms 12 1,415 19s244ms 18s687ms 13 1,405 18s348ms 18s309ms 14 1,396 5s83ms 5s83ms 15 1,396 4s824ms 4s818ms 16 1,395 6s709ms 6s709ms 17 1,393 67ms 67ms 18 1,393 67ms 67ms 19 1,406 19s392ms 18s874ms 20 1,452 51s804ms 51s790ms 21 1,393 67ms 67ms 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 7 connections Connection Peak
- 2026-06-30 19:31:54 Date
Connections per database
Key values
- openbravo Main Database
- 35,444 connections Total
Connections per user
Key values
- postgres Main User
- 35,444 connections Total
-
Sessions
Simultaneous sessions
Key values
- 1,101 sessions Session Peak
- 2026-06-30 21:48:07 Date
Histogram of session times
Key values
- 33,477 0-500ms duration
Sessions per database
Key values
- openbravo Main Database
- 33,866 sessions Total
Sessions per user
Key values
- postgres Main User
- 33,866 sessions Total
Sessions per host
Key values
- 10.0.0.13 Main Host
- 33,866 sessions Total
Sessions per application
Key values
- unknown Main Application
- 33,866 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 18,272 buffers Checkpoint Peak
- 2026-06-30 20:09:41 Date
- 270.057 seconds Highest write time
- 0.087 seconds Sync time
Checkpoints Wal files
Key values
- 2 files Wal files usage Peak
- 2026-06-30 11:26:00 Date
Checkpoints distance
Key values
- 203.59 Mo Distance Peak
- 2026-06-30 20:09:41 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 29 22 3,473 347.565s 0.031s 347.67s 23 570 54.965s 0.028s 55.057s Jun 30 00 530 50.822s 0.032s 50.907s 01 582 56.257s 0.03s 56.342s 02 693 67.414s 0.028s 67.496s 03 510 49.21s 0.028s 49.292s 04 594 57.657s 0.027s 57.737s 05 10,849 852.801s 0.032s 852.909s 06 9,879 940.06s 0.038s 940.185s 07 12,591 582.165s 0.035s 582.284s 08 7,232 723.83s 0.031s 723.937s 09 2,867 285.84s 0.03s 285.926s 10 3,909 390.098s 0.029s 390.186s 11 2,680 267.176s 0.03s 267.324s 12 810 81.029s 0.149s 83.429s 13 4,706 356.513s 0.086s 356.728s 14 3,912 390.299s 0.026s 390.399s 15 8,084 808.506s 0.028s 808.594s 16 6,718 672.062s 0.028s 672.155s 17 6,566 656.73s 0.027s 656.813s 18 3,351 334.653s 0.03s 334.745s 19 1,652 166.28s 0.037s 168.67s 20 33,485 1,115.601s 0.033s 1,115.728s 21 546 52.838s 0.029s 52.921s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 29 22 0 0 13 372 0.003s 0.013s 23 0 0 12 249 0.002s 0.012s Jun 30 00 0 0 12 247 0.002s 0.012s 01 0 0 12 252 0.002s 0.012s 02 0 0 12 246 0.002s 0.012s 03 0 0 12 239 0.002s 0.012s 04 0 0 12 232 0.002s 0.012s 05 0 0 11 587 0.004s 0.011s 06 0 0 13 792 0.004s 0.013s 07 0 0 11 1,114 0.004s 0.011s 08 0 0 12 2,004 0.004s 0.012s 09 0 0 12 1,531 0.002s 0.012s 10 0 0 12 2,088 0.002s 0.012s 11 0 0 12 1,097 0.004s 0.012s 12 0 0 12 324 0.077s 0.015s 13 0 0 12 547 0.045s 0.013s 14 0 0 13 1,040 0.002s 0.012s 15 0 0 12 2,734 0.002s 0.012s 16 0 0 12 2,522 0.003s 0.012s 17 0 0 12 2,532 0.003s 0.012s 18 0 0 11 1,653 0.004s 0.012s 19 0 0 12 602 0.006s 0.012s 20 0 0 12 569 0.004s 0.012s 21 0 0 12 240 0.002s 0.012s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jun 29 22 0 0s 23 0 0s Jun 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 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 Jun 29 22 65,489.92 kB 67,703.23 kB 23 65,535.58 kB 66,087.67 kB Jun 30 00 65,535.50 kB 65,691.58 kB 01 65,535.50 kB 65,580.58 kB 02 65,535.58 kB 65,558.25 kB 03 65,535.92 kB 65,560.75 kB 04 65,537.75 kB 65,606.67 kB 05 65,716.45 kB 75,037.82 kB 06 65,381.69 kB 75,459.38 kB 07 65,626.18 kB 68,222.18 kB 08 65,472.08 kB 66,616.42 kB 09 65,524.25 kB 66,139.92 kB 10 65,550.42 kB 66,229.00 kB 11 65,515.92 kB 66,439.08 kB 12 65,535.50 kB 65,889.42 kB 13 65,539.75 kB 70,157.00 kB 14 65,627.83 kB 67,117.25 kB 15 65,603.58 kB 66,566.00 kB 16 65,466.67 kB 66,434.33 kB 17 65,677.75 kB 66,264.42 kB 18 65,335.00 kB 66,521.58 kB 19 65,499.92 kB 66,068.25 kB 20 65,533.25 kB 85,946.50 kB 21 65,572.42 kB 71,721.25 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 88.49 MiB Temp Files size Peak
- 2026-06-30 19:32:18 Date
Number of temporary files
Key values
- 2,201 per second Temp Files Peak
- 2026-06-30 19:35:50 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 29 22 18 743.67 MiB 41.32 MiB 23 17 712.80 MiB 41.93 MiB Jun 30 00 18 743.67 MiB 41.32 MiB 01 18 743.67 MiB 41.32 MiB 02 18 743.67 MiB 41.32 MiB 03 18 743.67 MiB 41.32 MiB 04 18 743.67 MiB 41.32 MiB 05 12 495.78 MiB 41.32 MiB 06 9 371.84 MiB 41.32 MiB 07 25 846.54 MiB 33.86 MiB 08 18 743.65 MiB 41.31 MiB 09 20 790.38 MiB 39.52 MiB 10 18 743.64 MiB 41.31 MiB 11 20 749.95 MiB 37.50 MiB 12 504,666 1.17 GiB 2.43 KiB 13 18 743.72 MiB 41.32 MiB 14 19 746.85 MiB 39.31 MiB 15 23 840.42 MiB 36.54 MiB 16 29 980.73 MiB 33.82 MiB 17 18 743.77 MiB 41.32 MiB 18 22 796.79 MiB 36.22 MiB 19 504,677 1.17 GiB 2.43 KiB 20 18 637.30 MiB 35.41 MiB 21 18 743.77 MiB 41.32 MiB 22 1 30.87 MiB 30.87 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,008,845 731.10 MiB 62 B 2.71 MiB 759.891051648172 B select mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ?;-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:37:54 Duration: 6m57s Database: openbravo User: tad Remote: 10.0.0.13
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 19:38:33 Duration: 6m31s Database: openbravo User: tad Remote: 10.0.0.13
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:33:22 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128)
2 138 16.67 GiB 93.08 MiB 123.96 MiB 123.73 MiB update ad_alert set status = ?, updated = now(), updatedby = ? where ad_alertrule_id = ? and coalesce(status, ?) != ? and not exists ( select ? from ( select f.c_invoice_id as referencekey_id, ? as ad_role_id, null as ad_user_id, ? || f.documentno || ? as description, ? as isactive, f.ad_org_id, f.ad_client_id, now() as created, ? as createdby, now() as updated, ? as updatedby, ad_column_identifier (?, f.c_invoice_id, ?) as record_id from ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = ? and co.em_obpos_applications_id is not null group by ci.documentno, extract(year from dateinvoiced), ci.c_doctype_id having count(ci.documentno) > ? order by max(dateinvoiced) desc) as f) a where ? = ? and a.referencekey_id = ad_alert.referencekey_id);-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);
Date: 2026-06-29 22:00:00 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
3 22 514.43 MiB 9.23 MiB 37.53 MiB 23.38 MiB select order0_.em_obpos_islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.paidamt), ?) from fin_payment_schedule fin_paymen6_ where fin_paymen6_.c_order_id = order0_.c_order_id) as col_1_0_, order0_.em_obpos2_isdraftorder as col_2_0_, order0_.em_obpos2_queueno as col_3_0_, order0_.em_obpos2_created_in_pos as col_4_0_, case when documentty1_.isreturn = ? then to_char(?) when documentty1_.docsubtypeso = ? then to_char(?) when order0_.iscancelled = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen9_.paidamt), ?) from fin_payment_schedule fin_paymen9_ where fin_paymen9_.c_order_id = order0_.c_order_id) = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen10_.paidamt), ?) from fin_payment_schedule fin_paymen10_ where fin_paymen10_.c_order_id = order0_.c_order_id) & lt; order0_.grandtotal then to_char(?) else to_char(?) end as col_5_0_, obpos_appl4_.obpos_applications_id as col_6_0_, exists ( select ? from c_invoiceline invoicelin11_ inner join c_invoice invoice12_ on invoicelin11_.c_invoice_id = invoice12_.c_invoice_id inner join c_orderline orderline13_ on invoicelin11_.c_orderline_id = orderline13_.c_orderline_id inner join c_order order14_ on orderline13_.c_order_id = order14_.c_order_id where order14_.c_order_id = order0_.c_order_id and invoice12_.em_obpos_sequencename = ?) as col_7_0_, ( select case when count(orderline15_.c_orderline_id) > ? then true else false end from c_orderline orderline15_ inner join m_inoutline materialmg16_ on orderline15_.m_inoutline_id = materialmg16_.m_inoutline_id inner join c_orderline orderline17_ on materialmg16_.c_orderline_id = orderline17_.c_orderline_id cross join c_order order18_ where orderline15_.c_order_id = order18_.c_order_id and orderline17_.c_order_id = order0_.c_order_id and order18_.em_obpos2_isvoid = ?) as col_8_0_, ( select case when count(orderline19_.c_orderline_id) > ? then true else false end from c_orderline orderline19_ inner join m_inoutline materialmg20_ on orderline19_.m_inoutline_id = materialmg20_.m_inoutline_id inner join c_orderline orderline21_ on materialmg20_.c_orderline_id = orderline21_.c_orderline_id cross join c_order order22_ where orderline19_.c_order_id = order22_.c_order_id and orderline21_.c_order_id = order0_.c_order_id and order22_.em_obpos2_isvoid = ?) as col_9_0_, case when exists ( select ? from c_orderline orderline23_ where orderline23_.c_order_id = order0_.c_order_id and orderline23_.qtyordered < ?) then true else false end as col_10_0_, case when order0_.quotation_id is not null then true else false end as col_11_0_, exists ( select ? from c_orderline orderline24_ inner join c_order order25_ on orderline24_.c_order_id = order25_.c_order_id where order25_.c_order_id = order0_.c_order_id and (orderline24_.em_obpos_cancellableqty is null or orderline24_.em_obpos_cancellableqty <> ?)) as col_12_0_, case when order0_.em_cfis_fiscalization_result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.tax_free_number from etxf_tax_free_form etxf_tax_f26_ where etxf_tax_f26_.etxf_tax_free_form_id = order0_.em_etxf_tax_free_form_id) as col_14_0_, order0_.em_prpgr_ticketno as col_15_0_, case when documentty1_.c_doctype_id = organizati3_.em_gcnv_c_doctypegcard_id then ? else case when documentty1_.isreturn = ? then ? when documentty1_.docsubtypeso = ? then ? when order0_.em_obpos_islayaway = ? then ? else ? end end as col_16_0_, order0_.c_order_id as col_17_0_, documentty1_.c_doctype_id as col_18_0_, order0_.docstatus as col_19_0_, order0_.documentno as col_20_0_, order0_.created as col_21_0_, order0_.dateordered as col_22_0_, order0_.dateordered as col_23_0_, order0_.dateordered as col_24_0_, businesspa2_.c_bpartner_id as col_25_0_, businesspa2_.name as col_26_0_, order0_.grandtotal as col_27_0_, order0_.grandtotal as col_28_0_, order0_.grandtotal as col_29_0_, order0_.iscancelled as col_30_0_, organizati3_.ad_org_id as col_31_0_, organizati3_.value as col_32_0_, organizati3_.name as col_33_0_, organizati5_.ad_org_id as col_34_0_, organizati5_.name as col_35_0_, order0_.isdelivered as col_36_0_, order0_.bpartner_extref as col_37_0_, ( select coalesce(max(orderline29_.em_obrdm_delivery_mode), ?) from c_orderline orderline29_ where order0_.c_order_id = orderline29_.c_order_id and orderline29_.em_obpos_isdeleted = ?) as col_38_0_, ( select min( case when orderline30_.em_obrdm_delivery_date is null or orderline30_.em_obrdm_delivery_time is null then null else to_timestamp((to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?)), ?) end) from c_orderline orderline30_ where order0_.c_order_id = orderline30_.c_order_id) as col_39_0_, order0_.invoicerule as col_40_0_, order0_.em_obpos_isfullinvoice as col_41_0_, case when order0_.bpartner_extref is not null then false when (obpos_appl4_.c_bpartner_id is not null) and obpos_appl4_.c_bpartner_id = businesspa2_.c_bpartner_id then true when (organizati3_.em_obretco_c_bpartner_id is not null) and organizati3_.em_obretco_c_bpartner_id = businesspa2_.c_bpartner_id then true else false end as col_42_0_ from c_order order0_ inner join c_doctype documentty1_ on order0_.c_doctype_id = documentty1_.c_doctype_id inner join c_bpartner businesspa2_ on order0_.c_bpartner_id = businesspa2_.c_bpartner_id inner join ad_org organizati3_ on order0_.ad_org_id = organizati3_.ad_org_id inner join obpos_applications obpos_appl4_ on order0_.em_obpos_applications_id = obpos_appl4_.obpos_applications_id left outer join ad_org organizati5_ on order0_.ad_orgtrx_id = organizati5_.ad_org_id where ? = ? and ? = ? and order0_.dateordered >= to_date(?, ?) and order0_.ad_client_id = ? and order0_.ad_orgtrx_id = ? and order0_.em_obpos_isdeleted = ? and (order0_.docstatus not in (...)) and (order0_.docstatus <> ? or order0_.iscancelled = ?) order by col_21_0_ desc, col_20_0_ desc limit ?;-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 07:41:41 Duration: 10s809ms Database: openbravo User: tad Remote: 10.3.1.9
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 15:19:03 Duration: 9s11ms Database: openbravo User: tad Remote: 10.3.1.9
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = $1 and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit $2;
Date: 2026-06-30 07:41:40 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
4 10 31.19 MiB 3.12 MiB 3.12 MiB 3.12 MiB select product1_.em_prrqp_abv as col_0_0_, coalesce(( select obfmtc_pro8_.c_taxcategory_id from obfmtc_product_taxcategory obfmtc_pro8_ where obfmtc_pro8_.isactive = ? and obfmtc_pro8_.m_product_id = product1_.m_product_id and ad_isorgincluded (?, obfmtc_pro8_.ad_org_id, product1_.ad_client_id) = ( select min(ad_isorgincluded (?, obfmtc_pro9_.ad_org_id, product1_.ad_client_id)) from obfmtc_product_taxcategory obfmtc_pro9_ where obfmtc_pro9_.isactive = ? and obfmtc_pro9_.m_product_id = product1_.m_product_id and ad_isorgincluded (?, obfmtc_pro9_.ad_org_id, product1_.ad_client_id) >= ?)), product1_.c_taxcategory_id) as col_1_0_, product1_.characteristicdimensionenabled as col_2_0_, product1_.row_characteristic as col_3_0_, product1_.column_characteristic as col_4_0_, ( select etxf_prod_10_.code from etxf_prod_cat_country etxf_prod_10_ cross join m_product_category productcat11_ cross join ad_org organizati12_ where product1_.m_product_category_id = productcat11_.m_product_category_id and product1_.ad_org_id = organizati12_.ad_org_id and etxf_prod_10_.c_country_id = ? and etxf_prod_10_.etxf_product_category_id = coalesce(productcat11_.em_etxf_product_category_id, organizati12_.em_etxf_product_category_id)) as col_5_0_, product1_.em_etxf_iselegible as col_6_0_, case when product1_.em_epa_productcategory is null then null else ( select epa_produc13_.value from epa_productactcategory epa_produc13_ where epa_produc13_.epa_productactcategory_id = product1_.em_epa_productcategory) end as col_7_0_, product1_.em_obserpr_required_followup as col_8_0_, product1_.em_obserpr_anonymize_sp as col_9_0_, product1_.em_obserpr_follow_up_mode as col_10_0_, product1_.em_obserpr_service_mode as col_11_0_, coalesce(pricingpro5_.em_pos2plp_printpriceoptions, pricingpro4_.em_pos2plp_printpriceoptions) as col_12_0_, coalesce(pricingpro5_.em_pos2plp_attribute_1, pricingpro4_.em_pos2plp_attribute_1) as col_13_0_, coalesce(pricingpro5_.em_pos2plp_attribute_2, pricingpro4_.em_pos2plp_attribute_2) as col_14_0_, coalesce(pricingpro5_.em_pos2plp_attribute_3, pricingpro4_.em_pos2plp_attribute_3) as col_15_0_, coalesce(pricingpro5_.em_pos2plp_printing_att1, pricingpro4_.em_pos2plp_printing_att1) as col_16_0_, pricingpro4_.pricestd as col_17_0_, product1_.em_obpos2_no_standard_sale as col_18_0_, product1_.special_use as col_19_0_, productcat14_.value as col_20_0_, productcat14_.name as col_21_0_, case when product1_.em_obpos2_color_id is null then null else ( select color16_.hex_color from ad_color color16_ where color16_.ad_color_id = product1_.em_obpos2_color_id) end as col_22_0_, product1_.em_obpos2_imageclass as col_23_0_, coalesce(pricingpro5_.em_obpos2_printpriceoptions, pricingpro4_.em_obpos2_printpriceoptions) as col_24_0_, coalesce(pricingpro5_.em_obpos2_printpriceoptionsui, pricingpro4_.em_obpos2_printpriceoptionsui) as col_25_0_, coalesce(pricingpro5_.em_obpos2_ispromotionalonly, pricingpro4_.em_obpos2_ispromotionalonly) as col_26_0_, coalesce(pricingpro5_.em_obpos2_nonsellable, pricingpro4_.em_obpos2_nonsellable) as col_27_0_, product1_.em_obpos2_pim_url as col_28_0_, ( select obpos2_pro17_.alias from obpos2_product_store_alias obpos2_pro17_ where obpos2_pro17_.m_product_id = product1_.m_product_id and obpos2_pro17_.ad_org_id = ?) as col_29_0_, product1_.em_obpos2_request_price as col_30_0_, coalesce(( select characteri19_.name from m_product_ch_value productcha18_ inner join m_ch_value characteri19_ on (characteri19_.m_ch_value_id = productcha18_.m_ch_value_id) where productcha18_.m_product_id = product1_.m_product_id and productcha18_.m_characteristic_id = ?), ?) as col_31_0_, coalesce(( select characteri21_.name from m_product_ch_value productcha20_ inner join m_ch_value characteri21_ on (characteri21_.m_ch_value_id = productcha20_.m_ch_value_id) where productcha20_.m_product_id = product1_.m_product_id and productcha20_.m_characteristic_id = ?), ?) as col_32_0_, product1_.em_obrdm_delivery_mode as col_33_0_, product1_.em_obrdm_delivery_mode_lyw as col_34_0_, product1_.em_obrdm_isdeliveryservice as col_35_0_, product1_.em_prret_multiupc_json as col_36_0_, product1_.m_product_id as col_37_0_, product1_.ad_org_id as col_38_0_, product1_.value as col_39_0_, product1_.name as col_40_0_, product1_.m_product_category_id as col_41_0_, product1_.em_obpos_scale as col_42_0_, product1_.c_uom_id as col_43_0_, uom22_.uomsymbol as col_44_0_, uom22_.name as col_45_0_, coalesce(uom22_.stdprecision) as col_46_0_, uom22_.uom_type as col_47_0_, upper(product1_.upc) as col_48_0_, product1_.description as col_49_0_, product1_.em_obpos_groupedproduct as col_50_0_, product1_.isstocked as col_51_0_, product1_.em_obpos_showstock as col_52_0_, product1_.isgeneric as col_53_0_, product1_.m_product_status_id as col_54_0_, product1_.generic_product_id as col_55_0_, (product1_.characteristic_desc || coalesce(( select (?| | productcha26_.characteristic_desc) from m_product_ch_desc_org productcha26_ where productcha26_.m_product_id = product1_.m_product_id and productcha26_.ad_org_id = ?), ?)) as col_56_0_, (product1_.characteristic_desc || coalesce(( select (?| | productcha27_.characteristic_desc) from m_product_ch_desc_org productcha27_ where productcha27_.m_product_id = product1_.m_product_id and productcha27_.ad_org_id = ?), ?) || ?) as col_57_0_, product1_.em_obpos_show_ch_desc as col_58_0_, product1_.producttype as col_59_0_, product1_.prod_cat_selection as col_60_0_, product1_.product_selection as col_61_0_, product1_.print_description as col_62_0_, product1_.em_obpos_allowanonymoussale as col_63_0_, product1_.returnable as col_64_0_, product1_.overdue_return_days as col_65_0_, product1_.ispricerulebased as col_66_0_, product1_.em_obpos_proposal_type as col_67_0_, product1_.em_obpos_ismultiselectable as col_68_0_, coalesce(productsub3_.islinkedtoproduct, product1_.islinkedtoproduct) as col_69_0_, product1_.ismodifytax as col_70_0_, product1_.allow_deferred_sell as col_71_0_, product1_.deferred_sell_max_days as col_72_0_, coalesce(productsub3_.quantity_rule, product1_.quantity_rule) as col_73_0_, product1_.em_obpos_printservices as col_74_0_, product1_.weight as col_75_0_, false as col_76_0_, product1_.em_obpos_maxpriceassocprod as col_77_0_, product1_.em_obpos_minpriceassocprod as col_78_0_, productcat14_.em_obpos_mandatoryissuance as col_79_0_, productsub3_.m_product_subtype_id as col_80_0_, product1_.em_obpos_salesunitfactor as col_81_0_, product1_.ad_image_id as col_82_0_, false as col_83_0_, ? as col_84_0_, obretco_pr0_.bestseller as col_85_0_, obretco_pr0_.m_product_status_id as col_86_0_, coalesce(pricingpro5_.pricelist, pricingpro4_.pricelist) as col_87_0_, coalesce(pricingpro5_.pricestd, pricingpro4_.pricestd) as col_88_0_, pricingpro4_.pricelimit as col_89_0_, pricingpro4_.em_obpos_maxprice as col_90_0_, pricingpro4_.cost as col_91_0_, coalesce(pricingpro5_.em_obpos_useextpromotions, pricingpro4_.em_obpos_useextpromotions) as col_92_0_, case when product1_.em_obpos_skipapplypromotions = ? or pricingpro4_.em_obpos_skipapplypromotions = ? then true else false end as col_93_0_, pricingpro4_.algorithm as col_94_0_, case when product1_.isactive = ? and coalesce(obretco_pr0_.isactive, ?) = ? and coalesce(pricingpro4_.isactive, ?) = ? and coalesce(pricingpro5_.isactive, ?) = ? then true else false end as col_95_0_, product1_.em_obpos_editable_price as col_96_0_, case when product1_.special_use = ? then true else false end as col_97_0_, coalesce(product1_.em_obdisc_pack_discount_link, null) as col_98_0_, case when product1_.m_attributeset_id is not null then true else false end as col_99_0_, case when attributes2_.isserno = ? then true else false end as col_100_0_, case when attributes2_.islot = ? then true else false end as col_101_0_, case when attributes2_.isguaranteedate = ? then true else false end as col_102_0_, product1_.em_obmupc_multiupc_desc as col_103_0_, product1_.em_obpos_epc as col_104_0_, product1_.em_obpos_sgtin as col_105_0_, case when product1_.em_obpos_neweqproduct_id is not null then product1_.em_obpos_neweqproduct_id else null end as col_106_0_, case when product1_.special_use = ? then true else false end as col_107_0_, product1_.em_obcombo_discount_link as col_108_0_, ( select obpos_prin29_.template_path from obpos_print_template obpos_prin29_ where product1_.em_obpgc_printtemplate_id = obpos_prin29_.obpos_print_template_id) as col_109_0_, ( select obpos_prin30_.template_path from obpos_print_template obpos_prin30_ where product1_.em_obpgc_printtempemail_id = obpos_prin30_.obpos_print_template_id) as col_110_0_, product1_.em_obpgc_printcard as col_111_0_, ( select obpos_prin31_.ispdf from obpos_print_template obpos_prin31_ where product1_.em_obpgc_printtemplate_id = obpos_prin31_.obpos_print_template_id) as col_112_0_, ( select obpos_prin32_.printer from obpos_print_template obpos_prin32_ where product1_.em_obpgc_printtemplate_id = obpos_prin32_.obpos_print_template_id) as col_113_0_, product1_.em_obpgc_useautomaticseq as col_114_0_, product1_.em_obgcne_expirationdays as col_115_0_, product1_.em_gcnv_giftcardtype as col_116_0_, product1_.em_gcnv_amount as col_117_0_, product1_.em_gcnv_aspaymentmethod as col_118_0_, product1_.em_gcnv_redemptiontype as col_119_0_, product1_.em_gcnv_taxablegiftcard as col_120_0_, product1_.em_gcnv_discountsrestricted as col_121_0_, pricingpro5_.em_obcomop_com_oper_prodpri_id as col_122_0_ from obretco_prol_product obretco_pr0_ inner join m_product product1_ on obretco_pr0_.m_product_id = product1_.m_product_id left outer join m_attributeset attributes2_ on product1_.m_attributeset_id = attributes2_.m_attributeset_id left outer join m_product_subtype productsub3_ on product1_.m_product_subtype_id = productsub3_.m_product_subtype_id inner join m_productprice pricingpro4_ on product1_.m_product_id = pricingpro4_.m_product_id left outer join m_productprice_exc pricingpro5_ on pricingpro4_.m_productprice_id = pricingpro5_.m_productprice_id and ((pricingpro5_.ad_org_id in (...)) and pricingpro5_.validfrom <= ? and pricingpro5_.validto >= ? and pricingpro5_.isactive = ? and pricingpro5_.orgdepth = ( select max(pricingpro6_.orgdepth) from m_productprice_exc pricingpro6_ where pricingpro6_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro6_.validfrom <= ? and pricingpro6_.validto >= ? and (pricingpro6_.ad_org_id in (...)) and pricingpro6_.isactive = ?) and pricingpro5_.validfrom = ( select max(pricingpro7_.validfrom) from m_productprice_exc pricingpro7_ where pricingpro7_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro7_.validfrom <= ? and pricingpro7_.validto >= ? and (pricingpro7_.ad_org_id in (...)) and pricingpro7_.isactive = ? and pricingpro7_.orgdepth = pricingpro5_.orgdepth)) cross join m_product_category productcat14_ cross join c_uom uom22_ cross join m_pricelist_version pricingpri35_ where product1_.m_product_category_id = productcat14_.m_product_category_id and product1_.c_uom_id = uom22_.c_uom_id and pricingpro4_.m_pricelist_version_id = pricingpri35_.m_pricelist_version_id and ? = ? and ? = ? and ? = ? and obretco_pr0_.obretco_productlist_id = ? and pricingpro4_.m_pricelist_version_id = ? and (product1_.updated > ? or obretco_pr0_.updated > ? or uom22_.updated > ? or productcat14_.updated > ? or pricingpro4_.updated > ? or pricingpri35_.updated > ? or pricingpro5_.validfrom > ? or pricingpro5_.validto < ? or pricingpro5_.updated > ? or (pricingpro5_.m_productprice_exc_id is not null) and (exists ( select ? from m_productprice_exc pricingpro36_ where pricingpro36_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro36_.validfrom <= ? and pricingpro36_.validto >= ? and pricingpro36_.m_productprice_exc_id <> pricingpro5_.m_productprice_exc_id)) or (pricingpro5_.m_productprice_exc_id is null) and (exists ( select ? from m_productprice_exc pricingpro37_ where pricingpro37_.m_productprice_id = pricingpro4_.m_productprice_id and pricingpro37_.validfrom <= ? and pricingpro37_.validto >= ?))) and ? = ? order by product1_.m_product_id limit ?;-
select product1_.EM_Prrqp_Abv as col_0_0_, coalesce(( select obfmtc_pro8_.C_Taxcategory_ID from OBFMTC_Product_TaxCategory obfmtc_pro8_ where obfmtc_pro8_.Isactive = 'Y' and obfmtc_pro8_.M_Product_ID = product1_.M_Product_ID and ad_isorgincluded ($1, obfmtc_pro8_.AD_Org_ID, product1_.AD_Client_ID) = ( select min(ad_isorgincluded ($2, obfmtc_pro9_.AD_Org_ID, product1_.AD_Client_ID)) from OBFMTC_Product_TaxCategory obfmtc_pro9_ where obfmtc_pro9_.Isactive = 'Y' and obfmtc_pro9_.M_Product_ID = product1_.M_Product_ID and ad_isorgincluded ($3, obfmtc_pro9_.AD_Org_ID, product1_.AD_Client_ID) >= 0)), product1_.C_TaxCategory_ID) as col_1_0_, product1_.characteristicDimensionEnabled as col_2_0_, product1_.row_characteristic as col_3_0_, product1_.column_characteristic as col_4_0_, ( select etxf_prod_10_.Code from ETXF_Prod_Cat_Country etxf_prod_10_ cross join M_Product_Category productcat11_ cross join AD_Org organizati12_ where product1_.M_Product_Category_ID = productcat11_.M_Product_Category_ID and product1_.AD_Org_ID = organizati12_.AD_Org_ID and etxf_prod_10_.C_Country_ID = '106' and etxf_prod_10_.Etxf_Product_Category_ID = coalesce(productcat11_.EM_Etxf_Product_Category_ID, organizati12_.EM_Etxf_Product_Category_ID)) as col_5_0_, product1_.EM_Etxf_Iselegible as col_6_0_, case when product1_.EM_Epa_Productcategory is null then null else ( select epa_produc13_.Value from EPA_ProductActCategory epa_produc13_ where epa_produc13_.EPA_Productactcategory_ID = product1_.EM_Epa_Productcategory) end as col_7_0_, product1_.EM_Obserpr_Required_Followup as col_8_0_, product1_.EM_OBSERPR_Anonymize_Sp as col_9_0_, product1_.EM_Obserpr_Follow_Up_Mode as col_10_0_, product1_.EM_Obserpr_Service_Mode as col_11_0_, coalesce(pricingpro5_.em_pos2plp_printpriceoptions, pricingpro4_.em_pos2plp_printpriceoptions) as col_12_0_, coalesce(pricingpro5_.EM_Pos2plp_Attribute_1, pricingpro4_.EM_Pos2plp_Attribute_1) as col_13_0_, coalesce(pricingpro5_.EM_Pos2plp_Attribute_2, pricingpro4_.EM_Pos2plp_Attribute_2) as col_14_0_, coalesce(pricingpro5_.EM_Pos2plp_Attribute_3, pricingpro4_.EM_Pos2plp_Attribute_3) as col_15_0_, coalesce(pricingpro5_.EM_Pos2plp_Printing_Att1, pricingpro4_.EM_Pos2plp_Printing_Att1) as col_16_0_, pricingpro4_.PriceStd as col_17_0_, product1_.EM_Obpos2_No_Standard_Sale as col_18_0_, product1_.Special_Use as col_19_0_, productcat14_.Value as col_20_0_, productcat14_.Name as col_21_0_, case when product1_.EM_Obpos2_Color_ID is null then null else ( select color16_.HEX_Color from AD_Color color16_ where color16_.AD_Color_ID = product1_.EM_Obpos2_Color_ID) end as col_22_0_, product1_.EM_Obpos2_Imageclass as col_23_0_, coalesce(pricingpro5_.em_obpos2_printpriceoptions, pricingpro4_.em_obpos2_printpriceoptions) as col_24_0_, coalesce(pricingpro5_.EM_Obpos2_Printpriceoptionsui, pricingpro4_.EM_Obpos2_Printpriceoptionsui) as col_25_0_, coalesce(pricingpro5_.EM_Obpos2_Ispromotionalonly, pricingpro4_.EM_Obpos2_Ispromotionalonly) as col_26_0_, coalesce(pricingpro5_.EM_Obpos2_Nonsellable, pricingpro4_.EM_Obpos2_Nonsellable) as col_27_0_, product1_.EM_Obpos2_Pim_Url as col_28_0_, ( select obpos2_pro17_.Alias from OBPOS2_Product_Store_Alias obpos2_pro17_ where obpos2_pro17_.M_Product_ID = product1_.M_Product_ID and obpos2_pro17_.AD_Org_ID = '36C6F10C71334D55A0AFB7A803BF244B') as col_29_0_, product1_.EM_Obpos2_Request_Price as col_30_0_, coalesce(( select characteri19_.Name from M_Product_Ch_Value productcha18_ inner join M_Ch_Value characteri19_ on (characteri19_.M_Ch_Value_ID = productcha18_.M_Ch_Value_ID) where productcha18_.M_Product_ID = product1_.M_Product_ID and productcha18_.M_Characteristic_ID = 'A8C4D1B49734428C9131331F7AC22DF4'), ' ') as col_31_0_, coalesce(( select characteri21_.Name from M_Product_Ch_Value productcha20_ inner join M_Ch_Value characteri21_ on (characteri21_.M_Ch_Value_ID = productcha20_.M_Ch_Value_ID) where productcha20_.M_Product_ID = product1_.M_Product_ID and productcha20_.M_Characteristic_ID = '163AF5F6032E462387F332FB53D51462'), ' ') as col_32_0_, product1_.EM_Obrdm_Delivery_Mode as col_33_0_, product1_.EM_Obrdm_Delivery_Mode_Lyw as col_34_0_, product1_.EM_Obrdm_Isdeliveryservice as col_35_0_, product1_.EM_Prret_Multiupc_Json as col_36_0_, product1_.M_Product_ID as col_37_0_, product1_.AD_Org_ID as col_38_0_, product1_.Value as col_39_0_, product1_.Name as col_40_0_, product1_.M_Product_Category_ID as col_41_0_, product1_.EM_Obpos_Scale as col_42_0_, product1_.C_UOM_ID as col_43_0_, uom22_.UOMSymbol as col_44_0_, uom22_.Name as col_45_0_, coalesce(uom22_.StdPrecision) as col_46_0_, uom22_.UOM_Type as col_47_0_, upper(product1_.UPC) as col_48_0_, product1_.Description as col_49_0_, product1_.EM_Obpos_Groupedproduct as col_50_0_, product1_.IsStocked as col_51_0_, product1_.EM_Obpos_Showstock as col_52_0_, product1_.IsGeneric as col_53_0_, product1_.M_Product_Status_ID as col_54_0_, product1_.Generic_Product_ID as col_55_0_, (product1_.Characteristic_Desc || coalesce(( select (', ' || productcha26_.Characteristic_Desc) from M_Product_Ch_Desc_Org productcha26_ where productcha26_.M_Product_ID = product1_.M_Product_ID and productcha26_.AD_Org_ID = '36C6F10C71334D55A0AFB7A803BF244B'), '')) as col_56_0_, (product1_.Characteristic_Desc || coalesce(( select (', ' || productcha27_.Characteristic_Desc) from M_Product_Ch_Desc_Org productcha27_ where productcha27_.M_Product_ID = product1_.M_Product_ID and productcha27_.AD_Org_ID = '36C6F10C71334D55A0AFB7A803BF244B'), '') || ',') as col_57_0_, product1_.EM_Obpos_Show_Ch_Desc as col_58_0_, product1_.ProductType as col_59_0_, product1_.Prod_Cat_Selection as col_60_0_, product1_.Product_Selection as col_61_0_, product1_.Print_Description as col_62_0_, product1_.EM_OBPOS_AllowAnonymousSale as col_63_0_, product1_.Returnable as col_64_0_, product1_.Overdue_Return_Days as col_65_0_, product1_.Ispricerulebased as col_66_0_, product1_.EM_Obpos_Proposal_Type as col_67_0_, product1_.EM_Obpos_Ismultiselectable as col_68_0_, coalesce(productsub3_.Islinkedtoproduct, product1_.Islinkedtoproduct) as col_69_0_, product1_.Ismodifytax as col_70_0_, product1_.Allow_Deferred_Sell as col_71_0_, product1_.Deferred_Sell_Max_Days as col_72_0_, coalesce(productsub3_.Quantity_Rule, product1_.Quantity_Rule) as col_73_0_, product1_.EM_Obpos_Printservices as col_74_0_, product1_.Weight as col_75_0_, false as col_76_0_, product1_.EM_Obpos_Maxpriceassocprod as col_77_0_, product1_.EM_Obpos_Minpriceassocprod as col_78_0_, productcat14_.EM_Obpos_MandatoryIssuance as col_79_0_, productsub3_.M_Product_Subtype_ID as col_80_0_, product1_.EM_Obpos_Salesunitfactor as col_81_0_, product1_.AD_Image_ID as col_82_0_, false as col_83_0_, '' as col_84_0_, obretco_pr0_.Bestseller as col_85_0_, obretco_pr0_.M_Product_Status_ID as col_86_0_, coalesce(pricingpro5_.Pricelist, pricingpro4_.PriceList) as col_87_0_, coalesce(pricingpro5_.PriceStd, pricingpro4_.PriceStd) as col_88_0_, pricingpro4_.PriceLimit as col_89_0_, pricingpro4_.EM_Obpos_Maxprice as col_90_0_, pricingpro4_.Cost as col_91_0_, coalesce(pricingpro5_.EM_Obpos_UseExtpromotions, pricingpro4_.EM_Obpos_Useextpromotions) as col_92_0_, case when product1_.EM_Obpos_Skipapplypromotions = 'Y' or pricingpro4_.EM_Obpos_Skipapplypromotions = 'Y' then true else false end as col_93_0_, pricingpro4_.Algorithm as col_94_0_, case when product1_.IsActive = 'Y' and coalesce(obretco_pr0_.Isactive, 'Y') = 'Y' and coalesce(pricingpro4_.IsActive, 'Y') = 'Y' and coalesce(pricingpro5_.Isactive, 'Y') = 'Y' then true else false end as col_95_0_, product1_.EM_Obpos_Editable_Price as col_96_0_, case when product1_.Special_Use = 'OBDISC_Pack_Discount_Link' then true else false end as col_97_0_, coalesce(product1_.EM_OBDISC_Pack_Discount_Link, null) as col_98_0_, case when product1_.M_AttributeSet_ID is not null then true else false end as col_99_0_, case when attributes2_.IsSerNo = 'Y' then true else false end as col_100_0_, case when attributes2_.IsLot = 'Y' then true else false end as col_101_0_, case when attributes2_.IsGuaranteeDate = 'Y' then true else false end as col_102_0_, product1_.EM_Obmupc_Multiupc_Desc as col_103_0_, product1_.EM_Obpos_Epc as col_104_0_, product1_.EM_Obpos_Sgtin as col_105_0_, case when product1_.EM_Obpos_Neweqproduct_ID is not null then product1_.EM_Obpos_Neweqproduct_ID else null end as col_106_0_, case when product1_.Special_Use = 'OBCOMBO_Combo_Discount_Link' then true else false end as col_107_0_, product1_.EM_OBCOMBO_Discount_Link as col_108_0_, ( select obpos_prin29_.Template_Path from OBPOS_Print_Template obpos_prin29_ where product1_.EM_Obpgc_Printtemplate_Id = obpos_prin29_.Obpos_Print_Template_ID) as col_109_0_, ( select obpos_prin30_.Template_Path from OBPOS_Print_Template obpos_prin30_ where product1_.EM_Obpgc_Printtempemail_ID = obpos_prin30_.Obpos_Print_Template_ID) as col_110_0_, product1_.EM_Obpgc_Printcard as col_111_0_, ( select obpos_prin31_.Ispdf from OBPOS_Print_Template obpos_prin31_ where product1_.EM_Obpgc_Printtemplate_Id = obpos_prin31_.Obpos_Print_Template_ID) as col_112_0_, ( select obpos_prin32_.Printer from OBPOS_Print_Template obpos_prin32_ where product1_.EM_Obpgc_Printtemplate_Id = obpos_prin32_.Obpos_Print_Template_ID) as col_113_0_, product1_.EM_Obpgc_Useautomaticseq as col_114_0_, product1_.EM_Obgcne_Expirationdays as col_115_0_, product1_.EM_Gcnv_Giftcardtype as col_116_0_, product1_.EM_Gcnv_Amount as col_117_0_, product1_.EM_Gcnv_Aspaymentmethod as col_118_0_, product1_.EM_Gcnv_Redemptiontype as col_119_0_, product1_.EM_Gcnv_Taxablegiftcard as col_120_0_, product1_.EM_Gcnv_Discountsrestricted as col_121_0_, pricingpro5_.EM_Obcomop_Com_Oper_Prodpri_ID as col_122_0_ from OBRETCO_Prol_Product obretco_pr0_ inner join M_Product product1_ on obretco_pr0_.M_Product_ID = product1_.M_Product_ID left outer join M_AttributeSet attributes2_ on product1_.M_AttributeSet_ID = attributes2_.M_AttributeSet_ID left outer join M_Product_Subtype productsub3_ on product1_.M_Product_Subtype_ID = productsub3_.M_Product_Subtype_ID inner join M_ProductPrice pricingpro4_ on product1_.M_Product_ID = pricingpro4_.M_Product_ID left outer join M_ProductPrice_Exc pricingpro5_ on pricingpro4_.M_ProductPrice_ID = pricingpro5_.M_Productprice_ID and ((pricingpro5_.AD_Org_ID in ($4, $5, $6, $7)) and pricingpro5_.Validfrom <= $8 and pricingpro5_.Validto >= $9 and pricingpro5_.Isactive = 'Y' and pricingpro5_.Orgdepth = ( select max(pricingpro6_.Orgdepth) from M_ProductPrice_Exc pricingpro6_ where pricingpro6_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro6_.Validfrom <= $10 and pricingpro6_.Validto >= $11 and (pricingpro6_.AD_Org_ID in ($12, $13, $14, $15, $16)) and pricingpro6_.Isactive = 'Y') and pricingpro5_.Validfrom = ( select max(pricingpro7_.Validfrom) from M_ProductPrice_Exc pricingpro7_ where pricingpro7_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro7_.Validfrom <= $17 and pricingpro7_.Validto >= $18 and (pricingpro7_.AD_Org_ID in ($19, $20, $21, $22, $23)) and pricingpro7_.Isactive = 'Y' and pricingpro7_.Orgdepth = pricingpro5_.Orgdepth)) cross join M_Product_Category productcat14_ cross join C_UOM uom22_ cross join M_PriceList_Version pricingpri35_ where product1_.M_Product_Category_ID = productcat14_.M_Product_Category_ID and product1_.C_UOM_ID = uom22_.C_UOM_ID and pricingpro4_.M_PriceList_Version_ID = pricingpri35_.M_PriceList_Version_ID and 1 = 1 and 1 = 1 and 1 = 1 and obretco_pr0_.Obretco_Productlist_ID = $24 and pricingpro4_.M_PriceList_Version_ID = $25 and (product1_.Updated > $26 or obretco_pr0_.Updated > $27 or uom22_.Updated > $28 or productcat14_.Updated > $29 or pricingpro4_.Updated > $30 or pricingpri35_.Updated > $31 or pricingpro5_.Validfrom > $32 or pricingpro5_.Validto < $33 or pricingpro5_.Updated > $34 or (pricingpro5_.M_Productprice_Exc_ID is not null) and (exists ( select 1 from M_ProductPrice_Exc pricingpro36_ where pricingpro36_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro36_.Validfrom <= $35 and pricingpro36_.Validto >= $36 and pricingpro36_.M_Productprice_Exc_ID <> pricingpro5_.M_Productprice_Exc_ID)) or (pricingpro5_.M_Productprice_Exc_ID is null) and (exists ( select 1 from M_ProductPrice_Exc pricingpro37_ where pricingpro37_.M_Productprice_ID = pricingpro4_.M_ProductPrice_ID and pricingpro37_.Validfrom <= $37 and pricingpro37_.Validto >= $38))) and 1 = 1 order by product1_.M_Product_ID limit $39;
Date: 2026-06-30 07:47:11 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
5 4 118.45 MiB 28.27 MiB 32.02 MiB 29.61 MiB select "_"."m_inoutline_id" AS "m_inoutline_id", "_"."m_inout_id" AS "m_inout_id", "_"."documentno_livraison" AS "N. Documento Albarán", "_"."documentno_commande" AS "N. Documento Pedido", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."Date Livraison" AS "Fecha Albaran", "_"."Description" AS "Descripción", "_"."Quantite" AS "Cantidad", "_"."Prix List" AS "Precio Lista", "_"."Prix Actuel" AS "Precio Actual", "_"."Prix Limite" AS "Precio Límite", "_"."Remise" AS "Descuento" from ( select max(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, max(io.documentno) as documentno_livraison, max(o.documentno) as documentno_commande, max(iol.ad_org_id) as ad_org_id, max(iol.isactive) as isactive, max(io.issotrx) as issotrx, io.c_bpartner_id, max(iol.m_product_id) as m_product_id, io.m_warehouse_id, max(p.m_product_category_id) as m_product_category_id, io.movementdate AS "Date Livraison", max(iol.description) AS "Description", sum(iol.movementqty) "Quantite", max(ol.pricelist) "Prix List", max(ol.priceactual) "Prix Actuel", max(ol.pricelimit) "Prix Limite", max(ol.discount) AS "Remise" from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id left join m_product p on p.m_product_id = iol.m_product_id left join c_orderline ol on ol.c_orderline_id = iol.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id where ? = ? and o.issotrx <> ? group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 19:32:18 Duration: 21s611ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128)
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 12:31:49 Duration: 12s541ms Database: openbravo User: tad Remote: 10.0.0.13
6 3 3.28 KiB 266 B 2.61 KiB 1.09 KiB select mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ? mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ?;-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y' mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 19:34:54 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
7 3 17.49 MiB 4.12 MiB 8.62 MiB 5.83 MiB create index em_prpres_orderline_updated on c_orderline (updated);-
CREATE INDEX EM_PRPRES_ORDERLINE_UPDATED ON C_ORDERLINE (UPDATED);
Date: 2026-06-30 20:06:15 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
8 2 457 B 106 B 351 B 228.5 B mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ?;-
mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 19:35:21 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
9 2 2.08 KiB 279 B 1.81 KiB 1.04 KiB select ;-
SELECT ;
Date: 2026-06-30 19:35:21 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
10 2 58.48 MiB 28.14 MiB 30.34 MiB 29.24 MiB select "_"."m_inoutline_id" AS "m_inoutline_id", ;-
select "_"."m_inoutline_id" as "m_inoutline_id", ;
Date: 2026-06-30 12:31:49 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
Queries generating the largest temporary files
Rank Size Query 1 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 14:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
2 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 14:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
3 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 15:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
4 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 15:10:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
5 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 15:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
6 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 15:30:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
7 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 15:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
8 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 16:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
9 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 15:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
10 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 16:10:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
11 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 16:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
12 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 16:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
13 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 17:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
14 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 16:30:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
15 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 16:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
16 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 17:30:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
17 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 17:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
18 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 17:10:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
19 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 17:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
20 123.96 MiB UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = $1 AND COALESCE(STATUS, 'NEW') != 'SOLVED' AND NOT EXISTS ( SELECT 1 FROM ( select f.c_invoice_id as referencekey_id, '0' as ad_role_id, null as ad_user_id, 'Factura: ' || f.documentno || ' duplicada' as description, 'Y' as isActive, f.ad_org_id, f.ad_client_id, now() as created, '0' as createdBy, now() as updated, '0' as updatedBy, ad_column_identifier ('c_invoice', f.c_invoice_id, 'es_ES') AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id = ci.c_order_id where ci.issotrx = 'Y' and co.em_obpos_applications_id is not null group by ci.documentno, EXTRACT(YEAR FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno) > 1 order by max(dateinvoiced) desc) as f) A WHERE 1 = 1 AND A.REFERENCEKEY_ID = AD_ALERT.REFERENCEKEY_ID);[ Date: 2026-06-30 17:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 7.93 sec Highest CPU-cost vacuum
Table public.c_order
Database openbravo - 2026-06-30 07:00:27 Date
- 0 sec Highest CPU-cost analyze
Table
Database openbravo - Date
Average Autovacuum Duration
Key values
- 7.93 sec Highest CPU-cost vacuum
Table public.c_order
Database openbravo - 2026-06-30 07:00:27 Date
Analyzes per table
Key values
- public.ad_cluster_service (161) Main table analyzed (database openbravo)
- 408 analyzes Total
Table Number of analyzes openbravo.public.ad_cluster_service 161 openbravo.public.c_import_entry 30 openbravo.public.ad_ep_instance_para 11 openbravo.public.ad_session 10 openbravo.public.ad_element_trl 9 openbravo.public.ad_message_trl 9 openbravo.public.ad_tab_trl 8 openbravo.public.ad_menu_trl 7 openbravo.public.ad_ref_list_trl 7 openbravo.public.ad_reference_trl 7 openbravo.pg_catalog.pg_rewrite 7 openbravo.public.ad_process_request 7 openbravo.public.ad_textinterfaces_trl 6 openbravo.public.obuisel_selector_trl 6 openbravo.public.obuiapp_process_trl 6 openbravo.public.ad_process_trl 6 openbravo.public.ad_window_trl 6 openbravo.public.obpos_applications 5 openbravo.pg_catalog.pg_depend 5 openbravo.pg_catalog.pg_type 5 rdsadmin.pg_catalog.rds_heartbeat2 5 openbravo.pg_catalog.pg_attribute 5 openbravo.public.ad_fieldgroup_trl 5 rdsadmin.public.rds_replication_info_heartbeat 5 openbravo.public.obuiapp_parameter_trl 4 openbravo.pg_catalog.pg_trigger 4 openbravo.public.obuisel_selector_field_trl 4 openbravo.public.obcql_query_column_trl 4 openbravo.public.ad_table 4 openbravo.pg_catalog.pg_class 3 openbravo.pg_catalog.pg_shdepend 3 openbravo.public.ad_sequence 3 openbravo.public.ad_form_trl 2 openbravo.pg_catalog.pg_proc 2 openbravo.public.c_uom_trl 2 openbravo.public.ad_pinstance 2 postgres.pg_catalog.pg_shdepend 2 openbravo.public.ad_process_run 2 openbravo.public.fin_financial_account 2 openbravo.public.ad_field_trl 2 openbravo.public.obkmo_widget_class_trl 2 openbravo.public.c_import_entry_archive 1 openbravo.public.ad_module_trl 1 openbravo.public.etcop_role_app 1 openbravo.public.c_ordertax 1 openbravo.pg_catalog.pg_operator 1 openbravo.public.c_file 1 openbravo.public.m_movement 1 openbravo.public.obpos_app_cashup_user 1 openbravo.public.prpres_product 1 openbravo.public.m_offer_type_trl 1 openbravo.public.prpres_combination 1 openbravo.public.prpres_conf 1 openbravo.public.etcop_conversation 1 openbravo.public.ad_system_info 1 openbravo.public.obmobc_services 1 openbravo.public.obpos_app_payment_type 1 openbravo.public.ad_session_usage_audit 1 openbravo.public.ad_preference 1 openbravo.public.c_invoice 1 openbravo.public.obpos_app_cashup_prod_cat 1 openbravo.public.etcop_app 1 openbravo.pg_catalog.pg_constraint 1 openbravo.public.ad_process_para_trl 1 Total 408 Vacuums per table
Key values
- public.c_import_entry (16) Main table vacuumed on database openbravo
- 126 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples openbravo.public.c_import_entry 16 16 3,259 0 148 0 0 707 159 239,272 25 108 openbravo.pg_toast.pg_toast_489671 8 8 1,191 0 48 0 0 699 48 151,839 0 0 openbravo.public.ad_element_trl 6 6 6,721 0 4 0 0 5,721 14 432,903 5 92 openbravo.public.ad_ep_instance_para 6 6 358 0 30 0 0 60 30 16,820 0 0 openbravo.pg_toast.pg_toast_2618 6 5 6,922 0 33 0 0 5,104 36 347,412 1 1 openbravo.public.ad_message_trl 6 6 7,390 0 11 0 0 6,518 20 509,410 9 147 rdsadmin.pg_catalog.rds_heartbeat2 5 0 223 0 10 0 0 15 10 4,945 0 0 openbravo.pg_catalog.pg_rewrite 5 5 445 0 9 0 0 132 16 21,230 0 0 rdsadmin.public.rds_replication_info_heartbeat 5 0 223 0 10 0 0 15 10 4,933 0 0 openbravo.public.ad_table 4 4 3,329 0 1 0 0 1,686 17 159,688 9 71 openbravo.public.ad_reference_trl 4 4 949 0 0 0 0 646 4 51,448 0 0 openbravo.pg_toast.pg_toast_2619 4 4 4,503 0 290 0 0 2,308 315 1,433,652 105 280 openbravo.public.ad_process_trl 4 4 525 0 12 0 0 243 16 25,563 0 0 openbravo.public.ad_menu_trl 4 4 610 0 8 0 0 321 12 27,150 0 0 openbravo.public.ad_textinterfaces_trl 4 4 1,461 0 0 0 0 1,092 4 115,798 0 0 openbravo.public.ad_ref_list_trl 4 4 1,822 0 2 0 0 1,499 9 126,861 0 0 openbravo.public.ad_window_trl 4 4 610 0 8 0 0 321 12 26,754 0 0 openbravo.public.ad_tab_trl 4 4 1,205 0 11 0 0 922 15 77,275 0 0 openbravo.pg_catalog.pg_attribute 3 3 8,774 0 341 0 0 3,554 338 619,878 0 0 openbravo.pg_catalog.pg_type 3 3 730 0 62 0 0 258 64 86,180 1 23 openbravo.pg_catalog.pg_depend 2 2 3,435 0 274 0 0 1,312 275 339,917 9 428 openbravo.public.obuisel_selector_trl 2 2 248 0 5 0 0 67 5 8,795 0 0 openbravo.pg_catalog.pg_trigger 2 2 2,007 0 194 0 0 947 191 230,286 0 0 openbravo.public.ad_cluster_service 2 2 195 0 10 0 0 21 10 6,125 0 0 rdsadmin.pg_catalog.pg_shdepend 1 1 115 0 9 0 0 30 9 10,251 0 0 openbravo.pg_toast.pg_toast_487341 1 1 332 0 56 0 0 221 57 299,720 14 21 openbravo.public.c_order 1 1 47,066 0 15,239 0 0 27,434 15,028 28,624,831 2,613 8,211 openbravo.pg_catalog.pg_class 1 1 565 0 138 0 0 285 138 195,883 5 96 openbravo.public.c_uom_trl 1 0 60 0 5 0 0 8 5 2,307 0 0 openbravo.pg_catalog.pg_proc 1 1 854 0 237 0 0 540 237 564,236 39 169 openbravo.public.ad_process_request 1 1 1,030 0 240 0 0 528 240 331,307 74 106 openbravo.pg_catalog.pg_constraint 1 1 1,265 0 176 0 0 522 176 215,480 26 421 template1.pg_catalog.pg_shdepend 1 1 161 0 14 0 0 37 13 12,490 2 91 openbravo.public.ad_sequence 1 0 165 0 8 0 0 22 8 8,180 5 5 openbravo.public.ad_fieldgroup_trl 1 0 93 0 1 0 0 17 2 3,170 0 0 openbravo.pg_catalog.pg_statistic 1 1 1,348 0 286 0 0 1,041 280 895,614 136 699 openbravo.pg_toast.pg_toast_1255 1 1 381 0 50 0 0 201 51 256,058 12 36 Total 126 112 110,570 32,596 17,980 0 0 65,054 17,874 36,483,661 3,090 11,005 Vacuum throughput per table
Key values
- public.c_order (7.93) Max CPU elapsed for vacuum on database openbravo
- public.c_order (1018.42 ms) Max I/O read time for vacuum on database openbravo
- public.c_order (44.195 ms) Max I/O write time for vacuum on database openbravo
I/O timing (ms) CPU (s) Table read write elapsed openbravo.public.c_import_entry 7.288 0.398 0 openbravo.pg_toast.pg_toast_489671 4.209 0.36 0.01 openbravo.public.ad_element_trl 0 0 0.06 openbravo.public.ad_ep_instance_para 0.428 0.455 0 openbravo.pg_toast.pg_toast_2618 4.287 0 0.06 openbravo.public.ad_message_trl 0.841 0 0.08 rdsadmin.pg_catalog.rds_heartbeat2 1.859 0 0 openbravo.pg_catalog.pg_rewrite 1.231 0 0 rdsadmin.public.rds_replication_info_heartbeat 2.016 0 0 openbravo.public.ad_table 0 0 0.04 openbravo.public.ad_reference_trl 0 0 0 openbravo.pg_toast.pg_toast_2619 14.444 0 0.15 openbravo.public.ad_process_trl 0 0 0 openbravo.public.ad_menu_trl 0 0 0 openbravo.public.ad_textinterfaces_trl 0.019 0 0 openbravo.public.ad_ref_list_trl 0.016 0 0 openbravo.public.ad_window_trl 0 0 0 openbravo.public.ad_tab_trl 0 0 0 openbravo.pg_catalog.pg_attribute 5.983 0 0.2 openbravo.pg_catalog.pg_type 7.8 0 0.03 openbravo.pg_catalog.pg_depend 19.485 0 0.16 openbravo.public.obuisel_selector_trl 1.628 0 0 openbravo.pg_catalog.pg_trigger 19.375 0 0.1 openbravo.public.ad_cluster_service 0 0 0 rdsadmin.pg_catalog.pg_shdepend 4.977 0 0.01 openbravo.pg_toast.pg_toast_487341 3.615 0 0.02 openbravo.public.c_order 1,018.42 44.195 7.93 openbravo.pg_catalog.pg_class 2.785 0 0.04 openbravo.public.c_uom_trl 1.209 0 0 openbravo.pg_catalog.pg_proc 0 0 0.06 openbravo.public.ad_process_request 0.101 0 0.06 openbravo.pg_catalog.pg_constraint 1.644 0 0.06 template1.pg_catalog.pg_shdepend 2.46 0 0 openbravo.public.ad_sequence 1.077 0 0 openbravo.public.ad_fieldgroup_trl 1.342 0 0 openbravo.pg_catalog.pg_statistic 0.114 0 0.09 openbravo.pg_toast.pg_toast_1255 0 0 0.01 Total 1,128.653 45.408 9.17 Tuples removed per table
Key values
- pg_catalog.pg_depend (12684) Main table with removed tuples on database openbravo
- 79538 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain openbravo.pg_catalog.pg_depend 2 2 12,684 140,621 0 43 1,233 openbravo.public.ad_message_trl 6 6 12,029 62,214 0 0 2,340 openbravo.public.ad_element_trl 6 6 11,450 45,938 14 0 2,376 openbravo.public.ad_textinterfaces_trl 4 4 7,076 10,736 0 0 376 openbravo.pg_catalog.pg_attribute 3 3 6,553 139,552 0 0 2,952 openbravo.pg_toast.pg_toast_2618 6 5 5,005 5,870 0 259 2,748 openbravo.public.c_order 1 1 4,733 347,393 62 0 67,955 openbravo.public.ad_ref_list_trl 4 4 4,442 15,716 0 0 496 openbravo.public.ad_tab_trl 4 4 2,402 6,700 0 0 328 openbravo.public.ad_reference_trl 4 4 1,926 6,074 0 0 220 openbravo.pg_toast.pg_toast_2619 4 4 1,545 10,197 0 0 2,956 openbravo.public.ad_menu_trl 4 4 1,010 2,732 0 0 112 openbravo.pg_catalog.pg_statistic 1 1 898 8,981 0 0 659 openbravo.pg_catalog.pg_type 3 3 867 9,845 0 7 255 openbravo.public.ad_window_trl 4 4 859 2,176 0 0 116 openbravo.pg_toast.pg_toast_489671 8 8 852 1 0 177 33 openbravo.public.c_import_entry 16 16 735 335 0 77 99 openbravo.public.ad_process_trl 4 4 657 1,668 0 0 84 openbravo.pg_catalog.pg_trigger 2 2 559 47,127 0 0 1,138 openbravo.pg_catalog.pg_class 1 1 456 6,291 0 0 158 openbravo.pg_catalog.pg_rewrite 5 5 392 1,083 0 4 86 openbravo.pg_catalog.pg_constraint 1 1 387 11,664 0 0 548 rdsadmin.pg_catalog.rds_heartbeat2 5 0 255 5 0 0 5 rdsadmin.public.rds_replication_info_heartbeat 5 0 255 5 0 0 5 openbravo.pg_catalog.pg_proc 1 1 201 4,424 0 0 301 openbravo.public.ad_process_request 1 1 191 2,773 0 0 517 openbravo.public.obuisel_selector_trl 2 2 180 767 0 0 24 template1.pg_catalog.pg_shdepend 1 1 177 2,358 0 0 20 rdsadmin.pg_catalog.pg_shdepend 1 1 134 2,358 0 0 20 openbravo.public.ad_ep_instance_para 6 6 123 0 0 6 0 openbravo.pg_toast.pg_toast_1255 1 1 99 739 0 0 195 openbravo.pg_toast.pg_toast_487341 1 1 82 539 0 0 142 openbravo.public.ad_table 4 4 76 5,540 0 0 997 openbravo.public.ad_fieldgroup_trl 1 0 73 248 0 0 8 openbravo.public.ad_sequence 1 0 66 147 0 0 22 openbravo.public.c_uom_trl 1 0 58 31 0 0 2 openbravo.public.ad_cluster_service 2 2 51 51 49 0 6 Total 126 112 79,538 902,899 125 573 89,532 Pages removed per table
Key values
- pg_toast.pg_toast_2618 (259) Main table with removed pages on database openbravo
- 573 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed openbravo.pg_toast.pg_toast_2618 6 5 5005 259 openbravo.pg_toast.pg_toast_489671 8 8 852 177 openbravo.public.c_import_entry 16 16 735 77 openbravo.pg_catalog.pg_depend 2 2 12684 43 openbravo.pg_catalog.pg_type 3 3 867 7 openbravo.public.ad_ep_instance_para 6 6 123 6 openbravo.pg_catalog.pg_rewrite 5 5 392 4 openbravo.public.ad_table 4 4 76 0 openbravo.public.ad_reference_trl 4 4 1926 0 rdsadmin.pg_catalog.pg_shdepend 1 1 134 0 openbravo.pg_toast.pg_toast_2619 4 4 1545 0 openbravo.public.ad_process_trl 4 4 657 0 rdsadmin.pg_catalog.rds_heartbeat2 5 0 255 0 openbravo.pg_toast.pg_toast_487341 1 1 82 0 openbravo.public.ad_menu_trl 4 4 1010 0 openbravo.public.ad_element_trl 6 6 11450 0 openbravo.public.ad_textinterfaces_trl 4 4 7076 0 openbravo.public.obuisel_selector_trl 2 2 180 0 openbravo.pg_catalog.pg_attribute 3 3 6553 0 openbravo.public.c_order 1 1 4733 0 openbravo.public.ad_ref_list_trl 4 4 4442 0 openbravo.pg_catalog.pg_trigger 2 2 559 0 openbravo.pg_catalog.pg_class 1 1 456 0 openbravo.public.c_uom_trl 1 0 58 0 openbravo.public.ad_window_trl 4 4 859 0 openbravo.pg_catalog.pg_proc 1 1 201 0 openbravo.public.ad_process_request 1 1 191 0 openbravo.pg_catalog.pg_constraint 1 1 387 0 openbravo.public.ad_tab_trl 4 4 2402 0 rdsadmin.public.rds_replication_info_heartbeat 5 0 255 0 template1.pg_catalog.pg_shdepend 1 1 177 0 openbravo.public.ad_sequence 1 0 66 0 openbravo.public.ad_fieldgroup_trl 1 0 73 0 openbravo.public.ad_message_trl 6 6 12029 0 openbravo.pg_catalog.pg_statistic 1 1 898 0 openbravo.public.ad_cluster_service 2 2 51 0 openbravo.pg_toast.pg_toast_1255 1 1 99 0 Total 126 112 79,538 573 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 29 22 0 10 23 0 7 Jun 30 00 0 7 01 2 11 02 0 7 03 0 8 04 0 8 05 38 80 06 27 47 07 4 13 08 5 12 09 5 15 10 3 14 11 3 8 12 1 9 13 1 11 14 3 12 15 4 20 16 4 14 17 3 15 18 5 13 19 1 11 20 17 49 21 0 7 22 0 0 - 7.93 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
- 31 Total read queries
- 1 Total write queries
Queries by database
Key values
- openbravo Main database
- 32 Requests
- 28m7s (openbravo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 32 Requests
User Request type Count Duration tad Total 32 28m7s select 31 27m19s update 1 47s368ms Duration by user
Key values
- 28m7s (tad) Main time consuming user
User Request type Count Duration tad Total 32 28m7s select 31 27m19s update 1 47s368ms Queries by host
Key values
- 10.0.0.13 Main host
- 18 Requests
- 25m16s (10.0.0.13)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 19 Requests
- 16m54s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-30 21:48:23 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 23 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 6m57s SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';[ Date: 2026-06-30 12:37:54 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
2 6m31s SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';[ Date: 2026-06-30 19:38:33 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
3 2m9s select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";[ Date: 2026-06-30 12:33:01 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
4 2m8s select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;[ Date: 2026-06-30 12:33:24 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
5 1m44s select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;[ Date: 2026-06-30 19:34:24 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
6 1m42s select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";[ Date: 2026-06-30 19:33:38 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
7 47s368ms update M_Product_Ch_Conf set SKCode = '307144', Updated = now(), Updatedby = '100' where exists ( select 1 from M_Product_Ch productcha1_ where M_Product_Ch_Conf.M_Product_Ch_ID = productcha1_.M_Product_Ch_ID and M_Product_Ch_Conf.M_Ch_Value_ID = '9ED37471CFD74740B9CA3C3EDBF5840F' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '307144');[ Date: 2026-06-30 13:02:01 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
8 37s select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;[ Date: 2026-06-30 19:32:33 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
9 35s640ms select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";[ Date: 2026-06-30 19:32:55 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
10 33s987ms select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;[ Date: 2026-06-30 12:31:25 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
11 33s24ms select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";[ Date: 2026-06-30 12:31:33 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
12 21s611ms select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";[ Date: 2026-06-30 19:32:18 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
13 14s548ms select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';[ Date: 2026-06-30 12:31:05 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
14 13s876ms select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";[ Date: 2026-06-30 19:32:15 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Bind query: yes ]
15 13s496ms SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');[ Date: 2026-06-30 05:51:04 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
16 13s439ms SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');[ Date: 2026-06-30 20:10:13 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
17 13s403ms SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');[ Date: 2026-06-30 05:16:43 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
18 13s373ms SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');[ Date: 2026-06-30 06:33:36 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
19 12s541ms select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";[ Date: 2026-06-30 12:31:49 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
20 12s120ms select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';[ Date: 2026-06-30 19:32:38 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 13m29s 2 6m31s 6m57s 6m44s select mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 30 12 1 6m57s 6m57s 19 1 6m31s 6m31s [ User: tad - Total duration: 13m29s - Times executed: 2 ]
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:37:54 Duration: 6m57s Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 19:38:33 Duration: 6m31s Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:33:22 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128)
2 3m53s 2 1m44s 2m8s 1m56s select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( select ol.c_orderline_id, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, ol.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", ol.gross_unit_price, ol.grosspricelist, coalesce(p.em_gcnv_giftcardtype, ?) AS "GiftCardType", coalesce(m_get_cost (ol.m_product_id, ol.dateordered::timestamp, ?, ol.ad_org_id, ol.ad_client_id, null, ?, ?) * ol.qtyordered, ?) AS "Coste" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id where ? = ? and o.issotrx = ?) "_" where "_"."GiftCardType" = ? and "_"."GiftCardType" is not null;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 30 12 1 2m8s 2m8s 19 1 1m44s 1m44s [ User: tad - Total duration: 3m53s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m53s - Times executed: 2 ]
-
select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;
Date: 2026-06-30 12:33:24 Duration: 2m8s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;
Date: 2026-06-30 19:34:24 Duration: 1m44s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
3 3m51s 2 1m42s 2m9s 1m55s select "_"."m_warehouse_id" AS "m_warehouse_id", "_"."ad_org_id" AS "ad_org_id", "_"."Almacén" AS "Almacén", "_"."Ubicación" AS "Ubicación", "_"."m_product_id" AS "m_product_id", "_"."Cantidad" AS "Cantidad", "_"."Cantidad Reservada" AS "Cantidad Reservada", "_"."Valoración Inventario" AS "Valoración Inventario", "_"."last_purchase" AS "Fecha Ultima Compra", "_"."prix_vente" AS "Preci Venta", "_"."qty_nextproduct" AS "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name AS "Almacén", l.value AS "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, ?, sd.ad_org_id, sd.ad_client_id, null, ?, ?), ?), ?), ?) AS "Valoración Inventario", ( select coalesce(max(m_inout.movementdate), current_date) from m_inoutline left join m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id where m_inout.docstatus <> ? and m_inout.issotrx = ? and m_inoutline.m_product_id = sd.m_product_id) AS "last_purchase", ( select coalesce(max(ppr.pricestd), ?) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = ?) AS "prix_vente", coalesce(( select case when sd1.qtyonhand > ? then ? else ? end from m_storage_detail sd1 where sd.qtyonhand > ? and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select pp.m_product_id from m_product pp left join m_product_ch_value mpcv1 on mpcv1.m_product_id = pp.m_product_id and mpcv1.m_characteristic_id = ? left join m_ch_value mcv1 on mpcv1.m_ch_value_id = mcv1.m_ch_value_id left join m_product_ch_value mpcv2 on mpcv2.m_product_id = pp.m_product_id and mpcv2.m_characteristic_id = ? left join m_ch_value mcv2 on mpcv2.m_ch_value_id = mcv2.m_ch_value_id where pp.generic_product_id = p.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit ?) limit ?), ?) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = ? and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = ? and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 30 12 1 2m9s 2m9s 19 1 1m42s 1m42s [ User: tad - Total duration: 3m51s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m51s - Times executed: 2 ]
-
select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";
Date: 2026-06-30 12:33:01 Duration: 2m9s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";
Date: 2026-06-30 19:33:38 Duration: 1m42s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
4 1m10s 2 33s987ms 37s 35s493ms select p.m_product_id, p.value AS "Identificador", p.name AS "Nombre Producto", p.description AS "Descripcion Producto", p.characteristic_desc AS "Descripcion Caracteristicas", p.sku AS "SKU", p.isstocked AS "Estocable", p.ispurchased AS "Comprable", p.issold AS "Vendible", p.isgeneric AS "Generico", p.generic_product_id, p.producttype "Tipo Producto", p.imageurl "URL Imagen", b.name AS "Marca", pc.name AS "Categoria", p.m_product_category_id, ct.name AS "Tax Category", coalesce(pp.value, ?) AS "Codigo Producto Padre", coalesce(pp.name, ?) AS "Nombre Producto Padre", coalesce(mcv1.name, ?) AS "Color", coalesce(mcv2.name, ?) AS "Talla", coalesce(mcv2.em_retstk_seqno, ?) AS "Pos Talle", coalesce(mcv3.name, ?) AS "Largo", coalesce(mcv4.name, ?) AS "Tiro", coalesce(mcv5.name, ?) AS "Tema", coalesce(mcv6.name, ?) AS "Temporada", coalesce(mcv7.name, ?) AS "Coleccion", coalesce(mcv8.name, ?) AS "Wash", coalesce(mcv9.name, ?) AS "Fit", coalesce(mcv10.name, ?) AS "Marca ch", coalesce(mcv11.name, ?) AS "Pack", coalesce(mcv12.name, ?) AS "Pattern", coalesce(mcv13.name, ?) AS "Print", coalesce(mcv14.name, ?) AS "Detail", coalesce(mcv15.name, ?) AS "Checks", p.m_brand_id, cc.value AS "Campanya" from m_product p left join m_brand b on p.m_brand_id = b.m_brand_id left join m_product_category pc on pc.m_product_category_id = p.m_product_category_id left join c_taxcategory ct on ct.c_taxcategory_id = p.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product pp on pp.m_product_id = p.generic_product_id left join m_product_ch_value mpcv1 on mpcv1.m_product_id = p.m_product_id and mpcv1.m_characteristic_id = ? left join m_ch_value mcv1 on mpcv1.m_ch_value_id = mcv1.m_ch_value_id left join m_product_ch_value mpcv2 on mpcv2.m_product_id = p.m_product_id and mpcv2.m_characteristic_id = ? left join m_ch_value mcv2 on mpcv2.m_ch_value_id = mcv2.m_ch_value_id left join m_product_ch_value mpcv3 on mpcv3.m_product_id = p.m_product_id and mpcv3.m_characteristic_id = ? left join m_ch_value mcv3 on mpcv3.m_ch_value_id = mcv3.m_ch_value_id left join m_product_ch_value mpcv4 on mpcv4.m_product_id = p.m_product_id and mpcv4.m_characteristic_id = ? left join m_ch_value mcv4 on mpcv4.m_ch_value_id = mcv4.m_ch_value_id left join m_product_ch_value mpcv5 on mpcv5.m_product_id = p.m_product_id and mpcv5.m_characteristic_id = ? left join m_ch_value mcv5 on mpcv5.m_ch_value_id = mcv5.m_ch_value_id left join m_product_ch_value mpcv6 on mpcv6.m_product_id = p.m_product_id and mpcv6.m_characteristic_id = ? left join m_ch_value mcv6 on mpcv6.m_ch_value_id = mcv6.m_ch_value_id left join m_product_ch_value mpcv7 on mpcv7.m_product_id = p.m_product_id and mpcv7.m_characteristic_id = ? left join m_ch_value mcv7 on mpcv7.m_ch_value_id = mcv7.m_ch_value_id left join m_product_ch_value mpcv8 on mpcv8.m_product_id = p.m_product_id and mpcv8.m_characteristic_id = ? left join m_ch_value mcv8 on mpcv8.m_ch_value_id = mcv8.m_ch_value_id left join m_product_ch_value mpcv9 on mpcv9.m_product_id = p.m_product_id and mpcv9.m_characteristic_id = ? left join m_ch_value mcv9 on mpcv9.m_ch_value_id = mcv9.m_ch_value_id left join m_product_ch_value mpcv10 on mpcv10.m_product_id = p.m_product_id and mpcv10.m_characteristic_id = ? left join m_ch_value mcv10 on mpcv10.m_ch_value_id = mcv10.m_ch_value_id left join m_product_ch_value mpcv11 on mpcv11.m_product_id = p.m_product_id and mpcv11.m_characteristic_id = ? left join m_ch_value mcv11 on mpcv11.m_ch_value_id = mcv11.m_ch_value_id left join m_product_ch_value mpcv12 on mpcv12.m_product_id = p.m_product_id and mpcv12.m_characteristic_id = ? left join m_ch_value mcv12 on mpcv12.m_ch_value_id = mcv12.m_ch_value_id left join m_product_ch_value mpcv13 on mpcv13.m_product_id = p.m_product_id and mpcv13.m_characteristic_id = ? left join m_ch_value mcv13 on mpcv13.m_ch_value_id = mcv13.m_ch_value_id left join m_product_ch_value mpcv14 on mpcv14.m_product_id = p.m_product_id and mpcv14.m_characteristic_id = ? left join m_ch_value mcv14 on mpcv14.m_ch_value_id = mcv14.m_ch_value_id left join m_product_ch_value mpcv15 on mpcv15.m_product_id = p.m_product_id and mpcv15.m_characteristic_id = ? left join m_ch_value mcv15 on mpcv15.m_ch_value_id = mcv15.m_ch_value_id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 30 12 1 33s987ms 33s987ms 19 1 37s 37s [ User: tad - Total duration: 1m10s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m10s - Times executed: 2 ]
-
select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;
Date: 2026-06-30 19:32:33 Duration: 37s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;
Date: 2026-06-30 12:31:25 Duration: 33s987ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
5 53s713ms 4 13s373ms 13s496ms 13s428ms select * from ad_update_table_identifier (null, ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 30 05 2 26s900ms 13s450ms 06 1 13s373ms 13s373ms 20 1 13s439ms 13s439ms [ User: tad - Total duration: 53s713ms - Times executed: 4 ]
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 05:51:04 Duration: 13s496ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 20:10:13 Duration: 13s439ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 05:16:43 Duration: 13s403ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
6 47s368ms 1 47s368ms 47s368ms 47s368ms update m_product_ch_conf set skcode = ?, updated = now(), updatedby = ? where exists ( select ? from m_product_ch productcha1_ where m_product_ch_conf.m_product_ch_id = productcha1_.m_product_ch_id and m_product_ch_conf.m_ch_value_id = ? and (productcha1_.m_ch_subset_id is null) and m_product_ch_conf.skcode <> ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 30 13 1 47s368ms 47s368ms [ User: tad - Total duration: 47s368ms - Times executed: 1 ]
-
update M_Product_Ch_Conf set SKCode = '307144', Updated = now(), Updatedby = '100' where exists ( select 1 from M_Product_Ch productcha1_ where M_Product_Ch_Conf.M_Product_Ch_ID = productcha1_.M_Product_Ch_ID and M_Product_Ch_Conf.M_Ch_Value_ID = '9ED37471CFD74740B9CA3C3EDBF5840F' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '307144');
Date: 2026-06-30 13:02:01 Duration: 47s368ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
7 46s901ms 2 13s876ms 33s24ms 23s450ms select "_"."c_orderline_id" AS "c_orderline_id", "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."c_currency_id" AS "c_currency_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."line" AS "line", cast("_"."Fecha Pedido" as date) AS "Fecha Pedido", cast("_"."Fecha Comprometida" as date) AS "Fecha Comprometida", cast("_"."Fecha Enviada" as date) AS "Fecha Enviada", "_"."Descripción" AS "Descripción", "_"."Cantidad Pedido" AS "Cantidad Pedido", "_"."Precio Lista" AS "Precio Lista", "_"."Precio Actual" AS "Precio Actual", "_"."Precio Limite" AS "Precio Limite", "_"."Importe Linea" AS "Importe Linea", "_"."Descuento" AS "Descuento", "_"."Cantidad Recibida" AS "Cantidad Recibida", cast("_"."Fecha Recepción" as date) AS "Fecha Recepción" from ( select ol.c_orderline_id, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", ( select sum(movementqty) from m_inoutline iol where iol.c_orderline_id = ol.c_orderline_id) AS "Cantidad Recibida", ( select max(movementdate) from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id where iol.c_orderline_id = ol.c_orderline_id) AS "Fecha Recepción" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id where ? = ? and o.issotrx <> ?) "_";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 30 12 1 33s24ms 33s24ms 19 1 13s876ms 13s876ms [ User: tad - Total duration: 46s901ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 46s901ms - Times executed: 2 ]
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";
Date: 2026-06-30 12:31:33 Duration: 33s24ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";
Date: 2026-06-30 19:32:15 Duration: 13s876ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
8 45s697ms 2 10s56ms 35s640ms 22s848ms select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."m_pricelist_id" AS "m_pricelist_id", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."Fecha Pedido" AS "Fecha Pedido", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."TPV" AS "TPV", "_"."Vendedor" AS "Vendedor", cast("_"."Fecha Pedido" as date) AS "t0_0", cast("_"."Fecha Comprometida" as date) AS "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( select o.c_order_id, o.ad_org_id, o.isactive, o.issotrx, o.m_pricelist_id, o.documentno AS "Documento", o.docstatus AS "Estado Pedido", o.docaction AS "Accion Pedido", o.processed AS "Procesado", dt.name AS "Tipo Documento", o.description AS "Descripción", o.dateordered AS "Fecha Pedido", o.datepromised AS "Fecha Comprometida", o.c_bpartner_id, o.poreference "Referencia Proveedor", o.c_currency_id, cu.iso_code "Currency ISO", o.m_warehouse_id, cl.city AS "Ciudad", cl.postal AS "Codigo Postal", cc."name" AS "Pais", cr."name" AS "Region", oa."name" AS "TPV", us.name AS "Vendedor" from c_order o left join c_doctype dt on dt.c_doctype_id = o.c_doctype_id inner join c_currency cu on cu.c_currency_id = o.c_currency_id left join c_bpartner_location cbl on cbl.c_bpartner_location_id = o.c_bpartner_location_id left join c_location cl on cl.c_location_id = cbl.c_location_id left join c_country cc on cc.c_country_id = cl.c_country_id left join c_region cr on cr.c_region_id = cl.c_region_id left join ad_user us on us.ad_user_id = o.createdby left join obpos_applications oa on oa.obpos_applications_id = o.em_obpos_applications_id where ? = ? and o.issotrx = ?) "$Table") "_";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 30 12 1 10s56ms 10s56ms 19 1 35s640ms 35s640ms [ User: tad - Total duration: 45s697ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 35s640ms - Times executed: 1 ]
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";
Date: 2026-06-30 19:32:55 Duration: 35s640ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";
Date: 2026-06-30 12:31:56 Duration: 10s56ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
9 34s152ms 2 12s541ms 21s611ms 17s76ms select "_"."m_inoutline_id" AS "m_inoutline_id", "_"."m_inout_id" AS "m_inout_id", "_"."documentno_livraison" AS "N. Documento Albarán", "_"."documentno_commande" AS "N. Documento Pedido", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."Date Livraison" AS "Fecha Albaran", "_"."Description" AS "Descripción", "_"."Quantite" AS "Cantidad", "_"."Prix List" AS "Precio Lista", "_"."Prix Actuel" AS "Precio Actual", "_"."Prix Limite" AS "Precio Límite", "_"."Remise" AS "Descuento" from ( select max(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, max(io.documentno) as documentno_livraison, max(o.documentno) as documentno_commande, max(iol.ad_org_id) as ad_org_id, max(iol.isactive) as isactive, max(io.issotrx) as issotrx, io.c_bpartner_id, max(iol.m_product_id) as m_product_id, io.m_warehouse_id, max(p.m_product_category_id) as m_product_category_id, io.movementdate AS "Date Livraison", max(iol.description) AS "Description", sum(iol.movementqty) "Quantite", max(ol.pricelist) "Prix List", max(ol.priceactual) "Prix Actuel", max(ol.pricelimit) "Prix Limite", max(ol.discount) AS "Remise" from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id left join m_product p on p.m_product_id = iol.m_product_id left join c_orderline ol on ol.c_orderline_id = iol.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id where ? = ? and o.issotrx <> ? group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 30 12 1 12s541ms 12s541ms 19 1 21s611ms 21s611ms [ User: tad - Total duration: 34s152ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 21s611ms - Times executed: 1 ]
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 19:32:18 Duration: 21s611ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 12:31:49 Duration: 12s541ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
10 27s173ms 4 6s700ms 6s833ms 6s793ms select ad_tab.ad_tab_id as tabid, ad_tab.name as tabname, ad_window.name as windowname, ad_tab.seqno as seqno, ad_tab.tablevel as tablevel, ad_tab.name as tabnamecompact, ad_tab.ad_window_id as key, ? as td_class, ? as href, ? as td_height, ? as parent_key, ad_window.name as realwindowname, ad_tab.whereclause, ad_window.windowtype, ad_tab.issorttab, ad_tab.ad_columnsortorder_id, ad_tab.ad_columnsortyesno_id, ad_table.accesslevel, ad_tab.ad_process_id, ad_tab.uipattern, ad_tab.name as realtabname, ad_tab.orderbyclause, ? as tabnametrl, ad_table.ad_table_id as table_id, ad_tab.isinfotab, ad_tab.istranslationtab, ? as nametab, replace(replace(ad_tab.filterclause, chr(?), ?), chr(?), ?) as filterclause, ad_tab.editreference, ( case when m1.ad_module_id = ? then null else m1.javapackage end) as javapackage, ad_tab.ad_module_id as tabmodule, ad_table.isdeleteable from ad_tab, ad_window, ad_table, ad_module m1 where ad_tab.ad_window_id = ad_window.ad_window_id and ad_tab.ad_table_id = ad_table.ad_table_id and ad_table.dataorigintype = ? and ad_window.isactive = ? and ad_window.windowtype in (...) and upper(ad_window.name) like ? || upper(?) || ? and ad_tab.ad_table_id in ( select ad_table.ad_table_id from ad_column, ad_table where ad_column.ad_table_id = ad_table.ad_table_id and (ad_column.iskey = ? or ad_column.issecondarykey = ?) and ad_tab.isactive = ? and exists ( select ? from ad_tab, ad_column where ad_tab.ad_table_id = ad_column.ad_table_id and ad_tab.tablevel = ? and (ad_column.iskey = ? or ad_column.issecondarykey = ?)) and ad_tab.ad_window_id = ad_window.ad_window_id) and m1.ad_module_id = ad_window.ad_module_id and ? = ? order by ad_window.name, ad_tab.tablevel, ad_tab.seqno;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 30 05 2 13s652ms 6s826ms 06 1 6s820ms 6s820ms 20 1 6s700ms 6s700ms [ User: tad - Total duration: 27s173ms - Times executed: 4 ]
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 05:50:50 Duration: 6s833ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 06:33:22 Duration: 6s820ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 05:16:29 Duration: 6s818ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
11 26s669ms 2 12s120ms 14s548ms 13s334ms select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id AS "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name AS "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 30 12 1 14s548ms 14s548ms 19 1 12s120ms 12s120ms [ User: tad - Total duration: 26s669ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 14s548ms - Times executed: 1 ]
-
select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';
Date: 2026-06-30 12:31:05 Duration: 14s548ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';
Date: 2026-06-30 19:32:38 Duration: 12s120ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
12 19s820ms 2 9s11ms 10s809ms 9s910ms select order0_.em_obpos_islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.paidamt), ?) from fin_payment_schedule fin_paymen6_ where fin_paymen6_.c_order_id = order0_.c_order_id) as col_1_0_, order0_.em_obpos2_isdraftorder as col_2_0_, order0_.em_obpos2_queueno as col_3_0_, order0_.em_obpos2_created_in_pos as col_4_0_, case when documentty1_.isreturn = ? then to_char(?) when documentty1_.docsubtypeso = ? then to_char(?) when order0_.iscancelled = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen9_.paidamt), ?) from fin_payment_schedule fin_paymen9_ where fin_paymen9_.c_order_id = order0_.c_order_id) = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen10_.paidamt), ?) from fin_payment_schedule fin_paymen10_ where fin_paymen10_.c_order_id = order0_.c_order_id) & lt; order0_.grandtotal then to_char(?) else to_char(?) end as col_5_0_, obpos_appl4_.obpos_applications_id as col_6_0_, exists ( select ? from c_invoiceline invoicelin11_ inner join c_invoice invoice12_ on invoicelin11_.c_invoice_id = invoice12_.c_invoice_id inner join c_orderline orderline13_ on invoicelin11_.c_orderline_id = orderline13_.c_orderline_id inner join c_order order14_ on orderline13_.c_order_id = order14_.c_order_id where order14_.c_order_id = order0_.c_order_id and invoice12_.em_obpos_sequencename = ?) as col_7_0_, ( select case when count(orderline15_.c_orderline_id) > ? then true else false end from c_orderline orderline15_ inner join m_inoutline materialmg16_ on orderline15_.m_inoutline_id = materialmg16_.m_inoutline_id inner join c_orderline orderline17_ on materialmg16_.c_orderline_id = orderline17_.c_orderline_id cross join c_order order18_ where orderline15_.c_order_id = order18_.c_order_id and orderline17_.c_order_id = order0_.c_order_id and order18_.em_obpos2_isvoid = ?) as col_8_0_, ( select case when count(orderline19_.c_orderline_id) > ? then true else false end from c_orderline orderline19_ inner join m_inoutline materialmg20_ on orderline19_.m_inoutline_id = materialmg20_.m_inoutline_id inner join c_orderline orderline21_ on materialmg20_.c_orderline_id = orderline21_.c_orderline_id cross join c_order order22_ where orderline19_.c_order_id = order22_.c_order_id and orderline21_.c_order_id = order0_.c_order_id and order22_.em_obpos2_isvoid = ?) as col_9_0_, case when exists ( select ? from c_orderline orderline23_ where orderline23_.c_order_id = order0_.c_order_id and orderline23_.qtyordered < ?) then true else false end as col_10_0_, case when order0_.quotation_id is not null then true else false end as col_11_0_, exists ( select ? from c_orderline orderline24_ inner join c_order order25_ on orderline24_.c_order_id = order25_.c_order_id where order25_.c_order_id = order0_.c_order_id and (orderline24_.em_obpos_cancellableqty is null or orderline24_.em_obpos_cancellableqty <> ?)) as col_12_0_, case when order0_.em_cfis_fiscalization_result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.tax_free_number from etxf_tax_free_form etxf_tax_f26_ where etxf_tax_f26_.etxf_tax_free_form_id = order0_.em_etxf_tax_free_form_id) as col_14_0_, order0_.em_prpgr_ticketno as col_15_0_, case when documentty1_.c_doctype_id = organizati3_.em_gcnv_c_doctypegcard_id then ? else case when documentty1_.isreturn = ? then ? when documentty1_.docsubtypeso = ? then ? when order0_.em_obpos_islayaway = ? then ? else ? end end as col_16_0_, order0_.c_order_id as col_17_0_, documentty1_.c_doctype_id as col_18_0_, order0_.docstatus as col_19_0_, order0_.documentno as col_20_0_, order0_.created as col_21_0_, order0_.dateordered as col_22_0_, order0_.dateordered as col_23_0_, order0_.dateordered as col_24_0_, businesspa2_.c_bpartner_id as col_25_0_, businesspa2_.name as col_26_0_, order0_.grandtotal as col_27_0_, order0_.grandtotal as col_28_0_, order0_.grandtotal as col_29_0_, order0_.iscancelled as col_30_0_, organizati3_.ad_org_id as col_31_0_, organizati3_.value as col_32_0_, organizati3_.name as col_33_0_, organizati5_.ad_org_id as col_34_0_, organizati5_.name as col_35_0_, order0_.isdelivered as col_36_0_, order0_.bpartner_extref as col_37_0_, ( select coalesce(max(orderline29_.em_obrdm_delivery_mode), ?) from c_orderline orderline29_ where order0_.c_order_id = orderline29_.c_order_id and orderline29_.em_obpos_isdeleted = ?) as col_38_0_, ( select min( case when orderline30_.em_obrdm_delivery_date is null or orderline30_.em_obrdm_delivery_time is null then null else to_timestamp((to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?)), ?) end) from c_orderline orderline30_ where order0_.c_order_id = orderline30_.c_order_id) as col_39_0_, order0_.invoicerule as col_40_0_, order0_.em_obpos_isfullinvoice as col_41_0_, case when order0_.bpartner_extref is not null then false when (obpos_appl4_.c_bpartner_id is not null) and obpos_appl4_.c_bpartner_id = businesspa2_.c_bpartner_id then true when (organizati3_.em_obretco_c_bpartner_id is not null) and organizati3_.em_obretco_c_bpartner_id = businesspa2_.c_bpartner_id then true else false end as col_42_0_ from c_order order0_ inner join c_doctype documentty1_ on order0_.c_doctype_id = documentty1_.c_doctype_id inner join c_bpartner businesspa2_ on order0_.c_bpartner_id = businesspa2_.c_bpartner_id inner join ad_org organizati3_ on order0_.ad_org_id = organizati3_.ad_org_id inner join obpos_applications obpos_appl4_ on order0_.em_obpos_applications_id = obpos_appl4_.obpos_applications_id left outer join ad_org organizati5_ on order0_.ad_orgtrx_id = organizati5_.ad_org_id where ? = ? and ? = ? and order0_.dateordered >= to_date(?, ?) and order0_.ad_client_id = ? and order0_.ad_orgtrx_id = ? and order0_.em_obpos_isdeleted = ? and (order0_.docstatus not in (...)) and (order0_.docstatus <> ? or order0_.iscancelled = ?) order by col_21_0_ desc, col_20_0_ desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 30 07 1 10s809ms 10s809ms 15 1 9s11ms 9s11ms [ User: tad - Total duration: 19s820ms - Times executed: 2 ]
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 07:41:41 Duration: 10s809ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 15:19:03 Duration: 9s11ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = $1 and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit $2;
Date: 2026-06-30 07:41:40 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
13 18s108ms 2 7s866ms 10s241ms 9s54ms select m_productprice_id, pl.m_pricelist_id, pl.name AS "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name AS "Price List Version", plv.validfrom AS "Valid From", pp.created, pp.createdby, trunc(pp.updated) AS "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 30 12 1 7s866ms 7s866ms 19 1 10s241ms 10s241ms [ User: tad - Total duration: 18s108ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 18s108ms - Times executed: 2 ]
-
select m_productprice_id, pl.m_pricelist_id, pl.name as "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name as "Price List Version", plv.validfrom as "Valid From", pp.created, pp.createdby, trunc(pp.updated) as "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;
Date: 2026-06-30 19:32:06 Duration: 10s241ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select m_productprice_id, pl.m_pricelist_id, pl.name as "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name as "Price List Version", plv.validfrom as "Valid From", pp.created, pp.createdby, trunc(pp.updated) as "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;
Date: 2026-06-30 12:30:59 Duration: 7s866ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
14 13s74ms 2 5s462ms 7s611ms 6s537ms select this_.m_transaction_id as m_transa1_658_0_, this_.ad_client_id as ad_clien2_658_0_, this_.ad_org_id as ad_org_i3_658_0_, this_.isactive as isactive4_658_0_, this_.created as created5_658_0_, this_.createdby as createdb6_658_0_, this_.updated as updated7_658_0_, this_.updatedby as updatedb8_658_0_, this_.movementtype as movement9_658_0_, this_.m_locator_id as m_locat10_658_0_, this_.m_product_id as m_produ11_658_0_, this_.movementdate as movemen12_658_0_, this_.movementqty as movemen13_658_0_, this_.m_inventoryline_id as m_inven14_658_0_, this_.m_movementline_id as m_movem15_658_0_, this_.m_inoutline_id as m_inout16_658_0_, this_.m_productionline_id as m_produ17_658_0_, this_.c_projectissue_id as c_proje18_658_0_, this_.m_attributesetinstance_id as m_attri19_658_0_, this_.m_product_uom_id as m_produ20_658_0_, this_.quantityorder as quantit21_658_0_, this_.c_uom_id as c_uom_i22_658_0_, this_.m_internal_consumptionline_id as m_inter23_658_0_, this_.transactioncost as transac24_658_0_, this_.trxprocessdate as trxproc25_658_0_, this_.m_costing_algorithm_id as m_costi26_658_0_, this_.iscostcalculated as iscostc27_658_0_, this_.c_currency_id as c_curre28_658_0_, this_.costing_status as costing29_658_0_, this_.checkreservedqty as checkre30_658_0_, this_.isprocessed as isproce31_658_0_, this_.checkpricedifference as checkpr32_658_0_, this_.em_prouti_exported as em_prou33_658_0_, this_.manualcostadjustment as manualc34_658_0_, this_.iscostpermanent as iscostp35_658_0_, this_.em_pricm_inoutline_id as em_pric36_658_0_ from m_transaction this_ where this_.checkpricedifference = ? and this_.iscostcalculated = ? and this_.ad_org_id in (...) and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ? order by this_.movementdate asc, this_.trxprocessdate asc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 30 01 1 5s462ms 5s462ms 13 1 7s611ms 7s611ms [ User: tad - Total duration: 13s74ms - Times executed: 2 ]
-
select this_.M_Transaction_ID as m_transa1_658_0_, this_.AD_Client_ID as ad_clien2_658_0_, this_.AD_Org_ID as ad_org_i3_658_0_, this_.IsActive as isactive4_658_0_, this_.Created as created5_658_0_, this_.CreatedBy as createdb6_658_0_, this_.Updated as updated7_658_0_, this_.UpdatedBy as updatedb8_658_0_, this_.MovementType as movement9_658_0_, this_.M_Locator_ID as m_locat10_658_0_, this_.M_Product_ID as m_produ11_658_0_, this_.MovementDate as movemen12_658_0_, this_.MovementQty as movemen13_658_0_, this_.M_InventoryLine_ID as m_inven14_658_0_, this_.M_MovementLine_ID as m_movem15_658_0_, this_.M_InOutLine_ID as m_inout16_658_0_, this_.M_ProductionLine_ID as m_produ17_658_0_, this_.C_ProjectIssue_ID as c_proje18_658_0_, this_.M_AttributeSetInstance_ID as m_attri19_658_0_, this_.M_Product_Uom_Id as m_produ20_658_0_, this_.QuantityOrder as quantit21_658_0_, this_.C_UOM_ID as c_uom_i22_658_0_, this_.M_Internal_Consumptionline_ID as m_inter23_658_0_, this_.TransactionCost as transac24_658_0_, this_.TrxProcessDate as trxproc25_658_0_, this_.M_Costing_Algorithm_ID as m_costi26_658_0_, this_.IsCostCalculated as iscostc27_658_0_, this_.C_Currency_ID as c_curre28_658_0_, this_.Costing_Status as costing29_658_0_, this_.Checkreservedqty as checkre30_658_0_, this_.Isprocessed as isproce31_658_0_, this_.Checkpricedifference as checkpr32_658_0_, this_.EM_Prouti_Exported as em_prou33_658_0_, this_.Manualcostadjustment as manualc34_658_0_, this_.IsCostPermanent as iscostp35_658_0_, this_.EM_Pricm_Inoutline_ID as em_pric36_658_0_ from M_Transaction this_ where this_.Checkpricedifference = 'Y' and this_.IsCostCalculated = 'Y' and this_.AD_Org_ID in ('0217C3DD1A5D451C9BD8671ED45719B9') and this_.AD_Org_ID in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '0', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and this_.AD_Client_ID in ('9032A5586FD74B7AA85361E71EEB6E37', '0') and this_.IsActive = 'Y' order by this_.MovementDate asc, this_.TrxProcessDate asc;
Date: 2026-06-30 13:00:08 Duration: 7s611ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select this_.M_Transaction_ID as m_transa1_658_0_, this_.AD_Client_ID as ad_clien2_658_0_, this_.AD_Org_ID as ad_org_i3_658_0_, this_.IsActive as isactive4_658_0_, this_.Created as created5_658_0_, this_.CreatedBy as createdb6_658_0_, this_.Updated as updated7_658_0_, this_.UpdatedBy as updatedb8_658_0_, this_.MovementType as movement9_658_0_, this_.M_Locator_ID as m_locat10_658_0_, this_.M_Product_ID as m_produ11_658_0_, this_.MovementDate as movemen12_658_0_, this_.MovementQty as movemen13_658_0_, this_.M_InventoryLine_ID as m_inven14_658_0_, this_.M_MovementLine_ID as m_movem15_658_0_, this_.M_InOutLine_ID as m_inout16_658_0_, this_.M_ProductionLine_ID as m_produ17_658_0_, this_.C_ProjectIssue_ID as c_proje18_658_0_, this_.M_AttributeSetInstance_ID as m_attri19_658_0_, this_.M_Product_Uom_Id as m_produ20_658_0_, this_.QuantityOrder as quantit21_658_0_, this_.C_UOM_ID as c_uom_i22_658_0_, this_.M_Internal_Consumptionline_ID as m_inter23_658_0_, this_.TransactionCost as transac24_658_0_, this_.TrxProcessDate as trxproc25_658_0_, this_.M_Costing_Algorithm_ID as m_costi26_658_0_, this_.IsCostCalculated as iscostc27_658_0_, this_.C_Currency_ID as c_curre28_658_0_, this_.Costing_Status as costing29_658_0_, this_.Checkreservedqty as checkre30_658_0_, this_.Isprocessed as isproce31_658_0_, this_.Checkpricedifference as checkpr32_658_0_, this_.EM_Prouti_Exported as em_prou33_658_0_, this_.Manualcostadjustment as manualc34_658_0_, this_.IsCostPermanent as iscostp35_658_0_, this_.EM_Pricm_Inoutline_ID as em_pric36_658_0_ from M_Transaction this_ where this_.Checkpricedifference = 'Y' and this_.IsCostCalculated = 'Y' and this_.AD_Org_ID in ('0217C3DD1A5D451C9BD8671ED45719B9') and this_.AD_Org_ID in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '0', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and this_.AD_Client_ID in ('9032A5586FD74B7AA85361E71EEB6E37', '0') and this_.IsActive = 'Y' order by this_.MovementDate asc, this_.TrxProcessDate asc;
Date: 2026-06-30 01:00:05 Duration: 5s462ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
15 9s355ms 1 9s355ms 9s355ms 9s355ms select ? || ad_orginfo.taxid as vatorg, c_orderline_id, c_order.c_order_id, ad_org.em_prbs_gln, ad_org.name as nameorg, coalesce(c_orderline.line_gross_amount, c_orderline.linenetamt) as importelinea, case when c_orderline.qtyordered > ? then c_orderline.qtyordered else ? end as qtyordered, case when c_orderline.qtyordered < ? then abs(c_orderline.qtyordered) else ? end as qtyreturned, c_currency.iso_code as currencycode, m_product.upc as upcproduct from c_order left join c_doctype on c_doctype.c_doctype_id = coalesce(c_order.c_doctypetarget_id, c_order.c_doctype_id) left join c_orderline on c_orderline.c_order_id = c_order.c_order_id left join m_product on m_product.m_product_id = c_orderline.m_product_id left join ad_org on ad_org.ad_org_id = c_order.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join c_currency on c_currency.c_currency_id = c_orderline.c_currency_id where ad_org.em_prbs_gln is not null and c_order.em_prbs_isexported = ? and c_doctype.issotrx = ? and exists ( select ? from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) and trunc(c_order.created) >= trunc(coalesce(( select initial_date_export_orders from prbs_conf where prbs_conf_id = ?), now() - ?)) order by ?, ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 30 06 1 9s355ms 9s355ms [ User: tad - Total duration: 9s355ms - Times executed: 1 ]
-
select 'ES' || ad_orginfo.taxid as vatorg, c_orderline_id, c_order.c_order_id, ad_org.em_prbs_gln, ad_org.name as nameorg, coalesce(c_orderline.line_gross_amount, c_orderline.linenetamt) as importelinea, case when c_orderline.qtyordered > 0 then c_orderline.qtyordered else 0 end as qtyordered, case when c_orderline.qtyordered < 0 then abs(c_orderline.qtyordered) else 0 end as qtyreturned, c_currency.iso_code as currencycode, m_product.upc as upcproduct from c_order left join c_doctype on c_doctype.c_doctype_id = coalesce(c_order.c_doctypetarget_id, c_order.c_doctype_id) left join c_orderline on c_orderline.c_order_id = c_order.c_order_id left join m_product on m_product.m_product_id = c_orderline.m_product_id left join ad_org on ad_org.ad_org_id = c_order.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join c_currency on c_currency.c_currency_id = c_orderline.c_currency_id where ad_org.em_prbs_gln is not null and c_order.em_prbs_isexported = 'N' and c_doctype.issotrx = 'Y' and exists ( select 1 from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) and trunc(c_order.created) >= trunc(coalesce(( select initial_date_export_orders from prbs_conf where prbs_conf_id = '54C515E3EA2D4D1D8C119FFBBDFDC16C'), now() - 1)) order by 1, 4;
Date: 2026-06-30 06:00:12 Duration: 9s355ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4 53s713ms 13s373ms 13s496ms 13s428ms select * from ad_update_table_identifier (null, ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 30 05 2 26s900ms 13s450ms 06 1 13s373ms 13s373ms 20 1 13s439ms 13s439ms [ User: tad - Total duration: 53s713ms - Times executed: 4 ]
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 05:51:04 Duration: 13s496ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 20:10:13 Duration: 13s439ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 05:16:43 Duration: 13s403ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
2 4 27s173ms 6s700ms 6s833ms 6s793ms select ad_tab.ad_tab_id as tabid, ad_tab.name as tabname, ad_window.name as windowname, ad_tab.seqno as seqno, ad_tab.tablevel as tablevel, ad_tab.name as tabnamecompact, ad_tab.ad_window_id as key, ? as td_class, ? as href, ? as td_height, ? as parent_key, ad_window.name as realwindowname, ad_tab.whereclause, ad_window.windowtype, ad_tab.issorttab, ad_tab.ad_columnsortorder_id, ad_tab.ad_columnsortyesno_id, ad_table.accesslevel, ad_tab.ad_process_id, ad_tab.uipattern, ad_tab.name as realtabname, ad_tab.orderbyclause, ? as tabnametrl, ad_table.ad_table_id as table_id, ad_tab.isinfotab, ad_tab.istranslationtab, ? as nametab, replace(replace(ad_tab.filterclause, chr(?), ?), chr(?), ?) as filterclause, ad_tab.editreference, ( case when m1.ad_module_id = ? then null else m1.javapackage end) as javapackage, ad_tab.ad_module_id as tabmodule, ad_table.isdeleteable from ad_tab, ad_window, ad_table, ad_module m1 where ad_tab.ad_window_id = ad_window.ad_window_id and ad_tab.ad_table_id = ad_table.ad_table_id and ad_table.dataorigintype = ? and ad_window.isactive = ? and ad_window.windowtype in (...) and upper(ad_window.name) like ? || upper(?) || ? and ad_tab.ad_table_id in ( select ad_table.ad_table_id from ad_column, ad_table where ad_column.ad_table_id = ad_table.ad_table_id and (ad_column.iskey = ? or ad_column.issecondarykey = ?) and ad_tab.isactive = ? and exists ( select ? from ad_tab, ad_column where ad_tab.ad_table_id = ad_column.ad_table_id and ad_tab.tablevel = ? and (ad_column.iskey = ? or ad_column.issecondarykey = ?)) and ad_tab.ad_window_id = ad_window.ad_window_id) and m1.ad_module_id = ad_window.ad_module_id and ? = ? order by ad_window.name, ad_tab.tablevel, ad_tab.seqno;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 30 05 2 13s652ms 6s826ms 06 1 6s820ms 6s820ms 20 1 6s700ms 6s700ms [ User: tad - Total duration: 27s173ms - Times executed: 4 ]
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 05:50:50 Duration: 6s833ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 06:33:22 Duration: 6s820ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 05:16:29 Duration: 6s818ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
3 2 13m29s 6m31s 6m57s 6m44s select mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 30 12 1 6m57s 6m57s 19 1 6m31s 6m31s [ User: tad - Total duration: 13m29s - Times executed: 2 ]
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:37:54 Duration: 6m57s Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 19:38:33 Duration: 6m31s Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:33:22 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128)
4 2 3m53s 1m44s 2m8s 1m56s select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( select ol.c_orderline_id, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, ol.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", ol.gross_unit_price, ol.grosspricelist, coalesce(p.em_gcnv_giftcardtype, ?) AS "GiftCardType", coalesce(m_get_cost (ol.m_product_id, ol.dateordered::timestamp, ?, ol.ad_org_id, ol.ad_client_id, null, ?, ?) * ol.qtyordered, ?) AS "Coste" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id where ? = ? and o.issotrx = ?) "_" where "_"."GiftCardType" = ? and "_"."GiftCardType" is not null;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 30 12 1 2m8s 2m8s 19 1 1m44s 1m44s [ User: tad - Total duration: 3m53s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m53s - Times executed: 2 ]
-
select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;
Date: 2026-06-30 12:33:24 Duration: 2m8s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;
Date: 2026-06-30 19:34:24 Duration: 1m44s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
5 2 3m51s 1m42s 2m9s 1m55s select "_"."m_warehouse_id" AS "m_warehouse_id", "_"."ad_org_id" AS "ad_org_id", "_"."Almacén" AS "Almacén", "_"."Ubicación" AS "Ubicación", "_"."m_product_id" AS "m_product_id", "_"."Cantidad" AS "Cantidad", "_"."Cantidad Reservada" AS "Cantidad Reservada", "_"."Valoración Inventario" AS "Valoración Inventario", "_"."last_purchase" AS "Fecha Ultima Compra", "_"."prix_vente" AS "Preci Venta", "_"."qty_nextproduct" AS "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name AS "Almacén", l.value AS "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, ?, sd.ad_org_id, sd.ad_client_id, null, ?, ?), ?), ?), ?) AS "Valoración Inventario", ( select coalesce(max(m_inout.movementdate), current_date) from m_inoutline left join m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id where m_inout.docstatus <> ? and m_inout.issotrx = ? and m_inoutline.m_product_id = sd.m_product_id) AS "last_purchase", ( select coalesce(max(ppr.pricestd), ?) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = ?) AS "prix_vente", coalesce(( select case when sd1.qtyonhand > ? then ? else ? end from m_storage_detail sd1 where sd.qtyonhand > ? and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select pp.m_product_id from m_product pp left join m_product_ch_value mpcv1 on mpcv1.m_product_id = pp.m_product_id and mpcv1.m_characteristic_id = ? left join m_ch_value mcv1 on mpcv1.m_ch_value_id = mcv1.m_ch_value_id left join m_product_ch_value mpcv2 on mpcv2.m_product_id = pp.m_product_id and mpcv2.m_characteristic_id = ? left join m_ch_value mcv2 on mpcv2.m_ch_value_id = mcv2.m_ch_value_id where pp.generic_product_id = p.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit ?) limit ?), ?) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = ? and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = ? and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 30 12 1 2m9s 2m9s 19 1 1m42s 1m42s [ User: tad - Total duration: 3m51s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m51s - Times executed: 2 ]
-
select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";
Date: 2026-06-30 12:33:01 Duration: 2m9s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";
Date: 2026-06-30 19:33:38 Duration: 1m42s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
6 2 1m10s 33s987ms 37s 35s493ms select p.m_product_id, p.value AS "Identificador", p.name AS "Nombre Producto", p.description AS "Descripcion Producto", p.characteristic_desc AS "Descripcion Caracteristicas", p.sku AS "SKU", p.isstocked AS "Estocable", p.ispurchased AS "Comprable", p.issold AS "Vendible", p.isgeneric AS "Generico", p.generic_product_id, p.producttype "Tipo Producto", p.imageurl "URL Imagen", b.name AS "Marca", pc.name AS "Categoria", p.m_product_category_id, ct.name AS "Tax Category", coalesce(pp.value, ?) AS "Codigo Producto Padre", coalesce(pp.name, ?) AS "Nombre Producto Padre", coalesce(mcv1.name, ?) AS "Color", coalesce(mcv2.name, ?) AS "Talla", coalesce(mcv2.em_retstk_seqno, ?) AS "Pos Talle", coalesce(mcv3.name, ?) AS "Largo", coalesce(mcv4.name, ?) AS "Tiro", coalesce(mcv5.name, ?) AS "Tema", coalesce(mcv6.name, ?) AS "Temporada", coalesce(mcv7.name, ?) AS "Coleccion", coalesce(mcv8.name, ?) AS "Wash", coalesce(mcv9.name, ?) AS "Fit", coalesce(mcv10.name, ?) AS "Marca ch", coalesce(mcv11.name, ?) AS "Pack", coalesce(mcv12.name, ?) AS "Pattern", coalesce(mcv13.name, ?) AS "Print", coalesce(mcv14.name, ?) AS "Detail", coalesce(mcv15.name, ?) AS "Checks", p.m_brand_id, cc.value AS "Campanya" from m_product p left join m_brand b on p.m_brand_id = b.m_brand_id left join m_product_category pc on pc.m_product_category_id = p.m_product_category_id left join c_taxcategory ct on ct.c_taxcategory_id = p.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product pp on pp.m_product_id = p.generic_product_id left join m_product_ch_value mpcv1 on mpcv1.m_product_id = p.m_product_id and mpcv1.m_characteristic_id = ? left join m_ch_value mcv1 on mpcv1.m_ch_value_id = mcv1.m_ch_value_id left join m_product_ch_value mpcv2 on mpcv2.m_product_id = p.m_product_id and mpcv2.m_characteristic_id = ? left join m_ch_value mcv2 on mpcv2.m_ch_value_id = mcv2.m_ch_value_id left join m_product_ch_value mpcv3 on mpcv3.m_product_id = p.m_product_id and mpcv3.m_characteristic_id = ? left join m_ch_value mcv3 on mpcv3.m_ch_value_id = mcv3.m_ch_value_id left join m_product_ch_value mpcv4 on mpcv4.m_product_id = p.m_product_id and mpcv4.m_characteristic_id = ? left join m_ch_value mcv4 on mpcv4.m_ch_value_id = mcv4.m_ch_value_id left join m_product_ch_value mpcv5 on mpcv5.m_product_id = p.m_product_id and mpcv5.m_characteristic_id = ? left join m_ch_value mcv5 on mpcv5.m_ch_value_id = mcv5.m_ch_value_id left join m_product_ch_value mpcv6 on mpcv6.m_product_id = p.m_product_id and mpcv6.m_characteristic_id = ? left join m_ch_value mcv6 on mpcv6.m_ch_value_id = mcv6.m_ch_value_id left join m_product_ch_value mpcv7 on mpcv7.m_product_id = p.m_product_id and mpcv7.m_characteristic_id = ? left join m_ch_value mcv7 on mpcv7.m_ch_value_id = mcv7.m_ch_value_id left join m_product_ch_value mpcv8 on mpcv8.m_product_id = p.m_product_id and mpcv8.m_characteristic_id = ? left join m_ch_value mcv8 on mpcv8.m_ch_value_id = mcv8.m_ch_value_id left join m_product_ch_value mpcv9 on mpcv9.m_product_id = p.m_product_id and mpcv9.m_characteristic_id = ? left join m_ch_value mcv9 on mpcv9.m_ch_value_id = mcv9.m_ch_value_id left join m_product_ch_value mpcv10 on mpcv10.m_product_id = p.m_product_id and mpcv10.m_characteristic_id = ? left join m_ch_value mcv10 on mpcv10.m_ch_value_id = mcv10.m_ch_value_id left join m_product_ch_value mpcv11 on mpcv11.m_product_id = p.m_product_id and mpcv11.m_characteristic_id = ? left join m_ch_value mcv11 on mpcv11.m_ch_value_id = mcv11.m_ch_value_id left join m_product_ch_value mpcv12 on mpcv12.m_product_id = p.m_product_id and mpcv12.m_characteristic_id = ? left join m_ch_value mcv12 on mpcv12.m_ch_value_id = mcv12.m_ch_value_id left join m_product_ch_value mpcv13 on mpcv13.m_product_id = p.m_product_id and mpcv13.m_characteristic_id = ? left join m_ch_value mcv13 on mpcv13.m_ch_value_id = mcv13.m_ch_value_id left join m_product_ch_value mpcv14 on mpcv14.m_product_id = p.m_product_id and mpcv14.m_characteristic_id = ? left join m_ch_value mcv14 on mpcv14.m_ch_value_id = mcv14.m_ch_value_id left join m_product_ch_value mpcv15 on mpcv15.m_product_id = p.m_product_id and mpcv15.m_characteristic_id = ? left join m_ch_value mcv15 on mpcv15.m_ch_value_id = mcv15.m_ch_value_id;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 30 12 1 33s987ms 33s987ms 19 1 37s 37s [ User: tad - Total duration: 1m10s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m10s - Times executed: 2 ]
-
select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;
Date: 2026-06-30 19:32:33 Duration: 37s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;
Date: 2026-06-30 12:31:25 Duration: 33s987ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
7 2 46s901ms 13s876ms 33s24ms 23s450ms select "_"."c_orderline_id" AS "c_orderline_id", "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."c_currency_id" AS "c_currency_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."line" AS "line", cast("_"."Fecha Pedido" as date) AS "Fecha Pedido", cast("_"."Fecha Comprometida" as date) AS "Fecha Comprometida", cast("_"."Fecha Enviada" as date) AS "Fecha Enviada", "_"."Descripción" AS "Descripción", "_"."Cantidad Pedido" AS "Cantidad Pedido", "_"."Precio Lista" AS "Precio Lista", "_"."Precio Actual" AS "Precio Actual", "_"."Precio Limite" AS "Precio Limite", "_"."Importe Linea" AS "Importe Linea", "_"."Descuento" AS "Descuento", "_"."Cantidad Recibida" AS "Cantidad Recibida", cast("_"."Fecha Recepción" as date) AS "Fecha Recepción" from ( select ol.c_orderline_id, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", ( select sum(movementqty) from m_inoutline iol where iol.c_orderline_id = ol.c_orderline_id) AS "Cantidad Recibida", ( select max(movementdate) from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id where iol.c_orderline_id = ol.c_orderline_id) AS "Fecha Recepción" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id where ? = ? and o.issotrx <> ?) "_";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 30 12 1 33s24ms 33s24ms 19 1 13s876ms 13s876ms [ User: tad - Total duration: 46s901ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 46s901ms - Times executed: 2 ]
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";
Date: 2026-06-30 12:31:33 Duration: 33s24ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";
Date: 2026-06-30 19:32:15 Duration: 13s876ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
8 2 45s697ms 10s56ms 35s640ms 22s848ms select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."m_pricelist_id" AS "m_pricelist_id", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."Fecha Pedido" AS "Fecha Pedido", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."TPV" AS "TPV", "_"."Vendedor" AS "Vendedor", cast("_"."Fecha Pedido" as date) AS "t0_0", cast("_"."Fecha Comprometida" as date) AS "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( select o.c_order_id, o.ad_org_id, o.isactive, o.issotrx, o.m_pricelist_id, o.documentno AS "Documento", o.docstatus AS "Estado Pedido", o.docaction AS "Accion Pedido", o.processed AS "Procesado", dt.name AS "Tipo Documento", o.description AS "Descripción", o.dateordered AS "Fecha Pedido", o.datepromised AS "Fecha Comprometida", o.c_bpartner_id, o.poreference "Referencia Proveedor", o.c_currency_id, cu.iso_code "Currency ISO", o.m_warehouse_id, cl.city AS "Ciudad", cl.postal AS "Codigo Postal", cc."name" AS "Pais", cr."name" AS "Region", oa."name" AS "TPV", us.name AS "Vendedor" from c_order o left join c_doctype dt on dt.c_doctype_id = o.c_doctype_id inner join c_currency cu on cu.c_currency_id = o.c_currency_id left join c_bpartner_location cbl on cbl.c_bpartner_location_id = o.c_bpartner_location_id left join c_location cl on cl.c_location_id = cbl.c_location_id left join c_country cc on cc.c_country_id = cl.c_country_id left join c_region cr on cr.c_region_id = cl.c_region_id left join ad_user us on us.ad_user_id = o.createdby left join obpos_applications oa on oa.obpos_applications_id = o.em_obpos_applications_id where ? = ? and o.issotrx = ?) "$Table") "_";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 30 12 1 10s56ms 10s56ms 19 1 35s640ms 35s640ms [ User: tad - Total duration: 45s697ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 35s640ms - Times executed: 1 ]
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";
Date: 2026-06-30 19:32:55 Duration: 35s640ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";
Date: 2026-06-30 12:31:56 Duration: 10s56ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
9 2 34s152ms 12s541ms 21s611ms 17s76ms select "_"."m_inoutline_id" AS "m_inoutline_id", "_"."m_inout_id" AS "m_inout_id", "_"."documentno_livraison" AS "N. Documento Albarán", "_"."documentno_commande" AS "N. Documento Pedido", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."Date Livraison" AS "Fecha Albaran", "_"."Description" AS "Descripción", "_"."Quantite" AS "Cantidad", "_"."Prix List" AS "Precio Lista", "_"."Prix Actuel" AS "Precio Actual", "_"."Prix Limite" AS "Precio Límite", "_"."Remise" AS "Descuento" from ( select max(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, max(io.documentno) as documentno_livraison, max(o.documentno) as documentno_commande, max(iol.ad_org_id) as ad_org_id, max(iol.isactive) as isactive, max(io.issotrx) as issotrx, io.c_bpartner_id, max(iol.m_product_id) as m_product_id, io.m_warehouse_id, max(p.m_product_category_id) as m_product_category_id, io.movementdate AS "Date Livraison", max(iol.description) AS "Description", sum(iol.movementqty) "Quantite", max(ol.pricelist) "Prix List", max(ol.priceactual) "Prix Actuel", max(ol.pricelimit) "Prix Limite", max(ol.discount) AS "Remise" from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id left join m_product p on p.m_product_id = iol.m_product_id left join c_orderline ol on ol.c_orderline_id = iol.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id where ? = ? and o.issotrx <> ? group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 30 12 1 12s541ms 12s541ms 19 1 21s611ms 21s611ms [ User: tad - Total duration: 34s152ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 21s611ms - Times executed: 1 ]
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 19:32:18 Duration: 21s611ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 12:31:49 Duration: 12s541ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
10 2 26s669ms 12s120ms 14s548ms 13s334ms select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id AS "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name AS "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 30 12 1 14s548ms 14s548ms 19 1 12s120ms 12s120ms [ User: tad - Total duration: 26s669ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 14s548ms - Times executed: 1 ]
-
select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';
Date: 2026-06-30 12:31:05 Duration: 14s548ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';
Date: 2026-06-30 19:32:38 Duration: 12s120ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
11 2 19s820ms 9s11ms 10s809ms 9s910ms select order0_.em_obpos_islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.paidamt), ?) from fin_payment_schedule fin_paymen6_ where fin_paymen6_.c_order_id = order0_.c_order_id) as col_1_0_, order0_.em_obpos2_isdraftorder as col_2_0_, order0_.em_obpos2_queueno as col_3_0_, order0_.em_obpos2_created_in_pos as col_4_0_, case when documentty1_.isreturn = ? then to_char(?) when documentty1_.docsubtypeso = ? then to_char(?) when order0_.iscancelled = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen9_.paidamt), ?) from fin_payment_schedule fin_paymen9_ where fin_paymen9_.c_order_id = order0_.c_order_id) = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen10_.paidamt), ?) from fin_payment_schedule fin_paymen10_ where fin_paymen10_.c_order_id = order0_.c_order_id) & lt; order0_.grandtotal then to_char(?) else to_char(?) end as col_5_0_, obpos_appl4_.obpos_applications_id as col_6_0_, exists ( select ? from c_invoiceline invoicelin11_ inner join c_invoice invoice12_ on invoicelin11_.c_invoice_id = invoice12_.c_invoice_id inner join c_orderline orderline13_ on invoicelin11_.c_orderline_id = orderline13_.c_orderline_id inner join c_order order14_ on orderline13_.c_order_id = order14_.c_order_id where order14_.c_order_id = order0_.c_order_id and invoice12_.em_obpos_sequencename = ?) as col_7_0_, ( select case when count(orderline15_.c_orderline_id) > ? then true else false end from c_orderline orderline15_ inner join m_inoutline materialmg16_ on orderline15_.m_inoutline_id = materialmg16_.m_inoutline_id inner join c_orderline orderline17_ on materialmg16_.c_orderline_id = orderline17_.c_orderline_id cross join c_order order18_ where orderline15_.c_order_id = order18_.c_order_id and orderline17_.c_order_id = order0_.c_order_id and order18_.em_obpos2_isvoid = ?) as col_8_0_, ( select case when count(orderline19_.c_orderline_id) > ? then true else false end from c_orderline orderline19_ inner join m_inoutline materialmg20_ on orderline19_.m_inoutline_id = materialmg20_.m_inoutline_id inner join c_orderline orderline21_ on materialmg20_.c_orderline_id = orderline21_.c_orderline_id cross join c_order order22_ where orderline19_.c_order_id = order22_.c_order_id and orderline21_.c_order_id = order0_.c_order_id and order22_.em_obpos2_isvoid = ?) as col_9_0_, case when exists ( select ? from c_orderline orderline23_ where orderline23_.c_order_id = order0_.c_order_id and orderline23_.qtyordered < ?) then true else false end as col_10_0_, case when order0_.quotation_id is not null then true else false end as col_11_0_, exists ( select ? from c_orderline orderline24_ inner join c_order order25_ on orderline24_.c_order_id = order25_.c_order_id where order25_.c_order_id = order0_.c_order_id and (orderline24_.em_obpos_cancellableqty is null or orderline24_.em_obpos_cancellableqty <> ?)) as col_12_0_, case when order0_.em_cfis_fiscalization_result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.tax_free_number from etxf_tax_free_form etxf_tax_f26_ where etxf_tax_f26_.etxf_tax_free_form_id = order0_.em_etxf_tax_free_form_id) as col_14_0_, order0_.em_prpgr_ticketno as col_15_0_, case when documentty1_.c_doctype_id = organizati3_.em_gcnv_c_doctypegcard_id then ? else case when documentty1_.isreturn = ? then ? when documentty1_.docsubtypeso = ? then ? when order0_.em_obpos_islayaway = ? then ? else ? end end as col_16_0_, order0_.c_order_id as col_17_0_, documentty1_.c_doctype_id as col_18_0_, order0_.docstatus as col_19_0_, order0_.documentno as col_20_0_, order0_.created as col_21_0_, order0_.dateordered as col_22_0_, order0_.dateordered as col_23_0_, order0_.dateordered as col_24_0_, businesspa2_.c_bpartner_id as col_25_0_, businesspa2_.name as col_26_0_, order0_.grandtotal as col_27_0_, order0_.grandtotal as col_28_0_, order0_.grandtotal as col_29_0_, order0_.iscancelled as col_30_0_, organizati3_.ad_org_id as col_31_0_, organizati3_.value as col_32_0_, organizati3_.name as col_33_0_, organizati5_.ad_org_id as col_34_0_, organizati5_.name as col_35_0_, order0_.isdelivered as col_36_0_, order0_.bpartner_extref as col_37_0_, ( select coalesce(max(orderline29_.em_obrdm_delivery_mode), ?) from c_orderline orderline29_ where order0_.c_order_id = orderline29_.c_order_id and orderline29_.em_obpos_isdeleted = ?) as col_38_0_, ( select min( case when orderline30_.em_obrdm_delivery_date is null or orderline30_.em_obrdm_delivery_time is null then null else to_timestamp((to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?)), ?) end) from c_orderline orderline30_ where order0_.c_order_id = orderline30_.c_order_id) as col_39_0_, order0_.invoicerule as col_40_0_, order0_.em_obpos_isfullinvoice as col_41_0_, case when order0_.bpartner_extref is not null then false when (obpos_appl4_.c_bpartner_id is not null) and obpos_appl4_.c_bpartner_id = businesspa2_.c_bpartner_id then true when (organizati3_.em_obretco_c_bpartner_id is not null) and organizati3_.em_obretco_c_bpartner_id = businesspa2_.c_bpartner_id then true else false end as col_42_0_ from c_order order0_ inner join c_doctype documentty1_ on order0_.c_doctype_id = documentty1_.c_doctype_id inner join c_bpartner businesspa2_ on order0_.c_bpartner_id = businesspa2_.c_bpartner_id inner join ad_org organizati3_ on order0_.ad_org_id = organizati3_.ad_org_id inner join obpos_applications obpos_appl4_ on order0_.em_obpos_applications_id = obpos_appl4_.obpos_applications_id left outer join ad_org organizati5_ on order0_.ad_orgtrx_id = organizati5_.ad_org_id where ? = ? and ? = ? and order0_.dateordered >= to_date(?, ?) and order0_.ad_client_id = ? and order0_.ad_orgtrx_id = ? and order0_.em_obpos_isdeleted = ? and (order0_.docstatus not in (...)) and (order0_.docstatus <> ? or order0_.iscancelled = ?) order by col_21_0_ desc, col_20_0_ desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 30 07 1 10s809ms 10s809ms 15 1 9s11ms 9s11ms [ User: tad - Total duration: 19s820ms - Times executed: 2 ]
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 07:41:41 Duration: 10s809ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 15:19:03 Duration: 9s11ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = $1 and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit $2;
Date: 2026-06-30 07:41:40 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
12 2 18s108ms 7s866ms 10s241ms 9s54ms select m_productprice_id, pl.m_pricelist_id, pl.name AS "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name AS "Price List Version", plv.validfrom AS "Valid From", pp.created, pp.createdby, trunc(pp.updated) AS "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 30 12 1 7s866ms 7s866ms 19 1 10s241ms 10s241ms [ User: tad - Total duration: 18s108ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 18s108ms - Times executed: 2 ]
-
select m_productprice_id, pl.m_pricelist_id, pl.name as "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name as "Price List Version", plv.validfrom as "Valid From", pp.created, pp.createdby, trunc(pp.updated) as "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;
Date: 2026-06-30 19:32:06 Duration: 10s241ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select m_productprice_id, pl.m_pricelist_id, pl.name as "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name as "Price List Version", plv.validfrom as "Valid From", pp.created, pp.createdby, trunc(pp.updated) as "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;
Date: 2026-06-30 12:30:59 Duration: 7s866ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
13 2 13s74ms 5s462ms 7s611ms 6s537ms select this_.m_transaction_id as m_transa1_658_0_, this_.ad_client_id as ad_clien2_658_0_, this_.ad_org_id as ad_org_i3_658_0_, this_.isactive as isactive4_658_0_, this_.created as created5_658_0_, this_.createdby as createdb6_658_0_, this_.updated as updated7_658_0_, this_.updatedby as updatedb8_658_0_, this_.movementtype as movement9_658_0_, this_.m_locator_id as m_locat10_658_0_, this_.m_product_id as m_produ11_658_0_, this_.movementdate as movemen12_658_0_, this_.movementqty as movemen13_658_0_, this_.m_inventoryline_id as m_inven14_658_0_, this_.m_movementline_id as m_movem15_658_0_, this_.m_inoutline_id as m_inout16_658_0_, this_.m_productionline_id as m_produ17_658_0_, this_.c_projectissue_id as c_proje18_658_0_, this_.m_attributesetinstance_id as m_attri19_658_0_, this_.m_product_uom_id as m_produ20_658_0_, this_.quantityorder as quantit21_658_0_, this_.c_uom_id as c_uom_i22_658_0_, this_.m_internal_consumptionline_id as m_inter23_658_0_, this_.transactioncost as transac24_658_0_, this_.trxprocessdate as trxproc25_658_0_, this_.m_costing_algorithm_id as m_costi26_658_0_, this_.iscostcalculated as iscostc27_658_0_, this_.c_currency_id as c_curre28_658_0_, this_.costing_status as costing29_658_0_, this_.checkreservedqty as checkre30_658_0_, this_.isprocessed as isproce31_658_0_, this_.checkpricedifference as checkpr32_658_0_, this_.em_prouti_exported as em_prou33_658_0_, this_.manualcostadjustment as manualc34_658_0_, this_.iscostpermanent as iscostp35_658_0_, this_.em_pricm_inoutline_id as em_pric36_658_0_ from m_transaction this_ where this_.checkpricedifference = ? and this_.iscostcalculated = ? and this_.ad_org_id in (...) and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ? order by this_.movementdate asc, this_.trxprocessdate asc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 30 01 1 5s462ms 5s462ms 13 1 7s611ms 7s611ms [ User: tad - Total duration: 13s74ms - Times executed: 2 ]
-
select this_.M_Transaction_ID as m_transa1_658_0_, this_.AD_Client_ID as ad_clien2_658_0_, this_.AD_Org_ID as ad_org_i3_658_0_, this_.IsActive as isactive4_658_0_, this_.Created as created5_658_0_, this_.CreatedBy as createdb6_658_0_, this_.Updated as updated7_658_0_, this_.UpdatedBy as updatedb8_658_0_, this_.MovementType as movement9_658_0_, this_.M_Locator_ID as m_locat10_658_0_, this_.M_Product_ID as m_produ11_658_0_, this_.MovementDate as movemen12_658_0_, this_.MovementQty as movemen13_658_0_, this_.M_InventoryLine_ID as m_inven14_658_0_, this_.M_MovementLine_ID as m_movem15_658_0_, this_.M_InOutLine_ID as m_inout16_658_0_, this_.M_ProductionLine_ID as m_produ17_658_0_, this_.C_ProjectIssue_ID as c_proje18_658_0_, this_.M_AttributeSetInstance_ID as m_attri19_658_0_, this_.M_Product_Uom_Id as m_produ20_658_0_, this_.QuantityOrder as quantit21_658_0_, this_.C_UOM_ID as c_uom_i22_658_0_, this_.M_Internal_Consumptionline_ID as m_inter23_658_0_, this_.TransactionCost as transac24_658_0_, this_.TrxProcessDate as trxproc25_658_0_, this_.M_Costing_Algorithm_ID as m_costi26_658_0_, this_.IsCostCalculated as iscostc27_658_0_, this_.C_Currency_ID as c_curre28_658_0_, this_.Costing_Status as costing29_658_0_, this_.Checkreservedqty as checkre30_658_0_, this_.Isprocessed as isproce31_658_0_, this_.Checkpricedifference as checkpr32_658_0_, this_.EM_Prouti_Exported as em_prou33_658_0_, this_.Manualcostadjustment as manualc34_658_0_, this_.IsCostPermanent as iscostp35_658_0_, this_.EM_Pricm_Inoutline_ID as em_pric36_658_0_ from M_Transaction this_ where this_.Checkpricedifference = 'Y' and this_.IsCostCalculated = 'Y' and this_.AD_Org_ID in ('0217C3DD1A5D451C9BD8671ED45719B9') and this_.AD_Org_ID in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '0', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and this_.AD_Client_ID in ('9032A5586FD74B7AA85361E71EEB6E37', '0') and this_.IsActive = 'Y' order by this_.MovementDate asc, this_.TrxProcessDate asc;
Date: 2026-06-30 13:00:08 Duration: 7s611ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select this_.M_Transaction_ID as m_transa1_658_0_, this_.AD_Client_ID as ad_clien2_658_0_, this_.AD_Org_ID as ad_org_i3_658_0_, this_.IsActive as isactive4_658_0_, this_.Created as created5_658_0_, this_.CreatedBy as createdb6_658_0_, this_.Updated as updated7_658_0_, this_.UpdatedBy as updatedb8_658_0_, this_.MovementType as movement9_658_0_, this_.M_Locator_ID as m_locat10_658_0_, this_.M_Product_ID as m_produ11_658_0_, this_.MovementDate as movemen12_658_0_, this_.MovementQty as movemen13_658_0_, this_.M_InventoryLine_ID as m_inven14_658_0_, this_.M_MovementLine_ID as m_movem15_658_0_, this_.M_InOutLine_ID as m_inout16_658_0_, this_.M_ProductionLine_ID as m_produ17_658_0_, this_.C_ProjectIssue_ID as c_proje18_658_0_, this_.M_AttributeSetInstance_ID as m_attri19_658_0_, this_.M_Product_Uom_Id as m_produ20_658_0_, this_.QuantityOrder as quantit21_658_0_, this_.C_UOM_ID as c_uom_i22_658_0_, this_.M_Internal_Consumptionline_ID as m_inter23_658_0_, this_.TransactionCost as transac24_658_0_, this_.TrxProcessDate as trxproc25_658_0_, this_.M_Costing_Algorithm_ID as m_costi26_658_0_, this_.IsCostCalculated as iscostc27_658_0_, this_.C_Currency_ID as c_curre28_658_0_, this_.Costing_Status as costing29_658_0_, this_.Checkreservedqty as checkre30_658_0_, this_.Isprocessed as isproce31_658_0_, this_.Checkpricedifference as checkpr32_658_0_, this_.EM_Prouti_Exported as em_prou33_658_0_, this_.Manualcostadjustment as manualc34_658_0_, this_.IsCostPermanent as iscostp35_658_0_, this_.EM_Pricm_Inoutline_ID as em_pric36_658_0_ from M_Transaction this_ where this_.Checkpricedifference = 'Y' and this_.IsCostCalculated = 'Y' and this_.AD_Org_ID in ('0217C3DD1A5D451C9BD8671ED45719B9') and this_.AD_Org_ID in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '0', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and this_.AD_Client_ID in ('9032A5586FD74B7AA85361E71EEB6E37', '0') and this_.IsActive = 'Y' order by this_.MovementDate asc, this_.TrxProcessDate asc;
Date: 2026-06-30 01:00:05 Duration: 5s462ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
14 1 47s368ms 47s368ms 47s368ms 47s368ms update m_product_ch_conf set skcode = ?, updated = now(), updatedby = ? where exists ( select ? from m_product_ch productcha1_ where m_product_ch_conf.m_product_ch_id = productcha1_.m_product_ch_id and m_product_ch_conf.m_ch_value_id = ? and (productcha1_.m_ch_subset_id is null) and m_product_ch_conf.skcode <> ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 30 13 1 47s368ms 47s368ms [ User: tad - Total duration: 47s368ms - Times executed: 1 ]
-
update M_Product_Ch_Conf set SKCode = '307144', Updated = now(), Updatedby = '100' where exists ( select 1 from M_Product_Ch productcha1_ where M_Product_Ch_Conf.M_Product_Ch_ID = productcha1_.M_Product_Ch_ID and M_Product_Ch_Conf.M_Ch_Value_ID = '9ED37471CFD74740B9CA3C3EDBF5840F' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '307144');
Date: 2026-06-30 13:02:01 Duration: 47s368ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
15 1 9s355ms 9s355ms 9s355ms 9s355ms select ? || ad_orginfo.taxid as vatorg, c_orderline_id, c_order.c_order_id, ad_org.em_prbs_gln, ad_org.name as nameorg, coalesce(c_orderline.line_gross_amount, c_orderline.linenetamt) as importelinea, case when c_orderline.qtyordered > ? then c_orderline.qtyordered else ? end as qtyordered, case when c_orderline.qtyordered < ? then abs(c_orderline.qtyordered) else ? end as qtyreturned, c_currency.iso_code as currencycode, m_product.upc as upcproduct from c_order left join c_doctype on c_doctype.c_doctype_id = coalesce(c_order.c_doctypetarget_id, c_order.c_doctype_id) left join c_orderline on c_orderline.c_order_id = c_order.c_order_id left join m_product on m_product.m_product_id = c_orderline.m_product_id left join ad_org on ad_org.ad_org_id = c_order.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join c_currency on c_currency.c_currency_id = c_orderline.c_currency_id where ad_org.em_prbs_gln is not null and c_order.em_prbs_isexported = ? and c_doctype.issotrx = ? and exists ( select ? from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) and trunc(c_order.created) >= trunc(coalesce(( select initial_date_export_orders from prbs_conf where prbs_conf_id = ?), now() - ?)) order by ?, ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 30 06 1 9s355ms 9s355ms [ User: tad - Total duration: 9s355ms - Times executed: 1 ]
-
select 'ES' || ad_orginfo.taxid as vatorg, c_orderline_id, c_order.c_order_id, ad_org.em_prbs_gln, ad_org.name as nameorg, coalesce(c_orderline.line_gross_amount, c_orderline.linenetamt) as importelinea, case when c_orderline.qtyordered > 0 then c_orderline.qtyordered else 0 end as qtyordered, case when c_orderline.qtyordered < 0 then abs(c_orderline.qtyordered) else 0 end as qtyreturned, c_currency.iso_code as currencycode, m_product.upc as upcproduct from c_order left join c_doctype on c_doctype.c_doctype_id = coalesce(c_order.c_doctypetarget_id, c_order.c_doctype_id) left join c_orderline on c_orderline.c_order_id = c_order.c_order_id left join m_product on m_product.m_product_id = c_orderline.m_product_id left join ad_org on ad_org.ad_org_id = c_order.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join c_currency on c_currency.c_currency_id = c_orderline.c_currency_id where ad_org.em_prbs_gln is not null and c_order.em_prbs_isexported = 'N' and c_doctype.issotrx = 'Y' and exists ( select 1 from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) and trunc(c_order.created) >= trunc(coalesce(( select initial_date_export_orders from prbs_conf where prbs_conf_id = '54C515E3EA2D4D1D8C119FFBBDFDC16C'), now() - 1)) order by 1, 4;
Date: 2026-06-30 06:00:12 Duration: 9s355ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 6m31s 6m57s 6m44s 2 13m29s select mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype AS "Tipo Movimiento", mt.movementqty AS "Cantidad Movimiento", mt.transactioncost AS "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, ?, mt.ad_org_id, mt.ad_client_id, null, ?, ?) AS "€ Coste Medio Producto", coalesce(mi2."name", ?) AS "Nombre Inventario", coalesce(mi4."documentno", ?) AS "Documento Albaran Entrega", coalesce(o."documentno", ?) AS "Documento Pedido", coalesce(oa."name", ?) AS "TPV", coalesce(cd."name", ?) AS "Tipo Documento" from m_transaction mt left join m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id where mt.isactive = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 30 12 1 6m57s 6m57s 19 1 6m31s 6m31s [ User: tad - Total duration: 13m29s - Times executed: 2 ]
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:37:54 Duration: 6m57s Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 19:38:33 Duration: 6m31s Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
-
SELECT mt.m_transaction_id, mt.m_locator_id, ml.m_warehouse_id, mt.ad_client_id, mt.ad_org_id, mt.updated, mt.m_product_id, trunc(mt.trxprocessdate) as trxprocessdate, mt.movementtype as "Tipo Movimiento", mt.movementqty as "Cantidad Movimiento", mt.transactioncost as "€ Coste Transacción", m_get_cost (mt.m_product_id, mt.trxprocessdate, 'AVA', mt.ad_org_id, mt.ad_client_id, NULL, '102', '102') AS "€ Coste Medio Producto", coalesce(mi2."name", 'n-a') as "Nombre Inventario", coalesce(mi4."documentno", 'n-a') as "Documento Albaran Entrega", coalesce(o."documentno", 'n-a') as "Documento Pedido", coalesce(oa."name", 'n-a') as "TPV", coalesce(cd."name", 'n-a') as "Tipo Documento" FROM m_transaction mt LEFT JOIN m_locator ml on ml.m_locator_id = mt.m_locator_id left join m_inventoryline mi on mi.m_inventoryline_id = mt.m_inventoryline_id left join m_inventory mi2 on mi2.m_inventory_id = mi.m_inventory_id left join m_inoutline mi3 on mi3.m_inoutline_id = mt.m_inoutline_id left join m_inout mi4 on mi4.m_inout_id = mi3.m_inout_id left join c_orderline ol on ol.c_orderline_id = mi3.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id left join obpos_applications oa on o.em_obpos_applications_id = oa.obpos_applications_id left join c_doctype cd on cd.c_doctype_id = o.c_doctype_id WHERE mt.isactive = 'Y';
Date: 2026-06-30 12:33:22 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128)
2 1m44s 2m8s 1m56s 2 3m53s select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( select ol.c_orderline_id, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, ol.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", ol.gross_unit_price, ol.grosspricelist, coalesce(p.em_gcnv_giftcardtype, ?) AS "GiftCardType", coalesce(m_get_cost (ol.m_product_id, ol.dateordered::timestamp, ?, ol.ad_org_id, ol.ad_client_id, null, ?, ?) * ol.qtyordered, ?) AS "Coste" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id where ? = ? and o.issotrx = ?) "_" where "_"."GiftCardType" = ? and "_"."GiftCardType" is not null;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 30 12 1 2m8s 2m8s 19 1 1m44s 1m44s [ User: tad - Total duration: 3m53s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m53s - Times executed: 2 ]
-
select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;
Date: 2026-06-30 12:33:24 Duration: 2m8s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_orderline_id", "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."c_bpartner_id", "_"."c_currency_id", "_"."m_product_id", "_"."m_warehouse_id", "_"."m_product_category_id", "_"."line", "_"."Fecha Pedido", "_"."Fecha Comprometida", "_"."Fecha Enviada", "_"."Descripción", "_"."Cantidad Pedido", "_"."Precio Lista", "_"."Precio Actual", "_"."Precio Limite", "_"."Importe Linea", "_"."Descuento", "_"."gross_unit_price", "_"."grosspricelist", "_"."GiftCardType", "_"."Coste" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, OL.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", OL.gross_unit_price, OL.grosspricelist, coalesce(P.em_gcnv_giftcardtype, 'N') as "GiftCardType", coalesce(m_get_cost (OL.m_product_id, OL.dateordered::timestamp, 'AVA', OL.ad_org_id, OL.ad_client_id, null, '102', '102') * OL.qtyordered, 0) as "Coste" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx = 'Y') "_" where "_"."GiftCardType" = 'N' and "_"."GiftCardType" is not null;
Date: 2026-06-30 19:34:24 Duration: 1m44s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
3 1m42s 2m9s 1m55s 2 3m51s select "_"."m_warehouse_id" AS "m_warehouse_id", "_"."ad_org_id" AS "ad_org_id", "_"."Almacén" AS "Almacén", "_"."Ubicación" AS "Ubicación", "_"."m_product_id" AS "m_product_id", "_"."Cantidad" AS "Cantidad", "_"."Cantidad Reservada" AS "Cantidad Reservada", "_"."Valoración Inventario" AS "Valoración Inventario", "_"."last_purchase" AS "Fecha Ultima Compra", "_"."prix_vente" AS "Preci Venta", "_"."qty_nextproduct" AS "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name AS "Almacén", l.value AS "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, ?, sd.ad_org_id, sd.ad_client_id, null, ?, ?), ?), ?), ?) AS "Valoración Inventario", ( select coalesce(max(m_inout.movementdate), current_date) from m_inoutline left join m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id where m_inout.docstatus <> ? and m_inout.issotrx = ? and m_inoutline.m_product_id = sd.m_product_id) AS "last_purchase", ( select coalesce(max(ppr.pricestd), ?) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = ?) AS "prix_vente", coalesce(( select case when sd1.qtyonhand > ? then ? else ? end from m_storage_detail sd1 where sd.qtyonhand > ? and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select pp.m_product_id from m_product pp left join m_product_ch_value mpcv1 on mpcv1.m_product_id = pp.m_product_id and mpcv1.m_characteristic_id = ? left join m_ch_value mcv1 on mpcv1.m_ch_value_id = mcv1.m_ch_value_id left join m_product_ch_value mpcv2 on mpcv2.m_product_id = pp.m_product_id and mpcv2.m_characteristic_id = ? left join m_ch_value mcv2 on mpcv2.m_ch_value_id = mcv2.m_ch_value_id where pp.generic_product_id = p.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit ?) limit ?), ?) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = ? and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = ? and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 30 12 1 2m9s 2m9s 19 1 1m42s 1m42s [ User: tad - Total duration: 3m51s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m51s - Times executed: 2 ]
-
select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";
Date: 2026-06-30 12:33:01 Duration: 2m9s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."m_warehouse_id" as "m_warehouse_id", "_"."ad_org_id" as "ad_org_id", "_"."Almacén" as "Almacén", "_"."Ubicación" as "Ubicación", "_"."m_product_id" as "m_product_id", "_"."Cantidad" as "Cantidad", "_"."Cantidad Reservada" as "Cantidad Reservada", "_"."Valoración Inventario" as "Valoración Inventario", "_"."last_purchase" as "Fecha Ultima Compra", "_"."prix_vente" as "Preci Venta", "_"."qty_nextproduct" as "qty_nextproduct" from ( select w.m_warehouse_id, sd.ad_org_id, w.name as "Almacén", l.value as "Ubicación", sd.m_product_id, sd.qtyonhand "Cantidad", sd.reservedqty "Cantidad Reservada", round(coalesce(sd.qtyonhand * coalesce(m_get_cost (sd.m_product_id, now()::timestamp, 'AVA', sd.ad_org_id, sd.ad_client_id, null, '102', '102'), 0), 0), 2) as "Valoración Inventario", ( SELECT coalesce(MAX(m_inout.movementdate), current_date) FROM m_inoutline LEFT JOIN m_inout on m_inoutline.m_inout_id = m_inout.m_inout_id WHERE m_inout.docstatus <> 'DR' and m_inout.issotrx = 'N' and m_inoutline.m_product_id = sd.m_product_id) as "last_purchase", ( select coalesce(max(ppr.pricestd), 0) from m_productprice ppr where ppr.m_product_id = sd.m_product_id and ppr.m_pricelist_version_id = '5DB98E393F0E46649686A288667743CB') as "prix_vente", coalesce(( select case when sd1.qtyonhand > 0 then 1 else 0 end from m_storage_detail sd1 where sd.qtyonhand > 0 and sd1.m_locator_id = sd.m_locator_id and sd1.m_product_id = ( select PP.m_product_id from m_product PP LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = PP.m_product_id AND mpcv1.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = PP.m_product_id AND mpcv2.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id where PP.generic_product_id = P.generic_product_id and mpcv1.m_ch_value_id = ch2.m_ch_value_id and mcv2.em_retstk_seqno > chv1.em_retstk_seqno order by mcv2.em_retstk_seqno limit 1) limit 1), 0) as qty_nextproduct from m_storage_detail sd inner join m_locator l on l.m_locator_id = sd.m_locator_id inner join m_warehouse w on w.m_warehouse_id = l.m_warehouse_id inner join m_product p on p.m_product_id = sd.m_product_id left join m_product_ch_value ch1 on ch1.m_characteristic_id = '22F82EC1D5184B2F9DC7813D9D94FB0A' and ch1.m_product_id = sd.m_product_id left join m_product_ch_value ch2 on ch2.m_characteristic_id = '6EC63CFD10BD469BA2B20A0781B1A313' and ch2.m_product_id = sd.m_product_id left join m_ch_value chv1 on chv1.m_ch_value_id = ch1.m_ch_value_id left join m_ch_value chv2 on chv2.m_ch_value_id = ch2.m_ch_value_id) "_";
Date: 2026-06-30 19:33:38 Duration: 1m42s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
4 47s368ms 47s368ms 47s368ms 1 47s368ms update m_product_ch_conf set skcode = ?, updated = now(), updatedby = ? where exists ( select ? from m_product_ch productcha1_ where m_product_ch_conf.m_product_ch_id = productcha1_.m_product_ch_id and m_product_ch_conf.m_ch_value_id = ? and (productcha1_.m_ch_subset_id is null) and m_product_ch_conf.skcode <> ?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 30 13 1 47s368ms 47s368ms [ User: tad - Total duration: 47s368ms - Times executed: 1 ]
-
update M_Product_Ch_Conf set SKCode = '307144', Updated = now(), Updatedby = '100' where exists ( select 1 from M_Product_Ch productcha1_ where M_Product_Ch_Conf.M_Product_Ch_ID = productcha1_.M_Product_Ch_ID and M_Product_Ch_Conf.M_Ch_Value_ID = '9ED37471CFD74740B9CA3C3EDBF5840F' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '307144');
Date: 2026-06-30 13:02:01 Duration: 47s368ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
5 33s987ms 37s 35s493ms 2 1m10s select p.m_product_id, p.value AS "Identificador", p.name AS "Nombre Producto", p.description AS "Descripcion Producto", p.characteristic_desc AS "Descripcion Caracteristicas", p.sku AS "SKU", p.isstocked AS "Estocable", p.ispurchased AS "Comprable", p.issold AS "Vendible", p.isgeneric AS "Generico", p.generic_product_id, p.producttype "Tipo Producto", p.imageurl "URL Imagen", b.name AS "Marca", pc.name AS "Categoria", p.m_product_category_id, ct.name AS "Tax Category", coalesce(pp.value, ?) AS "Codigo Producto Padre", coalesce(pp.name, ?) AS "Nombre Producto Padre", coalesce(mcv1.name, ?) AS "Color", coalesce(mcv2.name, ?) AS "Talla", coalesce(mcv2.em_retstk_seqno, ?) AS "Pos Talle", coalesce(mcv3.name, ?) AS "Largo", coalesce(mcv4.name, ?) AS "Tiro", coalesce(mcv5.name, ?) AS "Tema", coalesce(mcv6.name, ?) AS "Temporada", coalesce(mcv7.name, ?) AS "Coleccion", coalesce(mcv8.name, ?) AS "Wash", coalesce(mcv9.name, ?) AS "Fit", coalesce(mcv10.name, ?) AS "Marca ch", coalesce(mcv11.name, ?) AS "Pack", coalesce(mcv12.name, ?) AS "Pattern", coalesce(mcv13.name, ?) AS "Print", coalesce(mcv14.name, ?) AS "Detail", coalesce(mcv15.name, ?) AS "Checks", p.m_brand_id, cc.value AS "Campanya" from m_product p left join m_brand b on p.m_brand_id = b.m_brand_id left join m_product_category pc on pc.m_product_category_id = p.m_product_category_id left join c_taxcategory ct on ct.c_taxcategory_id = p.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product pp on pp.m_product_id = p.generic_product_id left join m_product_ch_value mpcv1 on mpcv1.m_product_id = p.m_product_id and mpcv1.m_characteristic_id = ? left join m_ch_value mcv1 on mpcv1.m_ch_value_id = mcv1.m_ch_value_id left join m_product_ch_value mpcv2 on mpcv2.m_product_id = p.m_product_id and mpcv2.m_characteristic_id = ? left join m_ch_value mcv2 on mpcv2.m_ch_value_id = mcv2.m_ch_value_id left join m_product_ch_value mpcv3 on mpcv3.m_product_id = p.m_product_id and mpcv3.m_characteristic_id = ? left join m_ch_value mcv3 on mpcv3.m_ch_value_id = mcv3.m_ch_value_id left join m_product_ch_value mpcv4 on mpcv4.m_product_id = p.m_product_id and mpcv4.m_characteristic_id = ? left join m_ch_value mcv4 on mpcv4.m_ch_value_id = mcv4.m_ch_value_id left join m_product_ch_value mpcv5 on mpcv5.m_product_id = p.m_product_id and mpcv5.m_characteristic_id = ? left join m_ch_value mcv5 on mpcv5.m_ch_value_id = mcv5.m_ch_value_id left join m_product_ch_value mpcv6 on mpcv6.m_product_id = p.m_product_id and mpcv6.m_characteristic_id = ? left join m_ch_value mcv6 on mpcv6.m_ch_value_id = mcv6.m_ch_value_id left join m_product_ch_value mpcv7 on mpcv7.m_product_id = p.m_product_id and mpcv7.m_characteristic_id = ? left join m_ch_value mcv7 on mpcv7.m_ch_value_id = mcv7.m_ch_value_id left join m_product_ch_value mpcv8 on mpcv8.m_product_id = p.m_product_id and mpcv8.m_characteristic_id = ? left join m_ch_value mcv8 on mpcv8.m_ch_value_id = mcv8.m_ch_value_id left join m_product_ch_value mpcv9 on mpcv9.m_product_id = p.m_product_id and mpcv9.m_characteristic_id = ? left join m_ch_value mcv9 on mpcv9.m_ch_value_id = mcv9.m_ch_value_id left join m_product_ch_value mpcv10 on mpcv10.m_product_id = p.m_product_id and mpcv10.m_characteristic_id = ? left join m_ch_value mcv10 on mpcv10.m_ch_value_id = mcv10.m_ch_value_id left join m_product_ch_value mpcv11 on mpcv11.m_product_id = p.m_product_id and mpcv11.m_characteristic_id = ? left join m_ch_value mcv11 on mpcv11.m_ch_value_id = mcv11.m_ch_value_id left join m_product_ch_value mpcv12 on mpcv12.m_product_id = p.m_product_id and mpcv12.m_characteristic_id = ? left join m_ch_value mcv12 on mpcv12.m_ch_value_id = mcv12.m_ch_value_id left join m_product_ch_value mpcv13 on mpcv13.m_product_id = p.m_product_id and mpcv13.m_characteristic_id = ? left join m_ch_value mcv13 on mpcv13.m_ch_value_id = mcv13.m_ch_value_id left join m_product_ch_value mpcv14 on mpcv14.m_product_id = p.m_product_id and mpcv14.m_characteristic_id = ? left join m_ch_value mcv14 on mpcv14.m_ch_value_id = mcv14.m_ch_value_id left join m_product_ch_value mpcv15 on mpcv15.m_product_id = p.m_product_id and mpcv15.m_characteristic_id = ? left join m_ch_value mcv15 on mpcv15.m_ch_value_id = mcv15.m_ch_value_id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 30 12 1 33s987ms 33s987ms 19 1 37s 37s [ User: tad - Total duration: 1m10s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m10s - Times executed: 2 ]
-
select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;
Date: 2026-06-30 19:32:33 Duration: 37s Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select P.m_product_id, P.value as "Identificador", P.name as "Nombre Producto", P.description as "Descripcion Producto", P.characteristic_desc as "Descripcion Caracteristicas", P.sku as "SKU", P.isstocked as "Estocable", P.ispurchased as "Comprable", P.issold as "Vendible", P.isgeneric as "Generico", P.generic_product_id, P.producttype "Tipo Producto", P.imageurl "URL Imagen", B.name as "Marca", PC.name as "Categoria", P.m_product_category_id, CT.name as "Tax Category", coalesce(PP.value, '') as "Codigo Producto Padre", coalesce(PP.name, '') as "Nombre Producto Padre", coalesce(mcv1.name, 'n-a') as "Color", coalesce(mcv2.name, 'n-a') as "Talla", coalesce(mcv2.em_retstk_seqno, 0) as "Pos Talle", coalesce(mcv3.name, 'n-a') as "Largo", coalesce(mcv4.name, 'n-a') as "Tiro", coalesce(mcv5.name, 'n-a') as "Tema", coalesce(mcv6.name, 'n-a') as "Temporada", coalesce(mcv7.name, 'n-a') as "Coleccion", coalesce(mcv8.name, 'n-a') as "Wash", coalesce(mcv9.name, 'n-a') as "Fit", coalesce(mcv10.name, 'n-a') as "Marca ch", coalesce(mcv11.name, 'n-a') as "Pack", coalesce(mcv12.name, 'n-a') as "Pattern", coalesce(mcv13.name, 'n-a') as "Print", coalesce(mcv14.name, 'n-a') as "Detail", coalesce(mcv15.name, 'n-a') as "Checks", P.m_brand_id, cc.value as "Campanya" from m_product P left join m_brand B on P.m_brand_id = B.m_brand_id left join m_product_category PC on PC.m_product_category_id = P.m_product_category_id left join c_taxcategory CT on CT.c_taxcategory_id = P.c_taxcategory_id left join c_campaign cc on p.em_prbs_c_campaign_id = cc.c_campaign_id left join m_product PP on PP.m_product_id = P.generic_product_id LEFT JOIN m_product_ch_value mpcv1 ON mpcv1.m_product_id = P.m_product_id AND mpcv1.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' LEFT JOIN m_ch_value mcv1 ON mpcv1.m_ch_value_id = mcv1.m_ch_value_id LEFT JOIN m_product_ch_value mpcv2 ON mpcv2.m_product_id = P.m_product_id AND mpcv2.m_characteristic_id = '163AF5F6032E462387F332FB53D51462' LEFT JOIN m_ch_value mcv2 ON mpcv2.m_ch_value_id = mcv2.m_ch_value_id LEFT JOIN m_product_ch_value mpcv3 ON mpcv3.m_product_id = P.m_product_id AND mpcv3.m_characteristic_id = 'B442484CEC964969BC5409E53D8EEACA' LEFT JOIN m_ch_value mcv3 ON mpcv3.m_ch_value_id = mcv3.m_ch_value_id LEFT JOIN m_product_ch_value mpcv4 ON mpcv4.m_product_id = P.m_product_id AND mpcv4.m_characteristic_id = '1058628965B344E58F53D06511E2CB8D' LEFT JOIN m_ch_value mcv4 ON mpcv4.m_ch_value_id = mcv4.m_ch_value_id LEFT JOIN m_product_ch_value mpcv5 ON mpcv5.m_product_id = P.m_product_id AND mpcv5.m_characteristic_id = '12443B74C238478B933244C8EF91D282' LEFT JOIN m_ch_value mcv5 ON mpcv5.m_ch_value_id = mcv5.m_ch_value_id LEFT JOIN m_product_ch_value mpcv6 ON mpcv6.m_product_id = P.m_product_id AND mpcv6.m_characteristic_id = '7E1F32C6CAF74523B1DCECE5FE9E421C' LEFT JOIN m_ch_value mcv6 ON mpcv6.m_ch_value_id = mcv6.m_ch_value_id LEFT JOIN m_product_ch_value mpcv7 ON mpcv7.m_product_id = P.m_product_id AND mpcv7.m_characteristic_id = '185E7AD16B6B43B59432CAE47BB27CF2' LEFT JOIN m_ch_value mcv7 ON mpcv7.m_ch_value_id = mcv7.m_ch_value_id LEFT JOIN m_product_ch_value mpcv8 ON mpcv8.m_product_id = P.m_product_id AND mpcv8.m_characteristic_id = 'C8A8EE4BA8A14AF59D7AD46B1BD33727' LEFT JOIN m_ch_value mcv8 ON mpcv8.m_ch_value_id = mcv8.m_ch_value_id LEFT JOIN m_product_ch_value mpcv9 ON mpcv9.m_product_id = P.m_product_id AND mpcv9.m_characteristic_id = '8C9925467DF74793A9A1BB8DF176FE95' LEFT JOIN m_ch_value mcv9 ON mpcv9.m_ch_value_id = mcv9.m_ch_value_id LEFT JOIN m_product_ch_value mpcv10 ON mpcv10.m_product_id = P.m_product_id AND mpcv10.m_characteristic_id = '9A1BA8526FF74BD0BC10271A4187BFC1' LEFT JOIN m_ch_value mcv10 ON mpcv10.m_ch_value_id = mcv10.m_ch_value_id LEFT JOIN m_product_ch_value mpcv11 ON mpcv11.m_product_id = P.m_product_id AND mpcv11.m_characteristic_id = '640CB654E8A745E7A666039E3303CC68' LEFT JOIN m_ch_value mcv11 ON mpcv11.m_ch_value_id = mcv11.m_ch_value_id LEFT JOIN m_product_ch_value mpcv12 ON mpcv12.m_product_id = P.m_product_id AND mpcv12.m_characteristic_id = 'D98350D527CD4AFABDF2B7C33FEC0923' LEFT JOIN m_ch_value mcv12 ON mpcv12.m_ch_value_id = mcv12.m_ch_value_id LEFT JOIN m_product_ch_value mpcv13 ON mpcv13.m_product_id = P.m_product_id AND mpcv13.m_characteristic_id = '2AE9ECF682F242B29875BD2C64B19ED0' LEFT JOIN m_ch_value mcv13 ON mpcv13.m_ch_value_id = mcv13.m_ch_value_id LEFT JOIN m_product_ch_value mpcv14 ON mpcv14.m_product_id = P.m_product_id AND mpcv14.m_characteristic_id = 'BE8F8701EBF24B18B0CB50E209347BE4' LEFT JOIN m_ch_value mcv14 ON mpcv14.m_ch_value_id = mcv14.m_ch_value_id LEFT JOIN m_product_ch_value mpcv15 ON mpcv15.m_product_id = P.m_product_id AND mpcv15.m_characteristic_id = '022B798F517F4ED1B035B927BA60AF67' LEFT JOIN m_ch_value mcv15 ON mpcv15.m_ch_value_id = mcv15.m_ch_value_id;
Date: 2026-06-30 12:31:25 Duration: 33s987ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
6 13s876ms 33s24ms 23s450ms 2 46s901ms select "_"."c_orderline_id" AS "c_orderline_id", "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."c_currency_id" AS "c_currency_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."line" AS "line", cast("_"."Fecha Pedido" as date) AS "Fecha Pedido", cast("_"."Fecha Comprometida" as date) AS "Fecha Comprometida", cast("_"."Fecha Enviada" as date) AS "Fecha Enviada", "_"."Descripción" AS "Descripción", "_"."Cantidad Pedido" AS "Cantidad Pedido", "_"."Precio Lista" AS "Precio Lista", "_"."Precio Actual" AS "Precio Actual", "_"."Precio Limite" AS "Precio Limite", "_"."Importe Linea" AS "Importe Linea", "_"."Descuento" AS "Descuento", "_"."Cantidad Recibida" AS "Cantidad Recibida", cast("_"."Fecha Recepción" as date) AS "Fecha Recepción" from ( select ol.c_orderline_id, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", ( select sum(movementqty) from m_inoutline iol where iol.c_orderline_id = ol.c_orderline_id) AS "Cantidad Recibida", ( select max(movementdate) from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id where iol.c_orderline_id = ol.c_orderline_id) AS "Fecha Recepción" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id where ? = ? and o.issotrx <> ?) "_";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 30 12 1 33s24ms 33s24ms 19 1 13s876ms 13s876ms [ User: tad - Total duration: 46s901ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 46s901ms - Times executed: 2 ]
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";
Date: 2026-06-30 12:31:33 Duration: 33s24ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", cast("_"."Fecha Comprometida" as date) as "Fecha Comprometida", cast("_"."Fecha Enviada" as date) as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Descuento" as "Descuento", "_"."Cantidad Recibida" as "Cantidad Recibida", cast("_"."Fecha Recepción" as date) as "Fecha Recepción" from ( SELECT OL.c_orderline_id, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Recibida", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Recepción" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id WHERE 1 = 1 AND O.issotrx <> 'Y') "_";
Date: 2026-06-30 19:32:15 Duration: 13s876ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
7 10s56ms 35s640ms 22s848ms 2 45s697ms select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."m_pricelist_id" AS "m_pricelist_id", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."Fecha Pedido" AS "Fecha Pedido", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."TPV" AS "TPV", "_"."Vendedor" AS "Vendedor", cast("_"."Fecha Pedido" as date) AS "t0_0", cast("_"."Fecha Comprometida" as date) AS "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( select o.c_order_id, o.ad_org_id, o.isactive, o.issotrx, o.m_pricelist_id, o.documentno AS "Documento", o.docstatus AS "Estado Pedido", o.docaction AS "Accion Pedido", o.processed AS "Procesado", dt.name AS "Tipo Documento", o.description AS "Descripción", o.dateordered AS "Fecha Pedido", o.datepromised AS "Fecha Comprometida", o.c_bpartner_id, o.poreference "Referencia Proveedor", o.c_currency_id, cu.iso_code "Currency ISO", o.m_warehouse_id, cl.city AS "Ciudad", cl.postal AS "Codigo Postal", cc."name" AS "Pais", cr."name" AS "Region", oa."name" AS "TPV", us.name AS "Vendedor" from c_order o left join c_doctype dt on dt.c_doctype_id = o.c_doctype_id inner join c_currency cu on cu.c_currency_id = o.c_currency_id left join c_bpartner_location cbl on cbl.c_bpartner_location_id = o.c_bpartner_location_id left join c_location cl on cl.c_location_id = cbl.c_location_id left join c_country cc on cc.c_country_id = cl.c_country_id left join c_region cr on cr.c_region_id = cl.c_region_id left join ad_user us on us.ad_user_id = o.createdby left join obpos_applications oa on oa.obpos_applications_id = o.em_obpos_applications_id where ? = ? and o.issotrx = ?) "$Table") "_";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 30 12 1 10s56ms 10s56ms 19 1 35s640ms 35s640ms [ User: tad - Total duration: 45s697ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 35s640ms - Times executed: 1 ]
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";
Date: 2026-06-30 19:32:55 Duration: 35s640ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."m_pricelist_id" as "m_pricelist_id", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Pedido" as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."TPV" as "TPV", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0", cast("_"."Fecha Comprometida" as date) as "t1_0" from ( select "c_order_id", "ad_org_id", "isactive", "issotrx", "m_pricelist_id", "Documento", "Estado Pedido", "Accion Pedido", "Tipo Documento", "Descripción", "Fecha Pedido", "Fecha Comprometida", "c_bpartner_id", "Referencia Proveedor", "c_currency_id", "Currency ISO", "m_warehouse_id", "Ciudad", "Codigo Postal", "Pais", "Region", "TPV", "Vendedor" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.m_pricelist_id, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", OA."name" as "TPV", us.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctype_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id LEFT JOIN ad_user us on us.ad_user_id = O.createdby left join obpos_applications OA on OA.obpos_applications_id = O.em_obpos_applications_id WHERE 1 = 1 AND O.issotrx = 'Y') "$Table") "_";
Date: 2026-06-30 12:31:56 Duration: 10s56ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
8 12s541ms 21s611ms 17s76ms 2 34s152ms select "_"."m_inoutline_id" AS "m_inoutline_id", "_"."m_inout_id" AS "m_inout_id", "_"."documentno_livraison" AS "N. Documento Albarán", "_"."documentno_commande" AS "N. Documento Pedido", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."Date Livraison" AS "Fecha Albaran", "_"."Description" AS "Descripción", "_"."Quantite" AS "Cantidad", "_"."Prix List" AS "Precio Lista", "_"."Prix Actuel" AS "Precio Actual", "_"."Prix Limite" AS "Precio Límite", "_"."Remise" AS "Descuento" from ( select max(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, max(io.documentno) as documentno_livraison, max(o.documentno) as documentno_commande, max(iol.ad_org_id) as ad_org_id, max(iol.isactive) as isactive, max(io.issotrx) as issotrx, io.c_bpartner_id, max(iol.m_product_id) as m_product_id, io.m_warehouse_id, max(p.m_product_category_id) as m_product_category_id, io.movementdate AS "Date Livraison", max(iol.description) AS "Description", sum(iol.movementqty) "Quantite", max(ol.pricelist) "Prix List", max(ol.priceactual) "Prix Actuel", max(ol.pricelimit) "Prix Limite", max(ol.discount) AS "Remise" from m_inoutline iol inner join m_inout io on io.m_inout_id = iol.m_inout_id left join m_product p on p.m_product_id = iol.m_product_id left join c_orderline ol on ol.c_orderline_id = iol.c_orderline_id left join c_order o on o.c_order_id = ol.c_order_id where ? = ? and o.issotrx <> ? group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 30 12 1 12s541ms 12s541ms 19 1 21s611ms 21s611ms [ User: tad - Total duration: 34s152ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 21s611ms - Times executed: 1 ]
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 19:32:18 Duration: 21s611ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select "_"."m_inoutline_id" as "m_inoutline_id", "_"."m_inout_id" as "m_inout_id", "_"."documentno_livraison" as "N. Documento Albarán", "_"."documentno_commande" as "N. Documento Pedido", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Date Livraison" as "Fecha Albaran", "_"."Description" as "Descripción", "_"."Quantite" as "Cantidad", "_"."Prix List" as "Precio Lista", "_"."Prix Actuel" as "Precio Actual", "_"."Prix Limite" as "Precio Límite", "_"."Remise" as "Descuento" from ( SELECT MAX(iol.m_inoutline_id) as m_inoutline_id, io.m_inout_id, MAX(io.documentno) as documentno_livraison, MAX(O.documentno) as documentno_commande, MAX(iol.ad_org_id) as ad_org_id, MAX(iol.isactive) as isactive, MAX(io.issotrx) as issotrx, io.c_bpartner_id, MAX(iol.m_product_id) as m_product_id, io.m_warehouse_id, MAX(P.m_product_category_id) as m_product_category_id, io.movementdate as "Date Livraison", MAX(iol.description) as "Description", SUM(iol.movementqty) "Quantite", MAX(OL.pricelist) "Prix List", MAX(OL.priceactual) "Prix Actuel", MAX(OL.pricelimit) "Prix Limite", MAX(OL.discount) as "Remise" FROM m_inoutline iol INNER JOIN m_inout io on io.m_inout_id = iol.m_inout_id LEFT JOIN m_product P on P.m_product_id = iol.m_product_id left join c_orderline OL on OL.c_orderline_id = iol.c_orderline_id left join c_order O on O.c_order_id = OL.c_order_id WHERE 1 = 1 AND O.issotrx <> 'Y' group by io.m_inout_id, io.c_bpartner_id, io.m_warehouse_id, iol.m_product_id, iol.c_orderline_id) "_";
Date: 2026-06-30 12:31:49 Duration: 12s541ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
9 13s373ms 13s496ms 13s428ms 4 53s713ms select * from ad_update_table_identifier (null, ?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 30 05 2 26s900ms 13s450ms 06 1 13s373ms 13s373ms 20 1 13s439ms 13s439ms [ User: tad - Total duration: 53s713ms - Times executed: 4 ]
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 05:51:04 Duration: 13s496ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 20:10:13 Duration: 13s439ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT * FROM AD_UPDATE_TABLE_IDENTIFIER (NULL, 'N');
Date: 2026-06-30 05:16:43 Duration: 13s403ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
10 12s120ms 14s548ms 13s334ms 2 26s669ms select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id AS "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name AS "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 30 12 1 14s548ms 14s548ms 19 1 12s120ms 12s120ms [ User: tad - Total duration: 26s669ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 14s548ms - Times executed: 1 ]
-
select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';
Date: 2026-06-30 12:31:05 Duration: 14s548ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select fpdv.fin_payment_detail_v_id, fpdv.ad_client_id, fpdv.ad_org_id, fpdv.c_bpartner_id, fpdv.fin_payment_sched_ord_v_id as "c_order_id", fpdv.orderno, fpdv.invoiceno, fpdv.paymentno, fpdv.duedate, fpdv.paymentdate, fpdv.invoicedamt, fpdv.expected, fpdv.paidamt, fpdv.expectedconverted, fpdv.paidconverted, fp.name as "paymentmethod", fpdv.status from fin_payment_detail_v fpdv left join c_order co on co.c_order_id = fpdv.fin_payment_sched_ord_v_id left join fin_paymentmethod fp on fp.fin_paymentmethod_id = fpdv.fin_paymentmethod_id where co.issotrx = 'Y';
Date: 2026-06-30 19:32:38 Duration: 12s120ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
11 9s11ms 10s809ms 9s910ms 2 19s820ms select order0_.em_obpos_islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.paidamt), ?) from fin_payment_schedule fin_paymen6_ where fin_paymen6_.c_order_id = order0_.c_order_id) as col_1_0_, order0_.em_obpos2_isdraftorder as col_2_0_, order0_.em_obpos2_queueno as col_3_0_, order0_.em_obpos2_created_in_pos as col_4_0_, case when documentty1_.isreturn = ? then to_char(?) when documentty1_.docsubtypeso = ? then to_char(?) when order0_.iscancelled = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen9_.paidamt), ?) from fin_payment_schedule fin_paymen9_ where fin_paymen9_.c_order_id = order0_.c_order_id) = ? then to_char(?) when order0_.grandtotal > ? and ( select coalesce(sum(fin_paymen10_.paidamt), ?) from fin_payment_schedule fin_paymen10_ where fin_paymen10_.c_order_id = order0_.c_order_id) & lt; order0_.grandtotal then to_char(?) else to_char(?) end as col_5_0_, obpos_appl4_.obpos_applications_id as col_6_0_, exists ( select ? from c_invoiceline invoicelin11_ inner join c_invoice invoice12_ on invoicelin11_.c_invoice_id = invoice12_.c_invoice_id inner join c_orderline orderline13_ on invoicelin11_.c_orderline_id = orderline13_.c_orderline_id inner join c_order order14_ on orderline13_.c_order_id = order14_.c_order_id where order14_.c_order_id = order0_.c_order_id and invoice12_.em_obpos_sequencename = ?) as col_7_0_, ( select case when count(orderline15_.c_orderline_id) > ? then true else false end from c_orderline orderline15_ inner join m_inoutline materialmg16_ on orderline15_.m_inoutline_id = materialmg16_.m_inoutline_id inner join c_orderline orderline17_ on materialmg16_.c_orderline_id = orderline17_.c_orderline_id cross join c_order order18_ where orderline15_.c_order_id = order18_.c_order_id and orderline17_.c_order_id = order0_.c_order_id and order18_.em_obpos2_isvoid = ?) as col_8_0_, ( select case when count(orderline19_.c_orderline_id) > ? then true else false end from c_orderline orderline19_ inner join m_inoutline materialmg20_ on orderline19_.m_inoutline_id = materialmg20_.m_inoutline_id inner join c_orderline orderline21_ on materialmg20_.c_orderline_id = orderline21_.c_orderline_id cross join c_order order22_ where orderline19_.c_order_id = order22_.c_order_id and orderline21_.c_order_id = order0_.c_order_id and order22_.em_obpos2_isvoid = ?) as col_9_0_, case when exists ( select ? from c_orderline orderline23_ where orderline23_.c_order_id = order0_.c_order_id and orderline23_.qtyordered < ?) then true else false end as col_10_0_, case when order0_.quotation_id is not null then true else false end as col_11_0_, exists ( select ? from c_orderline orderline24_ inner join c_order order25_ on orderline24_.c_order_id = order25_.c_order_id where order25_.c_order_id = order0_.c_order_id and (orderline24_.em_obpos_cancellableqty is null or orderline24_.em_obpos_cancellableqty <> ?)) as col_12_0_, case when order0_.em_cfis_fiscalization_result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.tax_free_number from etxf_tax_free_form etxf_tax_f26_ where etxf_tax_f26_.etxf_tax_free_form_id = order0_.em_etxf_tax_free_form_id) as col_14_0_, order0_.em_prpgr_ticketno as col_15_0_, case when documentty1_.c_doctype_id = organizati3_.em_gcnv_c_doctypegcard_id then ? else case when documentty1_.isreturn = ? then ? when documentty1_.docsubtypeso = ? then ? when order0_.em_obpos_islayaway = ? then ? else ? end end as col_16_0_, order0_.c_order_id as col_17_0_, documentty1_.c_doctype_id as col_18_0_, order0_.docstatus as col_19_0_, order0_.documentno as col_20_0_, order0_.created as col_21_0_, order0_.dateordered as col_22_0_, order0_.dateordered as col_23_0_, order0_.dateordered as col_24_0_, businesspa2_.c_bpartner_id as col_25_0_, businesspa2_.name as col_26_0_, order0_.grandtotal as col_27_0_, order0_.grandtotal as col_28_0_, order0_.grandtotal as col_29_0_, order0_.iscancelled as col_30_0_, organizati3_.ad_org_id as col_31_0_, organizati3_.value as col_32_0_, organizati3_.name as col_33_0_, organizati5_.ad_org_id as col_34_0_, organizati5_.name as col_35_0_, order0_.isdelivered as col_36_0_, order0_.bpartner_extref as col_37_0_, ( select coalesce(max(orderline29_.em_obrdm_delivery_mode), ?) from c_orderline orderline29_ where order0_.c_order_id = orderline29_.c_order_id and orderline29_.em_obpos_isdeleted = ?) as col_38_0_, ( select min( case when orderline30_.em_obrdm_delivery_date is null or orderline30_.em_obrdm_delivery_time is null then null else to_timestamp((to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_date, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?) || ?| | to_char(orderline30_.em_obrdm_delivery_time, ?)), ?) end) from c_orderline orderline30_ where order0_.c_order_id = orderline30_.c_order_id) as col_39_0_, order0_.invoicerule as col_40_0_, order0_.em_obpos_isfullinvoice as col_41_0_, case when order0_.bpartner_extref is not null then false when (obpos_appl4_.c_bpartner_id is not null) and obpos_appl4_.c_bpartner_id = businesspa2_.c_bpartner_id then true when (organizati3_.em_obretco_c_bpartner_id is not null) and organizati3_.em_obretco_c_bpartner_id = businesspa2_.c_bpartner_id then true else false end as col_42_0_ from c_order order0_ inner join c_doctype documentty1_ on order0_.c_doctype_id = documentty1_.c_doctype_id inner join c_bpartner businesspa2_ on order0_.c_bpartner_id = businesspa2_.c_bpartner_id inner join ad_org organizati3_ on order0_.ad_org_id = organizati3_.ad_org_id inner join obpos_applications obpos_appl4_ on order0_.em_obpos_applications_id = obpos_appl4_.obpos_applications_id left outer join ad_org organizati5_ on order0_.ad_orgtrx_id = organizati5_.ad_org_id where ? = ? and ? = ? and order0_.dateordered >= to_date(?, ?) and order0_.ad_client_id = ? and order0_.ad_orgtrx_id = ? and order0_.em_obpos_isdeleted = ? and (order0_.docstatus not in (...)) and (order0_.docstatus <> ? or order0_.iscancelled = ?) order by col_21_0_ desc, col_20_0_ desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 30 07 1 10s809ms 10s809ms 15 1 9s11ms 9s11ms [ User: tad - Total duration: 19s820ms - Times executed: 2 ]
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 07:41:41 Duration: 10s809ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = 'A2E03C755D4B42CEA6267EF3A4F9212D' and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit '50';
Date: 2026-06-30 15:19:03 Duration: 9s11ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select order0_.EM_Obpos_Islayaway as col_0_0_, ( select coalesce(sum(fin_paymen6_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen6_ where fin_paymen6_.C_Order_ID = order0_.C_Order_ID) as col_1_0_, order0_.EM_Obpos2_Isdraftorder as col_2_0_, order0_.EM_Obpos2_Queueno as col_3_0_, order0_.EM_Obpos2_Created_In_Pos as col_4_0_, case when documentty1_.IsReturn = 'Y' then to_char('Refunded') when documentty1_.DocSubTypeSO = 'OB' then to_char('UnderEvaluation') when order0_.Iscancelled = 'Y' then to_char('Cancelled') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen9_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen9_ where fin_paymen9_.C_Order_ID = order0_.C_Order_ID) = 0 then to_char('UnPaid') when order0_.GrandTotal > 0 and ( select coalesce(sum(fin_paymen10_.Paidamt), 0) from FIN_Payment_Schedule fin_paymen10_ where fin_paymen10_.C_Order_ID = order0_.C_Order_ID) & lt; order0_.GrandTotal then to_char('PartiallyPaid') else to_char('Paid') end as col_5_0_, obpos_appl4_.Obpos_Applications_ID as col_6_0_, exists ( select 1 from C_InvoiceLine invoicelin11_ inner join C_Invoice invoice12_ on invoicelin11_.C_Invoice_ID = invoice12_.C_Invoice_ID inner join C_OrderLine orderline13_ on invoicelin11_.C_OrderLine_ID = orderline13_.C_OrderLine_ID inner join C_Order order14_ on orderline13_.C_Order_ID = order14_.C_Order_ID where order14_.C_Order_ID = order0_.C_Order_ID and invoice12_.EM_Obpos_Sequencename = 'simplifiedinvoiceslastassignednum') as col_7_0_, ( select case when count(orderline15_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline15_ inner join M_InOutLine materialmg16_ on orderline15_.M_Inoutline_ID = materialmg16_.M_InOutLine_ID inner join C_OrderLine orderline17_ on materialmg16_.C_OrderLine_ID = orderline17_.C_OrderLine_ID cross join C_Order order18_ where orderline15_.C_Order_ID = order18_.C_Order_ID and orderline17_.C_Order_ID = order0_.C_Order_ID and order18_.EM_Obpos2_Isvoid = 'N') as col_8_0_, ( select case when count(orderline19_.C_OrderLine_ID) > 0 then true else false end from C_OrderLine orderline19_ inner join M_InOutLine materialmg20_ on orderline19_.M_Inoutline_ID = materialmg20_.M_InOutLine_ID inner join C_OrderLine orderline21_ on materialmg20_.C_OrderLine_ID = orderline21_.C_OrderLine_ID cross join C_Order order22_ where orderline19_.C_Order_ID = order22_.C_Order_ID and orderline21_.C_Order_ID = order0_.C_Order_ID and order22_.EM_Obpos2_Isvoid = 'Y') as col_9_0_, case when exists ( select 1 from C_OrderLine orderline23_ where orderline23_.C_Order_ID = order0_.C_Order_ID and orderline23_.QtyOrdered < 0) then true else false end as col_10_0_, case when order0_.Quotation_ID is not null then true else false end as col_11_0_, exists ( select 1 from C_OrderLine orderline24_ inner join C_Order order25_ on orderline24_.C_Order_ID = order25_.C_Order_ID where order25_.C_Order_ID = order0_.C_Order_ID and (orderline24_.EM_Obpos_Cancellableqty is null or orderline24_.EM_Obpos_Cancellableqty <> 0)) as col_12_0_, case when order0_.EM_Cfis_Fiscalization_Result is not null then true else false end as col_13_0_, ( select etxf_tax_f26_.TAX_Free_Number from ETXF_Tax_Free_Form etxf_tax_f26_ where etxf_tax_f26_.Etxf_Tax_Free_Form_ID = order0_.EM_Etxf_Tax_Free_Form_ID) as col_14_0_, order0_.EM_Prpgr_Ticketno as col_15_0_, case when documentty1_.C_DocType_ID = organizati3_.EM_Gcnv_C_Doctypegcard_ID then 'GCNV_GiftCard' else case when documentty1_.IsReturn = 'Y' then 'RET' when documentty1_.DocSubTypeSO = 'OB' then 'QT' when order0_.EM_Obpos_Islayaway = 'Y' then 'LAY' else 'ORD' end end as col_16_0_, order0_.C_Order_ID as col_17_0_, documentty1_.C_DocType_ID as col_18_0_, order0_.DocStatus as col_19_0_, order0_.DocumentNo as col_20_0_, order0_.Created as col_21_0_, order0_.DateOrdered as col_22_0_, order0_.DateOrdered as col_23_0_, order0_.DateOrdered as col_24_0_, businesspa2_.C_BPartner_ID as col_25_0_, businesspa2_.Name as col_26_0_, order0_.GrandTotal as col_27_0_, order0_.GrandTotal as col_28_0_, order0_.GrandTotal as col_29_0_, order0_.Iscancelled as col_30_0_, organizati3_.AD_Org_ID as col_31_0_, organizati3_.Value as col_32_0_, organizati3_.Name as col_33_0_, organizati5_.AD_Org_ID as col_34_0_, organizati5_.Name as col_35_0_, order0_.IsDelivered as col_36_0_, order0_.BPartner_ExtRef as col_37_0_, ( select coalesce(max(orderline29_.EM_Obrdm_Delivery_Mode), 'PickAndCarry') from C_OrderLine orderline29_ where order0_.C_Order_ID = orderline29_.C_Order_ID and orderline29_.EM_Obpos_Isdeleted = 'N') as col_38_0_, ( select min( case when orderline30_.EM_Obrdm_Delivery_Date is null or orderline30_.EM_Obrdm_Delivery_Time is null then null else to_timestamp((to_char(orderline30_.EM_Obrdm_Delivery_Date, 'YYYY') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'MM') || '-' || to_char(orderline30_.EM_Obrdm_Delivery_Date, 'DD') || ' ' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'HH24') || ':' || to_char(orderline30_.EM_Obrdm_Delivery_Time, 'MI')), 'YYYY-MM-DD HH24:MI') end) from C_OrderLine orderline30_ where order0_.C_Order_ID = orderline30_.C_Order_ID) as col_39_0_, order0_.InvoiceRule as col_40_0_, order0_.EM_OBPOS_IsFullInvoice as col_41_0_, case when order0_.BPartner_ExtRef is not null then false when (obpos_appl4_.C_Bpartner_ID is not null) and obpos_appl4_.C_Bpartner_ID = businesspa2_.C_BPartner_ID then true when (organizati3_.EM_Obretco_C_Bpartner_ID is not null) and organizati3_.EM_Obretco_C_Bpartner_ID = businesspa2_.C_BPartner_ID then true else false end as col_42_0_ from C_Order order0_ inner join C_DocType documentty1_ on order0_.C_DocType_ID = documentty1_.C_DocType_ID inner join C_BPartner businesspa2_ on order0_.C_BPartner_ID = businesspa2_.C_BPartner_ID inner join AD_Org organizati3_ on order0_.AD_Org_ID = organizati3_.AD_Org_ID inner join OBPOS_APPLICATIONS obpos_appl4_ on order0_.EM_Obpos_Applications_ID = obpos_appl4_.Obpos_Applications_ID left outer join AD_Org organizati5_ on order0_.AD_OrgTrx_ID = organizati5_.AD_Org_ID where 1 = 1 and 1 = 1 and order0_.DateOrdered >= to_date('2016-07-02', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = $1 and order0_.EM_Obpos_Isdeleted = 'N' and (order0_.DocStatus not in ('CJ', 'CA', 'NC', 'AE', 'ME')) and (order0_.DocStatus <> 'CL' or order0_.Iscancelled = 'Y') order by col_21_0_ desc, col_20_0_ desc limit $2;
Date: 2026-06-30 07:41:40 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
12 9s355ms 9s355ms 9s355ms 1 9s355ms select ? || ad_orginfo.taxid as vatorg, c_orderline_id, c_order.c_order_id, ad_org.em_prbs_gln, ad_org.name as nameorg, coalesce(c_orderline.line_gross_amount, c_orderline.linenetamt) as importelinea, case when c_orderline.qtyordered > ? then c_orderline.qtyordered else ? end as qtyordered, case when c_orderline.qtyordered < ? then abs(c_orderline.qtyordered) else ? end as qtyreturned, c_currency.iso_code as currencycode, m_product.upc as upcproduct from c_order left join c_doctype on c_doctype.c_doctype_id = coalesce(c_order.c_doctypetarget_id, c_order.c_doctype_id) left join c_orderline on c_orderline.c_order_id = c_order.c_order_id left join m_product on m_product.m_product_id = c_orderline.m_product_id left join ad_org on ad_org.ad_org_id = c_order.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join c_currency on c_currency.c_currency_id = c_orderline.c_currency_id where ad_org.em_prbs_gln is not null and c_order.em_prbs_isexported = ? and c_doctype.issotrx = ? and exists ( select ? from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) and trunc(c_order.created) >= trunc(coalesce(( select initial_date_export_orders from prbs_conf where prbs_conf_id = ?), now() - ?)) order by ?, ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 30 06 1 9s355ms 9s355ms [ User: tad - Total duration: 9s355ms - Times executed: 1 ]
-
select 'ES' || ad_orginfo.taxid as vatorg, c_orderline_id, c_order.c_order_id, ad_org.em_prbs_gln, ad_org.name as nameorg, coalesce(c_orderline.line_gross_amount, c_orderline.linenetamt) as importelinea, case when c_orderline.qtyordered > 0 then c_orderline.qtyordered else 0 end as qtyordered, case when c_orderline.qtyordered < 0 then abs(c_orderline.qtyordered) else 0 end as qtyreturned, c_currency.iso_code as currencycode, m_product.upc as upcproduct from c_order left join c_doctype on c_doctype.c_doctype_id = coalesce(c_order.c_doctypetarget_id, c_order.c_doctype_id) left join c_orderline on c_orderline.c_order_id = c_order.c_order_id left join m_product on m_product.m_product_id = c_orderline.m_product_id left join ad_org on ad_org.ad_org_id = c_order.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join c_currency on c_currency.c_currency_id = c_orderline.c_currency_id where ad_org.em_prbs_gln is not null and c_order.em_prbs_isexported = 'N' and c_doctype.issotrx = 'Y' and exists ( select 1 from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) and trunc(c_order.created) >= trunc(coalesce(( select initial_date_export_orders from prbs_conf where prbs_conf_id = '54C515E3EA2D4D1D8C119FFBBDFDC16C'), now() - 1)) order by 1, 4;
Date: 2026-06-30 06:00:12 Duration: 9s355ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
13 7s866ms 10s241ms 9s54ms 2 18s108ms select m_productprice_id, pl.m_pricelist_id, pl.name AS "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name AS "Price List Version", plv.validfrom AS "Valid From", pp.created, pp.createdby, trunc(pp.updated) AS "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 30 12 1 7s866ms 7s866ms 19 1 10s241ms 10s241ms [ User: tad - Total duration: 18s108ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 18s108ms - Times executed: 2 ]
-
select m_productprice_id, pl.m_pricelist_id, pl.name as "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name as "Price List Version", plv.validfrom as "Valid From", pp.created, pp.createdby, trunc(pp.updated) as "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;
Date: 2026-06-30 19:32:06 Duration: 10s241ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
-
select m_productprice_id, pl.m_pricelist_id, pl.name as "Price List", pl.issopricelist, pl.isdefault, pl.c_currency_id, cu.iso_code, plv.name as "Price List Version", plv.validfrom as "Valid From", pp.created, pp.createdby, trunc(pp.updated) as "updated", pp.m_product_id, pp.pricelist, pp.pricestd, pp.pricelimit from m_productprice pp inner join m_pricelist_version plv on plv.m_pricelist_version_id = pp.m_pricelist_version_id inner join m_pricelist pl on pl.m_pricelist_id = plv.m_pricelist_id inner join c_currency cu on cu.c_currency_id = pl.c_currency_id;
Date: 2026-06-30 12:30:59 Duration: 7s866ms Database: openbravo User: tad Remote: 10.0.0.13 Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Bind query: yes
14 6s700ms 6s833ms 6s793ms 4 27s173ms select ad_tab.ad_tab_id as tabid, ad_tab.name as tabname, ad_window.name as windowname, ad_tab.seqno as seqno, ad_tab.tablevel as tablevel, ad_tab.name as tabnamecompact, ad_tab.ad_window_id as key, ? as td_class, ? as href, ? as td_height, ? as parent_key, ad_window.name as realwindowname, ad_tab.whereclause, ad_window.windowtype, ad_tab.issorttab, ad_tab.ad_columnsortorder_id, ad_tab.ad_columnsortyesno_id, ad_table.accesslevel, ad_tab.ad_process_id, ad_tab.uipattern, ad_tab.name as realtabname, ad_tab.orderbyclause, ? as tabnametrl, ad_table.ad_table_id as table_id, ad_tab.isinfotab, ad_tab.istranslationtab, ? as nametab, replace(replace(ad_tab.filterclause, chr(?), ?), chr(?), ?) as filterclause, ad_tab.editreference, ( case when m1.ad_module_id = ? then null else m1.javapackage end) as javapackage, ad_tab.ad_module_id as tabmodule, ad_table.isdeleteable from ad_tab, ad_window, ad_table, ad_module m1 where ad_tab.ad_window_id = ad_window.ad_window_id and ad_tab.ad_table_id = ad_table.ad_table_id and ad_table.dataorigintype = ? and ad_window.isactive = ? and ad_window.windowtype in (...) and upper(ad_window.name) like ? || upper(?) || ? and ad_tab.ad_table_id in ( select ad_table.ad_table_id from ad_column, ad_table where ad_column.ad_table_id = ad_table.ad_table_id and (ad_column.iskey = ? or ad_column.issecondarykey = ?) and ad_tab.isactive = ? and exists ( select ? from ad_tab, ad_column where ad_tab.ad_table_id = ad_column.ad_table_id and ad_tab.tablevel = ? and (ad_column.iskey = ? or ad_column.issecondarykey = ?)) and ad_tab.ad_window_id = ad_window.ad_window_id) and m1.ad_module_id = ad_window.ad_module_id and ? = ? order by ad_window.name, ad_tab.tablevel, ad_tab.seqno;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 30 05 2 13s652ms 6s826ms 06 1 6s820ms 6s820ms 20 1 6s700ms 6s700ms [ User: tad - Total duration: 27s173ms - Times executed: 4 ]
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 05:50:50 Duration: 6s833ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 06:33:22 Duration: 6s820ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
SELECT AD_TAB.ad_tab_id AS tabId, AD_TAB.NAME AS tabName, AD_WINDOW.NAME AS windowName, AD_TAB.seqno AS seqNo, AD_TAB.tablevel AS tabLevel, AD_TAB.NAME AS tabNameCompact, AD_TAB.AD_WINDOW_ID AS KEY, '' AS TD_Class, '' AS href, '' AS Td_Height, '' AS Parent_Key, AD_WINDOW.NAME AS realWindowName, AD_TAB.whereclause, AD_WINDOW.windowtype, ad_tab.issorttab, ad_tab.AD_COLUMNSORTORDER_ID, ad_tab.AD_COLUMNSORTYESNO_ID, AD_TABLE.ACCESSLEVEL, AD_TAB.ad_process_id, AD_TAB.UIPATTERN, AD_TAB.NAME AS realTabName, AD_TAB.ORDERBYCLAUSE, '' as tabNameTrl, AD_TABLE.ad_table_id AS table_Id, ad_tab.isInfoTab, ad_tab.isTranslationTab, '' AS NameTab, replace(replace(AD_TAB.FILTERCLAUSE, CHR(10), ' '), CHR(13), ' ') AS FILTERCLAUSE, AD_TAB.EDITREFERENCE, ( CASE WHEN M1.AD_MODULE_ID = '0' THEN NULL ELSE M1.JavaPackage END) AS JAVAPACKAGE, AD_TAB.AD_MODULE_ID as tabmodule, AD_TABLE.ISDELETEABLE FROM AD_TAB, AD_WINDOW, AD_TABLE, AD_MODULE M1 WHERE AD_TAB.AD_WINDOW_ID = AD_WINDOW.AD_WINDOW_ID AND AD_TAB.AD_TABLE_ID = AD_TABLE.AD_TABLE_ID AND AD_TABLE.DataOriginType = 'Table' AND AD_WINDOW.IsActive = 'Y' AND AD_WINDOW.WindowType IN ('M', 'Q', 'T') AND UPPER(AD_WINDOW.NAME) LIKE '%' || UPPER('%') || '%' AND AD_TAB.ad_table_id IN ( SELECT AD_TABLE.ad_table_id FROM AD_COLUMN, AD_TABLE WHERE AD_COLUMN.ad_table_id = AD_TABLE.ad_table_id AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y') AND AD_TAB.ISACTIVE = 'Y' AND EXISTS ( SELECT 1 FROM AD_TAB, AD_COLUMN WHERE AD_TAB.AD_TABLE_ID = AD_COLUMN.ad_table_id AND AD_TAB.TABLEVEL = 0 AND (AD_COLUMN.iskey = 'Y' OR AD_COLUMN.issecondarykey = 'Y')) AND AD_TAB.ad_window_id = AD_WINDOW.ad_window_id) AND M1.AD_MODULE_ID = AD_WINDOW.AD_Module_ID AND 1 = 1 ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno;
Date: 2026-06-30 05:16:29 Duration: 6s818ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
15 5s462ms 7s611ms 6s537ms 2 13s74ms select this_.m_transaction_id as m_transa1_658_0_, this_.ad_client_id as ad_clien2_658_0_, this_.ad_org_id as ad_org_i3_658_0_, this_.isactive as isactive4_658_0_, this_.created as created5_658_0_, this_.createdby as createdb6_658_0_, this_.updated as updated7_658_0_, this_.updatedby as updatedb8_658_0_, this_.movementtype as movement9_658_0_, this_.m_locator_id as m_locat10_658_0_, this_.m_product_id as m_produ11_658_0_, this_.movementdate as movemen12_658_0_, this_.movementqty as movemen13_658_0_, this_.m_inventoryline_id as m_inven14_658_0_, this_.m_movementline_id as m_movem15_658_0_, this_.m_inoutline_id as m_inout16_658_0_, this_.m_productionline_id as m_produ17_658_0_, this_.c_projectissue_id as c_proje18_658_0_, this_.m_attributesetinstance_id as m_attri19_658_0_, this_.m_product_uom_id as m_produ20_658_0_, this_.quantityorder as quantit21_658_0_, this_.c_uom_id as c_uom_i22_658_0_, this_.m_internal_consumptionline_id as m_inter23_658_0_, this_.transactioncost as transac24_658_0_, this_.trxprocessdate as trxproc25_658_0_, this_.m_costing_algorithm_id as m_costi26_658_0_, this_.iscostcalculated as iscostc27_658_0_, this_.c_currency_id as c_curre28_658_0_, this_.costing_status as costing29_658_0_, this_.checkreservedqty as checkre30_658_0_, this_.isprocessed as isproce31_658_0_, this_.checkpricedifference as checkpr32_658_0_, this_.em_prouti_exported as em_prou33_658_0_, this_.manualcostadjustment as manualc34_658_0_, this_.iscostpermanent as iscostp35_658_0_, this_.em_pricm_inoutline_id as em_pric36_658_0_ from m_transaction this_ where this_.checkpricedifference = ? and this_.iscostcalculated = ? and this_.ad_org_id in (...) and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ? order by this_.movementdate asc, this_.trxprocessdate asc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 30 01 1 5s462ms 5s462ms 13 1 7s611ms 7s611ms [ User: tad - Total duration: 13s74ms - Times executed: 2 ]
-
select this_.M_Transaction_ID as m_transa1_658_0_, this_.AD_Client_ID as ad_clien2_658_0_, this_.AD_Org_ID as ad_org_i3_658_0_, this_.IsActive as isactive4_658_0_, this_.Created as created5_658_0_, this_.CreatedBy as createdb6_658_0_, this_.Updated as updated7_658_0_, this_.UpdatedBy as updatedb8_658_0_, this_.MovementType as movement9_658_0_, this_.M_Locator_ID as m_locat10_658_0_, this_.M_Product_ID as m_produ11_658_0_, this_.MovementDate as movemen12_658_0_, this_.MovementQty as movemen13_658_0_, this_.M_InventoryLine_ID as m_inven14_658_0_, this_.M_MovementLine_ID as m_movem15_658_0_, this_.M_InOutLine_ID as m_inout16_658_0_, this_.M_ProductionLine_ID as m_produ17_658_0_, this_.C_ProjectIssue_ID as c_proje18_658_0_, this_.M_AttributeSetInstance_ID as m_attri19_658_0_, this_.M_Product_Uom_Id as m_produ20_658_0_, this_.QuantityOrder as quantit21_658_0_, this_.C_UOM_ID as c_uom_i22_658_0_, this_.M_Internal_Consumptionline_ID as m_inter23_658_0_, this_.TransactionCost as transac24_658_0_, this_.TrxProcessDate as trxproc25_658_0_, this_.M_Costing_Algorithm_ID as m_costi26_658_0_, this_.IsCostCalculated as iscostc27_658_0_, this_.C_Currency_ID as c_curre28_658_0_, this_.Costing_Status as costing29_658_0_, this_.Checkreservedqty as checkre30_658_0_, this_.Isprocessed as isproce31_658_0_, this_.Checkpricedifference as checkpr32_658_0_, this_.EM_Prouti_Exported as em_prou33_658_0_, this_.Manualcostadjustment as manualc34_658_0_, this_.IsCostPermanent as iscostp35_658_0_, this_.EM_Pricm_Inoutline_ID as em_pric36_658_0_ from M_Transaction this_ where this_.Checkpricedifference = 'Y' and this_.IsCostCalculated = 'Y' and this_.AD_Org_ID in ('0217C3DD1A5D451C9BD8671ED45719B9') and this_.AD_Org_ID in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '0', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and this_.AD_Client_ID in ('9032A5586FD74B7AA85361E71EEB6E37', '0') and this_.IsActive = 'Y' order by this_.MovementDate asc, this_.TrxProcessDate asc;
Date: 2026-06-30 13:00:08 Duration: 7s611ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select this_.M_Transaction_ID as m_transa1_658_0_, this_.AD_Client_ID as ad_clien2_658_0_, this_.AD_Org_ID as ad_org_i3_658_0_, this_.IsActive as isactive4_658_0_, this_.Created as created5_658_0_, this_.CreatedBy as createdb6_658_0_, this_.Updated as updated7_658_0_, this_.UpdatedBy as updatedb8_658_0_, this_.MovementType as movement9_658_0_, this_.M_Locator_ID as m_locat10_658_0_, this_.M_Product_ID as m_produ11_658_0_, this_.MovementDate as movemen12_658_0_, this_.MovementQty as movemen13_658_0_, this_.M_InventoryLine_ID as m_inven14_658_0_, this_.M_MovementLine_ID as m_movem15_658_0_, this_.M_InOutLine_ID as m_inout16_658_0_, this_.M_ProductionLine_ID as m_produ17_658_0_, this_.C_ProjectIssue_ID as c_proje18_658_0_, this_.M_AttributeSetInstance_ID as m_attri19_658_0_, this_.M_Product_Uom_Id as m_produ20_658_0_, this_.QuantityOrder as quantit21_658_0_, this_.C_UOM_ID as c_uom_i22_658_0_, this_.M_Internal_Consumptionline_ID as m_inter23_658_0_, this_.TransactionCost as transac24_658_0_, this_.TrxProcessDate as trxproc25_658_0_, this_.M_Costing_Algorithm_ID as m_costi26_658_0_, this_.IsCostCalculated as iscostc27_658_0_, this_.C_Currency_ID as c_curre28_658_0_, this_.Costing_Status as costing29_658_0_, this_.Checkreservedqty as checkre30_658_0_, this_.Isprocessed as isproce31_658_0_, this_.Checkpricedifference as checkpr32_658_0_, this_.EM_Prouti_Exported as em_prou33_658_0_, this_.Manualcostadjustment as manualc34_658_0_, this_.IsCostPermanent as iscostp35_658_0_, this_.EM_Pricm_Inoutline_ID as em_pric36_658_0_ from M_Transaction this_ where this_.Checkpricedifference = 'Y' and this_.IsCostCalculated = 'Y' and this_.AD_Org_ID in ('0217C3DD1A5D451C9BD8671ED45719B9') and this_.AD_Org_ID in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '0', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and this_.AD_Client_ID in ('9032A5586FD74B7AA85361E71EEB6E37', '0') and this_.IsActive = 'Y' order by this_.MovementDate asc, this_.TrxProcessDate asc;
Date: 2026-06-30 01:00:05 Duration: 5s462ms Database: openbravo User: tad Remote: 10.3.1.9 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
- 2,160,940 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 1 FATAL entries
- 84 ERROR entries
- 0 WARNING entries
- 65 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 65 Max number of times the same event was reported
- 150 Total events found
Rank Times reported Error 1 65 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 30 05 28 06 19 07 3 20 15 - LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
Date: 2026-06-30 05:11:17 Database: openbravo Application: User: tad Remote: 10.3.1.9
Date: 2026-06-30 05:12:48 Database: openbravo Application: User: postgres Remote: 10.3.1.9
Date: 2026-06-30 05:12:48 Database: openbravo Application: User: tad Remote: 10.3.1.9
2 39 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 29 22 1 23 1 Jun 30 00 1 01 1 02 1 03 1 04 1 05 7 06 7 07 1 08 1 09 1 10 1 11 1 12 1 13 1 14 1 15 1 16 1 17 1 18 1 19 1 20 4 21 1 - ERROR: relation "pg_stat_statements" does not exist at character 78
- ERROR: relation "pg_stat_statements" does not exist at character 78
- ERROR: relation "pg_stat_statements" does not exist at character 78
Statement: COPY ( SELECT now() AS query_time, * FROM pg_stat_statements ) TO STDOUT WITH (FORMAT CSV, HEADER TRUE)
Date: 2026-06-29 22:00:02 Database: postgres Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) User: postgres Remote: 10.3.1.9
Statement: COPY ( SELECT now() AS query_time, * FROM pg_stat_statements ) TO STDOUT WITH (FORMAT CSV, HEADER TRUE)
Date: 2026-06-29 23:00:02 Database: postgres Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) User: postgres Remote: 10.3.1.9
Statement: COPY ( SELECT now() AS query_time, * FROM pg_stat_statements ) TO STDOUT WITH (FORMAT CSV, HEADER TRUE)
Date: 2026-06-30 00:00:02 Database: postgres Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) User: postgres Remote: 10.3.1.9
3 35 ERROR: cannot drop view ... because other objects depend on it
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 30 05 14 06 14 20 7 - ERROR: cannot drop view c_invoice_v because other objects depend on it
- ERROR: cannot drop view c_invoice_v2 because other objects depend on it
- ERROR: cannot drop view fin_payment_detail_v because other objects depend on it
Detail: view c_invoiceline_v depends on view c_invoice_v
Hint: Use DROP ... CASCADE to drop the dependent objects too.
Statement: -- END -- ----------------------------------------------------------------------- -- VIEW C_INVOICE_V -- ----------------------------------------------------------------------- -- SCRIPT OPTIONS (FORCE = TRUE) DROP VIEW IF EXISTS C_INVOICE_VDate: 2026-06-30 05:12:31 Database: openbravo Application: User: tad Remote: 10.3.1.9
Detail: view c_invoiceline_v2 depends on view c_invoice_v2
Hint: Use DROP ... CASCADE to drop the dependent objects too.
Statement: -- END -- ----------------------------------------------------------------------- -- VIEW C_INVOICE_V2 -- ----------------------------------------------------------------------- -- SCRIPT OPTIONS (FORCE = TRUE) DROP VIEW IF EXISTS C_INVOICE_V2Date: 2026-06-30 05:12:31 Database: openbravo Application: User: tad Remote: 10.3.1.9
Detail: view fin_payment_sched_inv_v depends on view fin_payment_detail_v view fin_payment_prop_detail_v depends on view fin_payment_sched_inv_v
Hint: Use DROP ... CASCADE to drop the dependent objects too.
Statement: -- END -- ----------------------------------------------------------------------- -- VIEW FIN_PAYMENT_DETAIL_V -- ----------------------------------------------------------------------- -- SCRIPT OPTIONS (FORCE = TRUE) DROP VIEW IF EXISTS FIN_PAYMENT_DETAIL_VDate: 2026-06-30 05:12:31 Database: openbravo Application: User: tad Remote: 10.3.1.9
4 5 ERROR: multiple primary keys for table "..." are not allowed
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 30 05 2 06 2 20 1 - ERROR: multiple primary keys for table "pruti_invoices_recipient" are not allowed
- ERROR: multiple primary keys for table "pruti_invoices_recipient" are not allowed
- ERROR: multiple primary keys for table "pruti_invoices_recipient" are not allowed
Statement: -- END ALTER TABLE PRUTI_INVOICES_RECIPIENT ADD CONSTRAINT PRUTI_INV_RCPNTS_PKEY PRIMARY KEY (PRUTI_INVOICES_RECIPIENT_ID)
Date: 2026-06-30 05:12:32 Database: openbravo Application: User: tad Remote: 10.3.1.9
Statement: -- END ALTER TABLE PRUTI_INVOICES_RECIPIENT ADD CONSTRAINT PRUTI_INV_RCPNTS_PKEY PRIMARY KEY (PRUTI_INVOICES_RECIPIENT_ID)
Date: 2026-06-30 05:47:03 Database: openbravo Application: User: tad Remote: 10.3.1.9
Statement: -- END ALTER TABLE PRUTI_INVOICES_RECIPIENT ADD CONSTRAINT PRUTI_INV_RCPNTS_PKEY PRIMARY KEY (PRUTI_INVOICES_RECIPIENT_ID)
Date: 2026-06-30 06:05:10 Database: openbravo Application: User: tad Remote: 10.3.1.9
5 2 ERROR: insert or update on table "..." violates foreign key constraint "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Jun 30 06 2 - ERROR: insert or update on table "etcop_conversation" violates foreign key constraint "etcop_conv_app_fk"
- ERROR: insert or update on table "etcop_conversation" violates foreign key constraint "etcop_conv_app_fk"
Detail: Key (etcop_app_id)=(CD1E262D6D0543D6850F3A4FEDACB5EC) is not present in table "etcop_app".
Statement: -- END ALTER TABLE ETCOP_CONVERSATION ADD CONSTRAINT ETCOP_CONV_APP_FK FOREIGN KEY (ETCOP_APP_ID) REFERENCES ETCOP_APP (ETCOP_APP_ID) ON DELETE SET NULLDate: 2026-06-30 06:05:20 Database: openbravo Application: User: tad Remote: 10.3.1.9
Detail: Key (etcop_app_id)=(CD1E262D6D0543D6850F3A4FEDACB5EC) is not present in table "etcop_app".
Statement: -- END ALTER TABLE ETCOP_CONVERSATION ADD CONSTRAINT ETCOP_CONV_APP_FK FOREIGN KEY (ETCOP_APP_ID) REFERENCES ETCOP_APP (ETCOP_APP_ID) ON DELETE SET NULLDate: 2026-06-30 06:05:20 Database: openbravo Application: User: tad Remote: 10.3.1.9
6 1 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Jun 30 06 1 - ERROR: update or delete on table "etcop_conversation" violates foreign key constraint "etcop_msg_conv" on table "etcop_message"
Detail: Key (etcop_conversation_id)=(DB77B9DEF7B244A191D130CA8381C52C) is still referenced from table "etcop_message".
Statement: delete from etcop_conversation where etcop_conversation_id = 'DB77B9DEF7B244A191D130CA8381C52C'Date: 2026-06-30 06:24:23 Database: openbravo Application: User: tad Remote: 10.0.0.13
7 1 ERROR: new row for relation "..." violates check constraint "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Jun 30 13 1 - ERROR: new row for relation "c_invoiceline" violates check constraint "c_invoiceline_check2"
Detail: Failing row contains (CBB238CEFD844675B56E93E02EB82A4E, 9032A5586FD74B7AA85361E71EEB6E37, 0E7A5DA7DF09498EBDE705114F24A66A, Y, 2026-06-30 15:49:34.571, FCB7D5C7FD0143A285547DF94FFEBDAF, 2026-06-30 15:49:34.571, FCB7D5C7FD0143A285547DF94FFEBDAF, 0F9CF2FCDF6C4AD89302EB0702B5EAE0, null, null, 10, Compra agrupada de productos factura 3532871, Y, FCDD092EA88B46C78195DDA5F6F45BF2, null, 1, 0, 346.5, 0, 346.5, null, 0, 100, null, null, null, N, null, null, null, null, null, 346.5, N, N, 346.5, 0, 0, C29116A9353342E38F25647C01F4B328, null, 0, null, null, 0, null, N, null, null, null, null, N, null, N, null, null, null, null, null, null, null, null).
Statement: insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, Line, Description, Financial_Invoice_Line, Account_ID, QtyInvoiced, PriceList, PriceActual, PriceLimit, LineNetAmt, C_UOM_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Taxbaseamt, Line_Gross_Amount, Gross_Unit_Price, C_Bpartner_ID, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, 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)Date: 2026-06-30 13:49:34 Database: openbravo Application: User: tad Remote: 10.3.1.9
8 1 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Jun 30 06 1 - ERROR: null value in column "etcop_app_id" of relation "etcop_role_app" violates not-null constraint
Detail: Failing row contains (57C2B7B471F34050841847E7366EC1FC, 9032A5586FD74B7AA85361E71EEB6E37, 0, Y, 2026-06-30 08:41:06.076, 100, 2026-06-30 08:41:06.076, 100, C1933C0C4A3A44BCB284AE1224E9C421, null).
Statement: insert into etcop_role_app (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, AD_Role_ID, Etcop_Role_App_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9)Date: 2026-06-30 06:41:06 Database: openbravo Application: User: tad Remote: 10.3.1.9
9 1 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Jun 30 06 1 - FATAL: password authentication failed for user "tad"
Detail: Connection matched file "/rdsdbdata/config/pg_hba.conf" line 13: "hostssl all all all md5"
Date: 2026-06-30 06:13:13 Database: openbravo Application: User: tad Remote: 10.0.0.13