-
Global information
- Generated on Tue Jun 30 02:08:37 2026
- Log file: /var/log/rds/asf-is-prod-55411203_2026-06-29_primary.log.gz
- Parsed 32,582,935 log entries in 8m35s
- Log start from 2026-06-28 22:00:00 to 2026-06-29 22:00:00
-
Overview
Global Stats
- 26 Number of unique normalized queries
- 31 Number of queries
- 37m24s Total query duration
- 2026-06-29 01:00:07 First query
- 2026-06-29 21:38:42 Last query
- 2 queries/s at 2026-06-29 06:00:10 Query peak
- 37m24s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 37m24s Execute total duration
- 27 Number of events
- 4 Number of unique normalized events
- 24 Max number of times the same event was reported
- 0 Number of cancellation
- 47 Total number of automatic vacuums
- 255 Total number of automatic analyzes
- 1,009,719 Number temporary file
- 123.95 MiB Max size of temporary file
- 19.35 KiB Average size of temporary file
- 33,673 Total number of sessions
- 1,113 sessions at 2026-06-29 21:57:07 Session peak
- 5d13h52m37s Total duration of sessions
- 14s312ms Average duration of sessions
- 0 Average queries per session
- 66ms Average queries duration per session
- 14s246ms Average idle time per session
- 35,258 Total number of connections
- 7 connections/s at 2026-06-29 12:30:50 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-06-29 06:00:10 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-06-29 06:00:10 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-06-29 13:00:35 Date
Queries duration
Key values
- 37m24s 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 28 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Jun 29 00 0 0ms 0ms 0ms 0ms 0ms 0ms 01 1 0ms 6s284ms 6s284ms 0ms 0ms 6s284ms 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 0 0ms 0ms 0ms 0ms 0ms 0ms 06 3 0ms 13s680ms 10s341ms 0ms 0ms 31s24ms 07 1 0ms 6s512ms 6s512ms 0ms 0ms 6s512ms 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 10 0ms 6m36s 1m22s 0ms 2m12s 6m36s 13 4 0ms 47s213ms 17s62ms 0ms 0ms 47s213ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 1 0ms 10s238ms 10s238ms 0ms 0ms 10s238ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 10 0ms 6m41s 1m18s 0ms 1m32s 6m41s 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 1 0ms 8m32s 8m32s 0ms 0ms 8m32s 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 28 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Jun 29 00 0 0 0ms 0ms 0ms 0ms 01 1 0 6s284ms 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 0 0 0ms 0ms 0ms 0ms 06 3 0 10s341ms 0ms 0ms 0ms 07 1 0 6s512ms 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 10 0 1m22s 0ms 0ms 2m59s 13 2 0 5s994ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 16 1 0 10s238ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 10 0 1m18s 0ms 0ms 3m52s 20 0 0 0ms 0ms 0ms 0ms 21 1 0 8m32s 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 28 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 29 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 1 1 0 0 28s131ms 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 28 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Jun 29 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 0 0.00 0.00% 06 0 3 3.00 0.00% 07 0 0 0.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 10 10.00 0.00% 13 0 4 4.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 1 1.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 10 10.00 0.00% 20 0 0 0.00 0.00% 21 0 1 1.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jun 28 22 1,468 0.41/s 23 1,466 0.41/s Jun 29 00 1,466 0.41/s 01 1,468 0.41/s 02 1,464 0.41/s 03 1,466 0.41/s 04 1,466 0.41/s 05 1,467 0.41/s 06 1,476 0.41/s 07 1,476 0.41/s 08 1,468 0.41/s 09 1,473 0.41/s 10 1,466 0.41/s 11 1,464 0.41/s 12 1,479 0.41/s 13 1,470 0.41/s 14 1,467 0.41/s 15 1,470 0.41/s 16 1,466 0.41/s 17 1,465 0.41/s 18 1,468 0.41/s 19 1,479 0.41/s 20 1,466 0.41/s 21 1,473 0.41/s 22 1 0.00/s Day Hour Count Average Duration Average idle time Jun 28 22 1,404 20s825ms 20s825ms 23 1,400 8s401ms 8s401ms Jun 29 00 1,400 9s257ms 9s257ms 01 1,402 23s159ms 23s155ms 02 1,398 7s377ms 7s377ms 03 1,400 19s544ms 19s544ms 04 1,400 15s258ms 15s258ms 05 1,401 10s197ms 10s197ms 06 1,410 14s963ms 14s941ms 07 1,410 16s31ms 16s27ms 08 1,402 9s850ms 9s850ms 09 1,406 9s693ms 9s693ms 10 1,401 14s908ms 14s908ms 11 1,398 5s661ms 5s661ms 12 1,413 30s922ms 30s338ms 13 1,404 14s800ms 14s752ms 14 1,401 9s811ms 9s811ms 15 1,404 13s5ms 13s5ms 16 1,400 14s401ms 14s394ms 17 1,399 15s608ms 15s608ms 18 1,402 13s702ms 13s702ms 19 1,413 16s674ms 16s118ms 20 1,400 7s588ms 7s588ms 21 1,405 21s626ms 21s261ms 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 7 connections Connection Peak
- 2026-06-29 12:30:50 Date
Connections per database
Key values
- openbravo Main Database
- 35,258 connections Total
Connections per user
Key values
- postgres Main User
- 35,258 connections Total
-
Sessions
Simultaneous sessions
Key values
- 1,113 sessions Session Peak
- 2026-06-29 21:57:07 Date
Histogram of session times
Key values
- 33,435 0-500ms duration
Sessions per database
Key values
- openbravo Main Database
- 33,673 sessions Total
Sessions per user
Key values
- postgres Main User
- 33,673 sessions Total
Sessions per host
Key values
- 10.0.0.13 Main Host
- 33,673 sessions Total
Sessions per application
Key values
- unknown Main Application
- 33,673 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 22,073 buffers Checkpoint Peak
- 2026-06-29 20:09:09 Date
- 269.346 seconds Highest write time
- 0.047 seconds Sync time
Checkpoints Wal files
Key values
- 2 files Wal files usage Peak
- 2026-06-29 17:06:05 Date
Checkpoints distance
Key values
- 221.58 Mo Distance Peak
- 2026-06-29 20:09:09 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 28 22 3,011 300.255s 0.027s 300.347s 23 518 49.821s 0.029s 49.905s Jun 29 00 631 60.975s 0.029s 61.056s 01 500 48.304s 0.027s 48.384s 02 482 46.392s 0.027s 46.477s 03 641 61.979s 0.032s 62.066s 04 489 47.001s 0.027s 47.085s 05 507 48.91s 0.027s 48.995s 06 1,214 119.817s 0.028s 119.903s 07 1,752 173.705s 0.027s 173.788s 08 1,097 107.541s 0.032s 107.635s 09 4,055 404.434s 0.029s 404.522s 10 3,934 392.706s 0.027s 392.789s 11 2,436 242.483s 0.029s 242.576s 12 663 64.933s 0.077s 65.482s 13 4,511 319.154s 0.032s 319.253s 14 1,305 128.463s 0.043s 128.593s 15 5,404 540.078s 0.027s 540.16s 16 6,545 654.718s 0.032s 654.818s 17 5,222 521.493s 0.028s 521.58s 18 6,335 633.835s 0.032s 633.94s 19 1,942 193.713s 0.067s 194.143s 20 23,744 434.769s 0.033s 434.885s 21 2,313 230.63s 0.026s 230.713s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 28 22 0 0 12 303 0.003s 0.012s 23 0 0 12 249 0.002s 0.012s Jun 29 00 0 0 12 250 0.002s 0.012s 01 0 0 12 236 0.002s 0.012s 02 0 0 12 234 0.002s 0.012s 03 0 0 12 261 0.004s 0.012s 04 0 0 12 234 0.002s 0.012s 05 0 0 12 240 0.002s 0.012s 06 0 0 12 515 0.002s 0.012s 07 0 0 12 379 0.002s 0.012s 08 0 0 12 616 0.002s 0.012s 09 0 0 12 1,328 0.003s 0.012s 10 0 0 11 1,398 0.002s 0.011s 11 0 0 13 627 0.002s 0.013s 12 0 0 12 288 0.043s 0.013s 13 0 0 12 394 0.003s 0.012s 14 0 0 12 695 0.010s 0.012s 15 0 0 11 2,108 0.002s 0.011s 16 0 0 13 2,690 0.004s 0.013s 17 0 0 12 1,859 0.002s 0.011s 18 0 0 11 2,423 0.003s 0.012s 19 0 0 12 758 0.035s 0.012s 20 0 0 13 705 0.004s 0.013s 21 0 0 11 312 0.004s 0.011s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jun 28 22 0 0s 23 0 0s Jun 29 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 28 22 65,503.17 kB 67,390.92 kB 23 65,538.17 kB 66,043.58 kB Jun 29 00 65,535.33 kB 65,678.58 kB 01 65,535.75 kB 65,577.58 kB 02 65,535.75 kB 65,556.08 kB 03 65,533.08 kB 65,552.75 kB 04 65,537.83 kB 65,595.00 kB 05 65,535.58 kB 65,606.25 kB 06 65,535.42 kB 65,592.25 kB 07 65,535.50 kB 66,119.17 kB 08 65,537.25 kB 65,740.83 kB 09 65,537.75 kB 66,086.42 kB 10 65,538.18 kB 66,772.73 kB 11 65,527.23 kB 66,913.77 kB 12 65,535.33 kB 66,111.17 kB 13 65,535.50 kB 71,163.67 kB 14 65,538.42 kB 67,109.00 kB 15 65,551.00 kB 66,660.91 kB 16 65,522.92 kB 69,698.77 kB 17 65,621.18 kB 67,813.55 kB 18 65,506.08 kB 66,297.83 kB 19 65,486.08 kB 66,163.83 kB 20 65,532.54 kB 89,474.46 kB 21 65,589.45 kB 73,042.09 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 93.51 MiB Temp Files size Peak
- 2026-06-29 19:41:22 Date
Number of temporary files
Key values
- 2,200 per second Temp Files Peak
- 2026-06-29 12:34:19 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 28 22 18 743.67 MiB 41.32 MiB 23 18 743.67 MiB 41.32 MiB Jun 29 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 18 743.67 MiB 41.32 MiB 06 18 743.67 MiB 41.32 MiB 07 19 746.78 MiB 39.30 MiB 08 18 743.67 MiB 41.32 MiB 09 18 743.67 MiB 41.32 MiB 10 17 712.80 MiB 41.93 MiB 11 19 746.79 MiB 39.30 MiB 12 504,644 1.17 GiB 2.43 KiB 13 18 743.67 MiB 41.32 MiB 14 20 749.90 MiB 37.50 MiB 15 20 749.90 MiB 37.50 MiB 16 20 790.42 MiB 39.52 MiB 17 18 743.67 MiB 41.32 MiB 18 23 840.29 MiB 36.53 MiB 19 504,665 1.31 GiB 2.73 KiB 20 18 743.67 MiB 41.32 MiB 21 19 757.80 MiB 39.88 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,816 730.90 MiB 62 B 2.71 MiB 759.711150497217 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-29 12:37:34 Duration: 6m36s 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-29 12:32:58 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 144 17.40 GiB 93.08 MiB 123.95 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-28 22:00:00 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
3 12 280.51 MiB 9.23 MiB 37.52 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-01', '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-29 16:18:31 Duration: 10s238ms 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-01', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = '36C6F10C71334D55A0AFB7A803BF244B' 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-29 19:41:25 Duration: 5s588ms 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-01', '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-29 16:18:27 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
4 9 28.04 MiB 3.11 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 = 'FC4702F19C8E41A69EBAB5253A211B8A') 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 = 'FC4702F19C8E41A69EBAB5253A211B8A'), '')) 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 = 'FC4702F19C8E41A69EBAB5253A211B8A'), '') || ',') 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)) 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 <= $16 and pricingpro7_.Validto >= $17 and (pricingpro7_.AD_Org_ID in ($18, $19, $20, $21)) 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 = $22 and pricingpro4_.M_PriceList_Version_ID = $23 and (product1_.Updated > $24 or obretco_pr0_.Updated > $25 or uom22_.Updated > $26 or productcat14_.Updated > $27 or pricingpro4_.Updated > $28 or pricingpri35_.Updated > $29 or pricingpro5_.Validfrom > $30 or pricingpro5_.Validto < $31 or pricingpro5_.Updated > $32 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 <= $33 and pricingpro36_.Validto >= $34 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 <= $35 and pricingpro37_.Validto >= $36))) and 1 = 1 order by product1_.M_Product_ID limit $37;
Date: 2026-06-29 07:30:55 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
5 4 116.28 MiB 28.21 MiB 29.89 MiB 29.07 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-29 12:31:32 Duration: 39s724ms 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-29 19:32:33 Duration: 23s484ms 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)
6 3 2.74 KiB 385 B 1.30 KiB 933.666666666667 B select ;-
SELECT ;
Date: 2026-06-29 12:33:27 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
7 3 2.22 KiB 526 B 1.03 KiB 758.666666666667 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-29 12:34:37 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
8 2 1.84 KiB 808 B 1.05 KiB 940 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 = ? 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-29 19:38:38 Duration: 6m41s 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' 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-29 12:33:28 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
9 2 60.58 MiB 30.25 MiB 30.33 MiB 30.29 MiB select "_"."m_inoutline_id" AS "m_inoutline_id", ;-
select "_"."m_inoutline_id" as "m_inoutline_id", ;
Date: 2026-06-29 12:31:32 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
10 1 14.12 MiB 14.12 MiB 14.12 MiB 14.12 MiB insert into prpres_product_feat_value (prpres_product_feature_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, prestashop_id, prestashop_custom, property_value, prpres_product_feat_value_id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);-
insert into PRPRES_Product_Feat_Value (Prpres_Product_Feature_ID, AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, Value, Prestashop_ID, Prestashop_Custom, Property_Value, Prpres_Product_Feat_Value_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13);
Date: 2026-06-29 21:38:43 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
Queries generating the largest temporary files
Rank Size Query 1 123.95 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-28 22:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
2 123.95 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-28 22:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
3 123.95 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-28 22:30:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
4 123.95 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-28 22:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
5 123.95 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-28 22:10:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
6 123.95 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-28 23:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
7 123.95 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-28 23:10:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
8 123.95 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-28 23:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
9 123.95 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-28 23:30:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
10 123.95 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-28 23:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
11 123.95 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-28 22:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
12 123.95 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-29 00:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
13 123.95 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-29 00:10:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
14 123.95 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-29 00:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
15 123.95 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-29 00:30:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
16 123.95 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-29 00:40:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
17 123.95 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-29 00:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
18 123.95 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-28 23:50:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
19 123.95 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-29 01:00:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
20 123.95 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-29 01:20:00 - Database: openbravo - User: tad - Remote: 10.3.1.9 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 1.73 sec Highest CPU-cost vacuum
Table public.c_invoice
Database openbravo - 2026-06-29 20:02:59 Date
- 0 sec Highest CPU-cost analyze
Table
Database openbravo - Date
Average Autovacuum Duration
Key values
- 1.73 sec Highest CPU-cost vacuum
Table public.c_invoice
Database openbravo - 2026-06-29 20:02:59 Date
Analyzes per table
Key values
- public.ad_cluster_service (168) Main table analyzed (database openbravo)
- 255 analyzes Total
Table Number of analyzes openbravo.public.ad_cluster_service 168 openbravo.public.c_import_entry 28 openbravo.public.ad_process_request 8 openbravo.public.ad_session 7 rdsadmin.pg_catalog.rds_heartbeat2 6 rdsadmin.public.rds_replication_info_heartbeat 6 openbravo.public.obpos_applications 5 openbravo.public.ad_ep_instance_para 5 openbravo.public.ad_sequence 4 openbravo.public.ad_process_run 3 openbravo.public.prpres_conf 2 openbravo.public.prpres_combination 2 openbravo.public.ad_preference 2 openbravo.public.prpres_product 2 openbravo.public.m_product_trl 1 openbravo.public.ad_pinstance 1 openbravo.public.ad_module 1 openbravo.public.fin_financial_account 1 openbravo.public.c_invoice 1 openbravo.public.obpos_app_cashup_user 1 openbravo.public.prpres_upload_errors 1 Total 255 Vacuums per table
Key values
- public.c_import_entry (15) Main table vacuumed on database openbravo
- 47 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 15 15 3,095 0 170 0 0 721 176 232,128 32 115 rdsadmin.pg_catalog.rds_heartbeat2 6 0 267 0 12 0 0 18 12 5,934 0 0 openbravo.pg_toast.pg_toast_489671 6 6 1,016 0 39 0 0 638 39 103,535 0 0 rdsadmin.public.rds_replication_info_heartbeat 6 0 267 0 12 0 0 18 12 5,916 0 0 openbravo.public.ad_ep_instance_para 3 3 177 0 15 0 0 30 15 8,402 0 0 openbravo.public.ad_module 2 2 546 0 27 0 0 209 28 56,789 14 83 openbravo.public.ad_process_request 2 2 1,761 0 395 0 0 1,045 397 562,764 179 253 openbravo.pg_catalog.pg_statistic 1 1 1,190 0 306 0 0 824 306 951,130 142 486 openbravo.pg_toast.pg_toast_487383 1 0 3,110 0 2,160 0 0 6,493 2,160 10,134,802 2,158 8,164 openbravo.public.ad_sequence 1 0 146 0 7 0 0 18 7 7,433 4 7 openbravo.public.ad_process_run 1 1 1,938 0 1,531 0 0 2,404 1,426 1,360,963 267 1,162 openbravo.pg_toast.pg_toast_2619 1 1 862 0 145 0 0 541 146 635,023 34 91 openbravo.public.c_invoice 1 1 37,492 0 622 0 0 33,523 620 3,570,292 0 0 openbravo.pg_toast.pg_toast_487662 1 1 93 0 11 0 0 66 14 67,257 0 0 Total 47 33 51,960 16,921 5,452 0 0 46,548 5,358 17,702,368 2,830 10,361 Vacuum throughput per table
Key values
- public.c_invoice (1.73) Max CPU elapsed for vacuum on database openbravo
- public.c_invoice (336.965 ms) Max I/O read time for vacuum on database openbravo
- pg_toast.pg_toast_487383 (9.231 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 15.635 0.33 0.02 rdsadmin.pg_catalog.rds_heartbeat2 5.622 0 0 openbravo.pg_toast.pg_toast_489671 3.825 0.208 0 rdsadmin.public.rds_replication_info_heartbeat 5.736 0 0 openbravo.public.ad_ep_instance_para 0.032 0.397 0 openbravo.public.ad_module 0 0 0 openbravo.public.ad_process_request 3.341 0 0.11 openbravo.pg_catalog.pg_statistic 3.967 0 0.09 openbravo.pg_toast.pg_toast_487383 39.775 9.231 0.9 openbravo.public.ad_sequence 3.054 0 0 openbravo.public.ad_process_run 44.18 3.079 0.53 openbravo.pg_toast.pg_toast_2619 10.885 0 0.06 openbravo.public.c_invoice 336.965 0.558 1.73 openbravo.pg_toast.pg_toast_487662 1.181 0 0 Total 474.198 13.803 3.44 Tuples removed per table
Key values
- public.c_invoice (20936) Main table with removed tuples on database openbravo
- 25671 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain openbravo.public.c_invoice 1 1 20,936 307,200 0 0 34,676 openbravo.pg_catalog.pg_statistic 1 1 910 9,686 0 0 659 openbravo.pg_toast.pg_toast_489671 6 6 803 2 0 163 32 openbravo.public.ad_process_run 1 1 645 15,780 0 0 3,364 openbravo.public.c_import_entry 15 15 557 343 0 69 119 openbravo.public.ad_process_request 2 2 408 5,404 3 0 1,034 openbravo.public.ad_module 2 2 331 638 2 0 96 rdsadmin.pg_catalog.rds_heartbeat2 6 0 306 6 0 0 6 rdsadmin.public.rds_replication_info_heartbeat 6 0 306 6 0 0 6 openbravo.pg_toast.pg_toast_2619 1 1 276 2,549 0 0 739 openbravo.public.ad_ep_instance_para 3 3 67 0 0 3 0 openbravo.public.ad_sequence 1 0 66 147 0 0 22 openbravo.pg_toast.pg_toast_487662 1 1 60 20 0 5 15 openbravo.pg_toast.pg_toast_487383 1 0 0 41,697 0 0 26,044 Total 47 33 25,671 383,478 5 240 66,812 Pages removed per table
Key values
- pg_toast.pg_toast_489671 (163) Main table with removed pages on database openbravo
- 240 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed openbravo.pg_toast.pg_toast_489671 6 6 803 163 openbravo.public.c_import_entry 15 15 557 69 openbravo.pg_toast.pg_toast_487662 1 1 60 5 openbravo.public.ad_ep_instance_para 3 3 67 3 openbravo.public.ad_module 2 2 331 0 rdsadmin.pg_catalog.rds_heartbeat2 6 0 306 0 openbravo.pg_catalog.pg_statistic 1 1 910 0 openbravo.pg_toast.pg_toast_487383 1 0 0 0 openbravo.public.ad_process_request 2 2 408 0 openbravo.public.ad_sequence 1 0 66 0 openbravo.public.ad_process_run 1 1 645 0 openbravo.pg_toast.pg_toast_2619 1 1 276 0 openbravo.public.c_invoice 1 1 20936 0 rdsadmin.public.rds_replication_info_heartbeat 6 0 306 0 Total 47 33 25,671 240 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 28 22 0 10 23 2 9 Jun 29 00 0 8 01 0 7 02 0 7 03 2 10 04 0 7 05 0 7 06 1 9 07 2 11 08 3 10 09 6 12 10 2 11 11 0 10 12 3 9 13 0 8 14 1 11 15 4 14 16 6 18 17 5 19 18 3 14 19 2 12 20 3 12 21 2 10 22 0 0 - 1.73 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
- 29 Total read queries
- 2 Total write queries
Queries by database
Key values
- openbravo Main database
- 31 Requests
- 37m24s (openbravo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 31 Requests
User Request type Count Duration tad Total 31 37m24s insert 1 9s49ms select 29 36m27s update 1 47s213ms Duration by user
Key values
- 37m24s (tad) Main time consuming user
User Request type Count Duration tad Total 31 37m24s insert 1 9s49ms select 29 36m27s update 1 47s213ms Queries by host
Key values
- 10.0.0.13 Main host
- 19 Requests
- 26m34s (10.0.0.13)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17 Requests
- 26m6s (unknown)
- Main time consuming application
Application Request type Count Duration Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) Total 13 11m11s select 13 11m11s psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) Total 1 6s512ms select 1 6s512ms unknown Total 17 26m6s insert 1 9s49ms select 15 25m9s update 1 47s213ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-06-29 02:05:21 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 8m32s select distinct m_product_category.em_asf_product_type as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfProductType' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ))))) or exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' )))))) UNION select distinct m_product_category.em_asf_navigationnode as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfNavigationnode' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct c_campaign.description as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from c_campaign left join prpres_product_feature on prpres_product_feature.property = 'prbsCCampaign.description' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and c_campaign.description is not null and c_campaign.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and c_campaign.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and c_campaign.updated >= '2026-06-28 23:30:10.809' UNION select distinct prbs_prod_composition.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.name' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and prbs_prod_composition.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (prbs_prod_composition.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.asfOuterMaterial' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = '3F5305A3511449B19C19C30FA658F896' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsTargetgroup' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = 'B3BAF3C070CA495E9477FF38953C3D40' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct m_ch_value.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = 'characteristicDescription' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and ad_treenode.parent_id = '0' and ad_tree_id = 'F271415BCE9F42BE8FBDF28C2B912F05' and m_ch_value.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' and m_ch_value.name is not null and m_ch_value.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_ch_value.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and m_ch_value.updated >= '2026-06-28 23:30:10.809' UNION select distinct m_product.em_asf_prestashop_title as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product left join prpres_product_feature on prpres_product_feature.property = 'asfPrestashopTitle' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37';[ Date: 2026-06-29 21:38:42 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
2 6m41s 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-29 19:38:38 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
3 6m36s 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-29 12:37:34 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
4 2m4s 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-29 19:34:08 - 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 1m53s 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-29 12:33:21 - 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 1m48s 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-29 19:34:16 - 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 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-29 12:32:44 - 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 1m6s 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-29 12:33:08 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
9 47s213ms update M_Product_Ch_Conf set SKCode = '1174208', 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 = '350C83BE7B67483CAA994F55D8FC139B' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '1174208');[ Date: 2026-06-29 13:01:44 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
10 39s724ms 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-29 12:31:32 - 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 39s205ms 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-29 19:32:36 - 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 30s768ms 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-29 12:31:23 - 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 29s914ms 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-29 12:32:07 - 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 29s696ms 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-29 19:33:24 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
15 23s484ms 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-29 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 ]
16 22s603ms 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-29 19:33:02 - Database: openbravo - User: tad - Remote: 10.0.0.13 - Bind query: yes ]
17 17s931ms 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-29 12:31:10 - 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 ]
18 17s826ms 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-29 19:32:20 - 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 ]
19 15s451ms select this_.C_InvoiceLine_ID as c_invoic1_276_2_, this_.AD_Client_ID as ad_clien2_276_2_, this_.AD_Org_ID as ad_org_i3_276_2_, this_.IsActive as isactive4_276_2_, this_.Created as created5_276_2_, this_.CreatedBy as createdb6_276_2_, this_.Updated as updated7_276_2_, this_.UpdatedBy as updatedb8_276_2_, this_.C_Invoice_ID as c_invoic9_276_2_, this_.C_OrderLine_ID as c_order10_276_2_, this_.M_InOutLine_ID as m_inout11_276_2_, this_.Line as line12_276_2_, this_.Description as descrip13_276_2_, this_.Financial_Invoice_Line as financi14_276_2_, this_.Account_ID as account15_276_2_, this_.M_Product_ID as m_produ16_276_2_, this_.QtyInvoiced as qtyinvo17_276_2_, this_.PriceList as priceli18_276_2_, this_.PriceActual as priceac19_276_2_, this_.PriceLimit as priceli20_276_2_, this_.LineNetAmt as linenet21_276_2_, this_.C_Charge_ID as c_charg22_276_2_, this_.ChargeAmt as chargea23_276_2_, this_.C_UOM_ID as c_uom_i24_276_2_, this_.C_Tax_ID as c_tax_i25_276_2_, this_.S_ResourceAssignment_ID as s_resou26_276_2_, this_.M_AttributeSetInstance_ID as m_attri27_276_2_, this_.IsDescription as isdescr28_276_2_, this_.QuantityOrder as quantit29_276_2_, this_.M_Product_Uom_Id as m_produ30_276_2_, this_.C_Invoice_Discount_ID as c_invoi31_276_2_, this_.C_Projectline_ID as c_proje32_276_2_, this_.M_Offer_ID as m_offer33_276_2_, this_.PriceStd as pricest34_276_2_, this_.Excludeforwithholding as exclude35_276_2_, this_.Iseditlinenetamt as iseditl36_276_2_, this_.Taxbaseamt as taxbase37_276_2_, this_.Line_Gross_Amount as line_gr38_276_2_, this_.Gross_Unit_Price as gross_u39_276_2_, this_.C_Bpartner_ID as c_bpart40_276_2_, this_.Periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.A_Asset_ID as a_asset43_276_2_, this_.DefPlanType as defplan44_276_2_, this_.Grosspricelist as grosspr45_276_2_, this_.C_Project_ID as c_proje46_276_2_, this_.IsDeferred as isdefer47_276_2_, this_.C_Period_ID as c_perio48_276_2_, this_.C_Costcenter_ID as c_costc49_276_2_, this_.User1_ID as user50_276_2_, this_.User2_ID as user51_276_2_, this_.Explode as explode52_276_2_, this_.BOM_Parent_ID as bom_par53_276_2_, this_.Match_Lccosts as match_l54_276_2_, this_.C_Aum as c_aum55_276_2_, this_.Aumqty as aumqty56_276_2_, this_.Salesrep_ID as salesre57_276_2_, this_.C_Substitutiveinvoice_ID as c_subst58_276_2_, this_.EM_Epa_Localizator as em_epa_59_276_2_, this_.EM_Epa_Response as em_epa_60_276_2_, this_.Contribution_Amt as contrib61_276_2_, this_.EM_Obcomop_Com_Oper_Prodpri_ID as em_obco62_276_2_, inv2_.C_Invoice_ID as c_invoic1_271_0_, inv2_.AD_Client_ID as ad_clien2_271_0_, inv2_.AD_Org_ID as ad_org_i3_271_0_, inv2_.IsActive as isactive4_271_0_, inv2_.Created as created5_271_0_, inv2_.CreatedBy as createdb6_271_0_, inv2_.Updated as updated7_271_0_, inv2_.UpdatedBy as updatedb8_271_0_, inv2_.IsSOTrx as issotrx9_271_0_, inv2_.DocumentNo as documen10_271_0_, inv2_.DocStatus as docstat11_271_0_, inv2_.DocAction as docacti12_271_0_, inv2_.Processing as process13_271_0_, inv2_.Processed as process14_271_0_, inv2_.Posted as posted15_271_0_, inv2_.C_DocType_ID as c_docty16_271_0_, inv2_.C_DocTypeTarget_ID as c_docty17_271_0_, inv2_.C_Order_ID as c_order18_271_0_, inv2_.Description as descrip19_271_0_, inv2_.IsPrinted as isprint20_271_0_, inv2_.SalesRep_ID as salesre21_271_0_, inv2_.DateInvoiced as dateinv22_271_0_, inv2_.DatePrinted as datepri23_271_0_, inv2_.DateAcct as dateacc24_271_0_, inv2_.C_BPartner_ID as c_bpart25_271_0_, inv2_.C_BPartner_Location_ID as c_bpart26_271_0_, inv2_.POReference as porefer27_271_0_, inv2_.IsDiscountPrinted as isdisco28_271_0_, inv2_.DateOrdered as dateord29_271_0_, inv2_.C_Currency_ID as c_curre30_271_0_, inv2_.C_PaymentTerm_ID as c_payme31_271_0_, inv2_.C_Charge_ID as c_charg32_271_0_, inv2_.ChargeAmt as chargea33_271_0_, inv2_.TotalLines as totalli34_271_0_, inv2_.GrandTotal as grandto35_271_0_, inv2_.M_PriceList_ID as m_price36_271_0_, inv2_.IsTaxIncluded as istaxin37_271_0_, inv2_.C_Campaign_ID as c_campa38_271_0_, inv2_.C_Project_ID as c_proje39_271_0_, inv2_.C_Activity_ID as c_activ40_271_0_, inv2_.CreateFrom as createf41_271_0_, inv2_.GenerateTo as generat42_271_0_, inv2_.AD_User_ID as ad_user43_271_0_, inv2_.CopyFrom as copyfro44_271_0_, inv2_.IsSelfService as isselfs45_271_0_, inv2_.AD_OrgTrx_ID as ad_orgt46_271_0_, inv2_.User1_ID as user47_271_0_, inv2_.User2_ID as user48_271_0_, inv2_.Withholdingamount as withhol49_271_0_, inv2_.Taxdate as taxdate50_271_0_, inv2_.C_Withholding_ID as c_withh51_271_0_, inv2_.Ispaid as ispaid52_271_0_, inv2_.EM_Einv_Generated as em_einv53_271_0_, inv2_.Totalpaid as totalpa54_271_0_, inv2_.EM_Einv_Sent as em_einv55_271_0_, inv2_.OutstandingAmt as outstan56_271_0_, inv2_.DaysTillDue as daystil57_271_0_, inv2_.DueAmt as dueamt58_271_0_, inv2_.LastCalculatedOnDate as lastcal59_271_0_, inv2_.FIN_Paymentmethod_ID as fin_pay60_271_0_, inv2_.FIN_Payment_Priority_ID as fin_pay61_271_0_, inv2_.Finalsettlement as finalse62_271_0_, inv2_.Daysoutstanding as daysout63_271_0_, inv2_.Percentageoverdue as percent64_271_0_, inv2_.C_Costcenter_ID as c_costc65_271_0_, inv2_.Calculate_Promotions as calcula66_271_0_, inv2_.A_Asset_ID as a_asset67_271_0_, inv2_.EM_APRM_Addpayment as em_aprm68_271_0_, inv2_.Iscashvat as iscashv69_271_0_, inv2_.EM_APRM_Processinvoice as em_aprm70_271_0_, inv2_.EM_Obcma_C_Poc_Email_ID as em_obcm71_271_0_, inv2_.Prepaymentamt as prepaym72_271_0_, inv2_.Createfromorders as createf73_271_0_, inv2_.Createfrominouts as createf74_271_0_, inv2_.Paidamtatinvoicing as paidamt75_271_0_, inv2_.BPartner_ExtRef as bpartne76_271_0_, inv2_.EM_Obpos_Rounding_Amount as em_obpo77_271_0_, inv2_.EM_Obpos_Sequencename as em_obpo78_271_0_, inv2_.EM_Obpos_Sequencenumber as em_obpo79_271_0_, inv2_.C_Alternate_Location_ID as c_alter80_271_0_, inv2_.EM_Prouti_Recalculate_Price as em_prou81_271_0_, inv2_.EM_Ml_Select_Product as em_ml_s82_271_0_, inv2_.EM_Prouti_Pricecalculatetdate as em_prou83_271_0_, inv2_.EM_Cfis_Fiscalization_Result as em_cfis84_271_0_, inv2_.EM_Poss_Orgloc_Locid as em_poss85_271_0_, inv2_.EM_Prouti_Totalizations as em_prou86_271_0_, inv2_.EM_Cfis_Signature as em_cfis87_271_0_, inv2_.EM_Prscrm_Suitedocid as em_prsc88_271_0_, inv2_.Einvoice_Status as einvoic89_271_0_, inv2_.EM_Cdisc_Externalresponse as em_cdis90_271_0_, inv2_.EM_Ctaxes_Externalresponse as em_ctax91_271_0_, inv2_.EM_Etxf_Tax_Free_Form_ID as em_etxf92_271_0_, inv2_.EM_Obpos2_Crm_ID as em_obpo93_271_0_, inv2_.Einvoice_Generated as einvoic94_271_0_, inv2_.EM_CFIS_ErrorCondition as em_cfis95_271_0_, inv2_.Einvoice_ExternalID as einvoic96_271_0_, inv2_.EM_Asf_Totalattachments as em_asf_97_271_0_, inv2_.EM_CFIS_AdditionalResponse as em_cfis98_271_0_, inv2_.Einvoice_Send_Status as einvoic99_271_0_, inv2_.Einvoice_Sent as einvoi100_271_0_, inv2_.EM_Obpos2_Delivery_Options as em_obp101_271_0_, inv2_.EM_Obpos2_Deliv_Dest_Email as em_obp102_271_0_, inv2_.EM_Etcopag_Cop_Feedback as em_etc103_271_0_, inv2_.Isexternal as isexte104_271_0_, inv2_.EM_Cche_Checkout_Result as em_cch105_271_0_, inv2_.EM_Obpos_Applications_ID as em_obp106_271_0_, inv2_.C_Substitutiveinvoice_ID as c_subs107_271_0_, inv2_.EM_Api_Resend as em_api108_271_0_, inv2_.EM_Ecl_Completeticket_Result as em_ecl109_271_0_, inv2_.EM_Ecl_Errorcondition as em_ecl110_271_0_, inv2_.EM_Ecl_Additionalresponse as em_ecl111_271_0_, inv2_.Business_Partner_Type as busine112_271_0_, inv2_.Extra_Crm_Connector_Data_1 as extra_113_271_0_, inv2_.Extra_Crm_Connector_Data_2 as extra_114_271_0_, inv2_.Extra_Crm_Connector_Data_3 as extra_115_271_0_, inv2_.Extra_Crm_Connector_Data_4 as extra_116_271_0_, inv2_.EM_Cfis_Externalerror as em_cfi117_271_0_, inv2_.EM_Ctaxes_Additionalinfo as em_cta118_271_0_, inv2_.Validation_Status as valida119_271_0_, inv2_.Validate as valida120_271_0_, inv2_.Validation_Date as valida121_271_0_, inv2_.EM_Obpos2_Isvoid as em_obp122_271_0_, inv2_.Validation_User as valida123_271_0_, inv2_.EM_Pruti_Notsendinvoice as em_pru124_271_0_, prod1_.M_Product_ID as m_produc1_589_1_, prod1_.AD_Client_ID as ad_clien2_589_1_, prod1_.AD_Org_ID as ad_org_i3_589_1_, prod1_.IsActive as isactive4_589_1_, prod1_.Created as created5_589_1_, prod1_.CreatedBy as createdb6_589_1_, prod1_.Updated as updated7_589_1_, prod1_.UpdatedBy as updatedb8_589_1_, prod1_.Value as value9_589_1_, prod1_.Name as name10_589_1_, prod1_.Description as descrip11_589_1_, prod1_.DocumentNote as documen12_589_1_, prod1_.Help as help13_589_1_, prod1_.UPC as upc14_589_1_, prod1_.SKU as sku15_589_1_, prod1_.C_UOM_ID as c_uom_i16_589_1_, prod1_.SalesRep_ID as salesre17_589_1_, prod1_.IsSummary as issumma18_589_1_, prod1_.IsStocked as isstock19_589_1_, prod1_.IsPurchased as ispurch20_589_1_, prod1_.IsSold as issold21_589_1_, prod1_.IsBOM as isbom22_589_1_, prod1_.IsInvoicePrintDetails as isinvoi23_589_1_, prod1_.IsPickListPrintDetails as ispickl24_589_1_, prod1_.IsVerified as isverif25_589_1_, prod1_.M_Product_Category_ID as m_produ26_589_1_, prod1_.Classification as classif27_589_1_, prod1_.Volume as volume28_589_1_, prod1_.Weight as weight29_589_1_, prod1_.ShelfWidth as shelfwi30_589_1_, prod1_.ShelfHeight as shelfhe31_589_1_, prod1_.ShelfDepth as shelfde32_589_1_, prod1_.UnitsPerPallet as unitspe33_589_1_, prod1_.C_TaxCategory_ID as c_taxca34_589_1_, prod1_.S_Resource_ID as s_resou35_589_1_, prod1_.Discontinued as discont36_589_1_, prod1_.DiscontinuedBy as discont37_589_1_, prod1_.Processing as process38_589_1_, prod1_.S_ExpenseType_ID as s_expen39_589_1_, prod1_.ProductType as product40_589_1_, prod1_.ImageURL as imageur41_589_1_, prod1_.DescriptionURL as descrip42_589_1_, prod1_.GuaranteeDays as guarant43_589_1_, prod1_.VersionNo as version44_589_1_, prod1_.M_AttributeSet_ID as m_attri45_589_1_, prod1_.M_AttributeSetInstance_ID as m_attri46_589_1_, prod1_.DownloadURL as downloa47_589_1_, prod1_.M_FreightCategory_ID as m_freig48_589_1_, prod1_.M_Locator_ID as m_locat49_589_1_, prod1_.AD_Image_ID as ad_imag50_589_1_, prod1_.C_BPartner_ID as c_bpart51_589_1_, prod1_.Ispriceprinted as isprice52_589_1_, prod1_.Name2 as name53_589_1_, prod1_.Stock_Min as stock_m54_589_1_, prod1_.Enforce_Attribute as enforce55_589_1_, prod1_.Calculated as calcula56_589_1_, prod1_.MA_Processplan_ID as ma_proc57_589_1_, prod1_.Production as product58_589_1_, prod1_.Capacity as capacit59_589_1_, prod1_.Delaymin as delaymi60_589_1_, prod1_.MRP_Planner_ID as mrp_pla61_589_1_, prod1_.MRP_Planningmethod_ID as mrp_pla62_589_1_, prod1_.Qtymax as qtymax63_589_1_, prod1_.Qtymin as qtymin64_589_1_, prod1_.Qtystd as qtystd65_589_1_, prod1_.Qtytype as qtytype66_589_1_, prod1_.Stockmin as stockmi67_589_1_, prod1_.Attrsetvaluetype as attrset68_589_1_, prod1_.Isquantityvariable as isquant69_589_1_, prod1_.Isdeferredrevenue as isdefer70_589_1_, prod1_.EM_Aeat347_Isleasebusiness as em_aeat71_589_1_, prod1_.EM_Aeat347_Situation as em_aeat72_589_1_, prod1_.Revplantype as revplan73_589_1_, prod1_.EM_Aeat347_Referenceid as em_aeat74_589_1_, prod1_.Periodnumber as periodn75_589_1_, prod1_.EM_Aeat347_Locationtype as em_aeat76_589_1_, prod1_.Isdeferredexpense as isdefer77_589_1_, prod1_.EM_Aeat347_Streetname as em_aeat78_589_1_, prod1_.Expplantype as expplan79_589_1_, prod1_.EM_Aeat347_Streetnumbertype as em_aeat80_589_1_, prod1_.Periodnumber_Exp as periodn81_589_1_, prod1_.DefaultPeriod as default82_589_1_, prod1_.EM_Aeat347_Streetnumber as em_aeat83_589_1_, prod1_.DefaultPeriod_Exp as default84_589_1_, prod1_.EM_Aeat347_Streetnumberqua as em_aeat85_589_1_, prod1_.Bookusingpoprice as bookusi86_589_1_, prod1_.EM_Aeat347_Building as em_aeat87_589_1_, prod1_.EM_Aeat347_Hall as em_aeat88_589_1_, prod1_.C_Uom_Weight_ID as c_uom_w89_589_1_, prod1_.M_Brand_ID as m_brand90_589_1_, prod1_.EM_Aeat347_Hallway as em_aeat91_589_1_, prod1_.EM_Aeat347_Floor as em_aeat92_589_1_, prod1_.IsGeneric as isgener93_589_1_, prod1_.EM_Aeat347_Apartment as em_aeat94_589_1_, prod1_.Generic_Product_ID as generic95_589_1_, prod1_.CreateVariants as createv96_589_1_, prod1_.EM_Aeat347_Complement as em_aeat97_589_1_, prod1_.Characteristic_Desc as charact98_589_1_, prod1_.EM_Aeat347_Location as em_aeat99_589_1_, prod1_.EM_Aeat347_County as em_aea100_589_1_, prod1_.Updateinvariants as update101_589_1_, prod1_.EM_Aeat347_Countycode as em_aea102_589_1_, prod1_.ManageVariants as manage103_589_1_, prod1_.EM_Aeat347_Regioncode as em_aea104_589_1_, prod1_.Prod_Cat_Selection as prod_c105_589_1_, prod1_.EM_Aeat347_Zipcode as em_aea106_589_1_, prod1_.Product_Selection as produc107_589_1_, prod1_.Print_Description as print_108_589_1_, prod1_.Returnable as return109_589_1_, prod1_.Overdue_Return_Days as overdu110_589_1_, prod1_.Ispricerulebased as ispric111_589_1_, prod1_.Unique_Per_Document as unique112_589_1_, prod1_.Relateprodcattoservice as relate113_589_1_, prod1_.Relateprodtoservice as relate114_589_1_, prod1_.Islinkedtoproduct as islink115_589_1_, prod1_.Quantity_Rule as quanti116_589_1_, prod1_.Allow_Deferred_Sell as allow_117_589_1_, prod1_.Deferred_Sell_Max_Days as deferr118_589_1_, prod1_.M_Product_Status_ID as m_prod119_589_1_, prod1_.EM_Prbs_C_Country_ID as em_prb120_589_1_, prod1_.EM_Prlab_Qtylabels as em_prl121_589_1_, prod1_.Ismodifytax as ismodi122_589_1_, prod1_.EM_Prbs_Descriptionshort as em_prb123_589_1_, prod1_.Relateprodcattaxtoservice as relate124_589_1_, prod1_.Copyservicemodifytaxconfig as copyse125_589_1_, prod1_.EM_Prbs_Qualitydescription as em_prb126_589_1_, prod1_.EM_Obpos_Scale as em_obp127_589_1_, prod1_.EM_Prbs_C_Campaign_ID as em_prb128_589_1_, prod1_.M_Product_Subtype_ID as m_prod129_589_1_, prod1_.EM_Obpos_Groupedproduct as em_obp130_589_1_, prod1_.EM_Prbs_Grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.EM_Obpos_Showstock as em_obp134_589_1_, prod1_.EM_Prbs_Prod_Composition_ID as em_prb135_589_1_, prod1_.EM_Obdest_Enabled as em_obd136_589_1_, prod1_.EM_Obpos_Show_Ch_Desc as em_obp137_589_1_, prod1_.EM_Obdest_Rcharacteristic as em_obd138_589_1_, prod1_.EM_Obpos_Proposal_Type as em_obp139_589_1_, prod1_.EM_Prbs_Isneveroutofstock as em_prb140_589_1_, prod1_.EM_Obdest_Ccharacteristic as em_obd141_589_1_, prod1_.EM_Obpos_Ismultiselectable as em_obp142_589_1_, prod1_.EM_Prbs_Targetgroup as em_prb143_589_1_, prod1_.EM_OBPOS_AllowAnonymousSale as em_obp144_589_1_, prod1_.EM_Obpos_Printservices as em_obp145_589_1_, prod1_.EM_Obpos_Editable_Price as em_obp146_589_1_, prod1_.EM_Obrdm_Delivery_Mode as em_obr147_589_1_, prod1_.EM_Obrdm_Delivery_Mode_Lyw as em_obr148_589_1_, prod1_.EM_Obrdm_Isdeliveryservice as em_obr149_589_1_, prod1_.EM_Gcnv_Giftcardtype as em_gcn150_589_1_, prod1_.EM_Gcnv_Amount as em_gcn151_589_1_, prod1_.EM_Gcnv_Allowpartialreturn as em_gcn152_589_1_, prod1_.EM_Obpos_Maxpriceassocprod as em_obp153_589_1_, prod1_.EM_Obgcne_Expirationdays as em_obg154_589_1_, prod1_.EM_Obpos_Minpriceassocprod as em_obp155_589_1_, prod1_.EM_Obpgc_Printcard as em_obp156_589_1_, prod1_.EM_Obpgc_Printtemplate_Id as em_obp157_589_1_, prod1_.EM_Obpos2_No_Standard_Sale as em_obp158_589_1_, prod1_.EM_Prpres_Short_Description as em_prp159_589_1_, prod1_.EM_Obpos2_Imageclass as em_obp160_589_1_, prod1_.EM_Prpres_Description as em_prp161_589_1_, prod1_.EM_Obpos2_Color_ID as em_obp162_589_1_, prod1_.EM_Prpres_Meta_Title as em_prp163_589_1_, prod1_.EM_Obpos_Skipapplypromotions as em_obp164_589_1_, prod1_.EM_Prpres_Meta_Description as em_prp165_589_1_, prod1_.EM_Prpres_Friendly_Url as em_prp166_589_1_, prod1_.EM_Prpres_Tags as em_prp167_589_1_, prod1_.EM_Obpos2_Pim_Url as em_obp168_589_1_, prod1_.EM_Prpres_Upload as em_prp169_589_1_, prod1_.characteristicDimensionEnabled as charac170_589_1_, prod1_.Autogeneratebom as autoge171_589_1_, prod1_.EM_Obmupc_Multiupc_Desc as em_obm172_589_1_, prod1_.EM_Obserpr_Required_Followup as em_obs173_589_1_, prod1_.EM_Prpres_Managecat as em_prp174_589_1_, prod1_.EM_Prpres_Deactivate_On_Ps as em_prp175_589_1_, prod1_.EM_Gcnv_Discountsrestricted as em_gcn176_589_1_, prod1_.EM_Prpres_Out_Of_Stock as em_prp177_589_1_, prod1_.EM_Epa_Productcategory as em_epa178_589_1_, prod1_.EM_Etxf_Iselegible as em_etx179_589_1_, prod1_.EM_Gcnv_Aspaymentmethod as em_gcn180_589_1_, prod1_.EM_Gcnv_Taxablegiftcard as em_gcn181_589_1_, prod1_.EM_Obpgc_Printtempemail_ID as em_obp182_589_1_, prod1_.EM_Obpgc_Useautomaticseq as em_obp183_589_1_, prod1_.EM_Obfi_Ingredients_Allergens as em_obf184_589_1_, prod1_.EM_Prbs_Deliveryperiodname as em_prb185_589_1_, prod1_.EM_Obfi_Nutritional_Info as em_obf186_589_1_, prod1_.EM_Prbs_Deliveryperiodstart as em_prb187_589_1_, prod1_.EM_Gcnv_Giftcardextradays as em_gcn188_589_1_, prod1_.EM_Obfi_Storage_Instructions as em_obf189_589_1_, prod1_.EM_Prbs_Deliveryperiodend as em_prb190_589_1_, prod1_.EM_Prrqp_Abv as em_prr191_589_1_, prod1_.Special_Use as specia192_589_1_, prod1_.EM_Asf_Image_Name as em_asf193_589_1_, prod1_.EM_OBCOMBO_Discount_Link as em_obc194_589_1_, prod1_.EM_Obpos_Salesunitfactor as em_obp195_589_1_, prod1_.EM_OBDISC_Pack_Discount_Link as em_obd196_589_1_, prod1_.EM_Asf_Printlabels as em_asf197_589_1_, prod1_.EM_Asf_Prestashop_Title as em_asf198_589_1_, prod1_.EM_Prret_Multiupc_Json as em_prr199_589_1_, prod1_.Isgeneratevariantean as isgene200_589_1_, prod1_.EM_Obpos2_Isotf as em_obp201_589_1_, prod1_.EM_Obpos2_Request_Price as em_obp202_589_1_, prod1_.EM_Obpos_Epc as em_obp203_589_1_, prod1_.AD_Sequence_ID as ad_seq204_589_1_, prod1_.EM_Obpos_Sgtin as em_obp205_589_1_, prod1_.EM_Obpos_Neweqproduct_ID as em_obp206_589_1_, prod1_.EM_OBSERPR_Anonymize_Sp as em_obs207_589_1_, prod1_.EM_Asf_Replenish as em_asf208_589_1_, prod1_.EM_Am_Composition_ID as em_am_209_589_1_, prod1_.EM_Am_Campaign_ID as em_am_210_589_1_, prod1_.EM_Obserpr_Follow_Up_Mode as em_obs211_589_1_, prod1_.EM_Obserpr_Service_Mode as em_obs212_589_1_, prod1_.EM_Pruti_Addmodifycharact as em_pru213_589_1_, prod1_.EM_Asf_Vmi_Ode as em_asf214_589_1_, prod1_.EM_Asf_Vmi_Com as em_asf215_589_1_, prod1_.EM_Asf_Vmi_Onl as em_asf216_589_1_, prod1_.EM_Asf_Esrec as em_asf217_589_1_, prod1_.EM_Gcnv_Redemptiontype as em_gcn218_589_1_ from C_InvoiceLine this_ inner join C_Invoice inv2_ on this_.C_Invoice_ID = inv2_.C_Invoice_ID inner join M_Product prod1_ on this_.M_Product_ID = prod1_.M_Product_ID where this_.C_OrderLine_ID is null and prod1_.ProductType <> 'S' and inv2_.C_BPartner_ID = '5A4D458636A148C3B9E5AAB85F8ABEA7' and inv2_.IsSOTrx = 'N' and inv2_.C_DocType_ID = '75A3401B2D87400391D5C4A8D756C09F' 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';[ Date: 2026-06-29 12:00:16 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
20 13s680ms 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-29 06:00:15 - Database: openbravo - User: tad - Remote: 10.3.1.9 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 8m32s 1 8m32s 8m32s 8m32s select distinct m_product_category.em_asf_product_type as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product_category left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in (...) and m_product_category.ad_client_id = ? and (exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product_category.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct m_product_category.em_asf_navigationnode as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product_category left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in (...) and m_product_category.ad_client_id = ? and (exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product_category.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct c_campaign.description as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from c_campaign left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and c_campaign.description is not null and c_campaign.ad_org_id in (...) and c_campaign.ad_client_id = ? and c_campaign.updated >= ? union select distinct prbs_prod_composition.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in (...) and prbs_prod_composition.ad_client_id = ? and (exists ( select ? from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.em_prbs_prod_composition_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.em_prbs_prod_composition_id and (m_product.em_prpres_upload = ? or (prbs_prod_composition.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct ad_ref_list.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.ad_reference_id = ? and prpres_conf.prpres_conf_id = ? and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null union select distinct ad_ref_list.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.ad_reference_id = ? and prpres_conf.prpres_conf_id = ? and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null union select distinct m_ch_value.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and ad_treenode.parent_id = ? and ad_tree_id = ? and m_ch_value.m_characteristic_id = ? and m_ch_value.name is not null and m_ch_value.ad_org_id in (...) and m_ch_value.ad_client_id = ? and m_ch_value.updated >= ? union select distinct m_product.em_asf_prestashop_title as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select ? from m_product mprod where mprod.em_prpres_upload = ? and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select ? from m_product mprod where mprod.em_prpres_upload = ? and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in (...) and m_product.ad_client_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 29 21 1 8m32s 8m32s [ User: tad - Total duration: 8m32s - Times executed: 1 ]
-
select distinct m_product_category.em_asf_product_type as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfProductType' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ))))) or exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' )))))) UNION select distinct m_product_category.em_asf_navigationnode as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfNavigationnode' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct c_campaign.description as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from c_campaign left join prpres_product_feature on prpres_product_feature.property = 'prbsCCampaign.description' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and c_campaign.description is not null and c_campaign.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and c_campaign.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and c_campaign.updated >= '2026-06-28 23:30:10.809' UNION select distinct prbs_prod_composition.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.name' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and prbs_prod_composition.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (prbs_prod_composition.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.asfOuterMaterial' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = '3F5305A3511449B19C19C30FA658F896' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsTargetgroup' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = 'B3BAF3C070CA495E9477FF38953C3D40' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct m_ch_value.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = 'characteristicDescription' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and ad_treenode.parent_id = '0' and ad_tree_id = 'F271415BCE9F42BE8FBDF28C2B912F05' and m_ch_value.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' and m_ch_value.name is not null and m_ch_value.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_ch_value.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and m_ch_value.updated >= '2026-06-28 23:30:10.809' UNION select distinct m_product.em_asf_prestashop_title as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product left join prpres_product_feature on prpres_product_feature.property = 'asfPrestashopTitle' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37';
Date: 2026-06-29 21:38:42 Duration: 8m32s Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
2 6m41s 1 6m41s 6m41s 6m41s 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 = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 29 19 1 6m41s 6m41s [ User: tad - Total duration: 6m41s - Times executed: 1 ]
-
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-29 19:38:38 Duration: 6m41s 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' 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-29 12:33:28 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
3 6m36s 1 6m36s 6m36s 6m36s 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 29 12 1 6m36s 6m36s [ User: tad - Total duration: 6m36s - Times executed: 1 ]
-
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-29 12:37:34 Duration: 6m36s 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-29 12:32:58 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 3m57s 2 1m53s 2m4s 1m58s 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 29 12 1 1m53s 1m53s 19 1 2m4s 2m4s [ User: tad - Total duration: 3m57s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m57s - 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-29 19:34:08 Duration: 2m4s 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-29 12:33:21 Duration: 1m53s 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 3m30s 2 1m42s 1m48s 1m45s 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 29 12 1 1m42s 1m42s 19 1 1m48s 1m48s [ User: tad - Total duration: 3m30s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m30s - 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-29 19:34:16 Duration: 1m48s 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-29 12:32:44 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 1m35s 2 29s696ms 1m6s 47s869ms 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 #6
Day Hour Count Duration Avg duration Jun 29 12 1 1m6s 1m6s 19 1 29s696ms 29s696ms [ User: tad - Total duration: 1m35s - Times executed: 2 ]
-
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-29 12:33:08 Duration: 1m6s Database: openbravo User: tad Remote: 10.0.0.13 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-29 19:33:24 Duration: 29s696ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
7 1m9s 2 29s914ms 39s205ms 34s560ms 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 #7
Day Hour Count Duration Avg duration Jun 29 12 1 29s914ms 29s914ms 19 1 39s205ms 39s205ms [ User: tad - Total duration: 1m9s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m9s - 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-29 19:32:36 Duration: 39s205ms 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-29 12:32:07 Duration: 29s914ms 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 1m3s 2 23s484ms 39s724ms 31s604ms 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 29 12 1 39s724ms 39s724ms 19 1 23s484ms 23s484ms [ User: tad - Total duration: 1m3s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m3s - Times executed: 2 ]
-
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-29 12:31:32 Duration: 39s724ms 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-29 19:32:33 Duration: 23s484ms 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 47s213ms 1 47s213ms 47s213ms 47s213ms 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 #9
Day Hour Count Duration Avg duration Jun 29 13 1 47s213ms 47s213ms [ User: tad - Total duration: 47s213ms - Times executed: 1 ]
-
update M_Product_Ch_Conf set SKCode = '1174208', 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 = '350C83BE7B67483CAA994F55D8FC139B' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '1174208');
Date: 2026-06-29 13:01:44 Duration: 47s213ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
10 42s524ms 2 11s755ms 30s768ms 21s262ms 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 #10
Day Hour Count Duration Avg duration Jun 29 12 1 30s768ms 30s768ms 19 1 11s755ms 11s755ms [ User: tad - Total duration: 42s524ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 42s524ms - Times executed: 2 ]
-
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-29 12:31:23 Duration: 30s768ms 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-29 19:32:09 Duration: 11s755ms 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 40s535ms 2 17s931ms 22s603ms 20s267ms 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 #11
Day Hour Count Duration Avg duration Jun 29 12 1 17s931ms 17s931ms 19 1 22s603ms 22s603ms [ User: tad - Total duration: 40s535ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 17s931ms - Times executed: 1 ]
-
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-29 19:33:02 Duration: 22s603ms Database: openbravo User: tad Remote: 10.0.0.13 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-29 12:31:10 Duration: 17s931ms 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 30s210ms 2 12s384ms 17s826ms 15s105ms 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 #12
Day Hour Count Duration Avg duration Jun 29 12 1 12s384ms 12s384ms 19 1 17s826ms 17s826ms [ User: tad - Total duration: 30s210ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 30s210ms - 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-29 19:32:20 Duration: 17s826ms 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-29 12:31:11 Duration: 12s384ms 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 15s827ms 2 5s588ms 10s238ms 7s913ms 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 #13
Day Hour Count Duration Avg duration Jun 29 16 1 10s238ms 10s238ms 19 1 5s588ms 5s588ms [ User: tad - Total duration: 15s827ms - 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-01', '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-29 16:18:31 Duration: 10s238ms 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-01', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = '36C6F10C71334D55A0AFB7A803BF244B' 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-29 19:41:25 Duration: 5s588ms 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-01', '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-29 16:18:27 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
14 15s451ms 1 15s451ms 15s451ms 15s451ms select this_.c_invoiceline_id as c_invoic1_276_2_, this_.ad_client_id as ad_clien2_276_2_, this_.ad_org_id as ad_org_i3_276_2_, this_.isactive as isactive4_276_2_, this_.created as created5_276_2_, this_.createdby as createdb6_276_2_, this_.updated as updated7_276_2_, this_.updatedby as updatedb8_276_2_, this_.c_invoice_id as c_invoic9_276_2_, this_.c_orderline_id as c_order10_276_2_, this_.m_inoutline_id as m_inout11_276_2_, this_.line as line12_276_2_, this_.description as descrip13_276_2_, this_.financial_invoice_line as financi14_276_2_, this_.account_id as account15_276_2_, this_.m_product_id as m_produ16_276_2_, this_.qtyinvoiced as qtyinvo17_276_2_, this_.pricelist as priceli18_276_2_, this_.priceactual as priceac19_276_2_, this_.pricelimit as priceli20_276_2_, this_.linenetamt as linenet21_276_2_, this_.c_charge_id as c_charg22_276_2_, this_.chargeamt as chargea23_276_2_, this_.c_uom_id as c_uom_i24_276_2_, this_.c_tax_id as c_tax_i25_276_2_, this_.s_resourceassignment_id as s_resou26_276_2_, this_.m_attributesetinstance_id as m_attri27_276_2_, this_.isdescription as isdescr28_276_2_, this_.quantityorder as quantit29_276_2_, this_.m_product_uom_id as m_produ30_276_2_, this_.c_invoice_discount_id as c_invoi31_276_2_, this_.c_projectline_id as c_proje32_276_2_, this_.m_offer_id as m_offer33_276_2_, this_.pricestd as pricest34_276_2_, this_.excludeforwithholding as exclude35_276_2_, this_.iseditlinenetamt as iseditl36_276_2_, this_.taxbaseamt as taxbase37_276_2_, this_.line_gross_amount as line_gr38_276_2_, this_.gross_unit_price as gross_u39_276_2_, this_.c_bpartner_id as c_bpart40_276_2_, this_.periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.a_asset_id as a_asset43_276_2_, this_.defplantype as defplan44_276_2_, this_.grosspricelist as grosspr45_276_2_, this_.c_project_id as c_proje46_276_2_, this_.isdeferred as isdefer47_276_2_, this_.c_period_id as c_perio48_276_2_, this_.c_costcenter_id as c_costc49_276_2_, this_.user1_id as user50_276_2_, this_.user2_id as user51_276_2_, this_.explode as explode52_276_2_, this_.bom_parent_id as bom_par53_276_2_, this_.match_lccosts as match_l54_276_2_, this_.c_aum as c_aum55_276_2_, this_.aumqty as aumqty56_276_2_, this_.salesrep_id as salesre57_276_2_, this_.c_substitutiveinvoice_id as c_subst58_276_2_, this_.em_epa_localizator as em_epa_59_276_2_, this_.em_epa_response as em_epa_60_276_2_, this_.contribution_amt as contrib61_276_2_, this_.em_obcomop_com_oper_prodpri_id as em_obco62_276_2_, inv2_.c_invoice_id as c_invoic1_271_0_, inv2_.ad_client_id as ad_clien2_271_0_, inv2_.ad_org_id as ad_org_i3_271_0_, inv2_.isactive as isactive4_271_0_, inv2_.created as created5_271_0_, inv2_.createdby as createdb6_271_0_, inv2_.updated as updated7_271_0_, inv2_.updatedby as updatedb8_271_0_, inv2_.issotrx as issotrx9_271_0_, inv2_.documentno as documen10_271_0_, inv2_.docstatus as docstat11_271_0_, inv2_.docaction as docacti12_271_0_, inv2_.processing as process13_271_0_, inv2_.processed as process14_271_0_, inv2_.posted as posted15_271_0_, inv2_.c_doctype_id as c_docty16_271_0_, inv2_.c_doctypetarget_id as c_docty17_271_0_, inv2_.c_order_id as c_order18_271_0_, inv2_.description as descrip19_271_0_, inv2_.isprinted as isprint20_271_0_, inv2_.salesrep_id as salesre21_271_0_, inv2_.dateinvoiced as dateinv22_271_0_, inv2_.dateprinted as datepri23_271_0_, inv2_.dateacct as dateacc24_271_0_, inv2_.c_bpartner_id as c_bpart25_271_0_, inv2_.c_bpartner_location_id as c_bpart26_271_0_, inv2_.poreference as porefer27_271_0_, inv2_.isdiscountprinted as isdisco28_271_0_, inv2_.dateordered as dateord29_271_0_, inv2_.c_currency_id as c_curre30_271_0_, inv2_.c_paymentterm_id as c_payme31_271_0_, inv2_.c_charge_id as c_charg32_271_0_, inv2_.chargeamt as chargea33_271_0_, inv2_.totallines as totalli34_271_0_, inv2_.grandtotal as grandto35_271_0_, inv2_.m_pricelist_id as m_price36_271_0_, inv2_.istaxincluded as istaxin37_271_0_, inv2_.c_campaign_id as c_campa38_271_0_, inv2_.c_project_id as c_proje39_271_0_, inv2_.c_activity_id as c_activ40_271_0_, inv2_.createfrom as createf41_271_0_, inv2_.generateto as generat42_271_0_, inv2_.ad_user_id as ad_user43_271_0_, inv2_.copyfrom as copyfro44_271_0_, inv2_.isselfservice as isselfs45_271_0_, inv2_.ad_orgtrx_id as ad_orgt46_271_0_, inv2_.user1_id as user47_271_0_, inv2_.user2_id as user48_271_0_, inv2_.withholdingamount as withhol49_271_0_, inv2_.taxdate as taxdate50_271_0_, inv2_.c_withholding_id as c_withh51_271_0_, inv2_.ispaid as ispaid52_271_0_, inv2_.em_einv_generated as em_einv53_271_0_, inv2_.totalpaid as totalpa54_271_0_, inv2_.em_einv_sent as em_einv55_271_0_, inv2_.outstandingamt as outstan56_271_0_, inv2_.daystilldue as daystil57_271_0_, inv2_.dueamt as dueamt58_271_0_, inv2_.lastcalculatedondate as lastcal59_271_0_, inv2_.fin_paymentmethod_id as fin_pay60_271_0_, inv2_.fin_payment_priority_id as fin_pay61_271_0_, inv2_.finalsettlement as finalse62_271_0_, inv2_.daysoutstanding as daysout63_271_0_, inv2_.percentageoverdue as percent64_271_0_, inv2_.c_costcenter_id as c_costc65_271_0_, inv2_.calculate_promotions as calcula66_271_0_, inv2_.a_asset_id as a_asset67_271_0_, inv2_.em_aprm_addpayment as em_aprm68_271_0_, inv2_.iscashvat as iscashv69_271_0_, inv2_.em_aprm_processinvoice as em_aprm70_271_0_, inv2_.em_obcma_c_poc_email_id as em_obcm71_271_0_, inv2_.prepaymentamt as prepaym72_271_0_, inv2_.createfromorders as createf73_271_0_, inv2_.createfrominouts as createf74_271_0_, inv2_.paidamtatinvoicing as paidamt75_271_0_, inv2_.bpartner_extref as bpartne76_271_0_, inv2_.em_obpos_rounding_amount as em_obpo77_271_0_, inv2_.em_obpos_sequencename as em_obpo78_271_0_, inv2_.em_obpos_sequencenumber as em_obpo79_271_0_, inv2_.c_alternate_location_id as c_alter80_271_0_, inv2_.em_prouti_recalculate_price as em_prou81_271_0_, inv2_.em_ml_select_product as em_ml_s82_271_0_, inv2_.em_prouti_pricecalculatetdate as em_prou83_271_0_, inv2_.em_cfis_fiscalization_result as em_cfis84_271_0_, inv2_.em_poss_orgloc_locid as em_poss85_271_0_, inv2_.em_prouti_totalizations as em_prou86_271_0_, inv2_.em_cfis_signature as em_cfis87_271_0_, inv2_.em_prscrm_suitedocid as em_prsc88_271_0_, inv2_.einvoice_status as einvoic89_271_0_, inv2_.em_cdisc_externalresponse as em_cdis90_271_0_, inv2_.em_ctaxes_externalresponse as em_ctax91_271_0_, inv2_.em_etxf_tax_free_form_id as em_etxf92_271_0_, inv2_.em_obpos2_crm_id as em_obpo93_271_0_, inv2_.einvoice_generated as einvoic94_271_0_, inv2_.em_cfis_errorcondition as em_cfis95_271_0_, inv2_.einvoice_externalid as einvoic96_271_0_, inv2_.em_asf_totalattachments as em_asf_97_271_0_, inv2_.em_cfis_additionalresponse as em_cfis98_271_0_, inv2_.einvoice_send_status as einvoic99_271_0_, inv2_.einvoice_sent as einvoi100_271_0_, inv2_.em_obpos2_delivery_options as em_obp101_271_0_, inv2_.em_obpos2_deliv_dest_email as em_obp102_271_0_, inv2_.em_etcopag_cop_feedback as em_etc103_271_0_, inv2_.isexternal as isexte104_271_0_, inv2_.em_cche_checkout_result as em_cch105_271_0_, inv2_.em_obpos_applications_id as em_obp106_271_0_, inv2_.c_substitutiveinvoice_id as c_subs107_271_0_, inv2_.em_api_resend as em_api108_271_0_, inv2_.em_ecl_completeticket_result as em_ecl109_271_0_, inv2_.em_ecl_errorcondition as em_ecl110_271_0_, inv2_.em_ecl_additionalresponse as em_ecl111_271_0_, inv2_.business_partner_type as busine112_271_0_, inv2_.extra_crm_connector_data_1 as extra_113_271_0_, inv2_.extra_crm_connector_data_2 as extra_114_271_0_, inv2_.extra_crm_connector_data_3 as extra_115_271_0_, inv2_.extra_crm_connector_data_4 as extra_116_271_0_, inv2_.em_cfis_externalerror as em_cfi117_271_0_, inv2_.em_ctaxes_additionalinfo as em_cta118_271_0_, inv2_.validation_status as valida119_271_0_, inv2_.validate as valida120_271_0_, inv2_.validation_date as valida121_271_0_, inv2_.em_obpos2_isvoid as em_obp122_271_0_, inv2_.validation_user as valida123_271_0_, inv2_.em_pruti_notsendinvoice as em_pru124_271_0_, prod1_.m_product_id as m_produc1_589_1_, prod1_.ad_client_id as ad_clien2_589_1_, prod1_.ad_org_id as ad_org_i3_589_1_, prod1_.isactive as isactive4_589_1_, prod1_.created as created5_589_1_, prod1_.createdby as createdb6_589_1_, prod1_.updated as updated7_589_1_, prod1_.updatedby as updatedb8_589_1_, prod1_.value as value9_589_1_, prod1_.name as name10_589_1_, prod1_.description as descrip11_589_1_, prod1_.documentnote as documen12_589_1_, prod1_.help as help13_589_1_, prod1_.upc as upc14_589_1_, prod1_.sku as sku15_589_1_, prod1_.c_uom_id as c_uom_i16_589_1_, prod1_.salesrep_id as salesre17_589_1_, prod1_.issummary as issumma18_589_1_, prod1_.isstocked as isstock19_589_1_, prod1_.ispurchased as ispurch20_589_1_, prod1_.issold as issold21_589_1_, prod1_.isbom as isbom22_589_1_, prod1_.isinvoiceprintdetails as isinvoi23_589_1_, prod1_.ispicklistprintdetails as ispickl24_589_1_, prod1_.isverified as isverif25_589_1_, prod1_.m_product_category_id as m_produ26_589_1_, prod1_.classification as classif27_589_1_, prod1_.volume as volume28_589_1_, prod1_.weight as weight29_589_1_, prod1_.shelfwidth as shelfwi30_589_1_, prod1_.shelfheight as shelfhe31_589_1_, prod1_.shelfdepth as shelfde32_589_1_, prod1_.unitsperpallet as unitspe33_589_1_, prod1_.c_taxcategory_id as c_taxca34_589_1_, prod1_.s_resource_id as s_resou35_589_1_, prod1_.discontinued as discont36_589_1_, prod1_.discontinuedby as discont37_589_1_, prod1_.processing as process38_589_1_, prod1_.s_expensetype_id as s_expen39_589_1_, prod1_.producttype as product40_589_1_, prod1_.imageurl as imageur41_589_1_, prod1_.descriptionurl as descrip42_589_1_, prod1_.guaranteedays as guarant43_589_1_, prod1_.versionno as version44_589_1_, prod1_.m_attributeset_id as m_attri45_589_1_, prod1_.m_attributesetinstance_id as m_attri46_589_1_, prod1_.downloadurl as downloa47_589_1_, prod1_.m_freightcategory_id as m_freig48_589_1_, prod1_.m_locator_id as m_locat49_589_1_, prod1_.ad_image_id as ad_imag50_589_1_, prod1_.c_bpartner_id as c_bpart51_589_1_, prod1_.ispriceprinted as isprice52_589_1_, prod1_.name2 as name53_589_1_, prod1_.stock_min as stock_m54_589_1_, prod1_.enforce_attribute as enforce55_589_1_, prod1_.calculated as calcula56_589_1_, prod1_.ma_processplan_id as ma_proc57_589_1_, prod1_.production as product58_589_1_, prod1_.capacity as capacit59_589_1_, prod1_.delaymin as delaymi60_589_1_, prod1_.mrp_planner_id as mrp_pla61_589_1_, prod1_.mrp_planningmethod_id as mrp_pla62_589_1_, prod1_.qtymax as qtymax63_589_1_, prod1_.qtymin as qtymin64_589_1_, prod1_.qtystd as qtystd65_589_1_, prod1_.qtytype as qtytype66_589_1_, prod1_.stockmin as stockmi67_589_1_, prod1_.attrsetvaluetype as attrset68_589_1_, prod1_.isquantityvariable as isquant69_589_1_, prod1_.isdeferredrevenue as isdefer70_589_1_, prod1_.em_aeat347_isleasebusiness as em_aeat71_589_1_, prod1_.em_aeat347_situation as em_aeat72_589_1_, prod1_.revplantype as revplan73_589_1_, prod1_.em_aeat347_referenceid as em_aeat74_589_1_, prod1_.periodnumber as periodn75_589_1_, prod1_.em_aeat347_locationtype as em_aeat76_589_1_, prod1_.isdeferredexpense as isdefer77_589_1_, prod1_.em_aeat347_streetname as em_aeat78_589_1_, prod1_.expplantype as expplan79_589_1_, prod1_.em_aeat347_streetnumbertype as em_aeat80_589_1_, prod1_.periodnumber_exp as periodn81_589_1_, prod1_.defaultperiod as default82_589_1_, prod1_.em_aeat347_streetnumber as em_aeat83_589_1_, prod1_.defaultperiod_exp as default84_589_1_, prod1_.em_aeat347_streetnumberqua as em_aeat85_589_1_, prod1_.bookusingpoprice as bookusi86_589_1_, prod1_.em_aeat347_building as em_aeat87_589_1_, prod1_.em_aeat347_hall as em_aeat88_589_1_, prod1_.c_uom_weight_id as c_uom_w89_589_1_, prod1_.m_brand_id as m_brand90_589_1_, prod1_.em_aeat347_hallway as em_aeat91_589_1_, prod1_.em_aeat347_floor as em_aeat92_589_1_, prod1_.isgeneric as isgener93_589_1_, prod1_.em_aeat347_apartment as em_aeat94_589_1_, prod1_.generic_product_id as generic95_589_1_, prod1_.createvariants as createv96_589_1_, prod1_.em_aeat347_complement as em_aeat97_589_1_, prod1_.characteristic_desc as charact98_589_1_, prod1_.em_aeat347_location as em_aeat99_589_1_, prod1_.em_aeat347_county as em_aea100_589_1_, prod1_.updateinvariants as update101_589_1_, prod1_.em_aeat347_countycode as em_aea102_589_1_, prod1_.managevariants as manage103_589_1_, prod1_.em_aeat347_regioncode as em_aea104_589_1_, prod1_.prod_cat_selection as prod_c105_589_1_, prod1_.em_aeat347_zipcode as em_aea106_589_1_, prod1_.product_selection as produc107_589_1_, prod1_.print_description as print_108_589_1_, prod1_.returnable as return109_589_1_, prod1_.overdue_return_days as overdu110_589_1_, prod1_.ispricerulebased as ispric111_589_1_, prod1_.unique_per_document as unique112_589_1_, prod1_.relateprodcattoservice as relate113_589_1_, prod1_.relateprodtoservice as relate114_589_1_, prod1_.islinkedtoproduct as islink115_589_1_, prod1_.quantity_rule as quanti116_589_1_, prod1_.allow_deferred_sell as allow_117_589_1_, prod1_.deferred_sell_max_days as deferr118_589_1_, prod1_.m_product_status_id as m_prod119_589_1_, prod1_.em_prbs_c_country_id as em_prb120_589_1_, prod1_.em_prlab_qtylabels as em_prl121_589_1_, prod1_.ismodifytax as ismodi122_589_1_, prod1_.em_prbs_descriptionshort as em_prb123_589_1_, prod1_.relateprodcattaxtoservice as relate124_589_1_, prod1_.copyservicemodifytaxconfig as copyse125_589_1_, prod1_.em_prbs_qualitydescription as em_prb126_589_1_, prod1_.em_obpos_scale as em_obp127_589_1_, prod1_.em_prbs_c_campaign_id as em_prb128_589_1_, prod1_.m_product_subtype_id as m_prod129_589_1_, prod1_.em_obpos_groupedproduct as em_obp130_589_1_, prod1_.em_prbs_grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.em_obpos_showstock as em_obp134_589_1_, prod1_.em_prbs_prod_composition_id as em_prb135_589_1_, prod1_.em_obdest_enabled as em_obd136_589_1_, prod1_.em_obpos_show_ch_desc as em_obp137_589_1_, prod1_.em_obdest_rcharacteristic as em_obd138_589_1_, prod1_.em_obpos_proposal_type as em_obp139_589_1_, prod1_.em_prbs_isneveroutofstock as em_prb140_589_1_, prod1_.em_obdest_ccharacteristic as em_obd141_589_1_, prod1_.em_obpos_ismultiselectable as em_obp142_589_1_, prod1_.em_prbs_targetgroup as em_prb143_589_1_, prod1_.em_obpos_allowanonymoussale as em_obp144_589_1_, prod1_.em_obpos_printservices as em_obp145_589_1_, prod1_.em_obpos_editable_price as em_obp146_589_1_, prod1_.em_obrdm_delivery_mode as em_obr147_589_1_, prod1_.em_obrdm_delivery_mode_lyw as em_obr148_589_1_, prod1_.em_obrdm_isdeliveryservice as em_obr149_589_1_, prod1_.em_gcnv_giftcardtype as em_gcn150_589_1_, prod1_.em_gcnv_amount as em_gcn151_589_1_, prod1_.em_gcnv_allowpartialreturn as em_gcn152_589_1_, prod1_.em_obpos_maxpriceassocprod as em_obp153_589_1_, prod1_.em_obgcne_expirationdays as em_obg154_589_1_, prod1_.em_obpos_minpriceassocprod as em_obp155_589_1_, prod1_.em_obpgc_printcard as em_obp156_589_1_, prod1_.em_obpgc_printtemplate_id as em_obp157_589_1_, prod1_.em_obpos2_no_standard_sale as em_obp158_589_1_, prod1_.em_prpres_short_description as em_prp159_589_1_, prod1_.em_obpos2_imageclass as em_obp160_589_1_, prod1_.em_prpres_description as em_prp161_589_1_, prod1_.em_obpos2_color_id as em_obp162_589_1_, prod1_.em_prpres_meta_title as em_prp163_589_1_, prod1_.em_obpos_skipapplypromotions as em_obp164_589_1_, prod1_.em_prpres_meta_description as em_prp165_589_1_, prod1_.em_prpres_friendly_url as em_prp166_589_1_, prod1_.em_prpres_tags as em_prp167_589_1_, prod1_.em_obpos2_pim_url as em_obp168_589_1_, prod1_.em_prpres_upload as em_prp169_589_1_, prod1_.characteristicdimensionenabled as charac170_589_1_, prod1_.autogeneratebom as autoge171_589_1_, prod1_.em_obmupc_multiupc_desc as em_obm172_589_1_, prod1_.em_obserpr_required_followup as em_obs173_589_1_, prod1_.em_prpres_managecat as em_prp174_589_1_, prod1_.em_prpres_deactivate_on_ps as em_prp175_589_1_, prod1_.em_gcnv_discountsrestricted as em_gcn176_589_1_, prod1_.em_prpres_out_of_stock as em_prp177_589_1_, prod1_.em_epa_productcategory as em_epa178_589_1_, prod1_.em_etxf_iselegible as em_etx179_589_1_, prod1_.em_gcnv_aspaymentmethod as em_gcn180_589_1_, prod1_.em_gcnv_taxablegiftcard as em_gcn181_589_1_, prod1_.em_obpgc_printtempemail_id as em_obp182_589_1_, prod1_.em_obpgc_useautomaticseq as em_obp183_589_1_, prod1_.em_obfi_ingredients_allergens as em_obf184_589_1_, prod1_.em_prbs_deliveryperiodname as em_prb185_589_1_, prod1_.em_obfi_nutritional_info as em_obf186_589_1_, prod1_.em_prbs_deliveryperiodstart as em_prb187_589_1_, prod1_.em_gcnv_giftcardextradays as em_gcn188_589_1_, prod1_.em_obfi_storage_instructions as em_obf189_589_1_, prod1_.em_prbs_deliveryperiodend as em_prb190_589_1_, prod1_.em_prrqp_abv as em_prr191_589_1_, prod1_.special_use as specia192_589_1_, prod1_.em_asf_image_name as em_asf193_589_1_, prod1_.em_obcombo_discount_link as em_obc194_589_1_, prod1_.em_obpos_salesunitfactor as em_obp195_589_1_, prod1_.em_obdisc_pack_discount_link as em_obd196_589_1_, prod1_.em_asf_printlabels as em_asf197_589_1_, prod1_.em_asf_prestashop_title as em_asf198_589_1_, prod1_.em_prret_multiupc_json as em_prr199_589_1_, prod1_.isgeneratevariantean as isgene200_589_1_, prod1_.em_obpos2_isotf as em_obp201_589_1_, prod1_.em_obpos2_request_price as em_obp202_589_1_, prod1_.em_obpos_epc as em_obp203_589_1_, prod1_.ad_sequence_id as ad_seq204_589_1_, prod1_.em_obpos_sgtin as em_obp205_589_1_, prod1_.em_obpos_neweqproduct_id as em_obp206_589_1_, prod1_.em_obserpr_anonymize_sp as em_obs207_589_1_, prod1_.em_asf_replenish as em_asf208_589_1_, prod1_.em_am_composition_id as em_am_209_589_1_, prod1_.em_am_campaign_id as em_am_210_589_1_, prod1_.em_obserpr_follow_up_mode as em_obs211_589_1_, prod1_.em_obserpr_service_mode as em_obs212_589_1_, prod1_.em_pruti_addmodifycharact as em_pru213_589_1_, prod1_.em_asf_vmi_ode as em_asf214_589_1_, prod1_.em_asf_vmi_com as em_asf215_589_1_, prod1_.em_asf_vmi_onl as em_asf216_589_1_, prod1_.em_asf_esrec as em_asf217_589_1_, prod1_.em_gcnv_redemptiontype as em_gcn218_589_1_ from c_invoiceline this_ inner join c_invoice inv2_ on this_.c_invoice_id = inv2_.c_invoice_id inner join m_product prod1_ on this_.m_product_id = prod1_.m_product_id where this_.c_orderline_id is null and prod1_.producttype <> ? and inv2_.c_bpartner_id = ? and inv2_.issotrx = ? and inv2_.c_doctype_id = ? and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 29 12 1 15s451ms 15s451ms [ User: tad - Total duration: 15s451ms - Times executed: 1 ]
-
select this_.C_InvoiceLine_ID as c_invoic1_276_2_, this_.AD_Client_ID as ad_clien2_276_2_, this_.AD_Org_ID as ad_org_i3_276_2_, this_.IsActive as isactive4_276_2_, this_.Created as created5_276_2_, this_.CreatedBy as createdb6_276_2_, this_.Updated as updated7_276_2_, this_.UpdatedBy as updatedb8_276_2_, this_.C_Invoice_ID as c_invoic9_276_2_, this_.C_OrderLine_ID as c_order10_276_2_, this_.M_InOutLine_ID as m_inout11_276_2_, this_.Line as line12_276_2_, this_.Description as descrip13_276_2_, this_.Financial_Invoice_Line as financi14_276_2_, this_.Account_ID as account15_276_2_, this_.M_Product_ID as m_produ16_276_2_, this_.QtyInvoiced as qtyinvo17_276_2_, this_.PriceList as priceli18_276_2_, this_.PriceActual as priceac19_276_2_, this_.PriceLimit as priceli20_276_2_, this_.LineNetAmt as linenet21_276_2_, this_.C_Charge_ID as c_charg22_276_2_, this_.ChargeAmt as chargea23_276_2_, this_.C_UOM_ID as c_uom_i24_276_2_, this_.C_Tax_ID as c_tax_i25_276_2_, this_.S_ResourceAssignment_ID as s_resou26_276_2_, this_.M_AttributeSetInstance_ID as m_attri27_276_2_, this_.IsDescription as isdescr28_276_2_, this_.QuantityOrder as quantit29_276_2_, this_.M_Product_Uom_Id as m_produ30_276_2_, this_.C_Invoice_Discount_ID as c_invoi31_276_2_, this_.C_Projectline_ID as c_proje32_276_2_, this_.M_Offer_ID as m_offer33_276_2_, this_.PriceStd as pricest34_276_2_, this_.Excludeforwithholding as exclude35_276_2_, this_.Iseditlinenetamt as iseditl36_276_2_, this_.Taxbaseamt as taxbase37_276_2_, this_.Line_Gross_Amount as line_gr38_276_2_, this_.Gross_Unit_Price as gross_u39_276_2_, this_.C_Bpartner_ID as c_bpart40_276_2_, this_.Periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.A_Asset_ID as a_asset43_276_2_, this_.DefPlanType as defplan44_276_2_, this_.Grosspricelist as grosspr45_276_2_, this_.C_Project_ID as c_proje46_276_2_, this_.IsDeferred as isdefer47_276_2_, this_.C_Period_ID as c_perio48_276_2_, this_.C_Costcenter_ID as c_costc49_276_2_, this_.User1_ID as user50_276_2_, this_.User2_ID as user51_276_2_, this_.Explode as explode52_276_2_, this_.BOM_Parent_ID as bom_par53_276_2_, this_.Match_Lccosts as match_l54_276_2_, this_.C_Aum as c_aum55_276_2_, this_.Aumqty as aumqty56_276_2_, this_.Salesrep_ID as salesre57_276_2_, this_.C_Substitutiveinvoice_ID as c_subst58_276_2_, this_.EM_Epa_Localizator as em_epa_59_276_2_, this_.EM_Epa_Response as em_epa_60_276_2_, this_.Contribution_Amt as contrib61_276_2_, this_.EM_Obcomop_Com_Oper_Prodpri_ID as em_obco62_276_2_, inv2_.C_Invoice_ID as c_invoic1_271_0_, inv2_.AD_Client_ID as ad_clien2_271_0_, inv2_.AD_Org_ID as ad_org_i3_271_0_, inv2_.IsActive as isactive4_271_0_, inv2_.Created as created5_271_0_, inv2_.CreatedBy as createdb6_271_0_, inv2_.Updated as updated7_271_0_, inv2_.UpdatedBy as updatedb8_271_0_, inv2_.IsSOTrx as issotrx9_271_0_, inv2_.DocumentNo as documen10_271_0_, inv2_.DocStatus as docstat11_271_0_, inv2_.DocAction as docacti12_271_0_, inv2_.Processing as process13_271_0_, inv2_.Processed as process14_271_0_, inv2_.Posted as posted15_271_0_, inv2_.C_DocType_ID as c_docty16_271_0_, inv2_.C_DocTypeTarget_ID as c_docty17_271_0_, inv2_.C_Order_ID as c_order18_271_0_, inv2_.Description as descrip19_271_0_, inv2_.IsPrinted as isprint20_271_0_, inv2_.SalesRep_ID as salesre21_271_0_, inv2_.DateInvoiced as dateinv22_271_0_, inv2_.DatePrinted as datepri23_271_0_, inv2_.DateAcct as dateacc24_271_0_, inv2_.C_BPartner_ID as c_bpart25_271_0_, inv2_.C_BPartner_Location_ID as c_bpart26_271_0_, inv2_.POReference as porefer27_271_0_, inv2_.IsDiscountPrinted as isdisco28_271_0_, inv2_.DateOrdered as dateord29_271_0_, inv2_.C_Currency_ID as c_curre30_271_0_, inv2_.C_PaymentTerm_ID as c_payme31_271_0_, inv2_.C_Charge_ID as c_charg32_271_0_, inv2_.ChargeAmt as chargea33_271_0_, inv2_.TotalLines as totalli34_271_0_, inv2_.GrandTotal as grandto35_271_0_, inv2_.M_PriceList_ID as m_price36_271_0_, inv2_.IsTaxIncluded as istaxin37_271_0_, inv2_.C_Campaign_ID as c_campa38_271_0_, inv2_.C_Project_ID as c_proje39_271_0_, inv2_.C_Activity_ID as c_activ40_271_0_, inv2_.CreateFrom as createf41_271_0_, inv2_.GenerateTo as generat42_271_0_, inv2_.AD_User_ID as ad_user43_271_0_, inv2_.CopyFrom as copyfro44_271_0_, inv2_.IsSelfService as isselfs45_271_0_, inv2_.AD_OrgTrx_ID as ad_orgt46_271_0_, inv2_.User1_ID as user47_271_0_, inv2_.User2_ID as user48_271_0_, inv2_.Withholdingamount as withhol49_271_0_, inv2_.Taxdate as taxdate50_271_0_, inv2_.C_Withholding_ID as c_withh51_271_0_, inv2_.Ispaid as ispaid52_271_0_, inv2_.EM_Einv_Generated as em_einv53_271_0_, inv2_.Totalpaid as totalpa54_271_0_, inv2_.EM_Einv_Sent as em_einv55_271_0_, inv2_.OutstandingAmt as outstan56_271_0_, inv2_.DaysTillDue as daystil57_271_0_, inv2_.DueAmt as dueamt58_271_0_, inv2_.LastCalculatedOnDate as lastcal59_271_0_, inv2_.FIN_Paymentmethod_ID as fin_pay60_271_0_, inv2_.FIN_Payment_Priority_ID as fin_pay61_271_0_, inv2_.Finalsettlement as finalse62_271_0_, inv2_.Daysoutstanding as daysout63_271_0_, inv2_.Percentageoverdue as percent64_271_0_, inv2_.C_Costcenter_ID as c_costc65_271_0_, inv2_.Calculate_Promotions as calcula66_271_0_, inv2_.A_Asset_ID as a_asset67_271_0_, inv2_.EM_APRM_Addpayment as em_aprm68_271_0_, inv2_.Iscashvat as iscashv69_271_0_, inv2_.EM_APRM_Processinvoice as em_aprm70_271_0_, inv2_.EM_Obcma_C_Poc_Email_ID as em_obcm71_271_0_, inv2_.Prepaymentamt as prepaym72_271_0_, inv2_.Createfromorders as createf73_271_0_, inv2_.Createfrominouts as createf74_271_0_, inv2_.Paidamtatinvoicing as paidamt75_271_0_, inv2_.BPartner_ExtRef as bpartne76_271_0_, inv2_.EM_Obpos_Rounding_Amount as em_obpo77_271_0_, inv2_.EM_Obpos_Sequencename as em_obpo78_271_0_, inv2_.EM_Obpos_Sequencenumber as em_obpo79_271_0_, inv2_.C_Alternate_Location_ID as c_alter80_271_0_, inv2_.EM_Prouti_Recalculate_Price as em_prou81_271_0_, inv2_.EM_Ml_Select_Product as em_ml_s82_271_0_, inv2_.EM_Prouti_Pricecalculatetdate as em_prou83_271_0_, inv2_.EM_Cfis_Fiscalization_Result as em_cfis84_271_0_, inv2_.EM_Poss_Orgloc_Locid as em_poss85_271_0_, inv2_.EM_Prouti_Totalizations as em_prou86_271_0_, inv2_.EM_Cfis_Signature as em_cfis87_271_0_, inv2_.EM_Prscrm_Suitedocid as em_prsc88_271_0_, inv2_.Einvoice_Status as einvoic89_271_0_, inv2_.EM_Cdisc_Externalresponse as em_cdis90_271_0_, inv2_.EM_Ctaxes_Externalresponse as em_ctax91_271_0_, inv2_.EM_Etxf_Tax_Free_Form_ID as em_etxf92_271_0_, inv2_.EM_Obpos2_Crm_ID as em_obpo93_271_0_, inv2_.Einvoice_Generated as einvoic94_271_0_, inv2_.EM_CFIS_ErrorCondition as em_cfis95_271_0_, inv2_.Einvoice_ExternalID as einvoic96_271_0_, inv2_.EM_Asf_Totalattachments as em_asf_97_271_0_, inv2_.EM_CFIS_AdditionalResponse as em_cfis98_271_0_, inv2_.Einvoice_Send_Status as einvoic99_271_0_, inv2_.Einvoice_Sent as einvoi100_271_0_, inv2_.EM_Obpos2_Delivery_Options as em_obp101_271_0_, inv2_.EM_Obpos2_Deliv_Dest_Email as em_obp102_271_0_, inv2_.EM_Etcopag_Cop_Feedback as em_etc103_271_0_, inv2_.Isexternal as isexte104_271_0_, inv2_.EM_Cche_Checkout_Result as em_cch105_271_0_, inv2_.EM_Obpos_Applications_ID as em_obp106_271_0_, inv2_.C_Substitutiveinvoice_ID as c_subs107_271_0_, inv2_.EM_Api_Resend as em_api108_271_0_, inv2_.EM_Ecl_Completeticket_Result as em_ecl109_271_0_, inv2_.EM_Ecl_Errorcondition as em_ecl110_271_0_, inv2_.EM_Ecl_Additionalresponse as em_ecl111_271_0_, inv2_.Business_Partner_Type as busine112_271_0_, inv2_.Extra_Crm_Connector_Data_1 as extra_113_271_0_, inv2_.Extra_Crm_Connector_Data_2 as extra_114_271_0_, inv2_.Extra_Crm_Connector_Data_3 as extra_115_271_0_, inv2_.Extra_Crm_Connector_Data_4 as extra_116_271_0_, inv2_.EM_Cfis_Externalerror as em_cfi117_271_0_, inv2_.EM_Ctaxes_Additionalinfo as em_cta118_271_0_, inv2_.Validation_Status as valida119_271_0_, inv2_.Validate as valida120_271_0_, inv2_.Validation_Date as valida121_271_0_, inv2_.EM_Obpos2_Isvoid as em_obp122_271_0_, inv2_.Validation_User as valida123_271_0_, inv2_.EM_Pruti_Notsendinvoice as em_pru124_271_0_, prod1_.M_Product_ID as m_produc1_589_1_, prod1_.AD_Client_ID as ad_clien2_589_1_, prod1_.AD_Org_ID as ad_org_i3_589_1_, prod1_.IsActive as isactive4_589_1_, prod1_.Created as created5_589_1_, prod1_.CreatedBy as createdb6_589_1_, prod1_.Updated as updated7_589_1_, prod1_.UpdatedBy as updatedb8_589_1_, prod1_.Value as value9_589_1_, prod1_.Name as name10_589_1_, prod1_.Description as descrip11_589_1_, prod1_.DocumentNote as documen12_589_1_, prod1_.Help as help13_589_1_, prod1_.UPC as upc14_589_1_, prod1_.SKU as sku15_589_1_, prod1_.C_UOM_ID as c_uom_i16_589_1_, prod1_.SalesRep_ID as salesre17_589_1_, prod1_.IsSummary as issumma18_589_1_, prod1_.IsStocked as isstock19_589_1_, prod1_.IsPurchased as ispurch20_589_1_, prod1_.IsSold as issold21_589_1_, prod1_.IsBOM as isbom22_589_1_, prod1_.IsInvoicePrintDetails as isinvoi23_589_1_, prod1_.IsPickListPrintDetails as ispickl24_589_1_, prod1_.IsVerified as isverif25_589_1_, prod1_.M_Product_Category_ID as m_produ26_589_1_, prod1_.Classification as classif27_589_1_, prod1_.Volume as volume28_589_1_, prod1_.Weight as weight29_589_1_, prod1_.ShelfWidth as shelfwi30_589_1_, prod1_.ShelfHeight as shelfhe31_589_1_, prod1_.ShelfDepth as shelfde32_589_1_, prod1_.UnitsPerPallet as unitspe33_589_1_, prod1_.C_TaxCategory_ID as c_taxca34_589_1_, prod1_.S_Resource_ID as s_resou35_589_1_, prod1_.Discontinued as discont36_589_1_, prod1_.DiscontinuedBy as discont37_589_1_, prod1_.Processing as process38_589_1_, prod1_.S_ExpenseType_ID as s_expen39_589_1_, prod1_.ProductType as product40_589_1_, prod1_.ImageURL as imageur41_589_1_, prod1_.DescriptionURL as descrip42_589_1_, prod1_.GuaranteeDays as guarant43_589_1_, prod1_.VersionNo as version44_589_1_, prod1_.M_AttributeSet_ID as m_attri45_589_1_, prod1_.M_AttributeSetInstance_ID as m_attri46_589_1_, prod1_.DownloadURL as downloa47_589_1_, prod1_.M_FreightCategory_ID as m_freig48_589_1_, prod1_.M_Locator_ID as m_locat49_589_1_, prod1_.AD_Image_ID as ad_imag50_589_1_, prod1_.C_BPartner_ID as c_bpart51_589_1_, prod1_.Ispriceprinted as isprice52_589_1_, prod1_.Name2 as name53_589_1_, prod1_.Stock_Min as stock_m54_589_1_, prod1_.Enforce_Attribute as enforce55_589_1_, prod1_.Calculated as calcula56_589_1_, prod1_.MA_Processplan_ID as ma_proc57_589_1_, prod1_.Production as product58_589_1_, prod1_.Capacity as capacit59_589_1_, prod1_.Delaymin as delaymi60_589_1_, prod1_.MRP_Planner_ID as mrp_pla61_589_1_, prod1_.MRP_Planningmethod_ID as mrp_pla62_589_1_, prod1_.Qtymax as qtymax63_589_1_, prod1_.Qtymin as qtymin64_589_1_, prod1_.Qtystd as qtystd65_589_1_, prod1_.Qtytype as qtytype66_589_1_, prod1_.Stockmin as stockmi67_589_1_, prod1_.Attrsetvaluetype as attrset68_589_1_, prod1_.Isquantityvariable as isquant69_589_1_, prod1_.Isdeferredrevenue as isdefer70_589_1_, prod1_.EM_Aeat347_Isleasebusiness as em_aeat71_589_1_, prod1_.EM_Aeat347_Situation as em_aeat72_589_1_, prod1_.Revplantype as revplan73_589_1_, prod1_.EM_Aeat347_Referenceid as em_aeat74_589_1_, prod1_.Periodnumber as periodn75_589_1_, prod1_.EM_Aeat347_Locationtype as em_aeat76_589_1_, prod1_.Isdeferredexpense as isdefer77_589_1_, prod1_.EM_Aeat347_Streetname as em_aeat78_589_1_, prod1_.Expplantype as expplan79_589_1_, prod1_.EM_Aeat347_Streetnumbertype as em_aeat80_589_1_, prod1_.Periodnumber_Exp as periodn81_589_1_, prod1_.DefaultPeriod as default82_589_1_, prod1_.EM_Aeat347_Streetnumber as em_aeat83_589_1_, prod1_.DefaultPeriod_Exp as default84_589_1_, prod1_.EM_Aeat347_Streetnumberqua as em_aeat85_589_1_, prod1_.Bookusingpoprice as bookusi86_589_1_, prod1_.EM_Aeat347_Building as em_aeat87_589_1_, prod1_.EM_Aeat347_Hall as em_aeat88_589_1_, prod1_.C_Uom_Weight_ID as c_uom_w89_589_1_, prod1_.M_Brand_ID as m_brand90_589_1_, prod1_.EM_Aeat347_Hallway as em_aeat91_589_1_, prod1_.EM_Aeat347_Floor as em_aeat92_589_1_, prod1_.IsGeneric as isgener93_589_1_, prod1_.EM_Aeat347_Apartment as em_aeat94_589_1_, prod1_.Generic_Product_ID as generic95_589_1_, prod1_.CreateVariants as createv96_589_1_, prod1_.EM_Aeat347_Complement as em_aeat97_589_1_, prod1_.Characteristic_Desc as charact98_589_1_, prod1_.EM_Aeat347_Location as em_aeat99_589_1_, prod1_.EM_Aeat347_County as em_aea100_589_1_, prod1_.Updateinvariants as update101_589_1_, prod1_.EM_Aeat347_Countycode as em_aea102_589_1_, prod1_.ManageVariants as manage103_589_1_, prod1_.EM_Aeat347_Regioncode as em_aea104_589_1_, prod1_.Prod_Cat_Selection as prod_c105_589_1_, prod1_.EM_Aeat347_Zipcode as em_aea106_589_1_, prod1_.Product_Selection as produc107_589_1_, prod1_.Print_Description as print_108_589_1_, prod1_.Returnable as return109_589_1_, prod1_.Overdue_Return_Days as overdu110_589_1_, prod1_.Ispricerulebased as ispric111_589_1_, prod1_.Unique_Per_Document as unique112_589_1_, prod1_.Relateprodcattoservice as relate113_589_1_, prod1_.Relateprodtoservice as relate114_589_1_, prod1_.Islinkedtoproduct as islink115_589_1_, prod1_.Quantity_Rule as quanti116_589_1_, prod1_.Allow_Deferred_Sell as allow_117_589_1_, prod1_.Deferred_Sell_Max_Days as deferr118_589_1_, prod1_.M_Product_Status_ID as m_prod119_589_1_, prod1_.EM_Prbs_C_Country_ID as em_prb120_589_1_, prod1_.EM_Prlab_Qtylabels as em_prl121_589_1_, prod1_.Ismodifytax as ismodi122_589_1_, prod1_.EM_Prbs_Descriptionshort as em_prb123_589_1_, prod1_.Relateprodcattaxtoservice as relate124_589_1_, prod1_.Copyservicemodifytaxconfig as copyse125_589_1_, prod1_.EM_Prbs_Qualitydescription as em_prb126_589_1_, prod1_.EM_Obpos_Scale as em_obp127_589_1_, prod1_.EM_Prbs_C_Campaign_ID as em_prb128_589_1_, prod1_.M_Product_Subtype_ID as m_prod129_589_1_, prod1_.EM_Obpos_Groupedproduct as em_obp130_589_1_, prod1_.EM_Prbs_Grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.EM_Obpos_Showstock as em_obp134_589_1_, prod1_.EM_Prbs_Prod_Composition_ID as em_prb135_589_1_, prod1_.EM_Obdest_Enabled as em_obd136_589_1_, prod1_.EM_Obpos_Show_Ch_Desc as em_obp137_589_1_, prod1_.EM_Obdest_Rcharacteristic as em_obd138_589_1_, prod1_.EM_Obpos_Proposal_Type as em_obp139_589_1_, prod1_.EM_Prbs_Isneveroutofstock as em_prb140_589_1_, prod1_.EM_Obdest_Ccharacteristic as em_obd141_589_1_, prod1_.EM_Obpos_Ismultiselectable as em_obp142_589_1_, prod1_.EM_Prbs_Targetgroup as em_prb143_589_1_, prod1_.EM_OBPOS_AllowAnonymousSale as em_obp144_589_1_, prod1_.EM_Obpos_Printservices as em_obp145_589_1_, prod1_.EM_Obpos_Editable_Price as em_obp146_589_1_, prod1_.EM_Obrdm_Delivery_Mode as em_obr147_589_1_, prod1_.EM_Obrdm_Delivery_Mode_Lyw as em_obr148_589_1_, prod1_.EM_Obrdm_Isdeliveryservice as em_obr149_589_1_, prod1_.EM_Gcnv_Giftcardtype as em_gcn150_589_1_, prod1_.EM_Gcnv_Amount as em_gcn151_589_1_, prod1_.EM_Gcnv_Allowpartialreturn as em_gcn152_589_1_, prod1_.EM_Obpos_Maxpriceassocprod as em_obp153_589_1_, prod1_.EM_Obgcne_Expirationdays as em_obg154_589_1_, prod1_.EM_Obpos_Minpriceassocprod as em_obp155_589_1_, prod1_.EM_Obpgc_Printcard as em_obp156_589_1_, prod1_.EM_Obpgc_Printtemplate_Id as em_obp157_589_1_, prod1_.EM_Obpos2_No_Standard_Sale as em_obp158_589_1_, prod1_.EM_Prpres_Short_Description as em_prp159_589_1_, prod1_.EM_Obpos2_Imageclass as em_obp160_589_1_, prod1_.EM_Prpres_Description as em_prp161_589_1_, prod1_.EM_Obpos2_Color_ID as em_obp162_589_1_, prod1_.EM_Prpres_Meta_Title as em_prp163_589_1_, prod1_.EM_Obpos_Skipapplypromotions as em_obp164_589_1_, prod1_.EM_Prpres_Meta_Description as em_prp165_589_1_, prod1_.EM_Prpres_Friendly_Url as em_prp166_589_1_, prod1_.EM_Prpres_Tags as em_prp167_589_1_, prod1_.EM_Obpos2_Pim_Url as em_obp168_589_1_, prod1_.EM_Prpres_Upload as em_prp169_589_1_, prod1_.characteristicDimensionEnabled as charac170_589_1_, prod1_.Autogeneratebom as autoge171_589_1_, prod1_.EM_Obmupc_Multiupc_Desc as em_obm172_589_1_, prod1_.EM_Obserpr_Required_Followup as em_obs173_589_1_, prod1_.EM_Prpres_Managecat as em_prp174_589_1_, prod1_.EM_Prpres_Deactivate_On_Ps as em_prp175_589_1_, prod1_.EM_Gcnv_Discountsrestricted as em_gcn176_589_1_, prod1_.EM_Prpres_Out_Of_Stock as em_prp177_589_1_, prod1_.EM_Epa_Productcategory as em_epa178_589_1_, prod1_.EM_Etxf_Iselegible as em_etx179_589_1_, prod1_.EM_Gcnv_Aspaymentmethod as em_gcn180_589_1_, prod1_.EM_Gcnv_Taxablegiftcard as em_gcn181_589_1_, prod1_.EM_Obpgc_Printtempemail_ID as em_obp182_589_1_, prod1_.EM_Obpgc_Useautomaticseq as em_obp183_589_1_, prod1_.EM_Obfi_Ingredients_Allergens as em_obf184_589_1_, prod1_.EM_Prbs_Deliveryperiodname as em_prb185_589_1_, prod1_.EM_Obfi_Nutritional_Info as em_obf186_589_1_, prod1_.EM_Prbs_Deliveryperiodstart as em_prb187_589_1_, prod1_.EM_Gcnv_Giftcardextradays as em_gcn188_589_1_, prod1_.EM_Obfi_Storage_Instructions as em_obf189_589_1_, prod1_.EM_Prbs_Deliveryperiodend as em_prb190_589_1_, prod1_.EM_Prrqp_Abv as em_prr191_589_1_, prod1_.Special_Use as specia192_589_1_, prod1_.EM_Asf_Image_Name as em_asf193_589_1_, prod1_.EM_OBCOMBO_Discount_Link as em_obc194_589_1_, prod1_.EM_Obpos_Salesunitfactor as em_obp195_589_1_, prod1_.EM_OBDISC_Pack_Discount_Link as em_obd196_589_1_, prod1_.EM_Asf_Printlabels as em_asf197_589_1_, prod1_.EM_Asf_Prestashop_Title as em_asf198_589_1_, prod1_.EM_Prret_Multiupc_Json as em_prr199_589_1_, prod1_.Isgeneratevariantean as isgene200_589_1_, prod1_.EM_Obpos2_Isotf as em_obp201_589_1_, prod1_.EM_Obpos2_Request_Price as em_obp202_589_1_, prod1_.EM_Obpos_Epc as em_obp203_589_1_, prod1_.AD_Sequence_ID as ad_seq204_589_1_, prod1_.EM_Obpos_Sgtin as em_obp205_589_1_, prod1_.EM_Obpos_Neweqproduct_ID as em_obp206_589_1_, prod1_.EM_OBSERPR_Anonymize_Sp as em_obs207_589_1_, prod1_.EM_Asf_Replenish as em_asf208_589_1_, prod1_.EM_Am_Composition_ID as em_am_209_589_1_, prod1_.EM_Am_Campaign_ID as em_am_210_589_1_, prod1_.EM_Obserpr_Follow_Up_Mode as em_obs211_589_1_, prod1_.EM_Obserpr_Service_Mode as em_obs212_589_1_, prod1_.EM_Pruti_Addmodifycharact as em_pru213_589_1_, prod1_.EM_Asf_Vmi_Ode as em_asf214_589_1_, prod1_.EM_Asf_Vmi_Com as em_asf215_589_1_, prod1_.EM_Asf_Vmi_Onl as em_asf216_589_1_, prod1_.EM_Asf_Esrec as em_asf217_589_1_, prod1_.EM_Gcnv_Redemptiontype as em_gcn218_589_1_ from C_InvoiceLine this_ inner join C_Invoice inv2_ on this_.C_Invoice_ID = inv2_.C_Invoice_ID inner join M_Product prod1_ on this_.M_Product_ID = prod1_.M_Product_ID where this_.C_OrderLine_ID is null and prod1_.ProductType <> 'S' and inv2_.C_BPartner_ID = '5A4D458636A148C3B9E5AAB85F8ABEA7' and inv2_.IsSOTrx = 'N' and inv2_.C_DocType_ID = '75A3401B2D87400391D5C4A8D756C09F' 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';
Date: 2026-06-29 12:00:16 Duration: 15s451ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
15 13s726ms 2 6s148ms 7s577ms 6s863ms select this_.prbs_variant_id as prbs_var1_1135_0_, this_.ad_client_id as ad_clien2_1135_0_, this_.ad_org_id as ad_org_i3_1135_0_, this_.isactive as isactive4_1135_0_, this_.created as created5_1135_0_, this_.createdby as createdb6_1135_0_, this_.updated as updated7_1135_0_, this_.updatedby as updatedb8_1135_0_, this_.itemnumbermaster as itemnumb9_1135_0_, this_.itemnumber as itemnum10_1135_0_, this_.itemname as itemnam11_1135_0_, this_.globaltradeitemnumbervariant as globalt12_1135_0_, this_.globaltradeitemnumbermaster as globalt13_1135_0_, this_.subbrandname as subbran14_1135_0_, this_.brandname as brandna15_1135_0_, this_.customscode as customs16_1135_0_, this_.customscodename as customs17_1135_0_, this_.valueaddedtaxrate as valuead18_1135_0_, this_.isitempricemarked as isitemp19_1135_0_, this_.isitembarcoded as isitemb20_1135_0_, this_.isbox as isbox21_1135_0_, this_.ismarketing as ismarke22_1135_0_, this_.issupplement as issuppl23_1135_0_, this_.isneveroutofstock as isnever24_1135_0_, this_.season as season25_1135_0_, this_.startdate as startda26_1135_0_, this_.enddate as enddate27_1135_0_, this_.periodname as periodn28_1135_0_, this_.description as descrip29_1135_0_, this_.descriptionshort as descrip30_1135_0_, this_.qualitydescription as quality31_1135_0_, this_.productgroupname as product32_1135_0_, this_.productgroupnumber as product33_1135_0_, this_.productsubgroupname as product34_1135_0_, this_.productsubgroupnumber as product35_1135_0_, this_.ncridentifier as ncriden36_1135_0_, this_.productclassificationcodebte as product37_1135_0_, this_.productclassificationcodebtev2 as product38_1135_0_, this_.targetgroup as targetg39_1135_0_, this_.isinvoiceunit as isinvoi40_1135_0_, this_.isdespatchunit as isdespa41_1135_0_, this_.isorderingunit as isorder42_1135_0_, this_.isconsumerunit as isconsu43_1135_0_, this_.countryname as country44_1135_0_, this_.countrycodealpha2 as country45_1135_0_, this_.countrycodealpha3 as country46_1135_0_, this_.countrycodenumber as country47_1135_0_, this_.itemnetweight as itemnet48_1135_0_, this_.itemgrossweight as itemgro49_1135_0_, this_.size as size50_1135_0_, this_.lengthsize as lengths51_1135_0_, this_.lengthname as lengthn52_1135_0_, this_.colourname as colourn53_1135_0_, this_.maincolourname as maincol54_1135_0_, this_.maincolournumber as maincol55_1135_0_, this_.colournumber as colourn56_1135_0_, this_.pantonenumber as pantone57_1135_0_, this_.hexcode as hexcode58_1135_0_, this_.fabriccompositiontext as fabricc59_1135_0_, this_.variantname as variant60_1135_0_, this_.variantsystemname as variant61_1135_0_, this_.stylevariantnumbering as styleva62_1135_0_, this_.varianttypenumbering as variant63_1135_0_, this_.variantnumbering as variant64_1135_0_, this_.grosspriceamount as grosspr65_1135_0_, this_.grosspricecurrency as grosspr66_1135_0_, this_.retailpriceamount as retailp67_1135_0_, this_.retailpricecurrency as retailp68_1135_0_, this_.m_product_id as m_produ69_1135_0_, this_.prbs_conf_id as prbs_co70_1135_0_ from prbs_variant this_ where this_.m_product_id is null and this_.prbs_conf_id = ? and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 29 06 1 7s577ms 7s577ms 13 1 6s148ms 6s148ms [ User: tad - Total duration: 13s726ms - Times executed: 2 ]
-
select this_.Prbs_Variant_ID as prbs_var1_1135_0_, this_.AD_Client_ID as ad_clien2_1135_0_, this_.AD_Org_ID as ad_org_i3_1135_0_, this_.Isactive as isactive4_1135_0_, this_.Created as created5_1135_0_, this_.Createdby as createdb6_1135_0_, this_.Updated as updated7_1135_0_, this_.Updatedby as updatedb8_1135_0_, this_.Itemnumbermaster as itemnumb9_1135_0_, this_.Itemnumber as itemnum10_1135_0_, this_.Itemname as itemnam11_1135_0_, this_.Globaltradeitemnumbervariant as globalt12_1135_0_, this_.Globaltradeitemnumbermaster as globalt13_1135_0_, this_.Subbrandname as subbran14_1135_0_, this_.Brandname as brandna15_1135_0_, this_.Customscode as customs16_1135_0_, this_.Customscodename as customs17_1135_0_, this_.Valueaddedtaxrate as valuead18_1135_0_, this_.Isitempricemarked as isitemp19_1135_0_, this_.Isitembarcoded as isitemb20_1135_0_, this_.Isbox as isbox21_1135_0_, this_.Ismarketing as ismarke22_1135_0_, this_.Issupplement as issuppl23_1135_0_, this_.Isneveroutofstock as isnever24_1135_0_, this_.Season as season25_1135_0_, this_.Startdate as startda26_1135_0_, this_.Enddate as enddate27_1135_0_, this_.Periodname as periodn28_1135_0_, this_.Description as descrip29_1135_0_, this_.Descriptionshort as descrip30_1135_0_, this_.Qualitydescription as quality31_1135_0_, this_.Productgroupname as product32_1135_0_, this_.Productgroupnumber as product33_1135_0_, this_.Productsubgroupname as product34_1135_0_, this_.Productsubgroupnumber as product35_1135_0_, this_.Ncridentifier as ncriden36_1135_0_, this_.Productclassificationcodebte as product37_1135_0_, this_.Productclassificationcodebtev2 as product38_1135_0_, this_.Targetgroup as targetg39_1135_0_, this_.Isinvoiceunit as isinvoi40_1135_0_, this_.Isdespatchunit as isdespa41_1135_0_, this_.Isorderingunit as isorder42_1135_0_, this_.Isconsumerunit as isconsu43_1135_0_, this_.Countryname as country44_1135_0_, this_.Countrycodealpha2 as country45_1135_0_, this_.Countrycodealpha3 as country46_1135_0_, this_.Countrycodenumber as country47_1135_0_, this_.Itemnetweight as itemnet48_1135_0_, this_.Itemgrossweight as itemgro49_1135_0_, this_.Size as size50_1135_0_, this_.Lengthsize as lengths51_1135_0_, this_.Lengthname as lengthn52_1135_0_, this_.Colourname as colourn53_1135_0_, this_.Maincolourname as maincol54_1135_0_, this_.Maincolournumber as maincol55_1135_0_, this_.Colournumber as colourn56_1135_0_, this_.Pantonenumber as pantone57_1135_0_, this_.Hexcode as hexcode58_1135_0_, this_.Fabriccompositiontext as fabricc59_1135_0_, this_.Variantname as variant60_1135_0_, this_.Variantsystemname as variant61_1135_0_, this_.Stylevariantnumbering as styleva62_1135_0_, this_.Varianttypenumbering as variant63_1135_0_, this_.Variantnumbering as variant64_1135_0_, this_.Grosspriceamount as grosspr65_1135_0_, this_.Grosspricecurrency as grosspr66_1135_0_, this_.Retailpriceamount as retailp67_1135_0_, this_.Retailpricecurrency as retailp68_1135_0_, this_.M_Product_ID as m_produ69_1135_0_, this_.Prbs_Conf_ID as prbs_co70_1135_0_ from prbs_variant this_ where this_.M_Product_ID is null and this_.Prbs_Conf_ID = '54C515E3EA2D4D1D8C119FFBBDFDC16C' 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';
Date: 2026-06-29 06:00:10 Duration: 7s577ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select this_.Prbs_Variant_ID as prbs_var1_1135_0_, this_.AD_Client_ID as ad_clien2_1135_0_, this_.AD_Org_ID as ad_org_i3_1135_0_, this_.Isactive as isactive4_1135_0_, this_.Created as created5_1135_0_, this_.Createdby as createdb6_1135_0_, this_.Updated as updated7_1135_0_, this_.Updatedby as updatedb8_1135_0_, this_.Itemnumbermaster as itemnumb9_1135_0_, this_.Itemnumber as itemnum10_1135_0_, this_.Itemname as itemnam11_1135_0_, this_.Globaltradeitemnumbervariant as globalt12_1135_0_, this_.Globaltradeitemnumbermaster as globalt13_1135_0_, this_.Subbrandname as subbran14_1135_0_, this_.Brandname as brandna15_1135_0_, this_.Customscode as customs16_1135_0_, this_.Customscodename as customs17_1135_0_, this_.Valueaddedtaxrate as valuead18_1135_0_, this_.Isitempricemarked as isitemp19_1135_0_, this_.Isitembarcoded as isitemb20_1135_0_, this_.Isbox as isbox21_1135_0_, this_.Ismarketing as ismarke22_1135_0_, this_.Issupplement as issuppl23_1135_0_, this_.Isneveroutofstock as isnever24_1135_0_, this_.Season as season25_1135_0_, this_.Startdate as startda26_1135_0_, this_.Enddate as enddate27_1135_0_, this_.Periodname as periodn28_1135_0_, this_.Description as descrip29_1135_0_, this_.Descriptionshort as descrip30_1135_0_, this_.Qualitydescription as quality31_1135_0_, this_.Productgroupname as product32_1135_0_, this_.Productgroupnumber as product33_1135_0_, this_.Productsubgroupname as product34_1135_0_, this_.Productsubgroupnumber as product35_1135_0_, this_.Ncridentifier as ncriden36_1135_0_, this_.Productclassificationcodebte as product37_1135_0_, this_.Productclassificationcodebtev2 as product38_1135_0_, this_.Targetgroup as targetg39_1135_0_, this_.Isinvoiceunit as isinvoi40_1135_0_, this_.Isdespatchunit as isdespa41_1135_0_, this_.Isorderingunit as isorder42_1135_0_, this_.Isconsumerunit as isconsu43_1135_0_, this_.Countryname as country44_1135_0_, this_.Countrycodealpha2 as country45_1135_0_, this_.Countrycodealpha3 as country46_1135_0_, this_.Countrycodenumber as country47_1135_0_, this_.Itemnetweight as itemnet48_1135_0_, this_.Itemgrossweight as itemgro49_1135_0_, this_.Size as size50_1135_0_, this_.Lengthsize as lengths51_1135_0_, this_.Lengthname as lengthn52_1135_0_, this_.Colourname as colourn53_1135_0_, this_.Maincolourname as maincol54_1135_0_, this_.Maincolournumber as maincol55_1135_0_, this_.Colournumber as colourn56_1135_0_, this_.Pantonenumber as pantone57_1135_0_, this_.Hexcode as hexcode58_1135_0_, this_.Fabriccompositiontext as fabricc59_1135_0_, this_.Variantname as variant60_1135_0_, this_.Variantsystemname as variant61_1135_0_, this_.Stylevariantnumbering as styleva62_1135_0_, this_.Varianttypenumbering as variant63_1135_0_, this_.Variantnumbering as variant64_1135_0_, this_.Grosspriceamount as grosspr65_1135_0_, this_.Grosspricecurrency as grosspr66_1135_0_, this_.Retailpriceamount as retailp67_1135_0_, this_.Retailpricecurrency as retailp68_1135_0_, this_.M_Product_ID as m_produ69_1135_0_, this_.Prbs_Conf_ID as prbs_co70_1135_0_ from prbs_variant this_ where this_.M_Product_ID is null and this_.Prbs_Conf_ID = '54C515E3EA2D4D1D8C119FFBBDFDC16C' 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';
Date: 2026-06-29 13:00:19 Duration: 6s148ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
16 13s680ms 1 13s680ms 13s680ms 13s680ms 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 #16
Day Hour Count Duration Avg duration Jun 29 06 1 13s680ms 13s680ms [ User: tad - Total duration: 13s680ms - 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-29 06:00:15 Duration: 13s680ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
17 12s124ms 2 5s840ms 6s284ms 6s62ms 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 #17
Day Hour Count Duration Avg duration Jun 29 01 1 6s284ms 6s284ms 13 1 5s840ms 5s840ms [ User: tad - Total duration: 12s124ms - 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-29 01:00:07 Duration: 6s284ms 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-29 13:00:06 Duration: 5s840ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
18 9s766ms 1 9s766ms 9s766ms 9s766ms select ? || ad_orginfo.taxid as vatorg, m_product.upc as globalitemnumber, ad_org.em_prbs_gln, ad_org.name as nameorg, round(sum(m_storage_detail.qtyonhand)) as qty from m_storage_detail left join m_locator on m_locator.m_locator_id = m_storage_detail.m_locator_id left join m_warehouse on m_warehouse.m_warehouse_id = m_locator.m_warehouse_id left join ad_org_warehouse on ad_org_warehouse.m_warehouse_id = m_warehouse.m_warehouse_id left join ad_org on ad_org.ad_org_id = ad_org_warehouse.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join m_product on m_product.m_product_id = m_storage_detail.m_product_id where ad_org.em_prbs_gln is not null and m_storage_detail.qtyonhand > ? and exists ( select ? from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) group by ?, ?, ?, ? order by ?, ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 29 06 1 9s766ms 9s766ms [ User: tad - Total duration: 9s766ms - Times executed: 1 ]
-
select 'ES' || ad_orginfo.taxid as vatorg, m_product.upc as globalitemnumber, ad_org.em_prbs_gln, ad_org.name as nameorg, round(sum(m_storage_detail.qtyonhand)) as qty from m_storage_detail left join m_locator on m_locator.m_locator_id = m_storage_detail.m_locator_id left join m_warehouse on m_warehouse.m_warehouse_id = m_locator.m_warehouse_id left join ad_org_warehouse on ad_org_warehouse.m_warehouse_id = m_warehouse.m_warehouse_id left join ad_org on ad_org.ad_org_id = ad_org_warehouse.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join m_product on m_product.m_product_id = m_storage_detail.m_product_id where ad_org.em_prbs_gln is not null and m_storage_detail.qtyonhand > 0 and exists ( select 1 from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) group by 1, 2, 3, 4 order by 1, 3;
Date: 2026-06-29 06:00:10 Duration: 9s766ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
19 9s49ms 1 9s49ms 9s49ms 9s49ms insert into m_ch_subset_value (ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_ch_subset_id, m_ch_value_id, m_ch_subset_value_id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 29 13 1 9s49ms 9s49ms [ User: tad - Total duration: 9s49ms - Times executed: 1 ]
-
insert into M_Ch_Subset_Value (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, M_Ch_Subset_ID, M_Ch_Value_ID, M_Ch_Subset_Value_ID) values ('9032A5586FD74B7AA85361E71EEB6E37', '0', 'Y', '2026-06-29 15:00:26.667', '100', '2026-06-29 15:00:26.667', '100', '5D5655FF796144028B5692F956290FA5', 'AAA71F6D38694F1AB9E374AF95FD9D6C', '88A4D33AF10C4C8D9E691A7B2C0FE03F');
Date: 2026-06-29 13:00:35 Duration: 9s49ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
20 6s512ms 1 6s512ms 6s512ms 6s512ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 29 07 1 6s512ms 6s512ms [ User: tad - Total duration: 6s512ms - Times executed: 1 ]
[ Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) - Total duration: 6s512ms - Times executed: 1 ]
-
SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca;
Date: 2026-06-29 07:05:13 Duration: 6s512ms Database: openbravo User: tad Remote: 10.0.0.13 Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256)
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2 3m57s 1m53s 2m4s 1m58s 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 #1
Day Hour Count Duration Avg duration Jun 29 12 1 1m53s 1m53s 19 1 2m4s 2m4s [ User: tad - Total duration: 3m57s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m57s - 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-29 19:34:08 Duration: 2m4s 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-29 12:33:21 Duration: 1m53s 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
2 2 3m30s 1m42s 1m48s 1m45s 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 #2
Day Hour Count Duration Avg duration Jun 29 12 1 1m42s 1m42s 19 1 1m48s 1m48s [ User: tad - Total duration: 3m30s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m30s - 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-29 19:34:16 Duration: 1m48s 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-29 12:32:44 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
3 2 1m35s 29s696ms 1m6s 47s869ms 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 #3
Day Hour Count Duration Avg duration Jun 29 12 1 1m6s 1m6s 19 1 29s696ms 29s696ms [ User: tad - Total duration: 1m35s - Times executed: 2 ]
-
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-29 12:33:08 Duration: 1m6s Database: openbravo User: tad Remote: 10.0.0.13 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-29 19:33:24 Duration: 29s696ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
4 2 1m9s 29s914ms 39s205ms 34s560ms 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 29 12 1 29s914ms 29s914ms 19 1 39s205ms 39s205ms [ User: tad - Total duration: 1m9s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m9s - 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-29 19:32:36 Duration: 39s205ms 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-29 12:32:07 Duration: 29s914ms 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 1m3s 23s484ms 39s724ms 31s604ms 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 #5
Day Hour Count Duration Avg duration Jun 29 12 1 39s724ms 39s724ms 19 1 23s484ms 23s484ms [ User: tad - Total duration: 1m3s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m3s - Times executed: 2 ]
-
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-29 12:31:32 Duration: 39s724ms 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-29 19:32:33 Duration: 23s484ms 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 42s524ms 11s755ms 30s768ms 21s262ms 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 #6
Day Hour Count Duration Avg duration Jun 29 12 1 30s768ms 30s768ms 19 1 11s755ms 11s755ms [ User: tad - Total duration: 42s524ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 42s524ms - Times executed: 2 ]
-
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-29 12:31:23 Duration: 30s768ms 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-29 19:32:09 Duration: 11s755ms 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 40s535ms 17s931ms 22s603ms 20s267ms 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 #7
Day Hour Count Duration Avg duration Jun 29 12 1 17s931ms 17s931ms 19 1 22s603ms 22s603ms [ User: tad - Total duration: 40s535ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 17s931ms - Times executed: 1 ]
-
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-29 19:33:02 Duration: 22s603ms Database: openbravo User: tad Remote: 10.0.0.13 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-29 12:31:10 Duration: 17s931ms 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 30s210ms 12s384ms 17s826ms 15s105ms 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 #8
Day Hour Count Duration Avg duration Jun 29 12 1 12s384ms 12s384ms 19 1 17s826ms 17s826ms [ User: tad - Total duration: 30s210ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 30s210ms - 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-29 19:32:20 Duration: 17s826ms 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-29 12:31:11 Duration: 12s384ms 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 2 15s827ms 5s588ms 10s238ms 7s913ms 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 #9
Day Hour Count Duration Avg duration Jun 29 16 1 10s238ms 10s238ms 19 1 5s588ms 5s588ms [ User: tad - Total duration: 15s827ms - 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-01', '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-29 16:18:31 Duration: 10s238ms 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-01', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = '36C6F10C71334D55A0AFB7A803BF244B' 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-29 19:41:25 Duration: 5s588ms 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-01', '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-29 16:18:27 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
10 2 13s726ms 6s148ms 7s577ms 6s863ms select this_.prbs_variant_id as prbs_var1_1135_0_, this_.ad_client_id as ad_clien2_1135_0_, this_.ad_org_id as ad_org_i3_1135_0_, this_.isactive as isactive4_1135_0_, this_.created as created5_1135_0_, this_.createdby as createdb6_1135_0_, this_.updated as updated7_1135_0_, this_.updatedby as updatedb8_1135_0_, this_.itemnumbermaster as itemnumb9_1135_0_, this_.itemnumber as itemnum10_1135_0_, this_.itemname as itemnam11_1135_0_, this_.globaltradeitemnumbervariant as globalt12_1135_0_, this_.globaltradeitemnumbermaster as globalt13_1135_0_, this_.subbrandname as subbran14_1135_0_, this_.brandname as brandna15_1135_0_, this_.customscode as customs16_1135_0_, this_.customscodename as customs17_1135_0_, this_.valueaddedtaxrate as valuead18_1135_0_, this_.isitempricemarked as isitemp19_1135_0_, this_.isitembarcoded as isitemb20_1135_0_, this_.isbox as isbox21_1135_0_, this_.ismarketing as ismarke22_1135_0_, this_.issupplement as issuppl23_1135_0_, this_.isneveroutofstock as isnever24_1135_0_, this_.season as season25_1135_0_, this_.startdate as startda26_1135_0_, this_.enddate as enddate27_1135_0_, this_.periodname as periodn28_1135_0_, this_.description as descrip29_1135_0_, this_.descriptionshort as descrip30_1135_0_, this_.qualitydescription as quality31_1135_0_, this_.productgroupname as product32_1135_0_, this_.productgroupnumber as product33_1135_0_, this_.productsubgroupname as product34_1135_0_, this_.productsubgroupnumber as product35_1135_0_, this_.ncridentifier as ncriden36_1135_0_, this_.productclassificationcodebte as product37_1135_0_, this_.productclassificationcodebtev2 as product38_1135_0_, this_.targetgroup as targetg39_1135_0_, this_.isinvoiceunit as isinvoi40_1135_0_, this_.isdespatchunit as isdespa41_1135_0_, this_.isorderingunit as isorder42_1135_0_, this_.isconsumerunit as isconsu43_1135_0_, this_.countryname as country44_1135_0_, this_.countrycodealpha2 as country45_1135_0_, this_.countrycodealpha3 as country46_1135_0_, this_.countrycodenumber as country47_1135_0_, this_.itemnetweight as itemnet48_1135_0_, this_.itemgrossweight as itemgro49_1135_0_, this_.size as size50_1135_0_, this_.lengthsize as lengths51_1135_0_, this_.lengthname as lengthn52_1135_0_, this_.colourname as colourn53_1135_0_, this_.maincolourname as maincol54_1135_0_, this_.maincolournumber as maincol55_1135_0_, this_.colournumber as colourn56_1135_0_, this_.pantonenumber as pantone57_1135_0_, this_.hexcode as hexcode58_1135_0_, this_.fabriccompositiontext as fabricc59_1135_0_, this_.variantname as variant60_1135_0_, this_.variantsystemname as variant61_1135_0_, this_.stylevariantnumbering as styleva62_1135_0_, this_.varianttypenumbering as variant63_1135_0_, this_.variantnumbering as variant64_1135_0_, this_.grosspriceamount as grosspr65_1135_0_, this_.grosspricecurrency as grosspr66_1135_0_, this_.retailpriceamount as retailp67_1135_0_, this_.retailpricecurrency as retailp68_1135_0_, this_.m_product_id as m_produ69_1135_0_, this_.prbs_conf_id as prbs_co70_1135_0_ from prbs_variant this_ where this_.m_product_id is null and this_.prbs_conf_id = ? and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 29 06 1 7s577ms 7s577ms 13 1 6s148ms 6s148ms [ User: tad - Total duration: 13s726ms - Times executed: 2 ]
-
select this_.Prbs_Variant_ID as prbs_var1_1135_0_, this_.AD_Client_ID as ad_clien2_1135_0_, this_.AD_Org_ID as ad_org_i3_1135_0_, this_.Isactive as isactive4_1135_0_, this_.Created as created5_1135_0_, this_.Createdby as createdb6_1135_0_, this_.Updated as updated7_1135_0_, this_.Updatedby as updatedb8_1135_0_, this_.Itemnumbermaster as itemnumb9_1135_0_, this_.Itemnumber as itemnum10_1135_0_, this_.Itemname as itemnam11_1135_0_, this_.Globaltradeitemnumbervariant as globalt12_1135_0_, this_.Globaltradeitemnumbermaster as globalt13_1135_0_, this_.Subbrandname as subbran14_1135_0_, this_.Brandname as brandna15_1135_0_, this_.Customscode as customs16_1135_0_, this_.Customscodename as customs17_1135_0_, this_.Valueaddedtaxrate as valuead18_1135_0_, this_.Isitempricemarked as isitemp19_1135_0_, this_.Isitembarcoded as isitemb20_1135_0_, this_.Isbox as isbox21_1135_0_, this_.Ismarketing as ismarke22_1135_0_, this_.Issupplement as issuppl23_1135_0_, this_.Isneveroutofstock as isnever24_1135_0_, this_.Season as season25_1135_0_, this_.Startdate as startda26_1135_0_, this_.Enddate as enddate27_1135_0_, this_.Periodname as periodn28_1135_0_, this_.Description as descrip29_1135_0_, this_.Descriptionshort as descrip30_1135_0_, this_.Qualitydescription as quality31_1135_0_, this_.Productgroupname as product32_1135_0_, this_.Productgroupnumber as product33_1135_0_, this_.Productsubgroupname as product34_1135_0_, this_.Productsubgroupnumber as product35_1135_0_, this_.Ncridentifier as ncriden36_1135_0_, this_.Productclassificationcodebte as product37_1135_0_, this_.Productclassificationcodebtev2 as product38_1135_0_, this_.Targetgroup as targetg39_1135_0_, this_.Isinvoiceunit as isinvoi40_1135_0_, this_.Isdespatchunit as isdespa41_1135_0_, this_.Isorderingunit as isorder42_1135_0_, this_.Isconsumerunit as isconsu43_1135_0_, this_.Countryname as country44_1135_0_, this_.Countrycodealpha2 as country45_1135_0_, this_.Countrycodealpha3 as country46_1135_0_, this_.Countrycodenumber as country47_1135_0_, this_.Itemnetweight as itemnet48_1135_0_, this_.Itemgrossweight as itemgro49_1135_0_, this_.Size as size50_1135_0_, this_.Lengthsize as lengths51_1135_0_, this_.Lengthname as lengthn52_1135_0_, this_.Colourname as colourn53_1135_0_, this_.Maincolourname as maincol54_1135_0_, this_.Maincolournumber as maincol55_1135_0_, this_.Colournumber as colourn56_1135_0_, this_.Pantonenumber as pantone57_1135_0_, this_.Hexcode as hexcode58_1135_0_, this_.Fabriccompositiontext as fabricc59_1135_0_, this_.Variantname as variant60_1135_0_, this_.Variantsystemname as variant61_1135_0_, this_.Stylevariantnumbering as styleva62_1135_0_, this_.Varianttypenumbering as variant63_1135_0_, this_.Variantnumbering as variant64_1135_0_, this_.Grosspriceamount as grosspr65_1135_0_, this_.Grosspricecurrency as grosspr66_1135_0_, this_.Retailpriceamount as retailp67_1135_0_, this_.Retailpricecurrency as retailp68_1135_0_, this_.M_Product_ID as m_produ69_1135_0_, this_.Prbs_Conf_ID as prbs_co70_1135_0_ from prbs_variant this_ where this_.M_Product_ID is null and this_.Prbs_Conf_ID = '54C515E3EA2D4D1D8C119FFBBDFDC16C' 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';
Date: 2026-06-29 06:00:10 Duration: 7s577ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select this_.Prbs_Variant_ID as prbs_var1_1135_0_, this_.AD_Client_ID as ad_clien2_1135_0_, this_.AD_Org_ID as ad_org_i3_1135_0_, this_.Isactive as isactive4_1135_0_, this_.Created as created5_1135_0_, this_.Createdby as createdb6_1135_0_, this_.Updated as updated7_1135_0_, this_.Updatedby as updatedb8_1135_0_, this_.Itemnumbermaster as itemnumb9_1135_0_, this_.Itemnumber as itemnum10_1135_0_, this_.Itemname as itemnam11_1135_0_, this_.Globaltradeitemnumbervariant as globalt12_1135_0_, this_.Globaltradeitemnumbermaster as globalt13_1135_0_, this_.Subbrandname as subbran14_1135_0_, this_.Brandname as brandna15_1135_0_, this_.Customscode as customs16_1135_0_, this_.Customscodename as customs17_1135_0_, this_.Valueaddedtaxrate as valuead18_1135_0_, this_.Isitempricemarked as isitemp19_1135_0_, this_.Isitembarcoded as isitemb20_1135_0_, this_.Isbox as isbox21_1135_0_, this_.Ismarketing as ismarke22_1135_0_, this_.Issupplement as issuppl23_1135_0_, this_.Isneveroutofstock as isnever24_1135_0_, this_.Season as season25_1135_0_, this_.Startdate as startda26_1135_0_, this_.Enddate as enddate27_1135_0_, this_.Periodname as periodn28_1135_0_, this_.Description as descrip29_1135_0_, this_.Descriptionshort as descrip30_1135_0_, this_.Qualitydescription as quality31_1135_0_, this_.Productgroupname as product32_1135_0_, this_.Productgroupnumber as product33_1135_0_, this_.Productsubgroupname as product34_1135_0_, this_.Productsubgroupnumber as product35_1135_0_, this_.Ncridentifier as ncriden36_1135_0_, this_.Productclassificationcodebte as product37_1135_0_, this_.Productclassificationcodebtev2 as product38_1135_0_, this_.Targetgroup as targetg39_1135_0_, this_.Isinvoiceunit as isinvoi40_1135_0_, this_.Isdespatchunit as isdespa41_1135_0_, this_.Isorderingunit as isorder42_1135_0_, this_.Isconsumerunit as isconsu43_1135_0_, this_.Countryname as country44_1135_0_, this_.Countrycodealpha2 as country45_1135_0_, this_.Countrycodealpha3 as country46_1135_0_, this_.Countrycodenumber as country47_1135_0_, this_.Itemnetweight as itemnet48_1135_0_, this_.Itemgrossweight as itemgro49_1135_0_, this_.Size as size50_1135_0_, this_.Lengthsize as lengths51_1135_0_, this_.Lengthname as lengthn52_1135_0_, this_.Colourname as colourn53_1135_0_, this_.Maincolourname as maincol54_1135_0_, this_.Maincolournumber as maincol55_1135_0_, this_.Colournumber as colourn56_1135_0_, this_.Pantonenumber as pantone57_1135_0_, this_.Hexcode as hexcode58_1135_0_, this_.Fabriccompositiontext as fabricc59_1135_0_, this_.Variantname as variant60_1135_0_, this_.Variantsystemname as variant61_1135_0_, this_.Stylevariantnumbering as styleva62_1135_0_, this_.Varianttypenumbering as variant63_1135_0_, this_.Variantnumbering as variant64_1135_0_, this_.Grosspriceamount as grosspr65_1135_0_, this_.Grosspricecurrency as grosspr66_1135_0_, this_.Retailpriceamount as retailp67_1135_0_, this_.Retailpricecurrency as retailp68_1135_0_, this_.M_Product_ID as m_produ69_1135_0_, this_.Prbs_Conf_ID as prbs_co70_1135_0_ from prbs_variant this_ where this_.M_Product_ID is null and this_.Prbs_Conf_ID = '54C515E3EA2D4D1D8C119FFBBDFDC16C' 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';
Date: 2026-06-29 13:00:19 Duration: 6s148ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
11 2 12s124ms 5s840ms 6s284ms 6s62ms 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 #11
Day Hour Count Duration Avg duration Jun 29 01 1 6s284ms 6s284ms 13 1 5s840ms 5s840ms [ User: tad - Total duration: 12s124ms - 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-29 01:00:07 Duration: 6s284ms 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-29 13:00:06 Duration: 5s840ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
12 1 8m32s 8m32s 8m32s 8m32s select distinct m_product_category.em_asf_product_type as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product_category left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in (...) and m_product_category.ad_client_id = ? and (exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product_category.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct m_product_category.em_asf_navigationnode as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product_category left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in (...) and m_product_category.ad_client_id = ? and (exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product_category.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct c_campaign.description as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from c_campaign left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and c_campaign.description is not null and c_campaign.ad_org_id in (...) and c_campaign.ad_client_id = ? and c_campaign.updated >= ? union select distinct prbs_prod_composition.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in (...) and prbs_prod_composition.ad_client_id = ? and (exists ( select ? from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.em_prbs_prod_composition_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.em_prbs_prod_composition_id and (m_product.em_prpres_upload = ? or (prbs_prod_composition.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct ad_ref_list.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.ad_reference_id = ? and prpres_conf.prpres_conf_id = ? and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null union select distinct ad_ref_list.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.ad_reference_id = ? and prpres_conf.prpres_conf_id = ? and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null union select distinct m_ch_value.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and ad_treenode.parent_id = ? and ad_tree_id = ? and m_ch_value.m_characteristic_id = ? and m_ch_value.name is not null and m_ch_value.ad_org_id in (...) and m_ch_value.ad_client_id = ? and m_ch_value.updated >= ? union select distinct m_product.em_asf_prestashop_title as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select ? from m_product mprod where mprod.em_prpres_upload = ? and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select ? from m_product mprod where mprod.em_prpres_upload = ? and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in (...) and m_product.ad_client_id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 29 21 1 8m32s 8m32s [ User: tad - Total duration: 8m32s - Times executed: 1 ]
-
select distinct m_product_category.em_asf_product_type as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfProductType' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ))))) or exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' )))))) UNION select distinct m_product_category.em_asf_navigationnode as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfNavigationnode' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct c_campaign.description as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from c_campaign left join prpres_product_feature on prpres_product_feature.property = 'prbsCCampaign.description' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and c_campaign.description is not null and c_campaign.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and c_campaign.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and c_campaign.updated >= '2026-06-28 23:30:10.809' UNION select distinct prbs_prod_composition.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.name' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and prbs_prod_composition.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (prbs_prod_composition.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.asfOuterMaterial' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = '3F5305A3511449B19C19C30FA658F896' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsTargetgroup' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = 'B3BAF3C070CA495E9477FF38953C3D40' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct m_ch_value.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = 'characteristicDescription' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and ad_treenode.parent_id = '0' and ad_tree_id = 'F271415BCE9F42BE8FBDF28C2B912F05' and m_ch_value.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' and m_ch_value.name is not null and m_ch_value.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_ch_value.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and m_ch_value.updated >= '2026-06-28 23:30:10.809' UNION select distinct m_product.em_asf_prestashop_title as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product left join prpres_product_feature on prpres_product_feature.property = 'asfPrestashopTitle' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37';
Date: 2026-06-29 21:38:42 Duration: 8m32s Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
13 1 6m41s 6m41s 6m41s 6m41s 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 = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 29 19 1 6m41s 6m41s [ User: tad - Total duration: 6m41s - Times executed: 1 ]
-
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-29 19:38:38 Duration: 6m41s 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' 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-29 12:33:28 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
14 1 6m36s 6m36s 6m36s 6m36s 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 #14
Day Hour Count Duration Avg duration Jun 29 12 1 6m36s 6m36s [ User: tad - Total duration: 6m36s - Times executed: 1 ]
-
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-29 12:37:34 Duration: 6m36s 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-29 12:32:58 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)
15 1 47s213ms 47s213ms 47s213ms 47s213ms 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 #15
Day Hour Count Duration Avg duration Jun 29 13 1 47s213ms 47s213ms [ User: tad - Total duration: 47s213ms - Times executed: 1 ]
-
update M_Product_Ch_Conf set SKCode = '1174208', 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 = '350C83BE7B67483CAA994F55D8FC139B' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '1174208');
Date: 2026-06-29 13:01:44 Duration: 47s213ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
16 1 15s451ms 15s451ms 15s451ms 15s451ms select this_.c_invoiceline_id as c_invoic1_276_2_, this_.ad_client_id as ad_clien2_276_2_, this_.ad_org_id as ad_org_i3_276_2_, this_.isactive as isactive4_276_2_, this_.created as created5_276_2_, this_.createdby as createdb6_276_2_, this_.updated as updated7_276_2_, this_.updatedby as updatedb8_276_2_, this_.c_invoice_id as c_invoic9_276_2_, this_.c_orderline_id as c_order10_276_2_, this_.m_inoutline_id as m_inout11_276_2_, this_.line as line12_276_2_, this_.description as descrip13_276_2_, this_.financial_invoice_line as financi14_276_2_, this_.account_id as account15_276_2_, this_.m_product_id as m_produ16_276_2_, this_.qtyinvoiced as qtyinvo17_276_2_, this_.pricelist as priceli18_276_2_, this_.priceactual as priceac19_276_2_, this_.pricelimit as priceli20_276_2_, this_.linenetamt as linenet21_276_2_, this_.c_charge_id as c_charg22_276_2_, this_.chargeamt as chargea23_276_2_, this_.c_uom_id as c_uom_i24_276_2_, this_.c_tax_id as c_tax_i25_276_2_, this_.s_resourceassignment_id as s_resou26_276_2_, this_.m_attributesetinstance_id as m_attri27_276_2_, this_.isdescription as isdescr28_276_2_, this_.quantityorder as quantit29_276_2_, this_.m_product_uom_id as m_produ30_276_2_, this_.c_invoice_discount_id as c_invoi31_276_2_, this_.c_projectline_id as c_proje32_276_2_, this_.m_offer_id as m_offer33_276_2_, this_.pricestd as pricest34_276_2_, this_.excludeforwithholding as exclude35_276_2_, this_.iseditlinenetamt as iseditl36_276_2_, this_.taxbaseamt as taxbase37_276_2_, this_.line_gross_amount as line_gr38_276_2_, this_.gross_unit_price as gross_u39_276_2_, this_.c_bpartner_id as c_bpart40_276_2_, this_.periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.a_asset_id as a_asset43_276_2_, this_.defplantype as defplan44_276_2_, this_.grosspricelist as grosspr45_276_2_, this_.c_project_id as c_proje46_276_2_, this_.isdeferred as isdefer47_276_2_, this_.c_period_id as c_perio48_276_2_, this_.c_costcenter_id as c_costc49_276_2_, this_.user1_id as user50_276_2_, this_.user2_id as user51_276_2_, this_.explode as explode52_276_2_, this_.bom_parent_id as bom_par53_276_2_, this_.match_lccosts as match_l54_276_2_, this_.c_aum as c_aum55_276_2_, this_.aumqty as aumqty56_276_2_, this_.salesrep_id as salesre57_276_2_, this_.c_substitutiveinvoice_id as c_subst58_276_2_, this_.em_epa_localizator as em_epa_59_276_2_, this_.em_epa_response as em_epa_60_276_2_, this_.contribution_amt as contrib61_276_2_, this_.em_obcomop_com_oper_prodpri_id as em_obco62_276_2_, inv2_.c_invoice_id as c_invoic1_271_0_, inv2_.ad_client_id as ad_clien2_271_0_, inv2_.ad_org_id as ad_org_i3_271_0_, inv2_.isactive as isactive4_271_0_, inv2_.created as created5_271_0_, inv2_.createdby as createdb6_271_0_, inv2_.updated as updated7_271_0_, inv2_.updatedby as updatedb8_271_0_, inv2_.issotrx as issotrx9_271_0_, inv2_.documentno as documen10_271_0_, inv2_.docstatus as docstat11_271_0_, inv2_.docaction as docacti12_271_0_, inv2_.processing as process13_271_0_, inv2_.processed as process14_271_0_, inv2_.posted as posted15_271_0_, inv2_.c_doctype_id as c_docty16_271_0_, inv2_.c_doctypetarget_id as c_docty17_271_0_, inv2_.c_order_id as c_order18_271_0_, inv2_.description as descrip19_271_0_, inv2_.isprinted as isprint20_271_0_, inv2_.salesrep_id as salesre21_271_0_, inv2_.dateinvoiced as dateinv22_271_0_, inv2_.dateprinted as datepri23_271_0_, inv2_.dateacct as dateacc24_271_0_, inv2_.c_bpartner_id as c_bpart25_271_0_, inv2_.c_bpartner_location_id as c_bpart26_271_0_, inv2_.poreference as porefer27_271_0_, inv2_.isdiscountprinted as isdisco28_271_0_, inv2_.dateordered as dateord29_271_0_, inv2_.c_currency_id as c_curre30_271_0_, inv2_.c_paymentterm_id as c_payme31_271_0_, inv2_.c_charge_id as c_charg32_271_0_, inv2_.chargeamt as chargea33_271_0_, inv2_.totallines as totalli34_271_0_, inv2_.grandtotal as grandto35_271_0_, inv2_.m_pricelist_id as m_price36_271_0_, inv2_.istaxincluded as istaxin37_271_0_, inv2_.c_campaign_id as c_campa38_271_0_, inv2_.c_project_id as c_proje39_271_0_, inv2_.c_activity_id as c_activ40_271_0_, inv2_.createfrom as createf41_271_0_, inv2_.generateto as generat42_271_0_, inv2_.ad_user_id as ad_user43_271_0_, inv2_.copyfrom as copyfro44_271_0_, inv2_.isselfservice as isselfs45_271_0_, inv2_.ad_orgtrx_id as ad_orgt46_271_0_, inv2_.user1_id as user47_271_0_, inv2_.user2_id as user48_271_0_, inv2_.withholdingamount as withhol49_271_0_, inv2_.taxdate as taxdate50_271_0_, inv2_.c_withholding_id as c_withh51_271_0_, inv2_.ispaid as ispaid52_271_0_, inv2_.em_einv_generated as em_einv53_271_0_, inv2_.totalpaid as totalpa54_271_0_, inv2_.em_einv_sent as em_einv55_271_0_, inv2_.outstandingamt as outstan56_271_0_, inv2_.daystilldue as daystil57_271_0_, inv2_.dueamt as dueamt58_271_0_, inv2_.lastcalculatedondate as lastcal59_271_0_, inv2_.fin_paymentmethod_id as fin_pay60_271_0_, inv2_.fin_payment_priority_id as fin_pay61_271_0_, inv2_.finalsettlement as finalse62_271_0_, inv2_.daysoutstanding as daysout63_271_0_, inv2_.percentageoverdue as percent64_271_0_, inv2_.c_costcenter_id as c_costc65_271_0_, inv2_.calculate_promotions as calcula66_271_0_, inv2_.a_asset_id as a_asset67_271_0_, inv2_.em_aprm_addpayment as em_aprm68_271_0_, inv2_.iscashvat as iscashv69_271_0_, inv2_.em_aprm_processinvoice as em_aprm70_271_0_, inv2_.em_obcma_c_poc_email_id as em_obcm71_271_0_, inv2_.prepaymentamt as prepaym72_271_0_, inv2_.createfromorders as createf73_271_0_, inv2_.createfrominouts as createf74_271_0_, inv2_.paidamtatinvoicing as paidamt75_271_0_, inv2_.bpartner_extref as bpartne76_271_0_, inv2_.em_obpos_rounding_amount as em_obpo77_271_0_, inv2_.em_obpos_sequencename as em_obpo78_271_0_, inv2_.em_obpos_sequencenumber as em_obpo79_271_0_, inv2_.c_alternate_location_id as c_alter80_271_0_, inv2_.em_prouti_recalculate_price as em_prou81_271_0_, inv2_.em_ml_select_product as em_ml_s82_271_0_, inv2_.em_prouti_pricecalculatetdate as em_prou83_271_0_, inv2_.em_cfis_fiscalization_result as em_cfis84_271_0_, inv2_.em_poss_orgloc_locid as em_poss85_271_0_, inv2_.em_prouti_totalizations as em_prou86_271_0_, inv2_.em_cfis_signature as em_cfis87_271_0_, inv2_.em_prscrm_suitedocid as em_prsc88_271_0_, inv2_.einvoice_status as einvoic89_271_0_, inv2_.em_cdisc_externalresponse as em_cdis90_271_0_, inv2_.em_ctaxes_externalresponse as em_ctax91_271_0_, inv2_.em_etxf_tax_free_form_id as em_etxf92_271_0_, inv2_.em_obpos2_crm_id as em_obpo93_271_0_, inv2_.einvoice_generated as einvoic94_271_0_, inv2_.em_cfis_errorcondition as em_cfis95_271_0_, inv2_.einvoice_externalid as einvoic96_271_0_, inv2_.em_asf_totalattachments as em_asf_97_271_0_, inv2_.em_cfis_additionalresponse as em_cfis98_271_0_, inv2_.einvoice_send_status as einvoic99_271_0_, inv2_.einvoice_sent as einvoi100_271_0_, inv2_.em_obpos2_delivery_options as em_obp101_271_0_, inv2_.em_obpos2_deliv_dest_email as em_obp102_271_0_, inv2_.em_etcopag_cop_feedback as em_etc103_271_0_, inv2_.isexternal as isexte104_271_0_, inv2_.em_cche_checkout_result as em_cch105_271_0_, inv2_.em_obpos_applications_id as em_obp106_271_0_, inv2_.c_substitutiveinvoice_id as c_subs107_271_0_, inv2_.em_api_resend as em_api108_271_0_, inv2_.em_ecl_completeticket_result as em_ecl109_271_0_, inv2_.em_ecl_errorcondition as em_ecl110_271_0_, inv2_.em_ecl_additionalresponse as em_ecl111_271_0_, inv2_.business_partner_type as busine112_271_0_, inv2_.extra_crm_connector_data_1 as extra_113_271_0_, inv2_.extra_crm_connector_data_2 as extra_114_271_0_, inv2_.extra_crm_connector_data_3 as extra_115_271_0_, inv2_.extra_crm_connector_data_4 as extra_116_271_0_, inv2_.em_cfis_externalerror as em_cfi117_271_0_, inv2_.em_ctaxes_additionalinfo as em_cta118_271_0_, inv2_.validation_status as valida119_271_0_, inv2_.validate as valida120_271_0_, inv2_.validation_date as valida121_271_0_, inv2_.em_obpos2_isvoid as em_obp122_271_0_, inv2_.validation_user as valida123_271_0_, inv2_.em_pruti_notsendinvoice as em_pru124_271_0_, prod1_.m_product_id as m_produc1_589_1_, prod1_.ad_client_id as ad_clien2_589_1_, prod1_.ad_org_id as ad_org_i3_589_1_, prod1_.isactive as isactive4_589_1_, prod1_.created as created5_589_1_, prod1_.createdby as createdb6_589_1_, prod1_.updated as updated7_589_1_, prod1_.updatedby as updatedb8_589_1_, prod1_.value as value9_589_1_, prod1_.name as name10_589_1_, prod1_.description as descrip11_589_1_, prod1_.documentnote as documen12_589_1_, prod1_.help as help13_589_1_, prod1_.upc as upc14_589_1_, prod1_.sku as sku15_589_1_, prod1_.c_uom_id as c_uom_i16_589_1_, prod1_.salesrep_id as salesre17_589_1_, prod1_.issummary as issumma18_589_1_, prod1_.isstocked as isstock19_589_1_, prod1_.ispurchased as ispurch20_589_1_, prod1_.issold as issold21_589_1_, prod1_.isbom as isbom22_589_1_, prod1_.isinvoiceprintdetails as isinvoi23_589_1_, prod1_.ispicklistprintdetails as ispickl24_589_1_, prod1_.isverified as isverif25_589_1_, prod1_.m_product_category_id as m_produ26_589_1_, prod1_.classification as classif27_589_1_, prod1_.volume as volume28_589_1_, prod1_.weight as weight29_589_1_, prod1_.shelfwidth as shelfwi30_589_1_, prod1_.shelfheight as shelfhe31_589_1_, prod1_.shelfdepth as shelfde32_589_1_, prod1_.unitsperpallet as unitspe33_589_1_, prod1_.c_taxcategory_id as c_taxca34_589_1_, prod1_.s_resource_id as s_resou35_589_1_, prod1_.discontinued as discont36_589_1_, prod1_.discontinuedby as discont37_589_1_, prod1_.processing as process38_589_1_, prod1_.s_expensetype_id as s_expen39_589_1_, prod1_.producttype as product40_589_1_, prod1_.imageurl as imageur41_589_1_, prod1_.descriptionurl as descrip42_589_1_, prod1_.guaranteedays as guarant43_589_1_, prod1_.versionno as version44_589_1_, prod1_.m_attributeset_id as m_attri45_589_1_, prod1_.m_attributesetinstance_id as m_attri46_589_1_, prod1_.downloadurl as downloa47_589_1_, prod1_.m_freightcategory_id as m_freig48_589_1_, prod1_.m_locator_id as m_locat49_589_1_, prod1_.ad_image_id as ad_imag50_589_1_, prod1_.c_bpartner_id as c_bpart51_589_1_, prod1_.ispriceprinted as isprice52_589_1_, prod1_.name2 as name53_589_1_, prod1_.stock_min as stock_m54_589_1_, prod1_.enforce_attribute as enforce55_589_1_, prod1_.calculated as calcula56_589_1_, prod1_.ma_processplan_id as ma_proc57_589_1_, prod1_.production as product58_589_1_, prod1_.capacity as capacit59_589_1_, prod1_.delaymin as delaymi60_589_1_, prod1_.mrp_planner_id as mrp_pla61_589_1_, prod1_.mrp_planningmethod_id as mrp_pla62_589_1_, prod1_.qtymax as qtymax63_589_1_, prod1_.qtymin as qtymin64_589_1_, prod1_.qtystd as qtystd65_589_1_, prod1_.qtytype as qtytype66_589_1_, prod1_.stockmin as stockmi67_589_1_, prod1_.attrsetvaluetype as attrset68_589_1_, prod1_.isquantityvariable as isquant69_589_1_, prod1_.isdeferredrevenue as isdefer70_589_1_, prod1_.em_aeat347_isleasebusiness as em_aeat71_589_1_, prod1_.em_aeat347_situation as em_aeat72_589_1_, prod1_.revplantype as revplan73_589_1_, prod1_.em_aeat347_referenceid as em_aeat74_589_1_, prod1_.periodnumber as periodn75_589_1_, prod1_.em_aeat347_locationtype as em_aeat76_589_1_, prod1_.isdeferredexpense as isdefer77_589_1_, prod1_.em_aeat347_streetname as em_aeat78_589_1_, prod1_.expplantype as expplan79_589_1_, prod1_.em_aeat347_streetnumbertype as em_aeat80_589_1_, prod1_.periodnumber_exp as periodn81_589_1_, prod1_.defaultperiod as default82_589_1_, prod1_.em_aeat347_streetnumber as em_aeat83_589_1_, prod1_.defaultperiod_exp as default84_589_1_, prod1_.em_aeat347_streetnumberqua as em_aeat85_589_1_, prod1_.bookusingpoprice as bookusi86_589_1_, prod1_.em_aeat347_building as em_aeat87_589_1_, prod1_.em_aeat347_hall as em_aeat88_589_1_, prod1_.c_uom_weight_id as c_uom_w89_589_1_, prod1_.m_brand_id as m_brand90_589_1_, prod1_.em_aeat347_hallway as em_aeat91_589_1_, prod1_.em_aeat347_floor as em_aeat92_589_1_, prod1_.isgeneric as isgener93_589_1_, prod1_.em_aeat347_apartment as em_aeat94_589_1_, prod1_.generic_product_id as generic95_589_1_, prod1_.createvariants as createv96_589_1_, prod1_.em_aeat347_complement as em_aeat97_589_1_, prod1_.characteristic_desc as charact98_589_1_, prod1_.em_aeat347_location as em_aeat99_589_1_, prod1_.em_aeat347_county as em_aea100_589_1_, prod1_.updateinvariants as update101_589_1_, prod1_.em_aeat347_countycode as em_aea102_589_1_, prod1_.managevariants as manage103_589_1_, prod1_.em_aeat347_regioncode as em_aea104_589_1_, prod1_.prod_cat_selection as prod_c105_589_1_, prod1_.em_aeat347_zipcode as em_aea106_589_1_, prod1_.product_selection as produc107_589_1_, prod1_.print_description as print_108_589_1_, prod1_.returnable as return109_589_1_, prod1_.overdue_return_days as overdu110_589_1_, prod1_.ispricerulebased as ispric111_589_1_, prod1_.unique_per_document as unique112_589_1_, prod1_.relateprodcattoservice as relate113_589_1_, prod1_.relateprodtoservice as relate114_589_1_, prod1_.islinkedtoproduct as islink115_589_1_, prod1_.quantity_rule as quanti116_589_1_, prod1_.allow_deferred_sell as allow_117_589_1_, prod1_.deferred_sell_max_days as deferr118_589_1_, prod1_.m_product_status_id as m_prod119_589_1_, prod1_.em_prbs_c_country_id as em_prb120_589_1_, prod1_.em_prlab_qtylabels as em_prl121_589_1_, prod1_.ismodifytax as ismodi122_589_1_, prod1_.em_prbs_descriptionshort as em_prb123_589_1_, prod1_.relateprodcattaxtoservice as relate124_589_1_, prod1_.copyservicemodifytaxconfig as copyse125_589_1_, prod1_.em_prbs_qualitydescription as em_prb126_589_1_, prod1_.em_obpos_scale as em_obp127_589_1_, prod1_.em_prbs_c_campaign_id as em_prb128_589_1_, prod1_.m_product_subtype_id as m_prod129_589_1_, prod1_.em_obpos_groupedproduct as em_obp130_589_1_, prod1_.em_prbs_grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.em_obpos_showstock as em_obp134_589_1_, prod1_.em_prbs_prod_composition_id as em_prb135_589_1_, prod1_.em_obdest_enabled as em_obd136_589_1_, prod1_.em_obpos_show_ch_desc as em_obp137_589_1_, prod1_.em_obdest_rcharacteristic as em_obd138_589_1_, prod1_.em_obpos_proposal_type as em_obp139_589_1_, prod1_.em_prbs_isneveroutofstock as em_prb140_589_1_, prod1_.em_obdest_ccharacteristic as em_obd141_589_1_, prod1_.em_obpos_ismultiselectable as em_obp142_589_1_, prod1_.em_prbs_targetgroup as em_prb143_589_1_, prod1_.em_obpos_allowanonymoussale as em_obp144_589_1_, prod1_.em_obpos_printservices as em_obp145_589_1_, prod1_.em_obpos_editable_price as em_obp146_589_1_, prod1_.em_obrdm_delivery_mode as em_obr147_589_1_, prod1_.em_obrdm_delivery_mode_lyw as em_obr148_589_1_, prod1_.em_obrdm_isdeliveryservice as em_obr149_589_1_, prod1_.em_gcnv_giftcardtype as em_gcn150_589_1_, prod1_.em_gcnv_amount as em_gcn151_589_1_, prod1_.em_gcnv_allowpartialreturn as em_gcn152_589_1_, prod1_.em_obpos_maxpriceassocprod as em_obp153_589_1_, prod1_.em_obgcne_expirationdays as em_obg154_589_1_, prod1_.em_obpos_minpriceassocprod as em_obp155_589_1_, prod1_.em_obpgc_printcard as em_obp156_589_1_, prod1_.em_obpgc_printtemplate_id as em_obp157_589_1_, prod1_.em_obpos2_no_standard_sale as em_obp158_589_1_, prod1_.em_prpres_short_description as em_prp159_589_1_, prod1_.em_obpos2_imageclass as em_obp160_589_1_, prod1_.em_prpres_description as em_prp161_589_1_, prod1_.em_obpos2_color_id as em_obp162_589_1_, prod1_.em_prpres_meta_title as em_prp163_589_1_, prod1_.em_obpos_skipapplypromotions as em_obp164_589_1_, prod1_.em_prpres_meta_description as em_prp165_589_1_, prod1_.em_prpres_friendly_url as em_prp166_589_1_, prod1_.em_prpres_tags as em_prp167_589_1_, prod1_.em_obpos2_pim_url as em_obp168_589_1_, prod1_.em_prpres_upload as em_prp169_589_1_, prod1_.characteristicdimensionenabled as charac170_589_1_, prod1_.autogeneratebom as autoge171_589_1_, prod1_.em_obmupc_multiupc_desc as em_obm172_589_1_, prod1_.em_obserpr_required_followup as em_obs173_589_1_, prod1_.em_prpres_managecat as em_prp174_589_1_, prod1_.em_prpres_deactivate_on_ps as em_prp175_589_1_, prod1_.em_gcnv_discountsrestricted as em_gcn176_589_1_, prod1_.em_prpres_out_of_stock as em_prp177_589_1_, prod1_.em_epa_productcategory as em_epa178_589_1_, prod1_.em_etxf_iselegible as em_etx179_589_1_, prod1_.em_gcnv_aspaymentmethod as em_gcn180_589_1_, prod1_.em_gcnv_taxablegiftcard as em_gcn181_589_1_, prod1_.em_obpgc_printtempemail_id as em_obp182_589_1_, prod1_.em_obpgc_useautomaticseq as em_obp183_589_1_, prod1_.em_obfi_ingredients_allergens as em_obf184_589_1_, prod1_.em_prbs_deliveryperiodname as em_prb185_589_1_, prod1_.em_obfi_nutritional_info as em_obf186_589_1_, prod1_.em_prbs_deliveryperiodstart as em_prb187_589_1_, prod1_.em_gcnv_giftcardextradays as em_gcn188_589_1_, prod1_.em_obfi_storage_instructions as em_obf189_589_1_, prod1_.em_prbs_deliveryperiodend as em_prb190_589_1_, prod1_.em_prrqp_abv as em_prr191_589_1_, prod1_.special_use as specia192_589_1_, prod1_.em_asf_image_name as em_asf193_589_1_, prod1_.em_obcombo_discount_link as em_obc194_589_1_, prod1_.em_obpos_salesunitfactor as em_obp195_589_1_, prod1_.em_obdisc_pack_discount_link as em_obd196_589_1_, prod1_.em_asf_printlabels as em_asf197_589_1_, prod1_.em_asf_prestashop_title as em_asf198_589_1_, prod1_.em_prret_multiupc_json as em_prr199_589_1_, prod1_.isgeneratevariantean as isgene200_589_1_, prod1_.em_obpos2_isotf as em_obp201_589_1_, prod1_.em_obpos2_request_price as em_obp202_589_1_, prod1_.em_obpos_epc as em_obp203_589_1_, prod1_.ad_sequence_id as ad_seq204_589_1_, prod1_.em_obpos_sgtin as em_obp205_589_1_, prod1_.em_obpos_neweqproduct_id as em_obp206_589_1_, prod1_.em_obserpr_anonymize_sp as em_obs207_589_1_, prod1_.em_asf_replenish as em_asf208_589_1_, prod1_.em_am_composition_id as em_am_209_589_1_, prod1_.em_am_campaign_id as em_am_210_589_1_, prod1_.em_obserpr_follow_up_mode as em_obs211_589_1_, prod1_.em_obserpr_service_mode as em_obs212_589_1_, prod1_.em_pruti_addmodifycharact as em_pru213_589_1_, prod1_.em_asf_vmi_ode as em_asf214_589_1_, prod1_.em_asf_vmi_com as em_asf215_589_1_, prod1_.em_asf_vmi_onl as em_asf216_589_1_, prod1_.em_asf_esrec as em_asf217_589_1_, prod1_.em_gcnv_redemptiontype as em_gcn218_589_1_ from c_invoiceline this_ inner join c_invoice inv2_ on this_.c_invoice_id = inv2_.c_invoice_id inner join m_product prod1_ on this_.m_product_id = prod1_.m_product_id where this_.c_orderline_id is null and prod1_.producttype <> ? and inv2_.c_bpartner_id = ? and inv2_.issotrx = ? and inv2_.c_doctype_id = ? and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 29 12 1 15s451ms 15s451ms [ User: tad - Total duration: 15s451ms - Times executed: 1 ]
-
select this_.C_InvoiceLine_ID as c_invoic1_276_2_, this_.AD_Client_ID as ad_clien2_276_2_, this_.AD_Org_ID as ad_org_i3_276_2_, this_.IsActive as isactive4_276_2_, this_.Created as created5_276_2_, this_.CreatedBy as createdb6_276_2_, this_.Updated as updated7_276_2_, this_.UpdatedBy as updatedb8_276_2_, this_.C_Invoice_ID as c_invoic9_276_2_, this_.C_OrderLine_ID as c_order10_276_2_, this_.M_InOutLine_ID as m_inout11_276_2_, this_.Line as line12_276_2_, this_.Description as descrip13_276_2_, this_.Financial_Invoice_Line as financi14_276_2_, this_.Account_ID as account15_276_2_, this_.M_Product_ID as m_produ16_276_2_, this_.QtyInvoiced as qtyinvo17_276_2_, this_.PriceList as priceli18_276_2_, this_.PriceActual as priceac19_276_2_, this_.PriceLimit as priceli20_276_2_, this_.LineNetAmt as linenet21_276_2_, this_.C_Charge_ID as c_charg22_276_2_, this_.ChargeAmt as chargea23_276_2_, this_.C_UOM_ID as c_uom_i24_276_2_, this_.C_Tax_ID as c_tax_i25_276_2_, this_.S_ResourceAssignment_ID as s_resou26_276_2_, this_.M_AttributeSetInstance_ID as m_attri27_276_2_, this_.IsDescription as isdescr28_276_2_, this_.QuantityOrder as quantit29_276_2_, this_.M_Product_Uom_Id as m_produ30_276_2_, this_.C_Invoice_Discount_ID as c_invoi31_276_2_, this_.C_Projectline_ID as c_proje32_276_2_, this_.M_Offer_ID as m_offer33_276_2_, this_.PriceStd as pricest34_276_2_, this_.Excludeforwithholding as exclude35_276_2_, this_.Iseditlinenetamt as iseditl36_276_2_, this_.Taxbaseamt as taxbase37_276_2_, this_.Line_Gross_Amount as line_gr38_276_2_, this_.Gross_Unit_Price as gross_u39_276_2_, this_.C_Bpartner_ID as c_bpart40_276_2_, this_.Periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.A_Asset_ID as a_asset43_276_2_, this_.DefPlanType as defplan44_276_2_, this_.Grosspricelist as grosspr45_276_2_, this_.C_Project_ID as c_proje46_276_2_, this_.IsDeferred as isdefer47_276_2_, this_.C_Period_ID as c_perio48_276_2_, this_.C_Costcenter_ID as c_costc49_276_2_, this_.User1_ID as user50_276_2_, this_.User2_ID as user51_276_2_, this_.Explode as explode52_276_2_, this_.BOM_Parent_ID as bom_par53_276_2_, this_.Match_Lccosts as match_l54_276_2_, this_.C_Aum as c_aum55_276_2_, this_.Aumqty as aumqty56_276_2_, this_.Salesrep_ID as salesre57_276_2_, this_.C_Substitutiveinvoice_ID as c_subst58_276_2_, this_.EM_Epa_Localizator as em_epa_59_276_2_, this_.EM_Epa_Response as em_epa_60_276_2_, this_.Contribution_Amt as contrib61_276_2_, this_.EM_Obcomop_Com_Oper_Prodpri_ID as em_obco62_276_2_, inv2_.C_Invoice_ID as c_invoic1_271_0_, inv2_.AD_Client_ID as ad_clien2_271_0_, inv2_.AD_Org_ID as ad_org_i3_271_0_, inv2_.IsActive as isactive4_271_0_, inv2_.Created as created5_271_0_, inv2_.CreatedBy as createdb6_271_0_, inv2_.Updated as updated7_271_0_, inv2_.UpdatedBy as updatedb8_271_0_, inv2_.IsSOTrx as issotrx9_271_0_, inv2_.DocumentNo as documen10_271_0_, inv2_.DocStatus as docstat11_271_0_, inv2_.DocAction as docacti12_271_0_, inv2_.Processing as process13_271_0_, inv2_.Processed as process14_271_0_, inv2_.Posted as posted15_271_0_, inv2_.C_DocType_ID as c_docty16_271_0_, inv2_.C_DocTypeTarget_ID as c_docty17_271_0_, inv2_.C_Order_ID as c_order18_271_0_, inv2_.Description as descrip19_271_0_, inv2_.IsPrinted as isprint20_271_0_, inv2_.SalesRep_ID as salesre21_271_0_, inv2_.DateInvoiced as dateinv22_271_0_, inv2_.DatePrinted as datepri23_271_0_, inv2_.DateAcct as dateacc24_271_0_, inv2_.C_BPartner_ID as c_bpart25_271_0_, inv2_.C_BPartner_Location_ID as c_bpart26_271_0_, inv2_.POReference as porefer27_271_0_, inv2_.IsDiscountPrinted as isdisco28_271_0_, inv2_.DateOrdered as dateord29_271_0_, inv2_.C_Currency_ID as c_curre30_271_0_, inv2_.C_PaymentTerm_ID as c_payme31_271_0_, inv2_.C_Charge_ID as c_charg32_271_0_, inv2_.ChargeAmt as chargea33_271_0_, inv2_.TotalLines as totalli34_271_0_, inv2_.GrandTotal as grandto35_271_0_, inv2_.M_PriceList_ID as m_price36_271_0_, inv2_.IsTaxIncluded as istaxin37_271_0_, inv2_.C_Campaign_ID as c_campa38_271_0_, inv2_.C_Project_ID as c_proje39_271_0_, inv2_.C_Activity_ID as c_activ40_271_0_, inv2_.CreateFrom as createf41_271_0_, inv2_.GenerateTo as generat42_271_0_, inv2_.AD_User_ID as ad_user43_271_0_, inv2_.CopyFrom as copyfro44_271_0_, inv2_.IsSelfService as isselfs45_271_0_, inv2_.AD_OrgTrx_ID as ad_orgt46_271_0_, inv2_.User1_ID as user47_271_0_, inv2_.User2_ID as user48_271_0_, inv2_.Withholdingamount as withhol49_271_0_, inv2_.Taxdate as taxdate50_271_0_, inv2_.C_Withholding_ID as c_withh51_271_0_, inv2_.Ispaid as ispaid52_271_0_, inv2_.EM_Einv_Generated as em_einv53_271_0_, inv2_.Totalpaid as totalpa54_271_0_, inv2_.EM_Einv_Sent as em_einv55_271_0_, inv2_.OutstandingAmt as outstan56_271_0_, inv2_.DaysTillDue as daystil57_271_0_, inv2_.DueAmt as dueamt58_271_0_, inv2_.LastCalculatedOnDate as lastcal59_271_0_, inv2_.FIN_Paymentmethod_ID as fin_pay60_271_0_, inv2_.FIN_Payment_Priority_ID as fin_pay61_271_0_, inv2_.Finalsettlement as finalse62_271_0_, inv2_.Daysoutstanding as daysout63_271_0_, inv2_.Percentageoverdue as percent64_271_0_, inv2_.C_Costcenter_ID as c_costc65_271_0_, inv2_.Calculate_Promotions as calcula66_271_0_, inv2_.A_Asset_ID as a_asset67_271_0_, inv2_.EM_APRM_Addpayment as em_aprm68_271_0_, inv2_.Iscashvat as iscashv69_271_0_, inv2_.EM_APRM_Processinvoice as em_aprm70_271_0_, inv2_.EM_Obcma_C_Poc_Email_ID as em_obcm71_271_0_, inv2_.Prepaymentamt as prepaym72_271_0_, inv2_.Createfromorders as createf73_271_0_, inv2_.Createfrominouts as createf74_271_0_, inv2_.Paidamtatinvoicing as paidamt75_271_0_, inv2_.BPartner_ExtRef as bpartne76_271_0_, inv2_.EM_Obpos_Rounding_Amount as em_obpo77_271_0_, inv2_.EM_Obpos_Sequencename as em_obpo78_271_0_, inv2_.EM_Obpos_Sequencenumber as em_obpo79_271_0_, inv2_.C_Alternate_Location_ID as c_alter80_271_0_, inv2_.EM_Prouti_Recalculate_Price as em_prou81_271_0_, inv2_.EM_Ml_Select_Product as em_ml_s82_271_0_, inv2_.EM_Prouti_Pricecalculatetdate as em_prou83_271_0_, inv2_.EM_Cfis_Fiscalization_Result as em_cfis84_271_0_, inv2_.EM_Poss_Orgloc_Locid as em_poss85_271_0_, inv2_.EM_Prouti_Totalizations as em_prou86_271_0_, inv2_.EM_Cfis_Signature as em_cfis87_271_0_, inv2_.EM_Prscrm_Suitedocid as em_prsc88_271_0_, inv2_.Einvoice_Status as einvoic89_271_0_, inv2_.EM_Cdisc_Externalresponse as em_cdis90_271_0_, inv2_.EM_Ctaxes_Externalresponse as em_ctax91_271_0_, inv2_.EM_Etxf_Tax_Free_Form_ID as em_etxf92_271_0_, inv2_.EM_Obpos2_Crm_ID as em_obpo93_271_0_, inv2_.Einvoice_Generated as einvoic94_271_0_, inv2_.EM_CFIS_ErrorCondition as em_cfis95_271_0_, inv2_.Einvoice_ExternalID as einvoic96_271_0_, inv2_.EM_Asf_Totalattachments as em_asf_97_271_0_, inv2_.EM_CFIS_AdditionalResponse as em_cfis98_271_0_, inv2_.Einvoice_Send_Status as einvoic99_271_0_, inv2_.Einvoice_Sent as einvoi100_271_0_, inv2_.EM_Obpos2_Delivery_Options as em_obp101_271_0_, inv2_.EM_Obpos2_Deliv_Dest_Email as em_obp102_271_0_, inv2_.EM_Etcopag_Cop_Feedback as em_etc103_271_0_, inv2_.Isexternal as isexte104_271_0_, inv2_.EM_Cche_Checkout_Result as em_cch105_271_0_, inv2_.EM_Obpos_Applications_ID as em_obp106_271_0_, inv2_.C_Substitutiveinvoice_ID as c_subs107_271_0_, inv2_.EM_Api_Resend as em_api108_271_0_, inv2_.EM_Ecl_Completeticket_Result as em_ecl109_271_0_, inv2_.EM_Ecl_Errorcondition as em_ecl110_271_0_, inv2_.EM_Ecl_Additionalresponse as em_ecl111_271_0_, inv2_.Business_Partner_Type as busine112_271_0_, inv2_.Extra_Crm_Connector_Data_1 as extra_113_271_0_, inv2_.Extra_Crm_Connector_Data_2 as extra_114_271_0_, inv2_.Extra_Crm_Connector_Data_3 as extra_115_271_0_, inv2_.Extra_Crm_Connector_Data_4 as extra_116_271_0_, inv2_.EM_Cfis_Externalerror as em_cfi117_271_0_, inv2_.EM_Ctaxes_Additionalinfo as em_cta118_271_0_, inv2_.Validation_Status as valida119_271_0_, inv2_.Validate as valida120_271_0_, inv2_.Validation_Date as valida121_271_0_, inv2_.EM_Obpos2_Isvoid as em_obp122_271_0_, inv2_.Validation_User as valida123_271_0_, inv2_.EM_Pruti_Notsendinvoice as em_pru124_271_0_, prod1_.M_Product_ID as m_produc1_589_1_, prod1_.AD_Client_ID as ad_clien2_589_1_, prod1_.AD_Org_ID as ad_org_i3_589_1_, prod1_.IsActive as isactive4_589_1_, prod1_.Created as created5_589_1_, prod1_.CreatedBy as createdb6_589_1_, prod1_.Updated as updated7_589_1_, prod1_.UpdatedBy as updatedb8_589_1_, prod1_.Value as value9_589_1_, prod1_.Name as name10_589_1_, prod1_.Description as descrip11_589_1_, prod1_.DocumentNote as documen12_589_1_, prod1_.Help as help13_589_1_, prod1_.UPC as upc14_589_1_, prod1_.SKU as sku15_589_1_, prod1_.C_UOM_ID as c_uom_i16_589_1_, prod1_.SalesRep_ID as salesre17_589_1_, prod1_.IsSummary as issumma18_589_1_, prod1_.IsStocked as isstock19_589_1_, prod1_.IsPurchased as ispurch20_589_1_, prod1_.IsSold as issold21_589_1_, prod1_.IsBOM as isbom22_589_1_, prod1_.IsInvoicePrintDetails as isinvoi23_589_1_, prod1_.IsPickListPrintDetails as ispickl24_589_1_, prod1_.IsVerified as isverif25_589_1_, prod1_.M_Product_Category_ID as m_produ26_589_1_, prod1_.Classification as classif27_589_1_, prod1_.Volume as volume28_589_1_, prod1_.Weight as weight29_589_1_, prod1_.ShelfWidth as shelfwi30_589_1_, prod1_.ShelfHeight as shelfhe31_589_1_, prod1_.ShelfDepth as shelfde32_589_1_, prod1_.UnitsPerPallet as unitspe33_589_1_, prod1_.C_TaxCategory_ID as c_taxca34_589_1_, prod1_.S_Resource_ID as s_resou35_589_1_, prod1_.Discontinued as discont36_589_1_, prod1_.DiscontinuedBy as discont37_589_1_, prod1_.Processing as process38_589_1_, prod1_.S_ExpenseType_ID as s_expen39_589_1_, prod1_.ProductType as product40_589_1_, prod1_.ImageURL as imageur41_589_1_, prod1_.DescriptionURL as descrip42_589_1_, prod1_.GuaranteeDays as guarant43_589_1_, prod1_.VersionNo as version44_589_1_, prod1_.M_AttributeSet_ID as m_attri45_589_1_, prod1_.M_AttributeSetInstance_ID as m_attri46_589_1_, prod1_.DownloadURL as downloa47_589_1_, prod1_.M_FreightCategory_ID as m_freig48_589_1_, prod1_.M_Locator_ID as m_locat49_589_1_, prod1_.AD_Image_ID as ad_imag50_589_1_, prod1_.C_BPartner_ID as c_bpart51_589_1_, prod1_.Ispriceprinted as isprice52_589_1_, prod1_.Name2 as name53_589_1_, prod1_.Stock_Min as stock_m54_589_1_, prod1_.Enforce_Attribute as enforce55_589_1_, prod1_.Calculated as calcula56_589_1_, prod1_.MA_Processplan_ID as ma_proc57_589_1_, prod1_.Production as product58_589_1_, prod1_.Capacity as capacit59_589_1_, prod1_.Delaymin as delaymi60_589_1_, prod1_.MRP_Planner_ID as mrp_pla61_589_1_, prod1_.MRP_Planningmethod_ID as mrp_pla62_589_1_, prod1_.Qtymax as qtymax63_589_1_, prod1_.Qtymin as qtymin64_589_1_, prod1_.Qtystd as qtystd65_589_1_, prod1_.Qtytype as qtytype66_589_1_, prod1_.Stockmin as stockmi67_589_1_, prod1_.Attrsetvaluetype as attrset68_589_1_, prod1_.Isquantityvariable as isquant69_589_1_, prod1_.Isdeferredrevenue as isdefer70_589_1_, prod1_.EM_Aeat347_Isleasebusiness as em_aeat71_589_1_, prod1_.EM_Aeat347_Situation as em_aeat72_589_1_, prod1_.Revplantype as revplan73_589_1_, prod1_.EM_Aeat347_Referenceid as em_aeat74_589_1_, prod1_.Periodnumber as periodn75_589_1_, prod1_.EM_Aeat347_Locationtype as em_aeat76_589_1_, prod1_.Isdeferredexpense as isdefer77_589_1_, prod1_.EM_Aeat347_Streetname as em_aeat78_589_1_, prod1_.Expplantype as expplan79_589_1_, prod1_.EM_Aeat347_Streetnumbertype as em_aeat80_589_1_, prod1_.Periodnumber_Exp as periodn81_589_1_, prod1_.DefaultPeriod as default82_589_1_, prod1_.EM_Aeat347_Streetnumber as em_aeat83_589_1_, prod1_.DefaultPeriod_Exp as default84_589_1_, prod1_.EM_Aeat347_Streetnumberqua as em_aeat85_589_1_, prod1_.Bookusingpoprice as bookusi86_589_1_, prod1_.EM_Aeat347_Building as em_aeat87_589_1_, prod1_.EM_Aeat347_Hall as em_aeat88_589_1_, prod1_.C_Uom_Weight_ID as c_uom_w89_589_1_, prod1_.M_Brand_ID as m_brand90_589_1_, prod1_.EM_Aeat347_Hallway as em_aeat91_589_1_, prod1_.EM_Aeat347_Floor as em_aeat92_589_1_, prod1_.IsGeneric as isgener93_589_1_, prod1_.EM_Aeat347_Apartment as em_aeat94_589_1_, prod1_.Generic_Product_ID as generic95_589_1_, prod1_.CreateVariants as createv96_589_1_, prod1_.EM_Aeat347_Complement as em_aeat97_589_1_, prod1_.Characteristic_Desc as charact98_589_1_, prod1_.EM_Aeat347_Location as em_aeat99_589_1_, prod1_.EM_Aeat347_County as em_aea100_589_1_, prod1_.Updateinvariants as update101_589_1_, prod1_.EM_Aeat347_Countycode as em_aea102_589_1_, prod1_.ManageVariants as manage103_589_1_, prod1_.EM_Aeat347_Regioncode as em_aea104_589_1_, prod1_.Prod_Cat_Selection as prod_c105_589_1_, prod1_.EM_Aeat347_Zipcode as em_aea106_589_1_, prod1_.Product_Selection as produc107_589_1_, prod1_.Print_Description as print_108_589_1_, prod1_.Returnable as return109_589_1_, prod1_.Overdue_Return_Days as overdu110_589_1_, prod1_.Ispricerulebased as ispric111_589_1_, prod1_.Unique_Per_Document as unique112_589_1_, prod1_.Relateprodcattoservice as relate113_589_1_, prod1_.Relateprodtoservice as relate114_589_1_, prod1_.Islinkedtoproduct as islink115_589_1_, prod1_.Quantity_Rule as quanti116_589_1_, prod1_.Allow_Deferred_Sell as allow_117_589_1_, prod1_.Deferred_Sell_Max_Days as deferr118_589_1_, prod1_.M_Product_Status_ID as m_prod119_589_1_, prod1_.EM_Prbs_C_Country_ID as em_prb120_589_1_, prod1_.EM_Prlab_Qtylabels as em_prl121_589_1_, prod1_.Ismodifytax as ismodi122_589_1_, prod1_.EM_Prbs_Descriptionshort as em_prb123_589_1_, prod1_.Relateprodcattaxtoservice as relate124_589_1_, prod1_.Copyservicemodifytaxconfig as copyse125_589_1_, prod1_.EM_Prbs_Qualitydescription as em_prb126_589_1_, prod1_.EM_Obpos_Scale as em_obp127_589_1_, prod1_.EM_Prbs_C_Campaign_ID as em_prb128_589_1_, prod1_.M_Product_Subtype_ID as m_prod129_589_1_, prod1_.EM_Obpos_Groupedproduct as em_obp130_589_1_, prod1_.EM_Prbs_Grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.EM_Obpos_Showstock as em_obp134_589_1_, prod1_.EM_Prbs_Prod_Composition_ID as em_prb135_589_1_, prod1_.EM_Obdest_Enabled as em_obd136_589_1_, prod1_.EM_Obpos_Show_Ch_Desc as em_obp137_589_1_, prod1_.EM_Obdest_Rcharacteristic as em_obd138_589_1_, prod1_.EM_Obpos_Proposal_Type as em_obp139_589_1_, prod1_.EM_Prbs_Isneveroutofstock as em_prb140_589_1_, prod1_.EM_Obdest_Ccharacteristic as em_obd141_589_1_, prod1_.EM_Obpos_Ismultiselectable as em_obp142_589_1_, prod1_.EM_Prbs_Targetgroup as em_prb143_589_1_, prod1_.EM_OBPOS_AllowAnonymousSale as em_obp144_589_1_, prod1_.EM_Obpos_Printservices as em_obp145_589_1_, prod1_.EM_Obpos_Editable_Price as em_obp146_589_1_, prod1_.EM_Obrdm_Delivery_Mode as em_obr147_589_1_, prod1_.EM_Obrdm_Delivery_Mode_Lyw as em_obr148_589_1_, prod1_.EM_Obrdm_Isdeliveryservice as em_obr149_589_1_, prod1_.EM_Gcnv_Giftcardtype as em_gcn150_589_1_, prod1_.EM_Gcnv_Amount as em_gcn151_589_1_, prod1_.EM_Gcnv_Allowpartialreturn as em_gcn152_589_1_, prod1_.EM_Obpos_Maxpriceassocprod as em_obp153_589_1_, prod1_.EM_Obgcne_Expirationdays as em_obg154_589_1_, prod1_.EM_Obpos_Minpriceassocprod as em_obp155_589_1_, prod1_.EM_Obpgc_Printcard as em_obp156_589_1_, prod1_.EM_Obpgc_Printtemplate_Id as em_obp157_589_1_, prod1_.EM_Obpos2_No_Standard_Sale as em_obp158_589_1_, prod1_.EM_Prpres_Short_Description as em_prp159_589_1_, prod1_.EM_Obpos2_Imageclass as em_obp160_589_1_, prod1_.EM_Prpres_Description as em_prp161_589_1_, prod1_.EM_Obpos2_Color_ID as em_obp162_589_1_, prod1_.EM_Prpres_Meta_Title as em_prp163_589_1_, prod1_.EM_Obpos_Skipapplypromotions as em_obp164_589_1_, prod1_.EM_Prpres_Meta_Description as em_prp165_589_1_, prod1_.EM_Prpres_Friendly_Url as em_prp166_589_1_, prod1_.EM_Prpres_Tags as em_prp167_589_1_, prod1_.EM_Obpos2_Pim_Url as em_obp168_589_1_, prod1_.EM_Prpres_Upload as em_prp169_589_1_, prod1_.characteristicDimensionEnabled as charac170_589_1_, prod1_.Autogeneratebom as autoge171_589_1_, prod1_.EM_Obmupc_Multiupc_Desc as em_obm172_589_1_, prod1_.EM_Obserpr_Required_Followup as em_obs173_589_1_, prod1_.EM_Prpres_Managecat as em_prp174_589_1_, prod1_.EM_Prpres_Deactivate_On_Ps as em_prp175_589_1_, prod1_.EM_Gcnv_Discountsrestricted as em_gcn176_589_1_, prod1_.EM_Prpres_Out_Of_Stock as em_prp177_589_1_, prod1_.EM_Epa_Productcategory as em_epa178_589_1_, prod1_.EM_Etxf_Iselegible as em_etx179_589_1_, prod1_.EM_Gcnv_Aspaymentmethod as em_gcn180_589_1_, prod1_.EM_Gcnv_Taxablegiftcard as em_gcn181_589_1_, prod1_.EM_Obpgc_Printtempemail_ID as em_obp182_589_1_, prod1_.EM_Obpgc_Useautomaticseq as em_obp183_589_1_, prod1_.EM_Obfi_Ingredients_Allergens as em_obf184_589_1_, prod1_.EM_Prbs_Deliveryperiodname as em_prb185_589_1_, prod1_.EM_Obfi_Nutritional_Info as em_obf186_589_1_, prod1_.EM_Prbs_Deliveryperiodstart as em_prb187_589_1_, prod1_.EM_Gcnv_Giftcardextradays as em_gcn188_589_1_, prod1_.EM_Obfi_Storage_Instructions as em_obf189_589_1_, prod1_.EM_Prbs_Deliveryperiodend as em_prb190_589_1_, prod1_.EM_Prrqp_Abv as em_prr191_589_1_, prod1_.Special_Use as specia192_589_1_, prod1_.EM_Asf_Image_Name as em_asf193_589_1_, prod1_.EM_OBCOMBO_Discount_Link as em_obc194_589_1_, prod1_.EM_Obpos_Salesunitfactor as em_obp195_589_1_, prod1_.EM_OBDISC_Pack_Discount_Link as em_obd196_589_1_, prod1_.EM_Asf_Printlabels as em_asf197_589_1_, prod1_.EM_Asf_Prestashop_Title as em_asf198_589_1_, prod1_.EM_Prret_Multiupc_Json as em_prr199_589_1_, prod1_.Isgeneratevariantean as isgene200_589_1_, prod1_.EM_Obpos2_Isotf as em_obp201_589_1_, prod1_.EM_Obpos2_Request_Price as em_obp202_589_1_, prod1_.EM_Obpos_Epc as em_obp203_589_1_, prod1_.AD_Sequence_ID as ad_seq204_589_1_, prod1_.EM_Obpos_Sgtin as em_obp205_589_1_, prod1_.EM_Obpos_Neweqproduct_ID as em_obp206_589_1_, prod1_.EM_OBSERPR_Anonymize_Sp as em_obs207_589_1_, prod1_.EM_Asf_Replenish as em_asf208_589_1_, prod1_.EM_Am_Composition_ID as em_am_209_589_1_, prod1_.EM_Am_Campaign_ID as em_am_210_589_1_, prod1_.EM_Obserpr_Follow_Up_Mode as em_obs211_589_1_, prod1_.EM_Obserpr_Service_Mode as em_obs212_589_1_, prod1_.EM_Pruti_Addmodifycharact as em_pru213_589_1_, prod1_.EM_Asf_Vmi_Ode as em_asf214_589_1_, prod1_.EM_Asf_Vmi_Com as em_asf215_589_1_, prod1_.EM_Asf_Vmi_Onl as em_asf216_589_1_, prod1_.EM_Asf_Esrec as em_asf217_589_1_, prod1_.EM_Gcnv_Redemptiontype as em_gcn218_589_1_ from C_InvoiceLine this_ inner join C_Invoice inv2_ on this_.C_Invoice_ID = inv2_.C_Invoice_ID inner join M_Product prod1_ on this_.M_Product_ID = prod1_.M_Product_ID where this_.C_OrderLine_ID is null and prod1_.ProductType <> 'S' and inv2_.C_BPartner_ID = '5A4D458636A148C3B9E5AAB85F8ABEA7' and inv2_.IsSOTrx = 'N' and inv2_.C_DocType_ID = '75A3401B2D87400391D5C4A8D756C09F' 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';
Date: 2026-06-29 12:00:16 Duration: 15s451ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
17 1 13s680ms 13s680ms 13s680ms 13s680ms 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 #17
Day Hour Count Duration Avg duration Jun 29 06 1 13s680ms 13s680ms [ User: tad - Total duration: 13s680ms - 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-29 06:00:15 Duration: 13s680ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
18 1 9s766ms 9s766ms 9s766ms 9s766ms select ? || ad_orginfo.taxid as vatorg, m_product.upc as globalitemnumber, ad_org.em_prbs_gln, ad_org.name as nameorg, round(sum(m_storage_detail.qtyonhand)) as qty from m_storage_detail left join m_locator on m_locator.m_locator_id = m_storage_detail.m_locator_id left join m_warehouse on m_warehouse.m_warehouse_id = m_locator.m_warehouse_id left join ad_org_warehouse on ad_org_warehouse.m_warehouse_id = m_warehouse.m_warehouse_id left join ad_org on ad_org.ad_org_id = ad_org_warehouse.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join m_product on m_product.m_product_id = m_storage_detail.m_product_id where ad_org.em_prbs_gln is not null and m_storage_detail.qtyonhand > ? and exists ( select ? from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) group by ?, ?, ?, ? order by ?, ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 29 06 1 9s766ms 9s766ms [ User: tad - Total duration: 9s766ms - Times executed: 1 ]
-
select 'ES' || ad_orginfo.taxid as vatorg, m_product.upc as globalitemnumber, ad_org.em_prbs_gln, ad_org.name as nameorg, round(sum(m_storage_detail.qtyonhand)) as qty from m_storage_detail left join m_locator on m_locator.m_locator_id = m_storage_detail.m_locator_id left join m_warehouse on m_warehouse.m_warehouse_id = m_locator.m_warehouse_id left join ad_org_warehouse on ad_org_warehouse.m_warehouse_id = m_warehouse.m_warehouse_id left join ad_org on ad_org.ad_org_id = ad_org_warehouse.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join m_product on m_product.m_product_id = m_storage_detail.m_product_id where ad_org.em_prbs_gln is not null and m_storage_detail.qtyonhand > 0 and exists ( select 1 from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) group by 1, 2, 3, 4 order by 1, 3;
Date: 2026-06-29 06:00:10 Duration: 9s766ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
19 1 9s49ms 9s49ms 9s49ms 9s49ms insert into m_ch_subset_value (ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_ch_subset_id, m_ch_value_id, m_ch_subset_value_id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 29 13 1 9s49ms 9s49ms [ User: tad - Total duration: 9s49ms - Times executed: 1 ]
-
insert into M_Ch_Subset_Value (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, M_Ch_Subset_ID, M_Ch_Value_ID, M_Ch_Subset_Value_ID) values ('9032A5586FD74B7AA85361E71EEB6E37', '0', 'Y', '2026-06-29 15:00:26.667', '100', '2026-06-29 15:00:26.667', '100', '5D5655FF796144028B5692F956290FA5', 'AAA71F6D38694F1AB9E374AF95FD9D6C', '88A4D33AF10C4C8D9E691A7B2C0FE03F');
Date: 2026-06-29 13:00:35 Duration: 9s49ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
20 1 6s512ms 6s512ms 6s512ms 6s512ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 29 07 1 6s512ms 6s512ms [ User: tad - Total duration: 6s512ms - Times executed: 1 ]
[ Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) - Total duration: 6s512ms - Times executed: 1 ]
-
SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca;
Date: 2026-06-29 07:05:13 Duration: 6s512ms Database: openbravo User: tad Remote: 10.0.0.13 Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256)
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 8m32s 8m32s 8m32s 1 8m32s select distinct m_product_category.em_asf_product_type as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product_category left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in (...) and m_product_category.ad_client_id = ? and (exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product_category.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct m_product_category.em_asf_navigationnode as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product_category left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in (...) and m_product_category.ad_client_id = ? and (exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = ? or (m_product_category.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct c_campaign.description as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from c_campaign left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and c_campaign.description is not null and c_campaign.ad_org_id in (...) and c_campaign.ad_client_id = ? and c_campaign.updated >= ? union select distinct prbs_prod_composition.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in (...) and prbs_prod_composition.ad_client_id = ? and (exists ( select ? from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.em_prbs_prod_composition_id and (m_product.em_prpres_upload = ? or (m_product.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?))))) or exists ( select ? from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.em_prbs_prod_composition_id and (m_product.em_prpres_upload = ? or (prbs_prod_composition.updated >= ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?) or exists ( select ? from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = ?)))))) union select distinct ad_ref_list.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.ad_reference_id = ? and prpres_conf.prpres_conf_id = ? and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null union select distinct ad_ref_list.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.ad_reference_id = ? and prpres_conf.prpres_conf_id = ? and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null union select distinct m_ch_value.name as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = ? and ad_treenode.parent_id = ? and ad_tree_id = ? and m_ch_value.m_characteristic_id = ? and m_ch_value.name is not null and m_ch_value.ad_org_id in (...) and m_ch_value.ad_client_id = ? and m_ch_value.updated >= ? union select distinct m_product.em_asf_prestashop_title as propertyvalue, ? as action, ? as featurevalueid, prpres_product_feature.prpres_product_feature_id as featureid from m_product left join prpres_product_feature on prpres_product_feature.property = ? left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = ? and (exists ( select ? from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select ? from m_product mprod where mprod.em_prpres_upload = ? and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select ? from m_product mprod where mprod.em_prpres_upload = ? and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select ? from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = ? and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in (...) and m_product.ad_client_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 29 21 1 8m32s 8m32s [ User: tad - Total duration: 8m32s - Times executed: 1 ]
-
select distinct m_product_category.em_asf_product_type as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfProductType' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_product_type and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_product_type is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ))))) or exists (select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists (select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' ) or exists (select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' )))))) UNION select distinct m_product_category.em_asf_navigationnode as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product_category left join prpres_product_feature on prpres_product_feature.property = 'productCategory.asfNavigationnode' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product_category.em_asf_navigationnode and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and m_product_category.em_asf_navigationnode is not null and m_product_category.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product_category.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where m_product_category.m_product_category_id = m_product.m_product_category_id and (m_product.em_prpres_upload = 'Y' or (m_product_category.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct c_campaign.description as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from c_campaign left join prpres_product_feature on prpres_product_feature.property = 'prbsCCampaign.description' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = c_campaign.description and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and c_campaign.description is not null and c_campaign.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and c_campaign.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and c_campaign.updated >= '2026-06-28 23:30:10.809' UNION select distinct prbs_prod_composition.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from prbs_prod_composition left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.name' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = prbs_prod_composition.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and prbs_prod_composition.name is not null and prbs_prod_composition.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and prbs_prod_composition.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and (exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (m_product.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC'))))) or exists ( select 1 from m_product where prbs_prod_composition.prbs_prod_composition_id = m_product.EM_Prbs_Prod_Composition_ID and (m_product.em_prpres_upload = 'Y' or (prbs_prod_composition.updated >= '2026-06-28 23:30:10.809' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC') or exists ( select 1 from prpres_combination left join prpres_product on prpres_product.prpres_product_id = prpres_combination.prpres_product_id where prpres_combination.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC')))))) UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsProdComposition.asfOuterMaterial' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = '3F5305A3511449B19C19C30FA658F896' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct ad_ref_list.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_ref_list left join prpres_product_feature on prpres_product_feature.property = 'prbsTargetgroup' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where ad_ref_list.AD_Reference_ID = 'B3BAF3C070CA495E9477FF38953C3D40' and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = ad_ref_list.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null UNION select distinct m_ch_value.name as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from ad_treenode left join m_ch_value on m_ch_value.m_ch_value_id = ad_treenode.node_id left join prpres_product_feature on prpres_product_feature.property = 'characteristicDescription' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where not exists (select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_ch_value.name and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and ad_treenode.parent_id = '0' and ad_tree_id = 'F271415BCE9F42BE8FBDF28C2B912F05' and m_ch_value.m_characteristic_id = 'A8C4D1B49734428C9131331F7AC22DF4' and m_ch_value.name is not null and m_ch_value.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6','FC4702F19C8E41A69EBAB5253A211B8A','F7735ED919A645599772B2E05A628A60','CD5C65E625BC44F4A96C5643F5BAFC1D','0E7A5DA7DF09498EBDE705114F24A66A','D79E91C6BA354BBBA309954FA43CFC7B','0','B1A16E884FED47908E5B9C84D99A19FC','0217C3DD1A5D451C9BD8671ED45719B9','2E460F7596FD42C299A684F0CC5DE2B2','C5617751BAB04E85B7DF7A69ACCCADC4','A2E03C755D4B42CEA6267EF3A4F9212D','36C6F10C71334D55A0AFB7A803BF244B') and m_ch_value.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37' and m_ch_value.updated >= '2026-06-28 23:30:10.809' UNION select distinct m_product.em_asf_prestashop_title as propertyValue, 'POST' as action, '' as featureValueId, prpres_product_feature.prpres_product_feature_id as featureId from m_product left join prpres_product_feature on prpres_product_feature.property = 'asfPrestashopTitle' left join prpres_conf on prpres_product_feature.prpres_conf_id = prpres_conf.prpres_conf_id where prpres_conf.prpres_conf_id = 'F31698D6B7414E6881971A59A12306CC' and (exists ( select 1 from prpres_product where prpres_product.m_product_id = m_product.m_product_id and prpres_product.prpres_conf_id = prpres_conf.prpres_conf_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is null and mprod.m_product_id = m_product.m_product_id) or exists ( select 1 from m_product mprod where mprod.em_prpres_upload = 'Y' and mprod.generic_product_id is not null and mprod.generic_product_id = m_product.m_product_id)) and not exists ( select 1 from prpres_product_feat_value where prpres_product_feat_value.property_value = m_product.em_asf_prestashop_title and prpres_product_feat_value.prestashop_custom = '0' and prpres_product_feat_value.prpres_product_feature_id = prpres_product_feature.prpres_product_feature_id and prpres_product_feat_value.property_value is not null) and prpres_product_feature.prpres_product_feature_id is not null and m_product.em_asf_prestashop_title is not null and m_product.ad_org_id in ('BF097EF365654B8D975C107CFB7A15C6', 'FC4702F19C8E41A69EBAB5253A211B8A', 'F7735ED919A645599772B2E05A628A60', 'CD5C65E625BC44F4A96C5643F5BAFC1D', '0E7A5DA7DF09498EBDE705114F24A66A', 'D79E91C6BA354BBBA309954FA43CFC7B', '0', 'B1A16E884FED47908E5B9C84D99A19FC', '0217C3DD1A5D451C9BD8671ED45719B9', '2E460F7596FD42C299A684F0CC5DE2B2', 'C5617751BAB04E85B7DF7A69ACCCADC4', 'A2E03C755D4B42CEA6267EF3A4F9212D', '36C6F10C71334D55A0AFB7A803BF244B') and m_product.ad_client_id = '9032A5586FD74B7AA85361E71EEB6E37';
Date: 2026-06-29 21:38:42 Duration: 8m32s Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
2 6m41s 6m41s 6m41s 1 6m41s 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 = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 29 19 1 6m41s 6m41s [ User: tad - Total duration: 6m41s - Times executed: 1 ]
-
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-29 19:38:38 Duration: 6m41s 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' 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-29 12:33:28 Duration: 0ms Database: openbravo User: tad Remote: 10.0.0.13
3 6m36s 6m36s 6m36s 1 6m36s 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 29 12 1 6m36s 6m36s [ User: tad - Total duration: 6m36s - Times executed: 1 ]
-
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-29 12:37:34 Duration: 6m36s 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-29 12:32:58 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 1m53s 2m4s 1m58s 2 3m57s 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 29 12 1 1m53s 1m53s 19 1 2m4s 2m4s [ User: tad - Total duration: 3m57s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m57s - 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-29 19:34:08 Duration: 2m4s 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-29 12:33:21 Duration: 1m53s 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 1m42s 1m48s 1m45s 2 3m30s 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 29 12 1 1m42s 1m42s 19 1 1m48s 1m48s [ User: tad - Total duration: 3m30s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 3m30s - 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-29 19:34:16 Duration: 1m48s 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-29 12:32:44 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 29s696ms 1m6s 47s869ms 2 1m35s 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 #6
Day Hour Count Duration Avg duration Jun 29 12 1 1m6s 1m6s 19 1 29s696ms 29s696ms [ User: tad - Total duration: 1m35s - Times executed: 2 ]
-
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-29 12:33:08 Duration: 1m6s Database: openbravo User: tad Remote: 10.0.0.13 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-29 19:33:24 Duration: 29s696ms Database: openbravo User: tad Remote: 10.0.0.13 Bind query: yes
7 47s213ms 47s213ms 47s213ms 1 47s213ms 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 #7
Day Hour Count Duration Avg duration Jun 29 13 1 47s213ms 47s213ms [ User: tad - Total duration: 47s213ms - Times executed: 1 ]
-
update M_Product_Ch_Conf set SKCode = '1174208', 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 = '350C83BE7B67483CAA994F55D8FC139B' and (productcha1_.M_Ch_Subset_ID is null) and M_Product_Ch_Conf.SKCode <> '1174208');
Date: 2026-06-29 13:01:44 Duration: 47s213ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
8 29s914ms 39s205ms 34s560ms 2 1m9s 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 #8
Day Hour Count Duration Avg duration Jun 29 12 1 29s914ms 29s914ms 19 1 39s205ms 39s205ms [ User: tad - Total duration: 1m9s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m9s - 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-29 19:32:36 Duration: 39s205ms 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-29 12:32:07 Duration: 29s914ms 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 23s484ms 39s724ms 31s604ms 2 1m3s 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 29 12 1 39s724ms 39s724ms 19 1 23s484ms 23s484ms [ User: tad - Total duration: 1m3s - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 1m3s - Times executed: 2 ]
-
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-29 12:31:32 Duration: 39s724ms 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-29 19:32:33 Duration: 23s484ms 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 11s755ms 30s768ms 21s262ms 2 42s524ms 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 #10
Day Hour Count Duration Avg duration Jun 29 12 1 30s768ms 30s768ms 19 1 11s755ms 11s755ms [ User: tad - Total duration: 42s524ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 42s524ms - Times executed: 2 ]
-
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-29 12:31:23 Duration: 30s768ms 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-29 19:32:09 Duration: 11s755ms 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 17s931ms 22s603ms 20s267ms 2 40s535ms 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 #11
Day Hour Count Duration Avg duration Jun 29 12 1 17s931ms 17s931ms 19 1 22s603ms 22s603ms [ User: tad - Total duration: 40s535ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 17s931ms - Times executed: 1 ]
-
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-29 19:33:02 Duration: 22s603ms Database: openbravo User: tad Remote: 10.0.0.13 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-29 12:31:10 Duration: 17s931ms 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 15s451ms 15s451ms 15s451ms 1 15s451ms select this_.c_invoiceline_id as c_invoic1_276_2_, this_.ad_client_id as ad_clien2_276_2_, this_.ad_org_id as ad_org_i3_276_2_, this_.isactive as isactive4_276_2_, this_.created as created5_276_2_, this_.createdby as createdb6_276_2_, this_.updated as updated7_276_2_, this_.updatedby as updatedb8_276_2_, this_.c_invoice_id as c_invoic9_276_2_, this_.c_orderline_id as c_order10_276_2_, this_.m_inoutline_id as m_inout11_276_2_, this_.line as line12_276_2_, this_.description as descrip13_276_2_, this_.financial_invoice_line as financi14_276_2_, this_.account_id as account15_276_2_, this_.m_product_id as m_produ16_276_2_, this_.qtyinvoiced as qtyinvo17_276_2_, this_.pricelist as priceli18_276_2_, this_.priceactual as priceac19_276_2_, this_.pricelimit as priceli20_276_2_, this_.linenetamt as linenet21_276_2_, this_.c_charge_id as c_charg22_276_2_, this_.chargeamt as chargea23_276_2_, this_.c_uom_id as c_uom_i24_276_2_, this_.c_tax_id as c_tax_i25_276_2_, this_.s_resourceassignment_id as s_resou26_276_2_, this_.m_attributesetinstance_id as m_attri27_276_2_, this_.isdescription as isdescr28_276_2_, this_.quantityorder as quantit29_276_2_, this_.m_product_uom_id as m_produ30_276_2_, this_.c_invoice_discount_id as c_invoi31_276_2_, this_.c_projectline_id as c_proje32_276_2_, this_.m_offer_id as m_offer33_276_2_, this_.pricestd as pricest34_276_2_, this_.excludeforwithholding as exclude35_276_2_, this_.iseditlinenetamt as iseditl36_276_2_, this_.taxbaseamt as taxbase37_276_2_, this_.line_gross_amount as line_gr38_276_2_, this_.gross_unit_price as gross_u39_276_2_, this_.c_bpartner_id as c_bpart40_276_2_, this_.periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.a_asset_id as a_asset43_276_2_, this_.defplantype as defplan44_276_2_, this_.grosspricelist as grosspr45_276_2_, this_.c_project_id as c_proje46_276_2_, this_.isdeferred as isdefer47_276_2_, this_.c_period_id as c_perio48_276_2_, this_.c_costcenter_id as c_costc49_276_2_, this_.user1_id as user50_276_2_, this_.user2_id as user51_276_2_, this_.explode as explode52_276_2_, this_.bom_parent_id as bom_par53_276_2_, this_.match_lccosts as match_l54_276_2_, this_.c_aum as c_aum55_276_2_, this_.aumqty as aumqty56_276_2_, this_.salesrep_id as salesre57_276_2_, this_.c_substitutiveinvoice_id as c_subst58_276_2_, this_.em_epa_localizator as em_epa_59_276_2_, this_.em_epa_response as em_epa_60_276_2_, this_.contribution_amt as contrib61_276_2_, this_.em_obcomop_com_oper_prodpri_id as em_obco62_276_2_, inv2_.c_invoice_id as c_invoic1_271_0_, inv2_.ad_client_id as ad_clien2_271_0_, inv2_.ad_org_id as ad_org_i3_271_0_, inv2_.isactive as isactive4_271_0_, inv2_.created as created5_271_0_, inv2_.createdby as createdb6_271_0_, inv2_.updated as updated7_271_0_, inv2_.updatedby as updatedb8_271_0_, inv2_.issotrx as issotrx9_271_0_, inv2_.documentno as documen10_271_0_, inv2_.docstatus as docstat11_271_0_, inv2_.docaction as docacti12_271_0_, inv2_.processing as process13_271_0_, inv2_.processed as process14_271_0_, inv2_.posted as posted15_271_0_, inv2_.c_doctype_id as c_docty16_271_0_, inv2_.c_doctypetarget_id as c_docty17_271_0_, inv2_.c_order_id as c_order18_271_0_, inv2_.description as descrip19_271_0_, inv2_.isprinted as isprint20_271_0_, inv2_.salesrep_id as salesre21_271_0_, inv2_.dateinvoiced as dateinv22_271_0_, inv2_.dateprinted as datepri23_271_0_, inv2_.dateacct as dateacc24_271_0_, inv2_.c_bpartner_id as c_bpart25_271_0_, inv2_.c_bpartner_location_id as c_bpart26_271_0_, inv2_.poreference as porefer27_271_0_, inv2_.isdiscountprinted as isdisco28_271_0_, inv2_.dateordered as dateord29_271_0_, inv2_.c_currency_id as c_curre30_271_0_, inv2_.c_paymentterm_id as c_payme31_271_0_, inv2_.c_charge_id as c_charg32_271_0_, inv2_.chargeamt as chargea33_271_0_, inv2_.totallines as totalli34_271_0_, inv2_.grandtotal as grandto35_271_0_, inv2_.m_pricelist_id as m_price36_271_0_, inv2_.istaxincluded as istaxin37_271_0_, inv2_.c_campaign_id as c_campa38_271_0_, inv2_.c_project_id as c_proje39_271_0_, inv2_.c_activity_id as c_activ40_271_0_, inv2_.createfrom as createf41_271_0_, inv2_.generateto as generat42_271_0_, inv2_.ad_user_id as ad_user43_271_0_, inv2_.copyfrom as copyfro44_271_0_, inv2_.isselfservice as isselfs45_271_0_, inv2_.ad_orgtrx_id as ad_orgt46_271_0_, inv2_.user1_id as user47_271_0_, inv2_.user2_id as user48_271_0_, inv2_.withholdingamount as withhol49_271_0_, inv2_.taxdate as taxdate50_271_0_, inv2_.c_withholding_id as c_withh51_271_0_, inv2_.ispaid as ispaid52_271_0_, inv2_.em_einv_generated as em_einv53_271_0_, inv2_.totalpaid as totalpa54_271_0_, inv2_.em_einv_sent as em_einv55_271_0_, inv2_.outstandingamt as outstan56_271_0_, inv2_.daystilldue as daystil57_271_0_, inv2_.dueamt as dueamt58_271_0_, inv2_.lastcalculatedondate as lastcal59_271_0_, inv2_.fin_paymentmethod_id as fin_pay60_271_0_, inv2_.fin_payment_priority_id as fin_pay61_271_0_, inv2_.finalsettlement as finalse62_271_0_, inv2_.daysoutstanding as daysout63_271_0_, inv2_.percentageoverdue as percent64_271_0_, inv2_.c_costcenter_id as c_costc65_271_0_, inv2_.calculate_promotions as calcula66_271_0_, inv2_.a_asset_id as a_asset67_271_0_, inv2_.em_aprm_addpayment as em_aprm68_271_0_, inv2_.iscashvat as iscashv69_271_0_, inv2_.em_aprm_processinvoice as em_aprm70_271_0_, inv2_.em_obcma_c_poc_email_id as em_obcm71_271_0_, inv2_.prepaymentamt as prepaym72_271_0_, inv2_.createfromorders as createf73_271_0_, inv2_.createfrominouts as createf74_271_0_, inv2_.paidamtatinvoicing as paidamt75_271_0_, inv2_.bpartner_extref as bpartne76_271_0_, inv2_.em_obpos_rounding_amount as em_obpo77_271_0_, inv2_.em_obpos_sequencename as em_obpo78_271_0_, inv2_.em_obpos_sequencenumber as em_obpo79_271_0_, inv2_.c_alternate_location_id as c_alter80_271_0_, inv2_.em_prouti_recalculate_price as em_prou81_271_0_, inv2_.em_ml_select_product as em_ml_s82_271_0_, inv2_.em_prouti_pricecalculatetdate as em_prou83_271_0_, inv2_.em_cfis_fiscalization_result as em_cfis84_271_0_, inv2_.em_poss_orgloc_locid as em_poss85_271_0_, inv2_.em_prouti_totalizations as em_prou86_271_0_, inv2_.em_cfis_signature as em_cfis87_271_0_, inv2_.em_prscrm_suitedocid as em_prsc88_271_0_, inv2_.einvoice_status as einvoic89_271_0_, inv2_.em_cdisc_externalresponse as em_cdis90_271_0_, inv2_.em_ctaxes_externalresponse as em_ctax91_271_0_, inv2_.em_etxf_tax_free_form_id as em_etxf92_271_0_, inv2_.em_obpos2_crm_id as em_obpo93_271_0_, inv2_.einvoice_generated as einvoic94_271_0_, inv2_.em_cfis_errorcondition as em_cfis95_271_0_, inv2_.einvoice_externalid as einvoic96_271_0_, inv2_.em_asf_totalattachments as em_asf_97_271_0_, inv2_.em_cfis_additionalresponse as em_cfis98_271_0_, inv2_.einvoice_send_status as einvoic99_271_0_, inv2_.einvoice_sent as einvoi100_271_0_, inv2_.em_obpos2_delivery_options as em_obp101_271_0_, inv2_.em_obpos2_deliv_dest_email as em_obp102_271_0_, inv2_.em_etcopag_cop_feedback as em_etc103_271_0_, inv2_.isexternal as isexte104_271_0_, inv2_.em_cche_checkout_result as em_cch105_271_0_, inv2_.em_obpos_applications_id as em_obp106_271_0_, inv2_.c_substitutiveinvoice_id as c_subs107_271_0_, inv2_.em_api_resend as em_api108_271_0_, inv2_.em_ecl_completeticket_result as em_ecl109_271_0_, inv2_.em_ecl_errorcondition as em_ecl110_271_0_, inv2_.em_ecl_additionalresponse as em_ecl111_271_0_, inv2_.business_partner_type as busine112_271_0_, inv2_.extra_crm_connector_data_1 as extra_113_271_0_, inv2_.extra_crm_connector_data_2 as extra_114_271_0_, inv2_.extra_crm_connector_data_3 as extra_115_271_0_, inv2_.extra_crm_connector_data_4 as extra_116_271_0_, inv2_.em_cfis_externalerror as em_cfi117_271_0_, inv2_.em_ctaxes_additionalinfo as em_cta118_271_0_, inv2_.validation_status as valida119_271_0_, inv2_.validate as valida120_271_0_, inv2_.validation_date as valida121_271_0_, inv2_.em_obpos2_isvoid as em_obp122_271_0_, inv2_.validation_user as valida123_271_0_, inv2_.em_pruti_notsendinvoice as em_pru124_271_0_, prod1_.m_product_id as m_produc1_589_1_, prod1_.ad_client_id as ad_clien2_589_1_, prod1_.ad_org_id as ad_org_i3_589_1_, prod1_.isactive as isactive4_589_1_, prod1_.created as created5_589_1_, prod1_.createdby as createdb6_589_1_, prod1_.updated as updated7_589_1_, prod1_.updatedby as updatedb8_589_1_, prod1_.value as value9_589_1_, prod1_.name as name10_589_1_, prod1_.description as descrip11_589_1_, prod1_.documentnote as documen12_589_1_, prod1_.help as help13_589_1_, prod1_.upc as upc14_589_1_, prod1_.sku as sku15_589_1_, prod1_.c_uom_id as c_uom_i16_589_1_, prod1_.salesrep_id as salesre17_589_1_, prod1_.issummary as issumma18_589_1_, prod1_.isstocked as isstock19_589_1_, prod1_.ispurchased as ispurch20_589_1_, prod1_.issold as issold21_589_1_, prod1_.isbom as isbom22_589_1_, prod1_.isinvoiceprintdetails as isinvoi23_589_1_, prod1_.ispicklistprintdetails as ispickl24_589_1_, prod1_.isverified as isverif25_589_1_, prod1_.m_product_category_id as m_produ26_589_1_, prod1_.classification as classif27_589_1_, prod1_.volume as volume28_589_1_, prod1_.weight as weight29_589_1_, prod1_.shelfwidth as shelfwi30_589_1_, prod1_.shelfheight as shelfhe31_589_1_, prod1_.shelfdepth as shelfde32_589_1_, prod1_.unitsperpallet as unitspe33_589_1_, prod1_.c_taxcategory_id as c_taxca34_589_1_, prod1_.s_resource_id as s_resou35_589_1_, prod1_.discontinued as discont36_589_1_, prod1_.discontinuedby as discont37_589_1_, prod1_.processing as process38_589_1_, prod1_.s_expensetype_id as s_expen39_589_1_, prod1_.producttype as product40_589_1_, prod1_.imageurl as imageur41_589_1_, prod1_.descriptionurl as descrip42_589_1_, prod1_.guaranteedays as guarant43_589_1_, prod1_.versionno as version44_589_1_, prod1_.m_attributeset_id as m_attri45_589_1_, prod1_.m_attributesetinstance_id as m_attri46_589_1_, prod1_.downloadurl as downloa47_589_1_, prod1_.m_freightcategory_id as m_freig48_589_1_, prod1_.m_locator_id as m_locat49_589_1_, prod1_.ad_image_id as ad_imag50_589_1_, prod1_.c_bpartner_id as c_bpart51_589_1_, prod1_.ispriceprinted as isprice52_589_1_, prod1_.name2 as name53_589_1_, prod1_.stock_min as stock_m54_589_1_, prod1_.enforce_attribute as enforce55_589_1_, prod1_.calculated as calcula56_589_1_, prod1_.ma_processplan_id as ma_proc57_589_1_, prod1_.production as product58_589_1_, prod1_.capacity as capacit59_589_1_, prod1_.delaymin as delaymi60_589_1_, prod1_.mrp_planner_id as mrp_pla61_589_1_, prod1_.mrp_planningmethod_id as mrp_pla62_589_1_, prod1_.qtymax as qtymax63_589_1_, prod1_.qtymin as qtymin64_589_1_, prod1_.qtystd as qtystd65_589_1_, prod1_.qtytype as qtytype66_589_1_, prod1_.stockmin as stockmi67_589_1_, prod1_.attrsetvaluetype as attrset68_589_1_, prod1_.isquantityvariable as isquant69_589_1_, prod1_.isdeferredrevenue as isdefer70_589_1_, prod1_.em_aeat347_isleasebusiness as em_aeat71_589_1_, prod1_.em_aeat347_situation as em_aeat72_589_1_, prod1_.revplantype as revplan73_589_1_, prod1_.em_aeat347_referenceid as em_aeat74_589_1_, prod1_.periodnumber as periodn75_589_1_, prod1_.em_aeat347_locationtype as em_aeat76_589_1_, prod1_.isdeferredexpense as isdefer77_589_1_, prod1_.em_aeat347_streetname as em_aeat78_589_1_, prod1_.expplantype as expplan79_589_1_, prod1_.em_aeat347_streetnumbertype as em_aeat80_589_1_, prod1_.periodnumber_exp as periodn81_589_1_, prod1_.defaultperiod as default82_589_1_, prod1_.em_aeat347_streetnumber as em_aeat83_589_1_, prod1_.defaultperiod_exp as default84_589_1_, prod1_.em_aeat347_streetnumberqua as em_aeat85_589_1_, prod1_.bookusingpoprice as bookusi86_589_1_, prod1_.em_aeat347_building as em_aeat87_589_1_, prod1_.em_aeat347_hall as em_aeat88_589_1_, prod1_.c_uom_weight_id as c_uom_w89_589_1_, prod1_.m_brand_id as m_brand90_589_1_, prod1_.em_aeat347_hallway as em_aeat91_589_1_, prod1_.em_aeat347_floor as em_aeat92_589_1_, prod1_.isgeneric as isgener93_589_1_, prod1_.em_aeat347_apartment as em_aeat94_589_1_, prod1_.generic_product_id as generic95_589_1_, prod1_.createvariants as createv96_589_1_, prod1_.em_aeat347_complement as em_aeat97_589_1_, prod1_.characteristic_desc as charact98_589_1_, prod1_.em_aeat347_location as em_aeat99_589_1_, prod1_.em_aeat347_county as em_aea100_589_1_, prod1_.updateinvariants as update101_589_1_, prod1_.em_aeat347_countycode as em_aea102_589_1_, prod1_.managevariants as manage103_589_1_, prod1_.em_aeat347_regioncode as em_aea104_589_1_, prod1_.prod_cat_selection as prod_c105_589_1_, prod1_.em_aeat347_zipcode as em_aea106_589_1_, prod1_.product_selection as produc107_589_1_, prod1_.print_description as print_108_589_1_, prod1_.returnable as return109_589_1_, prod1_.overdue_return_days as overdu110_589_1_, prod1_.ispricerulebased as ispric111_589_1_, prod1_.unique_per_document as unique112_589_1_, prod1_.relateprodcattoservice as relate113_589_1_, prod1_.relateprodtoservice as relate114_589_1_, prod1_.islinkedtoproduct as islink115_589_1_, prod1_.quantity_rule as quanti116_589_1_, prod1_.allow_deferred_sell as allow_117_589_1_, prod1_.deferred_sell_max_days as deferr118_589_1_, prod1_.m_product_status_id as m_prod119_589_1_, prod1_.em_prbs_c_country_id as em_prb120_589_1_, prod1_.em_prlab_qtylabels as em_prl121_589_1_, prod1_.ismodifytax as ismodi122_589_1_, prod1_.em_prbs_descriptionshort as em_prb123_589_1_, prod1_.relateprodcattaxtoservice as relate124_589_1_, prod1_.copyservicemodifytaxconfig as copyse125_589_1_, prod1_.em_prbs_qualitydescription as em_prb126_589_1_, prod1_.em_obpos_scale as em_obp127_589_1_, prod1_.em_prbs_c_campaign_id as em_prb128_589_1_, prod1_.m_product_subtype_id as m_prod129_589_1_, prod1_.em_obpos_groupedproduct as em_obp130_589_1_, prod1_.em_prbs_grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.em_obpos_showstock as em_obp134_589_1_, prod1_.em_prbs_prod_composition_id as em_prb135_589_1_, prod1_.em_obdest_enabled as em_obd136_589_1_, prod1_.em_obpos_show_ch_desc as em_obp137_589_1_, prod1_.em_obdest_rcharacteristic as em_obd138_589_1_, prod1_.em_obpos_proposal_type as em_obp139_589_1_, prod1_.em_prbs_isneveroutofstock as em_prb140_589_1_, prod1_.em_obdest_ccharacteristic as em_obd141_589_1_, prod1_.em_obpos_ismultiselectable as em_obp142_589_1_, prod1_.em_prbs_targetgroup as em_prb143_589_1_, prod1_.em_obpos_allowanonymoussale as em_obp144_589_1_, prod1_.em_obpos_printservices as em_obp145_589_1_, prod1_.em_obpos_editable_price as em_obp146_589_1_, prod1_.em_obrdm_delivery_mode as em_obr147_589_1_, prod1_.em_obrdm_delivery_mode_lyw as em_obr148_589_1_, prod1_.em_obrdm_isdeliveryservice as em_obr149_589_1_, prod1_.em_gcnv_giftcardtype as em_gcn150_589_1_, prod1_.em_gcnv_amount as em_gcn151_589_1_, prod1_.em_gcnv_allowpartialreturn as em_gcn152_589_1_, prod1_.em_obpos_maxpriceassocprod as em_obp153_589_1_, prod1_.em_obgcne_expirationdays as em_obg154_589_1_, prod1_.em_obpos_minpriceassocprod as em_obp155_589_1_, prod1_.em_obpgc_printcard as em_obp156_589_1_, prod1_.em_obpgc_printtemplate_id as em_obp157_589_1_, prod1_.em_obpos2_no_standard_sale as em_obp158_589_1_, prod1_.em_prpres_short_description as em_prp159_589_1_, prod1_.em_obpos2_imageclass as em_obp160_589_1_, prod1_.em_prpres_description as em_prp161_589_1_, prod1_.em_obpos2_color_id as em_obp162_589_1_, prod1_.em_prpres_meta_title as em_prp163_589_1_, prod1_.em_obpos_skipapplypromotions as em_obp164_589_1_, prod1_.em_prpres_meta_description as em_prp165_589_1_, prod1_.em_prpres_friendly_url as em_prp166_589_1_, prod1_.em_prpres_tags as em_prp167_589_1_, prod1_.em_obpos2_pim_url as em_obp168_589_1_, prod1_.em_prpres_upload as em_prp169_589_1_, prod1_.characteristicdimensionenabled as charac170_589_1_, prod1_.autogeneratebom as autoge171_589_1_, prod1_.em_obmupc_multiupc_desc as em_obm172_589_1_, prod1_.em_obserpr_required_followup as em_obs173_589_1_, prod1_.em_prpres_managecat as em_prp174_589_1_, prod1_.em_prpres_deactivate_on_ps as em_prp175_589_1_, prod1_.em_gcnv_discountsrestricted as em_gcn176_589_1_, prod1_.em_prpres_out_of_stock as em_prp177_589_1_, prod1_.em_epa_productcategory as em_epa178_589_1_, prod1_.em_etxf_iselegible as em_etx179_589_1_, prod1_.em_gcnv_aspaymentmethod as em_gcn180_589_1_, prod1_.em_gcnv_taxablegiftcard as em_gcn181_589_1_, prod1_.em_obpgc_printtempemail_id as em_obp182_589_1_, prod1_.em_obpgc_useautomaticseq as em_obp183_589_1_, prod1_.em_obfi_ingredients_allergens as em_obf184_589_1_, prod1_.em_prbs_deliveryperiodname as em_prb185_589_1_, prod1_.em_obfi_nutritional_info as em_obf186_589_1_, prod1_.em_prbs_deliveryperiodstart as em_prb187_589_1_, prod1_.em_gcnv_giftcardextradays as em_gcn188_589_1_, prod1_.em_obfi_storage_instructions as em_obf189_589_1_, prod1_.em_prbs_deliveryperiodend as em_prb190_589_1_, prod1_.em_prrqp_abv as em_prr191_589_1_, prod1_.special_use as specia192_589_1_, prod1_.em_asf_image_name as em_asf193_589_1_, prod1_.em_obcombo_discount_link as em_obc194_589_1_, prod1_.em_obpos_salesunitfactor as em_obp195_589_1_, prod1_.em_obdisc_pack_discount_link as em_obd196_589_1_, prod1_.em_asf_printlabels as em_asf197_589_1_, prod1_.em_asf_prestashop_title as em_asf198_589_1_, prod1_.em_prret_multiupc_json as em_prr199_589_1_, prod1_.isgeneratevariantean as isgene200_589_1_, prod1_.em_obpos2_isotf as em_obp201_589_1_, prod1_.em_obpos2_request_price as em_obp202_589_1_, prod1_.em_obpos_epc as em_obp203_589_1_, prod1_.ad_sequence_id as ad_seq204_589_1_, prod1_.em_obpos_sgtin as em_obp205_589_1_, prod1_.em_obpos_neweqproduct_id as em_obp206_589_1_, prod1_.em_obserpr_anonymize_sp as em_obs207_589_1_, prod1_.em_asf_replenish as em_asf208_589_1_, prod1_.em_am_composition_id as em_am_209_589_1_, prod1_.em_am_campaign_id as em_am_210_589_1_, prod1_.em_obserpr_follow_up_mode as em_obs211_589_1_, prod1_.em_obserpr_service_mode as em_obs212_589_1_, prod1_.em_pruti_addmodifycharact as em_pru213_589_1_, prod1_.em_asf_vmi_ode as em_asf214_589_1_, prod1_.em_asf_vmi_com as em_asf215_589_1_, prod1_.em_asf_vmi_onl as em_asf216_589_1_, prod1_.em_asf_esrec as em_asf217_589_1_, prod1_.em_gcnv_redemptiontype as em_gcn218_589_1_ from c_invoiceline this_ inner join c_invoice inv2_ on this_.c_invoice_id = inv2_.c_invoice_id inner join m_product prod1_ on this_.m_product_id = prod1_.m_product_id where this_.c_orderline_id is null and prod1_.producttype <> ? and inv2_.c_bpartner_id = ? and inv2_.issotrx = ? and inv2_.c_doctype_id = ? and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 29 12 1 15s451ms 15s451ms [ User: tad - Total duration: 15s451ms - Times executed: 1 ]
-
select this_.C_InvoiceLine_ID as c_invoic1_276_2_, this_.AD_Client_ID as ad_clien2_276_2_, this_.AD_Org_ID as ad_org_i3_276_2_, this_.IsActive as isactive4_276_2_, this_.Created as created5_276_2_, this_.CreatedBy as createdb6_276_2_, this_.Updated as updated7_276_2_, this_.UpdatedBy as updatedb8_276_2_, this_.C_Invoice_ID as c_invoic9_276_2_, this_.C_OrderLine_ID as c_order10_276_2_, this_.M_InOutLine_ID as m_inout11_276_2_, this_.Line as line12_276_2_, this_.Description as descrip13_276_2_, this_.Financial_Invoice_Line as financi14_276_2_, this_.Account_ID as account15_276_2_, this_.M_Product_ID as m_produ16_276_2_, this_.QtyInvoiced as qtyinvo17_276_2_, this_.PriceList as priceli18_276_2_, this_.PriceActual as priceac19_276_2_, this_.PriceLimit as priceli20_276_2_, this_.LineNetAmt as linenet21_276_2_, this_.C_Charge_ID as c_charg22_276_2_, this_.ChargeAmt as chargea23_276_2_, this_.C_UOM_ID as c_uom_i24_276_2_, this_.C_Tax_ID as c_tax_i25_276_2_, this_.S_ResourceAssignment_ID as s_resou26_276_2_, this_.M_AttributeSetInstance_ID as m_attri27_276_2_, this_.IsDescription as isdescr28_276_2_, this_.QuantityOrder as quantit29_276_2_, this_.M_Product_Uom_Id as m_produ30_276_2_, this_.C_Invoice_Discount_ID as c_invoi31_276_2_, this_.C_Projectline_ID as c_proje32_276_2_, this_.M_Offer_ID as m_offer33_276_2_, this_.PriceStd as pricest34_276_2_, this_.Excludeforwithholding as exclude35_276_2_, this_.Iseditlinenetamt as iseditl36_276_2_, this_.Taxbaseamt as taxbase37_276_2_, this_.Line_Gross_Amount as line_gr38_276_2_, this_.Gross_Unit_Price as gross_u39_276_2_, this_.C_Bpartner_ID as c_bpart40_276_2_, this_.Periodnumber as periodn41_276_2_, this_.grosspricestd as grosspr42_276_2_, this_.A_Asset_ID as a_asset43_276_2_, this_.DefPlanType as defplan44_276_2_, this_.Grosspricelist as grosspr45_276_2_, this_.C_Project_ID as c_proje46_276_2_, this_.IsDeferred as isdefer47_276_2_, this_.C_Period_ID as c_perio48_276_2_, this_.C_Costcenter_ID as c_costc49_276_2_, this_.User1_ID as user50_276_2_, this_.User2_ID as user51_276_2_, this_.Explode as explode52_276_2_, this_.BOM_Parent_ID as bom_par53_276_2_, this_.Match_Lccosts as match_l54_276_2_, this_.C_Aum as c_aum55_276_2_, this_.Aumqty as aumqty56_276_2_, this_.Salesrep_ID as salesre57_276_2_, this_.C_Substitutiveinvoice_ID as c_subst58_276_2_, this_.EM_Epa_Localizator as em_epa_59_276_2_, this_.EM_Epa_Response as em_epa_60_276_2_, this_.Contribution_Amt as contrib61_276_2_, this_.EM_Obcomop_Com_Oper_Prodpri_ID as em_obco62_276_2_, inv2_.C_Invoice_ID as c_invoic1_271_0_, inv2_.AD_Client_ID as ad_clien2_271_0_, inv2_.AD_Org_ID as ad_org_i3_271_0_, inv2_.IsActive as isactive4_271_0_, inv2_.Created as created5_271_0_, inv2_.CreatedBy as createdb6_271_0_, inv2_.Updated as updated7_271_0_, inv2_.UpdatedBy as updatedb8_271_0_, inv2_.IsSOTrx as issotrx9_271_0_, inv2_.DocumentNo as documen10_271_0_, inv2_.DocStatus as docstat11_271_0_, inv2_.DocAction as docacti12_271_0_, inv2_.Processing as process13_271_0_, inv2_.Processed as process14_271_0_, inv2_.Posted as posted15_271_0_, inv2_.C_DocType_ID as c_docty16_271_0_, inv2_.C_DocTypeTarget_ID as c_docty17_271_0_, inv2_.C_Order_ID as c_order18_271_0_, inv2_.Description as descrip19_271_0_, inv2_.IsPrinted as isprint20_271_0_, inv2_.SalesRep_ID as salesre21_271_0_, inv2_.DateInvoiced as dateinv22_271_0_, inv2_.DatePrinted as datepri23_271_0_, inv2_.DateAcct as dateacc24_271_0_, inv2_.C_BPartner_ID as c_bpart25_271_0_, inv2_.C_BPartner_Location_ID as c_bpart26_271_0_, inv2_.POReference as porefer27_271_0_, inv2_.IsDiscountPrinted as isdisco28_271_0_, inv2_.DateOrdered as dateord29_271_0_, inv2_.C_Currency_ID as c_curre30_271_0_, inv2_.C_PaymentTerm_ID as c_payme31_271_0_, inv2_.C_Charge_ID as c_charg32_271_0_, inv2_.ChargeAmt as chargea33_271_0_, inv2_.TotalLines as totalli34_271_0_, inv2_.GrandTotal as grandto35_271_0_, inv2_.M_PriceList_ID as m_price36_271_0_, inv2_.IsTaxIncluded as istaxin37_271_0_, inv2_.C_Campaign_ID as c_campa38_271_0_, inv2_.C_Project_ID as c_proje39_271_0_, inv2_.C_Activity_ID as c_activ40_271_0_, inv2_.CreateFrom as createf41_271_0_, inv2_.GenerateTo as generat42_271_0_, inv2_.AD_User_ID as ad_user43_271_0_, inv2_.CopyFrom as copyfro44_271_0_, inv2_.IsSelfService as isselfs45_271_0_, inv2_.AD_OrgTrx_ID as ad_orgt46_271_0_, inv2_.User1_ID as user47_271_0_, inv2_.User2_ID as user48_271_0_, inv2_.Withholdingamount as withhol49_271_0_, inv2_.Taxdate as taxdate50_271_0_, inv2_.C_Withholding_ID as c_withh51_271_0_, inv2_.Ispaid as ispaid52_271_0_, inv2_.EM_Einv_Generated as em_einv53_271_0_, inv2_.Totalpaid as totalpa54_271_0_, inv2_.EM_Einv_Sent as em_einv55_271_0_, inv2_.OutstandingAmt as outstan56_271_0_, inv2_.DaysTillDue as daystil57_271_0_, inv2_.DueAmt as dueamt58_271_0_, inv2_.LastCalculatedOnDate as lastcal59_271_0_, inv2_.FIN_Paymentmethod_ID as fin_pay60_271_0_, inv2_.FIN_Payment_Priority_ID as fin_pay61_271_0_, inv2_.Finalsettlement as finalse62_271_0_, inv2_.Daysoutstanding as daysout63_271_0_, inv2_.Percentageoverdue as percent64_271_0_, inv2_.C_Costcenter_ID as c_costc65_271_0_, inv2_.Calculate_Promotions as calcula66_271_0_, inv2_.A_Asset_ID as a_asset67_271_0_, inv2_.EM_APRM_Addpayment as em_aprm68_271_0_, inv2_.Iscashvat as iscashv69_271_0_, inv2_.EM_APRM_Processinvoice as em_aprm70_271_0_, inv2_.EM_Obcma_C_Poc_Email_ID as em_obcm71_271_0_, inv2_.Prepaymentamt as prepaym72_271_0_, inv2_.Createfromorders as createf73_271_0_, inv2_.Createfrominouts as createf74_271_0_, inv2_.Paidamtatinvoicing as paidamt75_271_0_, inv2_.BPartner_ExtRef as bpartne76_271_0_, inv2_.EM_Obpos_Rounding_Amount as em_obpo77_271_0_, inv2_.EM_Obpos_Sequencename as em_obpo78_271_0_, inv2_.EM_Obpos_Sequencenumber as em_obpo79_271_0_, inv2_.C_Alternate_Location_ID as c_alter80_271_0_, inv2_.EM_Prouti_Recalculate_Price as em_prou81_271_0_, inv2_.EM_Ml_Select_Product as em_ml_s82_271_0_, inv2_.EM_Prouti_Pricecalculatetdate as em_prou83_271_0_, inv2_.EM_Cfis_Fiscalization_Result as em_cfis84_271_0_, inv2_.EM_Poss_Orgloc_Locid as em_poss85_271_0_, inv2_.EM_Prouti_Totalizations as em_prou86_271_0_, inv2_.EM_Cfis_Signature as em_cfis87_271_0_, inv2_.EM_Prscrm_Suitedocid as em_prsc88_271_0_, inv2_.Einvoice_Status as einvoic89_271_0_, inv2_.EM_Cdisc_Externalresponse as em_cdis90_271_0_, inv2_.EM_Ctaxes_Externalresponse as em_ctax91_271_0_, inv2_.EM_Etxf_Tax_Free_Form_ID as em_etxf92_271_0_, inv2_.EM_Obpos2_Crm_ID as em_obpo93_271_0_, inv2_.Einvoice_Generated as einvoic94_271_0_, inv2_.EM_CFIS_ErrorCondition as em_cfis95_271_0_, inv2_.Einvoice_ExternalID as einvoic96_271_0_, inv2_.EM_Asf_Totalattachments as em_asf_97_271_0_, inv2_.EM_CFIS_AdditionalResponse as em_cfis98_271_0_, inv2_.Einvoice_Send_Status as einvoic99_271_0_, inv2_.Einvoice_Sent as einvoi100_271_0_, inv2_.EM_Obpos2_Delivery_Options as em_obp101_271_0_, inv2_.EM_Obpos2_Deliv_Dest_Email as em_obp102_271_0_, inv2_.EM_Etcopag_Cop_Feedback as em_etc103_271_0_, inv2_.Isexternal as isexte104_271_0_, inv2_.EM_Cche_Checkout_Result as em_cch105_271_0_, inv2_.EM_Obpos_Applications_ID as em_obp106_271_0_, inv2_.C_Substitutiveinvoice_ID as c_subs107_271_0_, inv2_.EM_Api_Resend as em_api108_271_0_, inv2_.EM_Ecl_Completeticket_Result as em_ecl109_271_0_, inv2_.EM_Ecl_Errorcondition as em_ecl110_271_0_, inv2_.EM_Ecl_Additionalresponse as em_ecl111_271_0_, inv2_.Business_Partner_Type as busine112_271_0_, inv2_.Extra_Crm_Connector_Data_1 as extra_113_271_0_, inv2_.Extra_Crm_Connector_Data_2 as extra_114_271_0_, inv2_.Extra_Crm_Connector_Data_3 as extra_115_271_0_, inv2_.Extra_Crm_Connector_Data_4 as extra_116_271_0_, inv2_.EM_Cfis_Externalerror as em_cfi117_271_0_, inv2_.EM_Ctaxes_Additionalinfo as em_cta118_271_0_, inv2_.Validation_Status as valida119_271_0_, inv2_.Validate as valida120_271_0_, inv2_.Validation_Date as valida121_271_0_, inv2_.EM_Obpos2_Isvoid as em_obp122_271_0_, inv2_.Validation_User as valida123_271_0_, inv2_.EM_Pruti_Notsendinvoice as em_pru124_271_0_, prod1_.M_Product_ID as m_produc1_589_1_, prod1_.AD_Client_ID as ad_clien2_589_1_, prod1_.AD_Org_ID as ad_org_i3_589_1_, prod1_.IsActive as isactive4_589_1_, prod1_.Created as created5_589_1_, prod1_.CreatedBy as createdb6_589_1_, prod1_.Updated as updated7_589_1_, prod1_.UpdatedBy as updatedb8_589_1_, prod1_.Value as value9_589_1_, prod1_.Name as name10_589_1_, prod1_.Description as descrip11_589_1_, prod1_.DocumentNote as documen12_589_1_, prod1_.Help as help13_589_1_, prod1_.UPC as upc14_589_1_, prod1_.SKU as sku15_589_1_, prod1_.C_UOM_ID as c_uom_i16_589_1_, prod1_.SalesRep_ID as salesre17_589_1_, prod1_.IsSummary as issumma18_589_1_, prod1_.IsStocked as isstock19_589_1_, prod1_.IsPurchased as ispurch20_589_1_, prod1_.IsSold as issold21_589_1_, prod1_.IsBOM as isbom22_589_1_, prod1_.IsInvoicePrintDetails as isinvoi23_589_1_, prod1_.IsPickListPrintDetails as ispickl24_589_1_, prod1_.IsVerified as isverif25_589_1_, prod1_.M_Product_Category_ID as m_produ26_589_1_, prod1_.Classification as classif27_589_1_, prod1_.Volume as volume28_589_1_, prod1_.Weight as weight29_589_1_, prod1_.ShelfWidth as shelfwi30_589_1_, prod1_.ShelfHeight as shelfhe31_589_1_, prod1_.ShelfDepth as shelfde32_589_1_, prod1_.UnitsPerPallet as unitspe33_589_1_, prod1_.C_TaxCategory_ID as c_taxca34_589_1_, prod1_.S_Resource_ID as s_resou35_589_1_, prod1_.Discontinued as discont36_589_1_, prod1_.DiscontinuedBy as discont37_589_1_, prod1_.Processing as process38_589_1_, prod1_.S_ExpenseType_ID as s_expen39_589_1_, prod1_.ProductType as product40_589_1_, prod1_.ImageURL as imageur41_589_1_, prod1_.DescriptionURL as descrip42_589_1_, prod1_.GuaranteeDays as guarant43_589_1_, prod1_.VersionNo as version44_589_1_, prod1_.M_AttributeSet_ID as m_attri45_589_1_, prod1_.M_AttributeSetInstance_ID as m_attri46_589_1_, prod1_.DownloadURL as downloa47_589_1_, prod1_.M_FreightCategory_ID as m_freig48_589_1_, prod1_.M_Locator_ID as m_locat49_589_1_, prod1_.AD_Image_ID as ad_imag50_589_1_, prod1_.C_BPartner_ID as c_bpart51_589_1_, prod1_.Ispriceprinted as isprice52_589_1_, prod1_.Name2 as name53_589_1_, prod1_.Stock_Min as stock_m54_589_1_, prod1_.Enforce_Attribute as enforce55_589_1_, prod1_.Calculated as calcula56_589_1_, prod1_.MA_Processplan_ID as ma_proc57_589_1_, prod1_.Production as product58_589_1_, prod1_.Capacity as capacit59_589_1_, prod1_.Delaymin as delaymi60_589_1_, prod1_.MRP_Planner_ID as mrp_pla61_589_1_, prod1_.MRP_Planningmethod_ID as mrp_pla62_589_1_, prod1_.Qtymax as qtymax63_589_1_, prod1_.Qtymin as qtymin64_589_1_, prod1_.Qtystd as qtystd65_589_1_, prod1_.Qtytype as qtytype66_589_1_, prod1_.Stockmin as stockmi67_589_1_, prod1_.Attrsetvaluetype as attrset68_589_1_, prod1_.Isquantityvariable as isquant69_589_1_, prod1_.Isdeferredrevenue as isdefer70_589_1_, prod1_.EM_Aeat347_Isleasebusiness as em_aeat71_589_1_, prod1_.EM_Aeat347_Situation as em_aeat72_589_1_, prod1_.Revplantype as revplan73_589_1_, prod1_.EM_Aeat347_Referenceid as em_aeat74_589_1_, prod1_.Periodnumber as periodn75_589_1_, prod1_.EM_Aeat347_Locationtype as em_aeat76_589_1_, prod1_.Isdeferredexpense as isdefer77_589_1_, prod1_.EM_Aeat347_Streetname as em_aeat78_589_1_, prod1_.Expplantype as expplan79_589_1_, prod1_.EM_Aeat347_Streetnumbertype as em_aeat80_589_1_, prod1_.Periodnumber_Exp as periodn81_589_1_, prod1_.DefaultPeriod as default82_589_1_, prod1_.EM_Aeat347_Streetnumber as em_aeat83_589_1_, prod1_.DefaultPeriod_Exp as default84_589_1_, prod1_.EM_Aeat347_Streetnumberqua as em_aeat85_589_1_, prod1_.Bookusingpoprice as bookusi86_589_1_, prod1_.EM_Aeat347_Building as em_aeat87_589_1_, prod1_.EM_Aeat347_Hall as em_aeat88_589_1_, prod1_.C_Uom_Weight_ID as c_uom_w89_589_1_, prod1_.M_Brand_ID as m_brand90_589_1_, prod1_.EM_Aeat347_Hallway as em_aeat91_589_1_, prod1_.EM_Aeat347_Floor as em_aeat92_589_1_, prod1_.IsGeneric as isgener93_589_1_, prod1_.EM_Aeat347_Apartment as em_aeat94_589_1_, prod1_.Generic_Product_ID as generic95_589_1_, prod1_.CreateVariants as createv96_589_1_, prod1_.EM_Aeat347_Complement as em_aeat97_589_1_, prod1_.Characteristic_Desc as charact98_589_1_, prod1_.EM_Aeat347_Location as em_aeat99_589_1_, prod1_.EM_Aeat347_County as em_aea100_589_1_, prod1_.Updateinvariants as update101_589_1_, prod1_.EM_Aeat347_Countycode as em_aea102_589_1_, prod1_.ManageVariants as manage103_589_1_, prod1_.EM_Aeat347_Regioncode as em_aea104_589_1_, prod1_.Prod_Cat_Selection as prod_c105_589_1_, prod1_.EM_Aeat347_Zipcode as em_aea106_589_1_, prod1_.Product_Selection as produc107_589_1_, prod1_.Print_Description as print_108_589_1_, prod1_.Returnable as return109_589_1_, prod1_.Overdue_Return_Days as overdu110_589_1_, prod1_.Ispricerulebased as ispric111_589_1_, prod1_.Unique_Per_Document as unique112_589_1_, prod1_.Relateprodcattoservice as relate113_589_1_, prod1_.Relateprodtoservice as relate114_589_1_, prod1_.Islinkedtoproduct as islink115_589_1_, prod1_.Quantity_Rule as quanti116_589_1_, prod1_.Allow_Deferred_Sell as allow_117_589_1_, prod1_.Deferred_Sell_Max_Days as deferr118_589_1_, prod1_.M_Product_Status_ID as m_prod119_589_1_, prod1_.EM_Prbs_C_Country_ID as em_prb120_589_1_, prod1_.EM_Prlab_Qtylabels as em_prl121_589_1_, prod1_.Ismodifytax as ismodi122_589_1_, prod1_.EM_Prbs_Descriptionshort as em_prb123_589_1_, prod1_.Relateprodcattaxtoservice as relate124_589_1_, prod1_.Copyservicemodifytaxconfig as copyse125_589_1_, prod1_.EM_Prbs_Qualitydescription as em_prb126_589_1_, prod1_.EM_Obpos_Scale as em_obp127_589_1_, prod1_.EM_Prbs_C_Campaign_ID as em_prb128_589_1_, prod1_.M_Product_Subtype_ID as m_prod129_589_1_, prod1_.EM_Obpos_Groupedproduct as em_obp130_589_1_, prod1_.EM_Prbs_Grossweigth as em_prb131_589_1_, prod1_.row_characteristic as row_ch132_589_1_, prod1_.column_characteristic as column133_589_1_, prod1_.EM_Obpos_Showstock as em_obp134_589_1_, prod1_.EM_Prbs_Prod_Composition_ID as em_prb135_589_1_, prod1_.EM_Obdest_Enabled as em_obd136_589_1_, prod1_.EM_Obpos_Show_Ch_Desc as em_obp137_589_1_, prod1_.EM_Obdest_Rcharacteristic as em_obd138_589_1_, prod1_.EM_Obpos_Proposal_Type as em_obp139_589_1_, prod1_.EM_Prbs_Isneveroutofstock as em_prb140_589_1_, prod1_.EM_Obdest_Ccharacteristic as em_obd141_589_1_, prod1_.EM_Obpos_Ismultiselectable as em_obp142_589_1_, prod1_.EM_Prbs_Targetgroup as em_prb143_589_1_, prod1_.EM_OBPOS_AllowAnonymousSale as em_obp144_589_1_, prod1_.EM_Obpos_Printservices as em_obp145_589_1_, prod1_.EM_Obpos_Editable_Price as em_obp146_589_1_, prod1_.EM_Obrdm_Delivery_Mode as em_obr147_589_1_, prod1_.EM_Obrdm_Delivery_Mode_Lyw as em_obr148_589_1_, prod1_.EM_Obrdm_Isdeliveryservice as em_obr149_589_1_, prod1_.EM_Gcnv_Giftcardtype as em_gcn150_589_1_, prod1_.EM_Gcnv_Amount as em_gcn151_589_1_, prod1_.EM_Gcnv_Allowpartialreturn as em_gcn152_589_1_, prod1_.EM_Obpos_Maxpriceassocprod as em_obp153_589_1_, prod1_.EM_Obgcne_Expirationdays as em_obg154_589_1_, prod1_.EM_Obpos_Minpriceassocprod as em_obp155_589_1_, prod1_.EM_Obpgc_Printcard as em_obp156_589_1_, prod1_.EM_Obpgc_Printtemplate_Id as em_obp157_589_1_, prod1_.EM_Obpos2_No_Standard_Sale as em_obp158_589_1_, prod1_.EM_Prpres_Short_Description as em_prp159_589_1_, prod1_.EM_Obpos2_Imageclass as em_obp160_589_1_, prod1_.EM_Prpres_Description as em_prp161_589_1_, prod1_.EM_Obpos2_Color_ID as em_obp162_589_1_, prod1_.EM_Prpres_Meta_Title as em_prp163_589_1_, prod1_.EM_Obpos_Skipapplypromotions as em_obp164_589_1_, prod1_.EM_Prpres_Meta_Description as em_prp165_589_1_, prod1_.EM_Prpres_Friendly_Url as em_prp166_589_1_, prod1_.EM_Prpres_Tags as em_prp167_589_1_, prod1_.EM_Obpos2_Pim_Url as em_obp168_589_1_, prod1_.EM_Prpres_Upload as em_prp169_589_1_, prod1_.characteristicDimensionEnabled as charac170_589_1_, prod1_.Autogeneratebom as autoge171_589_1_, prod1_.EM_Obmupc_Multiupc_Desc as em_obm172_589_1_, prod1_.EM_Obserpr_Required_Followup as em_obs173_589_1_, prod1_.EM_Prpres_Managecat as em_prp174_589_1_, prod1_.EM_Prpres_Deactivate_On_Ps as em_prp175_589_1_, prod1_.EM_Gcnv_Discountsrestricted as em_gcn176_589_1_, prod1_.EM_Prpres_Out_Of_Stock as em_prp177_589_1_, prod1_.EM_Epa_Productcategory as em_epa178_589_1_, prod1_.EM_Etxf_Iselegible as em_etx179_589_1_, prod1_.EM_Gcnv_Aspaymentmethod as em_gcn180_589_1_, prod1_.EM_Gcnv_Taxablegiftcard as em_gcn181_589_1_, prod1_.EM_Obpgc_Printtempemail_ID as em_obp182_589_1_, prod1_.EM_Obpgc_Useautomaticseq as em_obp183_589_1_, prod1_.EM_Obfi_Ingredients_Allergens as em_obf184_589_1_, prod1_.EM_Prbs_Deliveryperiodname as em_prb185_589_1_, prod1_.EM_Obfi_Nutritional_Info as em_obf186_589_1_, prod1_.EM_Prbs_Deliveryperiodstart as em_prb187_589_1_, prod1_.EM_Gcnv_Giftcardextradays as em_gcn188_589_1_, prod1_.EM_Obfi_Storage_Instructions as em_obf189_589_1_, prod1_.EM_Prbs_Deliveryperiodend as em_prb190_589_1_, prod1_.EM_Prrqp_Abv as em_prr191_589_1_, prod1_.Special_Use as specia192_589_1_, prod1_.EM_Asf_Image_Name as em_asf193_589_1_, prod1_.EM_OBCOMBO_Discount_Link as em_obc194_589_1_, prod1_.EM_Obpos_Salesunitfactor as em_obp195_589_1_, prod1_.EM_OBDISC_Pack_Discount_Link as em_obd196_589_1_, prod1_.EM_Asf_Printlabels as em_asf197_589_1_, prod1_.EM_Asf_Prestashop_Title as em_asf198_589_1_, prod1_.EM_Prret_Multiupc_Json as em_prr199_589_1_, prod1_.Isgeneratevariantean as isgene200_589_1_, prod1_.EM_Obpos2_Isotf as em_obp201_589_1_, prod1_.EM_Obpos2_Request_Price as em_obp202_589_1_, prod1_.EM_Obpos_Epc as em_obp203_589_1_, prod1_.AD_Sequence_ID as ad_seq204_589_1_, prod1_.EM_Obpos_Sgtin as em_obp205_589_1_, prod1_.EM_Obpos_Neweqproduct_ID as em_obp206_589_1_, prod1_.EM_OBSERPR_Anonymize_Sp as em_obs207_589_1_, prod1_.EM_Asf_Replenish as em_asf208_589_1_, prod1_.EM_Am_Composition_ID as em_am_209_589_1_, prod1_.EM_Am_Campaign_ID as em_am_210_589_1_, prod1_.EM_Obserpr_Follow_Up_Mode as em_obs211_589_1_, prod1_.EM_Obserpr_Service_Mode as em_obs212_589_1_, prod1_.EM_Pruti_Addmodifycharact as em_pru213_589_1_, prod1_.EM_Asf_Vmi_Ode as em_asf214_589_1_, prod1_.EM_Asf_Vmi_Com as em_asf215_589_1_, prod1_.EM_Asf_Vmi_Onl as em_asf216_589_1_, prod1_.EM_Asf_Esrec as em_asf217_589_1_, prod1_.EM_Gcnv_Redemptiontype as em_gcn218_589_1_ from C_InvoiceLine this_ inner join C_Invoice inv2_ on this_.C_Invoice_ID = inv2_.C_Invoice_ID inner join M_Product prod1_ on this_.M_Product_ID = prod1_.M_Product_ID where this_.C_OrderLine_ID is null and prod1_.ProductType <> 'S' and inv2_.C_BPartner_ID = '5A4D458636A148C3B9E5AAB85F8ABEA7' and inv2_.IsSOTrx = 'N' and inv2_.C_DocType_ID = '75A3401B2D87400391D5C4A8D756C09F' 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';
Date: 2026-06-29 12:00:16 Duration: 15s451ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
13 12s384ms 17s826ms 15s105ms 2 30s210ms 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 #13
Day Hour Count Duration Avg duration Jun 29 12 1 12s384ms 12s384ms 19 1 17s826ms 17s826ms [ User: tad - Total duration: 30s210ms - Times executed: 2 ]
[ Application: Mashup Engine SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128) - Total duration: 30s210ms - 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-29 19:32:20 Duration: 17s826ms 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-29 12:31:11 Duration: 12s384ms 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 13s680ms 13s680ms 13s680ms 1 13s680ms 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 #14
Day Hour Count Duration Avg duration Jun 29 06 1 13s680ms 13s680ms [ User: tad - Total duration: 13s680ms - 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-29 06:00:15 Duration: 13s680ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
15 9s766ms 9s766ms 9s766ms 1 9s766ms select ? || ad_orginfo.taxid as vatorg, m_product.upc as globalitemnumber, ad_org.em_prbs_gln, ad_org.name as nameorg, round(sum(m_storage_detail.qtyonhand)) as qty from m_storage_detail left join m_locator on m_locator.m_locator_id = m_storage_detail.m_locator_id left join m_warehouse on m_warehouse.m_warehouse_id = m_locator.m_warehouse_id left join ad_org_warehouse on ad_org_warehouse.m_warehouse_id = m_warehouse.m_warehouse_id left join ad_org on ad_org.ad_org_id = ad_org_warehouse.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join m_product on m_product.m_product_id = m_storage_detail.m_product_id where ad_org.em_prbs_gln is not null and m_storage_detail.qtyonhand > ? and exists ( select ? from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) group by ?, ?, ?, ? order by ?, ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 29 06 1 9s766ms 9s766ms [ User: tad - Total duration: 9s766ms - Times executed: 1 ]
-
select 'ES' || ad_orginfo.taxid as vatorg, m_product.upc as globalitemnumber, ad_org.em_prbs_gln, ad_org.name as nameorg, round(sum(m_storage_detail.qtyonhand)) as qty from m_storage_detail left join m_locator on m_locator.m_locator_id = m_storage_detail.m_locator_id left join m_warehouse on m_warehouse.m_warehouse_id = m_locator.m_warehouse_id left join ad_org_warehouse on ad_org_warehouse.m_warehouse_id = m_warehouse.m_warehouse_id left join ad_org on ad_org.ad_org_id = ad_org_warehouse.ad_org_id left join ad_orginfo on ad_orginfo.ad_org_id = ad_org.ad_org_id left join m_product on m_product.m_product_id = m_storage_detail.m_product_id where ad_org.em_prbs_gln is not null and m_storage_detail.qtyonhand > 0 and exists ( select 1 from prbs_variant where prbs_variant.m_product_id = m_product.m_product_id) group by 1, 2, 3, 4 order by 1, 3;
Date: 2026-06-29 06:00:10 Duration: 9s766ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
16 9s49ms 9s49ms 9s49ms 1 9s49ms insert into m_ch_subset_value (ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_ch_subset_id, m_ch_value_id, m_ch_subset_value_id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 29 13 1 9s49ms 9s49ms [ User: tad - Total duration: 9s49ms - Times executed: 1 ]
-
insert into M_Ch_Subset_Value (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, M_Ch_Subset_ID, M_Ch_Value_ID, M_Ch_Subset_Value_ID) values ('9032A5586FD74B7AA85361E71EEB6E37', '0', 'Y', '2026-06-29 15:00:26.667', '100', '2026-06-29 15:00:26.667', '100', '5D5655FF796144028B5692F956290FA5', 'AAA71F6D38694F1AB9E374AF95FD9D6C', '88A4D33AF10C4C8D9E691A7B2C0FE03F');
Date: 2026-06-29 13:00:35 Duration: 9s49ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
17 5s588ms 10s238ms 7s913ms 2 15s827ms 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 #17
Day Hour Count Duration Avg duration Jun 29 16 1 10s238ms 10s238ms 19 1 5s588ms 5s588ms [ User: tad - Total duration: 15s827ms - 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-01', '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-29 16:18:31 Duration: 10s238ms 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-01', 'yyyy-MM-dd') and order0_.AD_Client_ID = '9032A5586FD74B7AA85361E71EEB6E37' and order0_.AD_OrgTrx_ID = '36C6F10C71334D55A0AFB7A803BF244B' 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-29 19:41:25 Duration: 5s588ms 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-01', '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-29 16:18:27 Duration: 0ms Database: openbravo User: tad Remote: 10.3.1.9
18 6s148ms 7s577ms 6s863ms 2 13s726ms select this_.prbs_variant_id as prbs_var1_1135_0_, this_.ad_client_id as ad_clien2_1135_0_, this_.ad_org_id as ad_org_i3_1135_0_, this_.isactive as isactive4_1135_0_, this_.created as created5_1135_0_, this_.createdby as createdb6_1135_0_, this_.updated as updated7_1135_0_, this_.updatedby as updatedb8_1135_0_, this_.itemnumbermaster as itemnumb9_1135_0_, this_.itemnumber as itemnum10_1135_0_, this_.itemname as itemnam11_1135_0_, this_.globaltradeitemnumbervariant as globalt12_1135_0_, this_.globaltradeitemnumbermaster as globalt13_1135_0_, this_.subbrandname as subbran14_1135_0_, this_.brandname as brandna15_1135_0_, this_.customscode as customs16_1135_0_, this_.customscodename as customs17_1135_0_, this_.valueaddedtaxrate as valuead18_1135_0_, this_.isitempricemarked as isitemp19_1135_0_, this_.isitembarcoded as isitemb20_1135_0_, this_.isbox as isbox21_1135_0_, this_.ismarketing as ismarke22_1135_0_, this_.issupplement as issuppl23_1135_0_, this_.isneveroutofstock as isnever24_1135_0_, this_.season as season25_1135_0_, this_.startdate as startda26_1135_0_, this_.enddate as enddate27_1135_0_, this_.periodname as periodn28_1135_0_, this_.description as descrip29_1135_0_, this_.descriptionshort as descrip30_1135_0_, this_.qualitydescription as quality31_1135_0_, this_.productgroupname as product32_1135_0_, this_.productgroupnumber as product33_1135_0_, this_.productsubgroupname as product34_1135_0_, this_.productsubgroupnumber as product35_1135_0_, this_.ncridentifier as ncriden36_1135_0_, this_.productclassificationcodebte as product37_1135_0_, this_.productclassificationcodebtev2 as product38_1135_0_, this_.targetgroup as targetg39_1135_0_, this_.isinvoiceunit as isinvoi40_1135_0_, this_.isdespatchunit as isdespa41_1135_0_, this_.isorderingunit as isorder42_1135_0_, this_.isconsumerunit as isconsu43_1135_0_, this_.countryname as country44_1135_0_, this_.countrycodealpha2 as country45_1135_0_, this_.countrycodealpha3 as country46_1135_0_, this_.countrycodenumber as country47_1135_0_, this_.itemnetweight as itemnet48_1135_0_, this_.itemgrossweight as itemgro49_1135_0_, this_.size as size50_1135_0_, this_.lengthsize as lengths51_1135_0_, this_.lengthname as lengthn52_1135_0_, this_.colourname as colourn53_1135_0_, this_.maincolourname as maincol54_1135_0_, this_.maincolournumber as maincol55_1135_0_, this_.colournumber as colourn56_1135_0_, this_.pantonenumber as pantone57_1135_0_, this_.hexcode as hexcode58_1135_0_, this_.fabriccompositiontext as fabricc59_1135_0_, this_.variantname as variant60_1135_0_, this_.variantsystemname as variant61_1135_0_, this_.stylevariantnumbering as styleva62_1135_0_, this_.varianttypenumbering as variant63_1135_0_, this_.variantnumbering as variant64_1135_0_, this_.grosspriceamount as grosspr65_1135_0_, this_.grosspricecurrency as grosspr66_1135_0_, this_.retailpriceamount as retailp67_1135_0_, this_.retailpricecurrency as retailp68_1135_0_, this_.m_product_id as m_produ69_1135_0_, this_.prbs_conf_id as prbs_co70_1135_0_ from prbs_variant this_ where this_.m_product_id is null and this_.prbs_conf_id = ? and this_.ad_org_id in (...) and this_.ad_client_id in (...) and this_.isactive = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 29 06 1 7s577ms 7s577ms 13 1 6s148ms 6s148ms [ User: tad - Total duration: 13s726ms - Times executed: 2 ]
-
select this_.Prbs_Variant_ID as prbs_var1_1135_0_, this_.AD_Client_ID as ad_clien2_1135_0_, this_.AD_Org_ID as ad_org_i3_1135_0_, this_.Isactive as isactive4_1135_0_, this_.Created as created5_1135_0_, this_.Createdby as createdb6_1135_0_, this_.Updated as updated7_1135_0_, this_.Updatedby as updatedb8_1135_0_, this_.Itemnumbermaster as itemnumb9_1135_0_, this_.Itemnumber as itemnum10_1135_0_, this_.Itemname as itemnam11_1135_0_, this_.Globaltradeitemnumbervariant as globalt12_1135_0_, this_.Globaltradeitemnumbermaster as globalt13_1135_0_, this_.Subbrandname as subbran14_1135_0_, this_.Brandname as brandna15_1135_0_, this_.Customscode as customs16_1135_0_, this_.Customscodename as customs17_1135_0_, this_.Valueaddedtaxrate as valuead18_1135_0_, this_.Isitempricemarked as isitemp19_1135_0_, this_.Isitembarcoded as isitemb20_1135_0_, this_.Isbox as isbox21_1135_0_, this_.Ismarketing as ismarke22_1135_0_, this_.Issupplement as issuppl23_1135_0_, this_.Isneveroutofstock as isnever24_1135_0_, this_.Season as season25_1135_0_, this_.Startdate as startda26_1135_0_, this_.Enddate as enddate27_1135_0_, this_.Periodname as periodn28_1135_0_, this_.Description as descrip29_1135_0_, this_.Descriptionshort as descrip30_1135_0_, this_.Qualitydescription as quality31_1135_0_, this_.Productgroupname as product32_1135_0_, this_.Productgroupnumber as product33_1135_0_, this_.Productsubgroupname as product34_1135_0_, this_.Productsubgroupnumber as product35_1135_0_, this_.Ncridentifier as ncriden36_1135_0_, this_.Productclassificationcodebte as product37_1135_0_, this_.Productclassificationcodebtev2 as product38_1135_0_, this_.Targetgroup as targetg39_1135_0_, this_.Isinvoiceunit as isinvoi40_1135_0_, this_.Isdespatchunit as isdespa41_1135_0_, this_.Isorderingunit as isorder42_1135_0_, this_.Isconsumerunit as isconsu43_1135_0_, this_.Countryname as country44_1135_0_, this_.Countrycodealpha2 as country45_1135_0_, this_.Countrycodealpha3 as country46_1135_0_, this_.Countrycodenumber as country47_1135_0_, this_.Itemnetweight as itemnet48_1135_0_, this_.Itemgrossweight as itemgro49_1135_0_, this_.Size as size50_1135_0_, this_.Lengthsize as lengths51_1135_0_, this_.Lengthname as lengthn52_1135_0_, this_.Colourname as colourn53_1135_0_, this_.Maincolourname as maincol54_1135_0_, this_.Maincolournumber as maincol55_1135_0_, this_.Colournumber as colourn56_1135_0_, this_.Pantonenumber as pantone57_1135_0_, this_.Hexcode as hexcode58_1135_0_, this_.Fabriccompositiontext as fabricc59_1135_0_, this_.Variantname as variant60_1135_0_, this_.Variantsystemname as variant61_1135_0_, this_.Stylevariantnumbering as styleva62_1135_0_, this_.Varianttypenumbering as variant63_1135_0_, this_.Variantnumbering as variant64_1135_0_, this_.Grosspriceamount as grosspr65_1135_0_, this_.Grosspricecurrency as grosspr66_1135_0_, this_.Retailpriceamount as retailp67_1135_0_, this_.Retailpricecurrency as retailp68_1135_0_, this_.M_Product_ID as m_produ69_1135_0_, this_.Prbs_Conf_ID as prbs_co70_1135_0_ from prbs_variant this_ where this_.M_Product_ID is null and this_.Prbs_Conf_ID = '54C515E3EA2D4D1D8C119FFBBDFDC16C' 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';
Date: 2026-06-29 06:00:10 Duration: 7s577ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
-
select this_.Prbs_Variant_ID as prbs_var1_1135_0_, this_.AD_Client_ID as ad_clien2_1135_0_, this_.AD_Org_ID as ad_org_i3_1135_0_, this_.Isactive as isactive4_1135_0_, this_.Created as created5_1135_0_, this_.Createdby as createdb6_1135_0_, this_.Updated as updated7_1135_0_, this_.Updatedby as updatedb8_1135_0_, this_.Itemnumbermaster as itemnumb9_1135_0_, this_.Itemnumber as itemnum10_1135_0_, this_.Itemname as itemnam11_1135_0_, this_.Globaltradeitemnumbervariant as globalt12_1135_0_, this_.Globaltradeitemnumbermaster as globalt13_1135_0_, this_.Subbrandname as subbran14_1135_0_, this_.Brandname as brandna15_1135_0_, this_.Customscode as customs16_1135_0_, this_.Customscodename as customs17_1135_0_, this_.Valueaddedtaxrate as valuead18_1135_0_, this_.Isitempricemarked as isitemp19_1135_0_, this_.Isitembarcoded as isitemb20_1135_0_, this_.Isbox as isbox21_1135_0_, this_.Ismarketing as ismarke22_1135_0_, this_.Issupplement as issuppl23_1135_0_, this_.Isneveroutofstock as isnever24_1135_0_, this_.Season as season25_1135_0_, this_.Startdate as startda26_1135_0_, this_.Enddate as enddate27_1135_0_, this_.Periodname as periodn28_1135_0_, this_.Description as descrip29_1135_0_, this_.Descriptionshort as descrip30_1135_0_, this_.Qualitydescription as quality31_1135_0_, this_.Productgroupname as product32_1135_0_, this_.Productgroupnumber as product33_1135_0_, this_.Productsubgroupname as product34_1135_0_, this_.Productsubgroupnumber as product35_1135_0_, this_.Ncridentifier as ncriden36_1135_0_, this_.Productclassificationcodebte as product37_1135_0_, this_.Productclassificationcodebtev2 as product38_1135_0_, this_.Targetgroup as targetg39_1135_0_, this_.Isinvoiceunit as isinvoi40_1135_0_, this_.Isdespatchunit as isdespa41_1135_0_, this_.Isorderingunit as isorder42_1135_0_, this_.Isconsumerunit as isconsu43_1135_0_, this_.Countryname as country44_1135_0_, this_.Countrycodealpha2 as country45_1135_0_, this_.Countrycodealpha3 as country46_1135_0_, this_.Countrycodenumber as country47_1135_0_, this_.Itemnetweight as itemnet48_1135_0_, this_.Itemgrossweight as itemgro49_1135_0_, this_.Size as size50_1135_0_, this_.Lengthsize as lengths51_1135_0_, this_.Lengthname as lengthn52_1135_0_, this_.Colourname as colourn53_1135_0_, this_.Maincolourname as maincol54_1135_0_, this_.Maincolournumber as maincol55_1135_0_, this_.Colournumber as colourn56_1135_0_, this_.Pantonenumber as pantone57_1135_0_, this_.Hexcode as hexcode58_1135_0_, this_.Fabriccompositiontext as fabricc59_1135_0_, this_.Variantname as variant60_1135_0_, this_.Variantsystemname as variant61_1135_0_, this_.Stylevariantnumbering as styleva62_1135_0_, this_.Varianttypenumbering as variant63_1135_0_, this_.Variantnumbering as variant64_1135_0_, this_.Grosspriceamount as grosspr65_1135_0_, this_.Grosspricecurrency as grosspr66_1135_0_, this_.Retailpriceamount as retailp67_1135_0_, this_.Retailpricecurrency as retailp68_1135_0_, this_.M_Product_ID as m_produ69_1135_0_, this_.Prbs_Conf_ID as prbs_co70_1135_0_ from prbs_variant this_ where this_.M_Product_ID is null and this_.Prbs_Conf_ID = '54C515E3EA2D4D1D8C119FFBBDFDC16C' 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';
Date: 2026-06-29 13:00:19 Duration: 6s148ms Database: openbravo User: tad Remote: 10.3.1.9 Bind query: yes
19 6s512ms 6s512ms 6s512ms 1 6s512ms select string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ?) from c_acctschema ca;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 29 07 1 6s512ms 6s512ms [ User: tad - Total duration: 6s512ms - Times executed: 1 ]
[ Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) - Total duration: 6s512ms - Times executed: 1 ]
-
SELECT string_agg(distinct prac_checkacct_config (ca.c_acctschema_id, ca."name"), ' \n ') from c_acctschema ca;
Date: 2026-06-29 07:05:13 Duration: 6s512ms Database: openbravo User: tad Remote: 10.0.0.13 Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256)
20 5s840ms 6s284ms 6s62ms 2 12s124ms 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 #20
Day Hour Count Duration Avg duration Jun 29 01 1 6s284ms 6s284ms 13 1 5s840ms 5s840ms [ User: tad - Total duration: 12s124ms - 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-29 01:00:07 Duration: 6s284ms 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-29 13:00:06 Duration: 5s840ms 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 1 0ms 1 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jun 29 21 1 0ms 0ms [ User: tad - Total duration: 8m32s - Times executed: 1 ]
-
;
Date: Duration: 0ms Database: postgres User: openbravo Remote: tad Application: 10.3.1.9
-
Events
Log levels
Key values
- 2,159,612 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
- 26 ERROR entries
- 0 WARNING entries
- 0 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 24 Max number of times the same event was reported
- 27 Total events found
Rank Times reported Error 1 24 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 28 22 1 23 1 Jun 29 00 1 01 1 02 1 03 1 04 1 05 1 06 1 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 1 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-28 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-28 23:00:01 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 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
2 1 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 29 09 1 - FATAL: database "etendo" does not exist
Date: 2026-06-29 09:26:30 Database: etendo Application: psql SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256) User: tad Remote: 10.3.1.9
3 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 29 16 1 - ERROR: duplicate key value violates unique constraint "m_productprice_pricelist_ve_un"
Detail: Key (m_pricelist_version_id, m_product_id, COALESCE(c_aum, 'BUM'::character varying))=(D9C34FEC91454BFBADA0E3B1B2F40415, 9213313902314DFFA46D4363FD41C1E3, BUM) already exists.
Statement: insert into M_ProductPrice (M_PriceList_Version_ID, M_Product_ID, AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, PriceList, PriceStd, PriceLimit, Cost, Algorithm, em_pos2plp_printpriceoptions, EM_Pruti_Inheritprice, EM_Pruti_Export_Prices, em_obpos2_printpriceoptions, EM_Obpos2_Printpriceoptionsui, EM_Obpos_Skipapplypromotions, EM_Obpos_Useextpromotions, EM_Obpos2_Ispromotionalonly, EM_Obpos2_Nonsellable, M_ProductPrice_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)Date: 2026-06-29 16:13:13 Database: openbravo Application: User: tad Remote: 10.3.1.9
4 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 29 19 1 - ERROR: canceling statement due to user request
Statement: 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)<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-01', '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-29 19:41:24 Database: openbravo Application: User: tad Remote: 10.3.1.9