-
Global information
- Generated on Wed Jul 15 20:00:09 2026
- Log file: /var/log/postgresql/postgresql-12-main.log
- Parsed 71,881 log entries in 7s
- Log start from 2026-07-15 07:00:01 to 2026-07-15 22:00:00
-
Overview
Global Stats
- 37 Number of unique normalized queries
- 527 Number of queries
- 48m3s Total query duration
- 2026-07-15 07:00:03 First query
- 2026-07-15 21:55:08 Last query
- 3 queries/s at 2026-07-15 12:58:41 Query peak
- 48m3s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 48m3s Execute total duration
- 0 Number of events
- 0 Number of unique normalized events
- 0 Max number of times the same event was reported
- 0 Number of cancellation
- 192 Total number of automatic vacuums
- 280 Total number of automatic analyzes
- 631 Number temporary file
- 981.90 MiB Max size of temporary file
- 55.78 MiB Average size of temporary file
- 10,459 Total number of sessions
- 5 sessions at 2026-07-15 09:00:02 Session peak
- 2d18h28m6s Total duration of sessions
- 22s878ms Average duration of sessions
- 0 Average queries per session
- 275ms Average queries duration per session
- 10,459 Total number of connections
- 9 connections/s at 2026-07-15 11:50:12 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2026-07-15 12:58:41 Date
SELECT Traffic
Key values
- 0 queries/s Query Peak
- Date
INSERT/UPDATE/DELETE Traffic
Key values
- 3 queries/s Query Peak
- 2026-07-15 12:58:41 Date
Queries duration
Key values
- 48m3s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 15 07 53 0ms 50s81ms 5s919ms 11s509ms 45s806ms 1m8s 08 31 0ms 6s711ms 3s927ms 10s324ms 10s838ms 15s587ms 09 33 0ms 8s742ms 3s892ms 10s278ms 11s296ms 23s653ms 10 31 0ms 6s990ms 3s879ms 10s255ms 11s196ms 15s369ms 11 31 0ms 6s68ms 4s2ms 10s104ms 11s727ms 15s472ms 12 44 0ms 1m14s 8s472ms 12s13ms 41s356ms 1m48s 13 41 0ms 1m11s 9s429ms 12s484ms 37s974ms 1m50s 14 32 0ms 1m13s 6s202ms 10s499ms 11s130ms 1m32s 15 31 0ms 7s621ms 4s107ms 10s492ms 12s506ms 16s464ms 16 33 0ms 6s169ms 4s8ms 10s399ms 11s672ms 14s267ms 17 31 0ms 7s696ms 4s154ms 11s279ms 12s485ms 17s131ms 18 33 0ms 7s18ms 3s981ms 10s480ms 11s689ms 15s225ms 19 41 0ms 1m9s 8s658ms 12s76ms 36s147ms 1m9s 20 31 0ms 7s674ms 3s957ms 10s751ms 11s135ms 16s787ms 21 31 0ms 6s312ms 3s860ms 10s261ms 11s458ms 14s396ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 15 07 19 0 3s871ms 4s56ms 6s286ms 7s100ms 08 19 0 3s657ms 4s141ms 6s457ms 7s281ms 09 19 0 3s916ms 4s66ms 6s417ms 7s29ms 10 19 0 3s652ms 4s28ms 6s245ms 7s244ms 11 19 0 3s646ms 4s113ms 6s263ms 7s396ms 12 32 0 10s45ms 4s831ms 7s525ms 1m14s 13 29 0 11s467ms 4s175ms 7s330ms 1m46s 14 20 0 7s349ms 4s233ms 6s602ms 7s44ms 15 19 0 3s853ms 4s147ms 6s576ms 7s710ms 16 21 0 3s805ms 4s119ms 7s15ms 9s557ms 17 19 0 3s972ms 4s117ms 6s929ms 8s723ms 18 21 0 3s831ms 4s108ms 6s663ms 9s343ms 19 29 0 10s409ms 6s682ms 11s496ms 1m8s 20 19 0 3s719ms 4s100ms 6s648ms 6s830ms 21 19 0 3s594ms 4s26ms 6s388ms 6s761ms 22 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 15 07 0 12 0 0 4s615ms 0ms 3s814ms 4s848ms 08 0 12 0 0 4s354ms 0ms 3s907ms 4s770ms 09 0 12 0 0 4s241ms 0ms 3s824ms 4s603ms 10 0 12 0 0 4s238ms 0ms 3s851ms 4s624ms 11 0 12 0 0 4s566ms 0ms 3s826ms 4s784ms 12 0 12 0 0 4s277ms 0ms 3s845ms 4s734ms 13 0 12 0 0 4s503ms 0ms 3s821ms 5s242ms 14 0 12 0 0 4s291ms 0ms 3s846ms 4s628ms 15 0 12 0 0 4s509ms 0ms 3s904ms 4s920ms 16 0 12 0 0 4s362ms 0ms 3s803ms 4s727ms 17 0 12 0 0 4s443ms 0ms 3s943ms 4s863ms 18 0 12 0 0 4s245ms 0ms 3s855ms 4s565ms 19 0 12 0 0 4s427ms 0ms 3s939ms 4s836ms 20 0 12 0 0 4s332ms 0ms 3s930ms 4s763ms 21 0 12 0 0 4s281ms 0ms 3s888ms 4s620ms 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 15 07 0 30 30.00 0.00% 08 0 30 30.00 0.00% 09 0 32 32.00 0.00% 10 0 30 30.00 0.00% 11 0 30 30.00 0.00% 12 0 43 43.00 0.00% 13 0 40 40.00 0.00% 14 0 31 31.00 0.00% 15 0 30 30.00 0.00% 16 0 32 32.00 0.00% 17 0 30 30.00 0.00% 18 0 32 32.00 0.00% 19 0 40 40.00 0.00% 20 0 30 30.00 0.00% 21 0 30 30.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 15 07 698 0.19/s 08 697 0.19/s 09 702 0.20/s 10 697 0.19/s 11 698 0.19/s 12 708 0.20/s 13 704 0.20/s 14 702 0.20/s 15 704 0.20/s 16 705 0.20/s 17 703 0.20/s 18 698 0.19/s 19 706 0.20/s 20 668 0.19/s 21 667 0.19/s 22 2 0.00/s Day Hour Count Average Duration Jul 15 07 700 21s271ms 08 697 18ms 09 702 23s186ms 10 697 18ms 11 699 25s284ms 12 705 1m6s 13 706 1m14s 14 703 12s885ms 15 703 20s876ms 16 705 26s179ms 17 703 18s8ms 18 699 20s993ms 19 706 29s605ms 20 667 19ms 21 667 18ms 22 0 0ms -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2026-07-15 11:50:12 Date
Connections per database
Key values
- openbravo Main Database
- 10,459 connections Total
Connections per user
Key values
- postgres Main User
- 10,459 connections Total
-
Sessions
Simultaneous sessions
Key values
- 5 sessions Session Peak
- 2026-07-15 09:00:02 Date
Histogram of session times
Key values
- 10,362 0-500ms duration
Sessions per database
Key values
- openbravo Main Database
- 10,459 sessions Total
Sessions per user
Key values
- postgres Main User
- 10,459 sessions Total
Sessions per host
Key values
- [local] Main Host
- 10,459 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,524 buffers Checkpoint Peak
- 2026-07-15 17:38:14 Date
- 269.962 seconds Highest write time
- 0.046 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2026-07-15 10:53:40 Date
Checkpoints distance
Key values
- 85.70 Mo Distance Peak
- 2026-07-15 09:08:06 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 15 07 2,550 257.289s 0.015s 257.361s 08 1,714 172.892s 0.013s 172.958s 09 5,775 308.454s 0.013s 308.544s 10 1,695 171.102s 0.015s 171.172s 11 2,297 231.151s 0.018s 231.237s 12 7,274 729.883s 0.088s 730.021s 13 8,587 862.612s 0.039s 862.729s 14 8,153 820.096s 0.04s 820.219s 15 4,711 474.102s 0.025s 474.189s 16 6,886 692.166s 0.03s 692.257s 17 15,334 1,254.966s 0.059s 1,255.122s 18 7,535 756.599s 0.038s 756.71s 19 7,800 783.181s 0.032s 783.277s 20 2,398 241.66s 0.013s 241.731s 21 2,091 210.682s 0.015s 210.746s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 15 07 0 1 0 244 0.002s 0.012s 08 0 1 0 207 0.001s 0.012s 09 0 3 0 259 0.002s 0.012s 10 0 1 0 221 0.002s 0.012s 11 0 1 0 391 0.003s 0.012s 12 0 3 0 2,200 0.035s 0.011s 13 0 4 0 2,111 0.004s 0.012s 14 0 4 0 2,056 0.003s 0.013s 15 0 2 0 1,506 0.002s 0.012s 16 0 3 0 1,638 0.002s 0.012s 17 0 7 0 2,300 0.003s 0.012s 18 0 3 0 2,173 0.004s 0.012s 19 0 3 0 1,756 0.002s 0.012s 20 0 2 0 446 0.001s 0.011s 21 0 1 0 204 0.002s 0.011s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 15 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Jul 15 07 1,433.83 kB 11,002.83 kB 08 1,154.92 kB 7,553.83 kB 09 3,873.00 kB 26,356.50 kB 10 1,131.50 kB 8,252.00 kB 11 1,535.58 kB 8,198.75 kB 12 4,827.18 kB 10,578.00 kB 13 5,270.25 kB 12,971.83 kB 14 4,595.85 kB 9,542.85 kB 15 2,842.75 kB 8,560.33 kB 16 4,275.33 kB 12,036.08 kB 17 9,454.42 kB 22,605.00 kB 18 4,453.25 kB 16,427.92 kB 19 4,659.25 kB 9,771.42 kB 20 1,652.64 kB 9,813.45 kB 21 1,446.45 kB 9,073.00 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 453.67 MiB Temp Files size Peak
- 2026-07-15 19:47:30 Date
Number of temporary files
Key values
- 8 per second Temp Files Peak
- 2026-07-15 13:56:43 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 15 07 24 1.38 GiB 58.89 MiB 08 24 1.38 GiB 58.89 MiB 09 24 1.38 GiB 58.89 MiB 10 24 1.38 GiB 58.89 MiB 11 24 1.38 GiB 58.89 MiB 12 101 5.28 GiB 53.50 MiB 13 137 6.95 GiB 51.93 MiB 14 25 1.63 GiB 66.89 MiB 15 24 1.38 GiB 58.90 MiB 16 25 1.40 GiB 57.20 MiB 17 24 1.38 GiB 58.91 MiB 18 25 1.40 GiB 57.20 MiB 19 102 5.29 GiB 53.16 MiB 20 24 1.38 GiB 58.91 MiB 21 24 1.38 GiB 58.91 MiB 22 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 94 5.18 GiB 11.08 MiB 653.01 MiB 56.44 MiB select organizati9_.name as col_0_0_, organizati9_.ad_org_id as col_1_0_, businesspa6_.c_bpartner_id as col_2_0_, businesspa6_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet14_.taxamt) from c_orderlinetax orderlinet14_ where orderlinet14_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join c_bpartner businesspa6_ on order5_.c_bpartner_id = businesspa6_.c_bpartner_id left outer join m_product_category productcat7_ on product4_.m_product_category_id = productcat7_.m_product_category_id left outer join obpos_applications obpos_appl8_ on order5_.em_obpos_applications_id = obpos_appl8_.obpos_applications_id left outer join ad_org organizati9_ on order5_.ad_org_id = organizati9_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl8_.ad_client_id = ? and (obpos_appl8_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati9_.name, organizati9_.ad_org_id, businesspa6_.name, businesspa6_.c_bpartner_id order by col_7_0_ desc, col_4_0_ desc, organizati9_.name, businesspa6_.name limit ?;-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:52:34 Duration: 41s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 13:07:10 Duration: 39s71ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:59:16 Duration: 37s752ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
2 180 10.35 GiB 58.89 MiB 58.91 MiB 58.90 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 = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:05:15 Duration: 8s862ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 11:00:11 Duration: 6s68ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:00:14 Duration: 6s59ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
3 180 10.35 GiB 58.89 MiB 58.91 MiB 58.90 MiB select * from ( select f.c_invoice_id as referencekey_id, ;-
SELECT * FROM ( select f.c_invoice_id as referencekey_id, ;
Date: 2026-07-15 07:00:07 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
4 128 8.48 GiB 10.51 MiB 981.90 MiB 67.85 MiB select organizati8_.name as col_0_0_, organizati8_.ad_org_id as col_1_0_, product4_.m_product_id as col_2_0_, product4_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet9_.taxamt) from c_orderlinetax orderlinet9_ where orderlinet9_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join m_product_category productcat6_ on product4_.m_product_category_id = productcat6_.m_product_category_id left outer join obpos_applications obpos_appl7_ on order5_.em_obpos_applications_id = obpos_appl7_.obpos_applications_id left outer join ad_org organizati8_ on order5_.ad_org_id = organizati8_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl7_.ad_client_id = ? and (obpos_appl7_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati8_.name, organizati8_.ad_org_id, product4_.name, product4_.m_product_id order by col_7_0_ desc, col_4_0_ desc, organizati8_.name, product4_.name limit ?;-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 12:53:07 Duration: 1m14s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 14:00:27 Duration: 1m13s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 13:07:42 Duration: 1m11s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 981.90 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 13:56:39 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 653.01 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 13:56:35 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 652.96 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 12:52:00 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 453.67 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 19:47:30 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 453.66 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 19:28:23 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 453.42 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 13:59:22 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 453.40 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 13:06:40 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 453.39 MiB select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = $1 and (obpos_appl8_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit $6;[ Date: 2026-07-15 12:58:49 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 258.65 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 19:29:23 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 258.65 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 19:48:29 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 258.60 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 13:57:38 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 258.60 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 14:00:27 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 258.59 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 12:59:49 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 258.59 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 13:07:42 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 258.59 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 12:53:08 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 228.20 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 19:47:33 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 228.18 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 19:28:26 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 227.97 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 13:59:26 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 227.97 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 13:06:44 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 227.97 MiB select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = $1 and (obpos_appl7_.AD_Org_ID in ($2, $3)) and order5_.Created > to_date($4, 'YYYY-MM-DD') and order5_.Created & lt; to_date($5, 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit $6;[ Date: 2026-07-15 12:58:53 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.ad_pinstance_para (63) Main table analyzed (database openbravo)
- 280 analyzes Total
Table Number of analyzes openbravo.public.ad_pinstance_para 63 openbravo.public.c_import_entry 34 openbravo.public.ad_session 31 openbravo.profile.last_stat_tables_srv1 15 openbravo.profile.last_stat_user_functions_srv1 15 openbravo.public.ad_pinstance 15 openbravo.profile.last_stat_indexes_srv1 15 openbravo.profile.last_stat_statements_srv1 15 openbravo.public.ad_process_request 9 openbravo.public.prpres_conf 8 openbravo.profile.tables_list 8 openbravo.public.obpos_applications 7 openbravo.profile.stmt_list 6 openbravo.public.ad_ep_instance_para 5 openbravo.profile.last_stat_activity_count_srv1 4 openbravo.profile.last_extension_versions 4 openbravo.profile.indexes_list 4 openbravo.profile.funcs_list 4 openbravo.public.ad_sequence 3 openbravo.public.fin_financial_account 2 openbravo.profile.sample_stat_indexes 2 openbravo.profile.sample_statements 2 openbravo.profile.sample_stat_user_functions 2 openbravo.profile.sample_stat_tables 2 openbravo.profile.sample_statements_total 1 openbravo.profile.sample_stat_indexes_total 1 openbravo.profile.sample_stat_database 1 openbravo.profile.sample_stat_tables_total 1 openbravo.public.m_stock_proposed 1 Total 280 Vacuums per table
Key values
- public.ad_pinstance_para (52) Main table vacuumed on database openbravo
- 192 vacuums Total
Table Number of vacuums Index scans openbravo.public.ad_pinstance_para 52 52 openbravo.profile.last_stat_indexes_srv1 20 15 openbravo.profile.last_stat_statements_srv1 20 15 openbravo.profile.last_stat_tables_srv1 20 15 openbravo.profile.last_stat_user_functions_srv1 20 15 openbravo.public.c_import_entry 18 18 openbravo.pg_toast.pg_toast_70826 8 8 openbravo.public.ad_pinstance 6 6 openbravo.profile.tables_list 5 5 openbravo.profile.funcs_list 4 4 openbravo.profile.stmt_list 4 4 openbravo.public.ad_ep_instance_para 3 3 openbravo.profile.indexes_list 3 3 openbravo.profile.last_stat_activity_count_srv1 2 0 openbravo.pg_toast.pg_toast_2619 2 2 openbravo.profile.last_extension_versions 2 2 openbravo.profile.last_stat_database_srv1 1 1 openbravo.pg_catalog.pg_statistic 1 1 openbravo.pg_toast.pg_toast_68754 1 1 Total 192 170 Tuples removed per table
Key values
- profile.last_stat_indexes_srv1 (83063) Main table with removed tuples on database openbravo
- 167907 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed openbravo.profile.last_stat_indexes_srv1 20 15 83063 327 openbravo.profile.last_stat_tables_srv1 20 15 51197 240 openbravo.profile.last_stat_statements_srv1 20 15 16836 175 openbravo.profile.last_stat_user_functions_srv1 20 15 5983 2 openbravo.public.ad_pinstance_para 52 52 5830 118 openbravo.pg_toast.pg_toast_70826 8 8 996 227 openbravo.public.c_import_entry 18 18 980 114 openbravo.pg_catalog.pg_statistic 1 1 691 0 openbravo.profile.tables_list 5 5 543 0 openbravo.pg_toast.pg_toast_2619 2 2 450 0 openbravo.public.ad_pinstance 6 6 398 1 openbravo.profile.stmt_list 4 4 378 0 openbravo.profile.indexes_list 3 3 197 0 openbravo.profile.funcs_list 4 4 140 0 openbravo.profile.last_extension_versions 2 2 112 0 openbravo.profile.last_stat_activity_count_srv1 2 0 48 2 openbravo.public.ad_ep_instance_para 3 3 44 3 openbravo.profile.last_stat_database_srv1 1 1 12 0 openbravo.pg_toast.pg_toast_68754 1 1 9 0 Total 192 170 167,907 1,209 Pages removed per table
Key values
- profile.last_stat_indexes_srv1 (327) Main table with removed pages on database openbravo
- 1209 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed openbravo.profile.last_stat_indexes_srv1 20 15 83063 327 openbravo.profile.last_stat_tables_srv1 20 15 51197 240 openbravo.pg_toast.pg_toast_70826 8 8 996 227 openbravo.profile.last_stat_statements_srv1 20 15 16836 175 openbravo.public.ad_pinstance_para 52 52 5830 118 openbravo.public.c_import_entry 18 18 980 114 openbravo.public.ad_ep_instance_para 3 3 44 3 openbravo.profile.last_stat_activity_count_srv1 2 0 48 2 openbravo.profile.last_stat_user_functions_srv1 20 15 5983 2 openbravo.public.ad_pinstance 6 6 398 1 openbravo.profile.tables_list 5 5 543 0 openbravo.profile.last_stat_database_srv1 1 1 12 0 openbravo.profile.funcs_list 4 4 140 0 openbravo.profile.indexes_list 3 3 197 0 openbravo.pg_catalog.pg_statistic 1 1 691 0 openbravo.profile.stmt_list 4 4 378 0 openbravo.pg_toast.pg_toast_2619 2 2 450 0 openbravo.pg_toast.pg_toast_68754 1 1 9 0 openbravo.profile.last_extension_versions 2 2 112 0 Total 192 170 167,907 1,209 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 15 07 24 9 08 5 7 09 6 6 10 7 7 11 6 8 12 19 30 13 17 31 14 15 24 15 10 26 16 17 26 17 18 29 18 15 26 19 20 31 20 8 10 21 5 10 22 0 0 - 0 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
- 323 Total read queries
- 180 Total write queries
Queries by database
Key values
- openbravo Main database
- 527 Requests
- 48m3s (openbravo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 512 Requests
User Request type Count Duration postgres Total 15 26s365ms SELECT 15 26s365ms tad Total 512 47m36s COPY 22 3m4s SELECT 308 31m20s UPDATE 180 13m8s others 2 3s151ms Duration by user
Key values
- 47m36s (tad) Main time consuming user
User Request type Count Duration postgres Total 15 26s365ms SELECT 15 26s365ms tad Total 512 47m36s COPY 22 3m4s SELECT 308 31m20s UPDATE 180 13m8s others 2 3s151ms Queries by host
Key values
- 127.0.0.1 Main host
- 512 Requests
- 47m36s (127.0.0.1)
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 490 Requests
- 44m32s (openbravo)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-15 18:32:15 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 507 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 1m14s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 12:53:07 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
2 1m13s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 14:00:27 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
3 1m11s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 13:07:42 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
4 1m10s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 12:59:49 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 1m9s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 13:57:38 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
6 1m9s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 19:29:23 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 1m8s select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';[ Date: 2026-07-15 19:48:29 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
8 50s81ms COPY public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) TO stdout;[ Date: 2026-07-15 07:00:56 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: pg_dump ]
9 41s356ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 12:52:34 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 39s71ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 13:07:10 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
11 37s752ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 12:59:16 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 36s805ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 13:59:50 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
13 36s711ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 13:57:05 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 35s50ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 19:28:49 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
15 33s903ms select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';[ Date: 2026-07-15 19:47:55 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 18s779ms COPY public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) TO stdout;[ Date: 2026-07-15 07:02:04 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: pg_dump ]
17 15s868ms COPY public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) TO stdout;[ Date: 2026-07-15 07:01:21 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: pg_dump ]
18 12s445ms COPY public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) TO stdout;[ Date: 2026-07-15 07:03:19 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: pg_dump ]
19 12s72ms COPY public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) TO stdout;[ Date: 2026-07-15 07:03:05 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: pg_dump ]
20 11s673ms COPY public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) TO stdout;[ Date: 2026-07-15 07:02:25 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: pg_dump ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 14m30s 180 3s959ms 8s742ms 4s834ms 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) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 15 07 12 59s207ms 4s933ms 08 12 56s290ms 4s690ms 09 12 58s753ms 4s896ms 10 12 56s602ms 4s716ms 11 12 56s484ms 4s707ms 12 12 59s828ms 4s985ms 13 12 59s937ms 4s994ms 14 12 58s470ms 4s872ms 15 12 59s529ms 4s960ms 16 12 56s819ms 4s734ms 17 12 1m 5s48ms 18 12 57s434ms 4s786ms 19 12 57s682ms 4s806ms 20 12 57s53ms 4s754ms 21 12 55s573ms 4s631ms [ User: tad - Total duration: 14m30s - Times executed: 180 ]
[ Application: openbravo - Total duration: 14m30s - Times executed: 180 ]
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 09:00:08 Duration: 8s742ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 12:00:08 Duration: 8s633ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 13:00:08 Duration: 8s264ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 13m8s 180 3s788ms 8s862ms 4s379ms 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);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 15 07 12 55s385ms 4s615ms 08 12 52s248ms 4s354ms 09 12 50s902ms 4s241ms 10 12 50s866ms 4s238ms 11 12 54s795ms 4s566ms 12 12 51s334ms 4s277ms 13 12 54s45ms 4s503ms 14 12 51s500ms 4s291ms 15 12 54s116ms 4s509ms 16 12 52s354ms 4s362ms 17 12 53s323ms 4s443ms 18 12 50s944ms 4s245ms 19 12 53s128ms 4s427ms 20 12 51s993ms 4s332ms 21 12 51s383ms 4s281ms [ User: tad - Total duration: 13m8s - Times executed: 180 ]
[ Application: openbravo - Total duration: 13m8s - Times executed: 180 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:05:15 Duration: 8s862ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 11:00:11 Duration: 6s68ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:00:14 Duration: 6s59ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 8m37s 12 3s214ms 1m14s 43s103ms select organizati8_.name as col_0_0_, organizati8_.ad_org_id as col_1_0_, product4_.m_product_id as col_2_0_, product4_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet9_.taxamt) from c_orderlinetax orderlinet9_ where orderlinet9_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join m_product_category productcat6_ on product4_.m_product_category_id = productcat6_.m_product_category_id left outer join obpos_applications obpos_appl7_ on order5_.em_obpos_applications_id = obpos_appl7_.obpos_applications_id left outer join ad_org organizati8_ on order5_.ad_org_id = organizati8_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl7_.ad_client_id = ? and (obpos_appl7_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati8_.name, organizati8_.ad_org_id, product4_.name, product4_.m_product_id order by col_7_0_ desc, col_4_0_ desc, organizati8_.name, product4_.name limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 15 12 3 2m30s 50s219ms 13 2 2m20s 1m10s 14 1 1m13s 1m13s 16 1 3s562ms 3s562ms 18 1 3s214ms 3s214ms 19 4 2m25s 36s485ms [ User: tad - Total duration: 8m37s - Times executed: 12 ]
[ Application: openbravo - Total duration: 8m37s - Times executed: 12 ]
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 12:53:07 Duration: 1m14s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 14:00:27 Duration: 1m13s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 13:07:42 Duration: 1m11s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 4m53s 12 5s952ms 41s356ms 24s485ms select organizati9_.name as col_0_0_, organizati9_.ad_org_id as col_1_0_, businesspa6_.c_bpartner_id as col_2_0_, businesspa6_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet14_.taxamt) from c_orderlinetax orderlinet14_ where orderlinet14_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join c_bpartner businesspa6_ on order5_.c_bpartner_id = businesspa6_.c_bpartner_id left outer join m_product_category productcat7_ on product4_.m_product_category_id = productcat7_.m_product_category_id left outer join obpos_applications obpos_appl8_ on order5_.em_obpos_applications_id = obpos_appl8_.obpos_applications_id left outer join ad_org organizati9_ on order5_.ad_org_id = organizati9_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl8_.ad_client_id = ? and (obpos_appl8_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati9_.name, organizati9_.ad_org_id, businesspa6_.name, businesspa6_.c_bpartner_id order by col_7_0_ desc, col_4_0_ desc, organizati9_.name, businesspa6_.name limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 15 12 3 1m27s 29s78ms 13 3 1m52s 37s529ms 16 1 6s169ms 6s169ms 18 1 6s129ms 6s129ms 19 4 1m21s 20s425ms [ User: tad - Total duration: 4m53s - Times executed: 12 ]
[ Application: openbravo - Total duration: 4m53s - Times executed: 12 ]
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:52:34 Duration: 41s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 13:07:10 Duration: 39s71ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:59:16 Duration: 37s752ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 3m2s 90 1s637ms 4s442ms 2s26ms select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, ? as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, ?) as group_id, coalesce(pprod.out_of_stock, ?) as out_of_stock, coalesce(pprod.depends_on_stock, ?) as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = ? and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) union select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, ?) as group_id, coalesce(pcomb.out_of_stock, ?) as out_of_stock, coalesce(pcomb.depends_on_stock, ?) as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?) or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?) or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 15 07 6 12s594ms 2s99ms 08 6 11s631ms 1s938ms 09 6 13s486ms 2s247ms 10 6 11s223ms 1s870ms 11 6 11s419ms 1s903ms 12 6 13s37ms 2s172ms 13 6 11s876ms 1s979ms 14 6 13s102ms 2s183ms 15 6 12s25ms 2s4ms 16 6 11s869ms 1s978ms 17 6 13s118ms 2s186ms 18 6 11s878ms 1s979ms 19 6 12s254ms 2s42ms 20 6 11s786ms 1s964ms 21 6 11s65ms 1s844ms [ User: tad - Total duration: 3m2s - Times executed: 90 ]
[ Application: openbravo - Total duration: 3m2s - Times executed: 90 ]
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 09:00:04 Duration: 4s442ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 14:00:03 Duration: 3s260ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 12:00:03 Duration: 3s147ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 50s81ms 1 50s81ms 50s81ms 50s81ms copy public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 15 07 1 50s81ms 50s81ms [ User: tad - Total duration: 50s81ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 50s81ms - Times executed: 1 ]
-
COPY public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) TO stdout;
Date: 2026-07-15 07:00:56 Duration: 50s81ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
7 26s365ms 15 1s376ms 2s165ms 1s757ms select profile.take_sample ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 15 07 1 1s751ms 1s751ms 08 1 1s574ms 1s574ms 09 1 2s165ms 2s165ms 10 1 1s576ms 1s576ms 11 1 1s376ms 1s376ms 12 1 1s831ms 1s831ms 13 1 1s840ms 1s840ms 14 1 2s69ms 2s69ms 15 1 1s664ms 1s664ms 16 1 1s494ms 1s494ms 17 1 1s780ms 1s780ms 18 1 1s804ms 1s804ms 19 1 1s939ms 1s939ms 20 1 1s838ms 1s838ms 21 1 1s658ms 1s658ms [ User: postgres - Total duration: 26s365ms - Times executed: 15 ]
[ Application: psql - Total duration: 26s365ms - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-15 09:00:04 Duration: 2s165ms Database: openbravo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-15 14:00:03 Duration: 2s69ms Database: openbravo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-15 19:00:03 Duration: 1s939ms Database: openbravo User: postgres Remote: [local] Application: psql
8 18s779ms 1 18s779ms 18s779ms 18s779ms copy public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 15 07 1 18s779ms 18s779ms [ User: tad - Total duration: 18s779ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 18s779ms - Times executed: 1 ]
-
COPY public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) TO stdout;
Date: 2026-07-15 07:02:04 Duration: 18s779ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
9 15s868ms 1 15s868ms 15s868ms 15s868ms copy public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 15 07 1 15s868ms 15s868ms [ User: tad - Total duration: 15s868ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 15s868ms - Times executed: 1 ]
-
COPY public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) TO stdout;
Date: 2026-07-15 07:01:21 Duration: 15s868ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
10 12s445ms 1 12s445ms 12s445ms 12s445ms copy public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 15 07 1 12s445ms 12s445ms [ User: tad - Total duration: 12s445ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 12s445ms - Times executed: 1 ]
-
COPY public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) TO stdout;
Date: 2026-07-15 07:03:19 Duration: 12s445ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
11 12s72ms 1 12s72ms 12s72ms 12s72ms copy public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 15 07 1 12s72ms 12s72ms [ User: tad - Total duration: 12s72ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 12s72ms - Times executed: 1 ]
-
COPY public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) TO stdout;
Date: 2026-07-15 07:03:05 Duration: 12s72ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
12 11s673ms 1 11s673ms 11s673ms 11s673ms copy public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 15 07 1 11s673ms 11s673ms [ User: tad - Total duration: 11s673ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 11s673ms - Times executed: 1 ]
-
COPY public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) TO stdout;
Date: 2026-07-15 07:02:25 Duration: 11s673ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
13 9s78ms 1 9s78ms 9s78ms 9s78ms copy public.c_orderline_offer (c_orderline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_orderline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer, em_obdisc_identifier, em_obpos_discountinstance, em_obpos_extraproperties) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 15 07 1 9s78ms 9s78ms [ User: tad - Total duration: 9s78ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 9s78ms - Times executed: 1 ]
-
COPY public.c_orderline_offer (c_orderline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_orderline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer, em_obdisc_identifier, em_obpos_discountinstance, em_obpos_extraproperties) TO stdout;
Date: 2026-07-15 07:02:13 Duration: 9s78ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
14 8s213ms 1 8s213ms 8s213ms 8s213ms copy public.c_invoicelinetax (c_invoicelinetax_id, c_tax_id, c_invoice_id, c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, recalculate) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 15 07 1 8s213ms 8s213ms [ User: tad - Total duration: 8s213ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 8s213ms - Times executed: 1 ]
-
COPY public.c_invoicelinetax (c_invoicelinetax_id, c_tax_id, c_invoice_id, c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, recalculate) TO stdout;
Date: 2026-07-15 07:01:36 Duration: 8s213ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
15 6s408ms 1 6s408ms 6s408ms 6s408ms copy public.c_invoiceline_offer (c_invoiceline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoiceline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 15 07 1 6s408ms 6s408ms [ User: tad - Total duration: 6s408ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 6s408ms - Times executed: 1 ]
-
COPY public.c_invoiceline_offer (c_invoiceline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoiceline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer) TO stdout;
Date: 2026-07-15 07:01:28 Duration: 6s408ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
16 6s349ms 1 6s349ms 6s349ms 6s349ms copy public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, em_opxmm_btn_purch, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_prpres_reference, em_prpres_void_order, em_prpres_gross_total, em_prpres_net_total, em_prpres_isgift, em_prpres_giftmessage, em_prpres_id_cart, em_prpres_id_paym_transaction, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_prpp_generatepicking, em_mntc_createinvoice, bpartner_extref, c_alternate_location_id, em_prpres_processing, em_prpres_generatepicking, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_obpos_skip_tax_calculation) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 15 07 1 6s349ms 6s349ms [ User: tad - Total duration: 6s349ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 6s349ms - Times executed: 1 ]
-
COPY public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, em_opxmm_btn_purch, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_prpres_reference, em_prpres_void_order, em_prpres_gross_total, em_prpres_net_total, em_prpres_isgift, em_prpres_giftmessage, em_prpres_id_cart, em_prpres_id_paym_transaction, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_prpp_generatepicking, em_mntc_createinvoice, bpartner_extref, c_alternate_location_id, em_prpres_processing, em_prpres_generatepicking, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_obpos_skip_tax_calculation) TO stdout;
Date: 2026-07-15 07:01:45 Duration: 6s349ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
17 5s638ms 5 1s21ms 1s251ms 1s127ms select order0_.c_order_id as c_order_1_249_, order0_.ad_client_id as ad_clien2_249_, order0_.ad_org_id as ad_org_i3_249_, order0_.isactive as isactive4_249_, order0_.created as created5_249_, order0_.createdby as createdb6_249_, order0_.updated as updated7_249_, order0_.updatedby as updatedb8_249_, order0_.issotrx as issotrx9_249_, order0_.documentno as documen10_249_, order0_.docstatus as docstat11_249_, order0_.docaction as docacti12_249_, order0_.processing as process13_249_, order0_.processed as process14_249_, order0_.c_doctype_id as c_docty15_249_, order0_.c_doctypetarget_id as c_docty16_249_, order0_.description as descrip17_249_, order0_.isdelivered as isdeliv18_249_, order0_.isinvoiced as isinvoi19_249_, order0_.isprinted as isprint20_249_, order0_.isselected as isselec21_249_, order0_.salesrep_id as salesre22_249_, order0_.dateordered as dateord23_249_, order0_.datepromised as datepro24_249_, order0_.dateprinted as datepri25_249_, order0_.dateacct as dateacc26_249_, order0_.c_bpartner_id as c_bpart27_249_, order0_.billto_id as billto_28_249_, order0_.c_bpartner_location_id as c_bpart29_249_, order0_.poreference as porefer30_249_, order0_.isdiscountprinted as isdisco31_249_, order0_.c_currency_id as c_curre32_249_, order0_.paymentrule as payment33_249_, order0_.c_paymentterm_id as c_payme34_249_, order0_.invoicerule as invoice35_249_, order0_.deliveryrule as deliver36_249_, order0_.freightcostrule as freight37_249_, order0_.freightamt as freight38_249_, order0_.deliveryviarule as deliver39_249_, order0_.m_shipper_id as m_shipp40_249_, order0_.c_charge_id as c_charg41_249_, order0_.chargeamt as chargea42_249_, order0_.priorityrule as priorit43_249_, order0_.totallines as totalli44_249_, order0_.grandtotal as grandto45_249_, order0_.m_warehouse_id as m_wareh46_249_, order0_.m_pricelist_id as m_price47_249_, order0_.istaxincluded as istaxin48_249_, order0_.c_campaign_id as c_campa49_249_, order0_.c_project_id as c_proje50_249_, order0_.c_activity_id as c_activ51_249_, order0_.posted as posted52_249_, order0_.ad_user_id as ad_user53_249_, order0_.copyfrom as copyfro54_249_, order0_.dropship_bpartner_id as dropshi55_249_, order0_.dropship_location_id as dropshi56_249_, order0_.dropship_user_id as dropshi57_249_, order0_.isselfservice as isselfs58_249_, order0_.ad_orgtrx_id as ad_orgt59_249_, order0_.user1_id as user60_249_, order0_.user2_id as user61_249_, order0_.deliverynotes as deliver62_249_, order0_.c_incoterms_id as c_incot63_249_, order0_.incotermsdescription as incoter64_249_, order0_.generatetemplate as generat65_249_, order0_.delivery_location_id as deliver66_249_, order0_.copyfrompo as copyfro67_249_, order0_.fin_paymentmethod_id as fin_pay68_249_, order0_.fin_payment_priority_id as fin_pay69_249_, order0_.rm_pickfromshipment as rm_pick70_249_, order0_.rm_receivematerials as rm_rece71_249_, order0_.rm_createinvoice as rm_crea72_249_, order0_.c_return_reason_id as c_retur73_249_, order0_.rm_addorphanline as rm_addo74_249_, order0_.a_asset_id as a_asset75_249_, order0_.calculate_promotions as calcula76_249_, order0_.c_costcenter_id as c_costc77_249_, order0_.convertquotation as convert78_249_, order0_.c_reject_reason_id as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.quotation_id as quotati81_249_, order0_.so_res_status as so_res_82_249_, order0_.create_polines as create_83_249_, order0_.em_obdisc_addpack as em_obdi84_249_, order0_.iscashvat as iscashv85_249_, order0_.em_obmfm_selectfreight as em_obmf86_249_, order0_.em_obmfm_delivery_period_id as em_obmf87_249_, order0_.rm_pickfromreceipt as rm_pick88_249_, order0_.cancelandreplace as cancela89_249_, order0_.em_aprm_addpayment as em_aprm90_249_, order0_.em_obmfm_delivery_charges as em_obmf91_249_, order0_.confirmcancelandreplace as confirm92_249_, order0_.em_obmfm_freight_id as em_obmf93_249_, order0_.em_obwpl_generatepicking as em_obwp94_249_, order0_.cancelledorder_id as cancell95_249_, order0_.em_obmfm_weight as em_obmf96_249_, order0_.em_obwpl_isinpickinglist as em_obwp97_249_, order0_.em_obwpl_readypl as em_obwp98_249_, order0_.replacedorder_id as replace99_249_, order0_.em_opxmm_btn_purch as em_opx100_249_, order0_.iscancelled as iscanc101_249_, order0_.em_obmfm_weight_uom_id as em_obm102_249_, order0_.replacementorder_id as replac103_249_, order0_.em_obmfm_set_weight as em_obm104_249_, order0_.bpartner_extref as bpartn105_249_, order0_.em_obpos_applications_id as em_obp106_249_, order0_.em_obpos_sendemail as em_obp107_249_, order0_.em_obpos_email_status as em_obp108_249_, order0_.em_obpos_app_cashup_id as em_obp109_249_, order0_.em_obpos_createdabsolute as em_obp110_249_, order0_.em_obpos_notinvoiceoncashup as em_obp111_249_, order0_.em_obpos_rejected_quotat_id as em_obp112_249_, order0_.em_obpos_isdeleted as em_obp113_249_, order0_.em_obpos_islayaway as em_obp114_249_, order0_.em_obpos_prepaymentamt as em_obp115_249_, order0_.em_obpos_prepaymentlimitamt as em_obp116_249_, order0_.em_obpos_prepaymentlaylimitamt as em_obp117_249_, order0_.em_obpos_rounding_amount as em_obp118_249_, order0_.em_obpos_sequencename as em_obp119_249_, order0_.em_obpos_sequencenumber as em_obp120_249_, order0_.c_alternate_location_id as c_alte121_249_, order0_.em_prpp_generatepicking as em_prp122_249_, order0_.em_prpres_reference as em_prp123_249_, order0_.em_prpres_void_order as em_prp124_249_, order0_.em_prpres_gross_total as em_prp125_249_, order0_.em_mntc_createinvoice as em_mnt126_249_, order0_.em_prpres_net_total as em_prp127_249_, order0_.em_prpres_isgift as em_prp128_249_, order0_.em_prpres_giftmessage as em_prp129_249_, order0_.em_prpres_id_cart as em_prp130_249_, order0_.em_prpres_id_paym_transaction as em_prp131_249_, order0_.em_obpos_skip_tax_calculation as em_obp132_249_, order0_.em_prpres_processing as em_prp133_249_, order0_.em_prpres_generatepicking as em_prp134_249_ from c_order order0_ inner join c_bpartner businesspa1_ on order0_.c_bpartner_id = businesspa1_.c_bpartner_id cross join c_doctype documentty2_ where order0_.c_doctypetarget_id = documentty2_.c_doctype_id and order0_.issotrx = ? and (documentty2_.docsubtypeso like ?) and (order0_.updated > ? or order0_.processed = ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) order by businesspa1_.name, order0_.c_order_id limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 15 12 1 1s21ms 1s21ms 13 2 2s267ms 1s133ms 19 2 2s348ms 1s174ms [ User: tad - Total duration: 5s638ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 5s638ms - Times executed: 5 ]
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ inner join C_BPartner businesspa1_ on order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID cross join C_DocType documentty2_ where order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty2_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 19:47:22.66' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by businesspa1_.Name, order0_.C_Order_ID limit '101';
Date: 2026-07-15 19:47:23 Duration: 1s251ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ inner join C_BPartner businesspa1_ on order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID cross join C_DocType documentty2_ where order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty2_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 13:59:14.913' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by businesspa1_.Name, order0_.C_Order_ID limit '101';
Date: 2026-07-15 13:59:16 Duration: 1s169ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ inner join C_BPartner businesspa1_ on order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID cross join C_DocType documentty2_ where order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty2_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 13:06:32.195' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by businesspa1_.Name, order0_.C_Order_ID limit '101';
Date: 2026-07-15 13:06:33 Duration: 1s98ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 5s526ms 1 5s526ms 5s526ms 5s526ms copy public.fin_payment_schedule (fin_payment_schedule_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, c_invoice_id, c_order_id, duedate, fin_paymentmethod_id, c_currency_id, amount, paidamt, outstandingamt, isactive, fin_payment_priority_id, update_payment_plan, origduedate, description, expecteddate, em_kctrp_isretention_payment, em_aprm_modif_paym_sched, em_aprm_modif_paym_out_sched) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 15 07 1 5s526ms 5s526ms [ User: tad - Total duration: 5s526ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 5s526ms - Times executed: 1 ]
-
COPY public.fin_payment_schedule (fin_payment_schedule_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, c_invoice_id, c_order_id, duedate, fin_paymentmethod_id, c_currency_id, amount, paidamt, outstandingamt, isactive, fin_payment_priority_id, update_payment_plan, origduedate, description, expecteddate, em_kctrp_isretention_payment, em_aprm_modif_paym_sched, em_aprm_modif_paym_out_sched) TO stdout;
Date: 2026-07-15 07:02:45 Duration: 5s526ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
19 4s341ms 1 4s341ms 4s341ms 4s341ms copy public.c_invoice (c_invoice_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, posted, c_doctype_id, c_doctypetarget_id, c_order_id, description, isprinted, salesrep_id, dateinvoiced, dateprinted, dateacct, c_bpartner_id, c_bpartner_location_id, poreference, isdiscountprinted, dateordered, c_currency_id, c_paymentterm_id, c_charge_id, chargeamt, totallines, grandtotal, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, createfrom, generateto, ad_user_id, copyfrom, isselfservice, ad_orgtrx_id, user1_id, user2_id, withholdingamount, taxdate, c_withholding_id, ispaid, totalpaid, outstandingamt, daystilldue, dueamt, lastcalculatedondate, fin_paymentmethod_id, fin_payment_priority_id, finalsettlement, daysoutstanding, percentageoverdue, c_costcenter_id, calculate_promotions, a_asset_id, iscashvat, em_lpy_controle_impressos_id, em_lpy_isfiscalserno, em_lpy_fiscalno, em_lpy_fiscalserno, em_kctrp_isretention_payment, em_kctrp_retention_grossamt_id, em_aprm_addpayment, em_aprm_processinvoice, prepaymentamt, createfromorders, createfrominouts, paidamtatinvoicing, bpartner_extref, c_alternate_location_id, einvoice_status, einvoice_generated, einvoice_externalid, einvoice_send_status, einvoice_sent, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_mntc_invoice_format) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 15 07 1 4s341ms 4s341ms [ User: tad - Total duration: 4s341ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 4s341ms - Times executed: 1 ]
-
COPY public.c_invoice (c_invoice_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, posted, c_doctype_id, c_doctypetarget_id, c_order_id, description, isprinted, salesrep_id, dateinvoiced, dateprinted, dateacct, c_bpartner_id, c_bpartner_location_id, poreference, isdiscountprinted, dateordered, c_currency_id, c_paymentterm_id, c_charge_id, chargeamt, totallines, grandtotal, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, createfrom, generateto, ad_user_id, copyfrom, isselfservice, ad_orgtrx_id, user1_id, user2_id, withholdingamount, taxdate, c_withholding_id, ispaid, totalpaid, outstandingamt, daystilldue, dueamt, lastcalculatedondate, fin_paymentmethod_id, fin_payment_priority_id, finalsettlement, daysoutstanding, percentageoverdue, c_costcenter_id, calculate_promotions, a_asset_id, iscashvat, em_lpy_controle_impressos_id, em_lpy_isfiscalserno, em_lpy_fiscalno, em_lpy_fiscalserno, em_kctrp_isretention_payment, em_kctrp_retention_grossamt_id, em_aprm_addpayment, em_aprm_processinvoice, prepaymentamt, createfromorders, createfrominouts, paidamtatinvoicing, bpartner_extref, c_alternate_location_id, einvoice_status, einvoice_generated, einvoice_externalid, einvoice_send_status, einvoice_sent, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_mntc_invoice_format) TO stdout;
Date: 2026-07-15 07:01:05 Duration: 4s341ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
20 3s699ms 1 3s699ms 3s699ms 3s699ms copy public.fin_finacc_transaction (fin_finacc_transaction_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, c_currency_id, fin_financial_account_id, line, fin_payment_id, dateacct, c_glitem_id, status, paymentamt, depositamt, processed, processing, posted, c_project_id, c_campaign_id, c_activity_id, user1_id, user2_id, trxtype, statementdate, description, fin_reconciliation_id, createdbyalgorithm, foreign_currency_id, foreign_convert_rate, foreign_amount, c_bpartner_id, m_product_id, c_salesregion_id, c_costcenter_id, em_aprm_processed, em_aprm_finacc_trans_origin, em_obpos_app_cashup_id) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 15 07 1 3s699ms 3s699ms [ User: tad - Total duration: 3s699ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 3s699ms - Times executed: 1 ]
-
COPY public.fin_finacc_transaction (fin_finacc_transaction_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, c_currency_id, fin_financial_account_id, line, fin_payment_id, dateacct, c_glitem_id, status, paymentamt, depositamt, processed, processing, posted, c_project_id, c_campaign_id, c_activity_id, user1_id, user2_id, trxtype, statementdate, description, fin_reconciliation_id, createdbyalgorithm, foreign_currency_id, foreign_convert_rate, foreign_amount, c_bpartner_id, m_product_id, c_salesregion_id, c_costcenter_id, em_aprm_processed, em_aprm_finacc_trans_origin, em_obpos_app_cashup_id) TO stdout;
Date: 2026-07-15 07:02:32 Duration: 3s699ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 180 14m30s 3s959ms 8s742ms 4s834ms 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) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 15 07 12 59s207ms 4s933ms 08 12 56s290ms 4s690ms 09 12 58s753ms 4s896ms 10 12 56s602ms 4s716ms 11 12 56s484ms 4s707ms 12 12 59s828ms 4s985ms 13 12 59s937ms 4s994ms 14 12 58s470ms 4s872ms 15 12 59s529ms 4s960ms 16 12 56s819ms 4s734ms 17 12 1m 5s48ms 18 12 57s434ms 4s786ms 19 12 57s682ms 4s806ms 20 12 57s53ms 4s754ms 21 12 55s573ms 4s631ms [ User: tad - Total duration: 14m30s - Times executed: 180 ]
[ Application: openbravo - Total duration: 14m30s - Times executed: 180 ]
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 09:00:08 Duration: 8s742ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 12:00:08 Duration: 8s633ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 13:00:08 Duration: 8s264ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 180 13m8s 3s788ms 8s862ms 4s379ms 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);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 15 07 12 55s385ms 4s615ms 08 12 52s248ms 4s354ms 09 12 50s902ms 4s241ms 10 12 50s866ms 4s238ms 11 12 54s795ms 4s566ms 12 12 51s334ms 4s277ms 13 12 54s45ms 4s503ms 14 12 51s500ms 4s291ms 15 12 54s116ms 4s509ms 16 12 52s354ms 4s362ms 17 12 53s323ms 4s443ms 18 12 50s944ms 4s245ms 19 12 53s128ms 4s427ms 20 12 51s993ms 4s332ms 21 12 51s383ms 4s281ms [ User: tad - Total duration: 13m8s - Times executed: 180 ]
[ Application: openbravo - Total duration: 13m8s - Times executed: 180 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:05:15 Duration: 8s862ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 11:00:11 Duration: 6s68ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:00:14 Duration: 6s59ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 90 3m2s 1s637ms 4s442ms 2s26ms select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, ? as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, ?) as group_id, coalesce(pprod.out_of_stock, ?) as out_of_stock, coalesce(pprod.depends_on_stock, ?) as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = ? and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) union select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, ?) as group_id, coalesce(pcomb.out_of_stock, ?) as out_of_stock, coalesce(pcomb.depends_on_stock, ?) as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?) or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?) or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 15 07 6 12s594ms 2s99ms 08 6 11s631ms 1s938ms 09 6 13s486ms 2s247ms 10 6 11s223ms 1s870ms 11 6 11s419ms 1s903ms 12 6 13s37ms 2s172ms 13 6 11s876ms 1s979ms 14 6 13s102ms 2s183ms 15 6 12s25ms 2s4ms 16 6 11s869ms 1s978ms 17 6 13s118ms 2s186ms 18 6 11s878ms 1s979ms 19 6 12s254ms 2s42ms 20 6 11s786ms 1s964ms 21 6 11s65ms 1s844ms [ User: tad - Total duration: 3m2s - Times executed: 90 ]
[ Application: openbravo - Total duration: 3m2s - Times executed: 90 ]
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 09:00:04 Duration: 4s442ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 14:00:03 Duration: 3s260ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 12:00:03 Duration: 3s147ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 15 26s365ms 1s376ms 2s165ms 1s757ms select profile.take_sample ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 15 07 1 1s751ms 1s751ms 08 1 1s574ms 1s574ms 09 1 2s165ms 2s165ms 10 1 1s576ms 1s576ms 11 1 1s376ms 1s376ms 12 1 1s831ms 1s831ms 13 1 1s840ms 1s840ms 14 1 2s69ms 2s69ms 15 1 1s664ms 1s664ms 16 1 1s494ms 1s494ms 17 1 1s780ms 1s780ms 18 1 1s804ms 1s804ms 19 1 1s939ms 1s939ms 20 1 1s838ms 1s838ms 21 1 1s658ms 1s658ms [ User: postgres - Total duration: 26s365ms - Times executed: 15 ]
[ Application: psql - Total duration: 26s365ms - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-15 09:00:04 Duration: 2s165ms Database: openbravo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-15 14:00:03 Duration: 2s69ms Database: openbravo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-15 19:00:03 Duration: 1s939ms Database: openbravo User: postgres Remote: [local] Application: psql
5 12 8m37s 3s214ms 1m14s 43s103ms select organizati8_.name as col_0_0_, organizati8_.ad_org_id as col_1_0_, product4_.m_product_id as col_2_0_, product4_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet9_.taxamt) from c_orderlinetax orderlinet9_ where orderlinet9_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join m_product_category productcat6_ on product4_.m_product_category_id = productcat6_.m_product_category_id left outer join obpos_applications obpos_appl7_ on order5_.em_obpos_applications_id = obpos_appl7_.obpos_applications_id left outer join ad_org organizati8_ on order5_.ad_org_id = organizati8_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl7_.ad_client_id = ? and (obpos_appl7_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati8_.name, organizati8_.ad_org_id, product4_.name, product4_.m_product_id order by col_7_0_ desc, col_4_0_ desc, organizati8_.name, product4_.name limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 15 12 3 2m30s 50s219ms 13 2 2m20s 1m10s 14 1 1m13s 1m13s 16 1 3s562ms 3s562ms 18 1 3s214ms 3s214ms 19 4 2m25s 36s485ms [ User: tad - Total duration: 8m37s - Times executed: 12 ]
[ Application: openbravo - Total duration: 8m37s - Times executed: 12 ]
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 12:53:07 Duration: 1m14s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 14:00:27 Duration: 1m13s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 13:07:42 Duration: 1m11s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 12 4m53s 5s952ms 41s356ms 24s485ms select organizati9_.name as col_0_0_, organizati9_.ad_org_id as col_1_0_, businesspa6_.c_bpartner_id as col_2_0_, businesspa6_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet14_.taxamt) from c_orderlinetax orderlinet14_ where orderlinet14_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join c_bpartner businesspa6_ on order5_.c_bpartner_id = businesspa6_.c_bpartner_id left outer join m_product_category productcat7_ on product4_.m_product_category_id = productcat7_.m_product_category_id left outer join obpos_applications obpos_appl8_ on order5_.em_obpos_applications_id = obpos_appl8_.obpos_applications_id left outer join ad_org organizati9_ on order5_.ad_org_id = organizati9_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl8_.ad_client_id = ? and (obpos_appl8_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati9_.name, organizati9_.ad_org_id, businesspa6_.name, businesspa6_.c_bpartner_id order by col_7_0_ desc, col_4_0_ desc, organizati9_.name, businesspa6_.name limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 15 12 3 1m27s 29s78ms 13 3 1m52s 37s529ms 16 1 6s169ms 6s169ms 18 1 6s129ms 6s129ms 19 4 1m21s 20s425ms [ User: tad - Total duration: 4m53s - Times executed: 12 ]
[ Application: openbravo - Total duration: 4m53s - Times executed: 12 ]
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:52:34 Duration: 41s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 13:07:10 Duration: 39s71ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:59:16 Duration: 37s752ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 5 5s638ms 1s21ms 1s251ms 1s127ms select order0_.c_order_id as c_order_1_249_, order0_.ad_client_id as ad_clien2_249_, order0_.ad_org_id as ad_org_i3_249_, order0_.isactive as isactive4_249_, order0_.created as created5_249_, order0_.createdby as createdb6_249_, order0_.updated as updated7_249_, order0_.updatedby as updatedb8_249_, order0_.issotrx as issotrx9_249_, order0_.documentno as documen10_249_, order0_.docstatus as docstat11_249_, order0_.docaction as docacti12_249_, order0_.processing as process13_249_, order0_.processed as process14_249_, order0_.c_doctype_id as c_docty15_249_, order0_.c_doctypetarget_id as c_docty16_249_, order0_.description as descrip17_249_, order0_.isdelivered as isdeliv18_249_, order0_.isinvoiced as isinvoi19_249_, order0_.isprinted as isprint20_249_, order0_.isselected as isselec21_249_, order0_.salesrep_id as salesre22_249_, order0_.dateordered as dateord23_249_, order0_.datepromised as datepro24_249_, order0_.dateprinted as datepri25_249_, order0_.dateacct as dateacc26_249_, order0_.c_bpartner_id as c_bpart27_249_, order0_.billto_id as billto_28_249_, order0_.c_bpartner_location_id as c_bpart29_249_, order0_.poreference as porefer30_249_, order0_.isdiscountprinted as isdisco31_249_, order0_.c_currency_id as c_curre32_249_, order0_.paymentrule as payment33_249_, order0_.c_paymentterm_id as c_payme34_249_, order0_.invoicerule as invoice35_249_, order0_.deliveryrule as deliver36_249_, order0_.freightcostrule as freight37_249_, order0_.freightamt as freight38_249_, order0_.deliveryviarule as deliver39_249_, order0_.m_shipper_id as m_shipp40_249_, order0_.c_charge_id as c_charg41_249_, order0_.chargeamt as chargea42_249_, order0_.priorityrule as priorit43_249_, order0_.totallines as totalli44_249_, order0_.grandtotal as grandto45_249_, order0_.m_warehouse_id as m_wareh46_249_, order0_.m_pricelist_id as m_price47_249_, order0_.istaxincluded as istaxin48_249_, order0_.c_campaign_id as c_campa49_249_, order0_.c_project_id as c_proje50_249_, order0_.c_activity_id as c_activ51_249_, order0_.posted as posted52_249_, order0_.ad_user_id as ad_user53_249_, order0_.copyfrom as copyfro54_249_, order0_.dropship_bpartner_id as dropshi55_249_, order0_.dropship_location_id as dropshi56_249_, order0_.dropship_user_id as dropshi57_249_, order0_.isselfservice as isselfs58_249_, order0_.ad_orgtrx_id as ad_orgt59_249_, order0_.user1_id as user60_249_, order0_.user2_id as user61_249_, order0_.deliverynotes as deliver62_249_, order0_.c_incoterms_id as c_incot63_249_, order0_.incotermsdescription as incoter64_249_, order0_.generatetemplate as generat65_249_, order0_.delivery_location_id as deliver66_249_, order0_.copyfrompo as copyfro67_249_, order0_.fin_paymentmethod_id as fin_pay68_249_, order0_.fin_payment_priority_id as fin_pay69_249_, order0_.rm_pickfromshipment as rm_pick70_249_, order0_.rm_receivematerials as rm_rece71_249_, order0_.rm_createinvoice as rm_crea72_249_, order0_.c_return_reason_id as c_retur73_249_, order0_.rm_addorphanline as rm_addo74_249_, order0_.a_asset_id as a_asset75_249_, order0_.calculate_promotions as calcula76_249_, order0_.c_costcenter_id as c_costc77_249_, order0_.convertquotation as convert78_249_, order0_.c_reject_reason_id as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.quotation_id as quotati81_249_, order0_.so_res_status as so_res_82_249_, order0_.create_polines as create_83_249_, order0_.em_obdisc_addpack as em_obdi84_249_, order0_.iscashvat as iscashv85_249_, order0_.em_obmfm_selectfreight as em_obmf86_249_, order0_.em_obmfm_delivery_period_id as em_obmf87_249_, order0_.rm_pickfromreceipt as rm_pick88_249_, order0_.cancelandreplace as cancela89_249_, order0_.em_aprm_addpayment as em_aprm90_249_, order0_.em_obmfm_delivery_charges as em_obmf91_249_, order0_.confirmcancelandreplace as confirm92_249_, order0_.em_obmfm_freight_id as em_obmf93_249_, order0_.em_obwpl_generatepicking as em_obwp94_249_, order0_.cancelledorder_id as cancell95_249_, order0_.em_obmfm_weight as em_obmf96_249_, order0_.em_obwpl_isinpickinglist as em_obwp97_249_, order0_.em_obwpl_readypl as em_obwp98_249_, order0_.replacedorder_id as replace99_249_, order0_.em_opxmm_btn_purch as em_opx100_249_, order0_.iscancelled as iscanc101_249_, order0_.em_obmfm_weight_uom_id as em_obm102_249_, order0_.replacementorder_id as replac103_249_, order0_.em_obmfm_set_weight as em_obm104_249_, order0_.bpartner_extref as bpartn105_249_, order0_.em_obpos_applications_id as em_obp106_249_, order0_.em_obpos_sendemail as em_obp107_249_, order0_.em_obpos_email_status as em_obp108_249_, order0_.em_obpos_app_cashup_id as em_obp109_249_, order0_.em_obpos_createdabsolute as em_obp110_249_, order0_.em_obpos_notinvoiceoncashup as em_obp111_249_, order0_.em_obpos_rejected_quotat_id as em_obp112_249_, order0_.em_obpos_isdeleted as em_obp113_249_, order0_.em_obpos_islayaway as em_obp114_249_, order0_.em_obpos_prepaymentamt as em_obp115_249_, order0_.em_obpos_prepaymentlimitamt as em_obp116_249_, order0_.em_obpos_prepaymentlaylimitamt as em_obp117_249_, order0_.em_obpos_rounding_amount as em_obp118_249_, order0_.em_obpos_sequencename as em_obp119_249_, order0_.em_obpos_sequencenumber as em_obp120_249_, order0_.c_alternate_location_id as c_alte121_249_, order0_.em_prpp_generatepicking as em_prp122_249_, order0_.em_prpres_reference as em_prp123_249_, order0_.em_prpres_void_order as em_prp124_249_, order0_.em_prpres_gross_total as em_prp125_249_, order0_.em_mntc_createinvoice as em_mnt126_249_, order0_.em_prpres_net_total as em_prp127_249_, order0_.em_prpres_isgift as em_prp128_249_, order0_.em_prpres_giftmessage as em_prp129_249_, order0_.em_prpres_id_cart as em_prp130_249_, order0_.em_prpres_id_paym_transaction as em_prp131_249_, order0_.em_obpos_skip_tax_calculation as em_obp132_249_, order0_.em_prpres_processing as em_prp133_249_, order0_.em_prpres_generatepicking as em_prp134_249_ from c_order order0_ inner join c_bpartner businesspa1_ on order0_.c_bpartner_id = businesspa1_.c_bpartner_id cross join c_doctype documentty2_ where order0_.c_doctypetarget_id = documentty2_.c_doctype_id and order0_.issotrx = ? and (documentty2_.docsubtypeso like ?) and (order0_.updated > ? or order0_.processed = ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) order by businesspa1_.name, order0_.c_order_id limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 15 12 1 1s21ms 1s21ms 13 2 2s267ms 1s133ms 19 2 2s348ms 1s174ms [ User: tad - Total duration: 5s638ms - Times executed: 5 ]
[ Application: openbravo - Total duration: 5s638ms - Times executed: 5 ]
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ inner join C_BPartner businesspa1_ on order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID cross join C_DocType documentty2_ where order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty2_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 19:47:22.66' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by businesspa1_.Name, order0_.C_Order_ID limit '101';
Date: 2026-07-15 19:47:23 Duration: 1s251ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ inner join C_BPartner businesspa1_ on order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID cross join C_DocType documentty2_ where order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty2_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 13:59:14.913' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by businesspa1_.Name, order0_.C_Order_ID limit '101';
Date: 2026-07-15 13:59:16 Duration: 1s169ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ inner join C_BPartner businesspa1_ on order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID cross join C_DocType documentty2_ where order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty2_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 13:06:32.195' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by businesspa1_.Name, order0_.C_Order_ID limit '101';
Date: 2026-07-15 13:06:33 Duration: 1s98ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 3 3s657ms 1s100ms 1s436ms 1s219ms select invoice0_.c_invoice_id as c_invoic1_233_, invoice0_.ad_client_id as ad_clien2_233_, invoice0_.ad_org_id as ad_org_i3_233_, invoice0_.isactive as isactive4_233_, invoice0_.created as created5_233_, invoice0_.createdby as createdb6_233_, invoice0_.updated as updated7_233_, invoice0_.updatedby as updatedb8_233_, invoice0_.issotrx as issotrx9_233_, invoice0_.documentno as documen10_233_, invoice0_.docstatus as docstat11_233_, invoice0_.docaction as docacti12_233_, invoice0_.processing as process13_233_, invoice0_.processed as process14_233_, invoice0_.posted as posted15_233_, invoice0_.c_doctype_id as c_docty16_233_, invoice0_.c_doctypetarget_id as c_docty17_233_, invoice0_.c_order_id as c_order18_233_, invoice0_.description as descrip19_233_, invoice0_.isprinted as isprint20_233_, invoice0_.salesrep_id as salesre21_233_, invoice0_.dateinvoiced as dateinv22_233_, invoice0_.dateprinted as datepri23_233_, invoice0_.dateacct as dateacc24_233_, invoice0_.c_bpartner_id as c_bpart25_233_, invoice0_.c_bpartner_location_id as c_bpart26_233_, invoice0_.poreference as porefer27_233_, invoice0_.isdiscountprinted as isdisco28_233_, invoice0_.dateordered as dateord29_233_, invoice0_.c_currency_id as c_curre30_233_, invoice0_.c_paymentterm_id as c_payme31_233_, invoice0_.c_charge_id as c_charg32_233_, invoice0_.chargeamt as chargea33_233_, invoice0_.totallines as totalli34_233_, invoice0_.grandtotal as grandto35_233_, invoice0_.m_pricelist_id as m_price36_233_, invoice0_.istaxincluded as istaxin37_233_, invoice0_.c_campaign_id as c_campa38_233_, invoice0_.c_project_id as c_proje39_233_, invoice0_.c_activity_id as c_activ40_233_, invoice0_.createfrom as createf41_233_, invoice0_.generateto as generat42_233_, invoice0_.ad_user_id as ad_user43_233_, invoice0_.copyfrom as copyfro44_233_, invoice0_.isselfservice as isselfs45_233_, invoice0_.ad_orgtrx_id as ad_orgt46_233_, invoice0_.user1_id as user47_233_, invoice0_.user2_id as user48_233_, invoice0_.withholdingamount as withhol49_233_, invoice0_.taxdate as taxdate50_233_, invoice0_.c_withholding_id as c_withh51_233_, invoice0_.ispaid as ispaid52_233_, invoice0_.totalpaid as totalpa53_233_, invoice0_.outstandingamt as outstan54_233_, invoice0_.daystilldue as daystil55_233_, invoice0_.dueamt as dueamt56_233_, invoice0_.lastcalculatedondate as lastcal57_233_, invoice0_.fin_paymentmethod_id as fin_pay58_233_, invoice0_.fin_payment_priority_id as fin_pay59_233_, invoice0_.finalsettlement as finalse60_233_, invoice0_.daysoutstanding as daysout61_233_, invoice0_.percentageoverdue as percent62_233_, invoice0_.c_costcenter_id as c_costc63_233_, invoice0_.calculate_promotions as calcula64_233_, invoice0_.a_asset_id as a_asset65_233_, invoice0_.em_aprm_addpayment as em_aprm66_233_, invoice0_.iscashvat as iscashv67_233_, invoice0_.em_aprm_processinvoice as em_aprm68_233_, invoice0_.prepaymentamt as prepaym69_233_, invoice0_.createfromorders as createf70_233_, invoice0_.createfrominouts as createf71_233_, invoice0_.paidamtatinvoicing as paidamt72_233_, invoice0_.bpartner_extref as bpartne73_233_, invoice0_.em_obpos_rounding_amount as em_obpo74_233_, invoice0_.em_obpos_sequencename as em_obpo75_233_, invoice0_.em_obpos_sequencenumber as em_obpo76_233_, invoice0_.em_lpy_controle_impressos_id as em_lpy_77_233_, invoice0_.c_alternate_location_id as c_alter78_233_, invoice0_.em_lpy_isfiscalserno as em_lpy_79_233_, invoice0_.em_lpy_fiscalno as em_lpy_80_233_, invoice0_.em_lpy_fiscalserno as em_lpy_81_233_, invoice0_.em_kctrp_isretention_payment as em_kctr82_233_, invoice0_.em_kctrp_retention_grossamt_id as em_kctr83_233_, invoice0_.einvoice_status as einvoic84_233_, invoice0_.einvoice_generated as einvoic85_233_, invoice0_.einvoice_externalid as einvoic86_233_, invoice0_.einvoice_send_status as einvoic87_233_, invoice0_.einvoice_sent as einvoic88_233_, invoice0_.em_mntc_invoice_format as em_mntc89_233_ from c_invoice invoice0_ where invoice0_.issotrx = ? and invoice0_.docstatus <> ? and (invoice0_.updated > ? or invoice0_.processed = ?) and (invoice0_.ad_org_id in (...)) and (invoice0_.ad_client_id in (...)) order by invoice0_.dateinvoiced desc, invoice0_.c_invoice_id desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 15 12 2 2s536ms 1s268ms 13 1 1s121ms 1s121ms [ User: tad - Total duration: 3s657ms - Times executed: 3 ]
[ Application: openbravo - Total duration: 3s657ms - Times executed: 3 ]
-
select invoice0_.C_Invoice_ID as c_invoic1_233_, invoice0_.AD_Client_ID as ad_clien2_233_, invoice0_.AD_Org_ID as ad_org_i3_233_, invoice0_.IsActive as isactive4_233_, invoice0_.Created as created5_233_, invoice0_.CreatedBy as createdb6_233_, invoice0_.Updated as updated7_233_, invoice0_.UpdatedBy as updatedb8_233_, invoice0_.IsSOTrx as issotrx9_233_, invoice0_.DocumentNo as documen10_233_, invoice0_.DocStatus as docstat11_233_, invoice0_.DocAction as docacti12_233_, invoice0_.Processing as process13_233_, invoice0_.Processed as process14_233_, invoice0_.Posted as posted15_233_, invoice0_.C_DocType_ID as c_docty16_233_, invoice0_.C_DocTypeTarget_ID as c_docty17_233_, invoice0_.C_Order_ID as c_order18_233_, invoice0_.Description as descrip19_233_, invoice0_.IsPrinted as isprint20_233_, invoice0_.SalesRep_ID as salesre21_233_, invoice0_.DateInvoiced as dateinv22_233_, invoice0_.DatePrinted as datepri23_233_, invoice0_.DateAcct as dateacc24_233_, invoice0_.C_BPartner_ID as c_bpart25_233_, invoice0_.C_BPartner_Location_ID as c_bpart26_233_, invoice0_.POReference as porefer27_233_, invoice0_.IsDiscountPrinted as isdisco28_233_, invoice0_.DateOrdered as dateord29_233_, invoice0_.C_Currency_ID as c_curre30_233_, invoice0_.C_PaymentTerm_ID as c_payme31_233_, invoice0_.C_Charge_ID as c_charg32_233_, invoice0_.ChargeAmt as chargea33_233_, invoice0_.TotalLines as totalli34_233_, invoice0_.GrandTotal as grandto35_233_, invoice0_.M_PriceList_ID as m_price36_233_, invoice0_.IsTaxIncluded as istaxin37_233_, invoice0_.C_Campaign_ID as c_campa38_233_, invoice0_.C_Project_ID as c_proje39_233_, invoice0_.C_Activity_ID as c_activ40_233_, invoice0_.CreateFrom as createf41_233_, invoice0_.GenerateTo as generat42_233_, invoice0_.AD_User_ID as ad_user43_233_, invoice0_.CopyFrom as copyfro44_233_, invoice0_.IsSelfService as isselfs45_233_, invoice0_.AD_OrgTrx_ID as ad_orgt46_233_, invoice0_.User1_ID as user47_233_, invoice0_.User2_ID as user48_233_, invoice0_.Withholdingamount as withhol49_233_, invoice0_.Taxdate as taxdate50_233_, invoice0_.C_Withholding_ID as c_withh51_233_, invoice0_.Ispaid as ispaid52_233_, invoice0_.Totalpaid as totalpa53_233_, invoice0_.OutstandingAmt as outstan54_233_, invoice0_.DaysTillDue as daystil55_233_, invoice0_.DueAmt as dueamt56_233_, invoice0_.LastCalculatedOnDate as lastcal57_233_, invoice0_.FIN_Paymentmethod_ID as fin_pay58_233_, invoice0_.FIN_Payment_Priority_ID as fin_pay59_233_, invoice0_.Finalsettlement as finalse60_233_, invoice0_.Daysoutstanding as daysout61_233_, invoice0_.Percentageoverdue as percent62_233_, invoice0_.C_Costcenter_ID as c_costc63_233_, invoice0_.Calculate_Promotions as calcula64_233_, invoice0_.A_Asset_ID as a_asset65_233_, invoice0_.EM_APRM_Addpayment as em_aprm66_233_, invoice0_.Iscashvat as iscashv67_233_, invoice0_.EM_APRM_Processinvoice as em_aprm68_233_, invoice0_.Prepaymentamt as prepaym69_233_, invoice0_.Createfromorders as createf70_233_, invoice0_.Createfrominouts as createf71_233_, invoice0_.Paidamtatinvoicing as paidamt72_233_, invoice0_.BPartner_ExtRef as bpartne73_233_, invoice0_.EM_Obpos_Rounding_Amount as em_obpo74_233_, invoice0_.EM_Obpos_Sequencename as em_obpo75_233_, invoice0_.EM_Obpos_Sequencenumber as em_obpo76_233_, invoice0_.EM_Lpy_Controle_Impressos_ID as em_lpy_77_233_, invoice0_.C_Alternate_Location_ID as c_alter78_233_, invoice0_.EM_Lpy_Isfiscalserno as em_lpy_79_233_, invoice0_.EM_Lpy_Fiscalno as em_lpy_80_233_, invoice0_.EM_Lpy_Fiscalserno as em_lpy_81_233_, invoice0_.EM_Kctrp_Isretention_Payment as em_kctr82_233_, invoice0_.EM_Kctrp_Retention_Grossamt_ID as em_kctr83_233_, invoice0_.Einvoice_Status as einvoic84_233_, invoice0_.Einvoice_Generated as einvoic85_233_, invoice0_.Einvoice_ExternalID as einvoic86_233_, invoice0_.Einvoice_Send_Status as einvoic87_233_, invoice0_.Einvoice_Sent as einvoic88_233_, invoice0_.EM_Mntc_Invoice_Format as em_mntc89_233_ from C_Invoice invoice0_ where invoice0_.IsSOTrx = 'Y' and invoice0_.DocStatus <> 'TEMP' and (invoice0_.Updated > '2026-07-14 12:58:40.031' or invoice0_.Processed = 'N') and (invoice0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (invoice0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by invoice0_.DateInvoiced desc, invoice0_.C_Invoice_ID desc limit '101';
Date: 2026-07-15 12:58:41 Duration: 1s436ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as c_invoic1_233_, invoice0_.AD_Client_ID as ad_clien2_233_, invoice0_.AD_Org_ID as ad_org_i3_233_, invoice0_.IsActive as isactive4_233_, invoice0_.Created as created5_233_, invoice0_.CreatedBy as createdb6_233_, invoice0_.Updated as updated7_233_, invoice0_.UpdatedBy as updatedb8_233_, invoice0_.IsSOTrx as issotrx9_233_, invoice0_.DocumentNo as documen10_233_, invoice0_.DocStatus as docstat11_233_, invoice0_.DocAction as docacti12_233_, invoice0_.Processing as process13_233_, invoice0_.Processed as process14_233_, invoice0_.Posted as posted15_233_, invoice0_.C_DocType_ID as c_docty16_233_, invoice0_.C_DocTypeTarget_ID as c_docty17_233_, invoice0_.C_Order_ID as c_order18_233_, invoice0_.Description as descrip19_233_, invoice0_.IsPrinted as isprint20_233_, invoice0_.SalesRep_ID as salesre21_233_, invoice0_.DateInvoiced as dateinv22_233_, invoice0_.DatePrinted as datepri23_233_, invoice0_.DateAcct as dateacc24_233_, invoice0_.C_BPartner_ID as c_bpart25_233_, invoice0_.C_BPartner_Location_ID as c_bpart26_233_, invoice0_.POReference as porefer27_233_, invoice0_.IsDiscountPrinted as isdisco28_233_, invoice0_.DateOrdered as dateord29_233_, invoice0_.C_Currency_ID as c_curre30_233_, invoice0_.C_PaymentTerm_ID as c_payme31_233_, invoice0_.C_Charge_ID as c_charg32_233_, invoice0_.ChargeAmt as chargea33_233_, invoice0_.TotalLines as totalli34_233_, invoice0_.GrandTotal as grandto35_233_, invoice0_.M_PriceList_ID as m_price36_233_, invoice0_.IsTaxIncluded as istaxin37_233_, invoice0_.C_Campaign_ID as c_campa38_233_, invoice0_.C_Project_ID as c_proje39_233_, invoice0_.C_Activity_ID as c_activ40_233_, invoice0_.CreateFrom as createf41_233_, invoice0_.GenerateTo as generat42_233_, invoice0_.AD_User_ID as ad_user43_233_, invoice0_.CopyFrom as copyfro44_233_, invoice0_.IsSelfService as isselfs45_233_, invoice0_.AD_OrgTrx_ID as ad_orgt46_233_, invoice0_.User1_ID as user47_233_, invoice0_.User2_ID as user48_233_, invoice0_.Withholdingamount as withhol49_233_, invoice0_.Taxdate as taxdate50_233_, invoice0_.C_Withholding_ID as c_withh51_233_, invoice0_.Ispaid as ispaid52_233_, invoice0_.Totalpaid as totalpa53_233_, invoice0_.OutstandingAmt as outstan54_233_, invoice0_.DaysTillDue as daystil55_233_, invoice0_.DueAmt as dueamt56_233_, invoice0_.LastCalculatedOnDate as lastcal57_233_, invoice0_.FIN_Paymentmethod_ID as fin_pay58_233_, invoice0_.FIN_Payment_Priority_ID as fin_pay59_233_, invoice0_.Finalsettlement as finalse60_233_, invoice0_.Daysoutstanding as daysout61_233_, invoice0_.Percentageoverdue as percent62_233_, invoice0_.C_Costcenter_ID as c_costc63_233_, invoice0_.Calculate_Promotions as calcula64_233_, invoice0_.A_Asset_ID as a_asset65_233_, invoice0_.EM_APRM_Addpayment as em_aprm66_233_, invoice0_.Iscashvat as iscashv67_233_, invoice0_.EM_APRM_Processinvoice as em_aprm68_233_, invoice0_.Prepaymentamt as prepaym69_233_, invoice0_.Createfromorders as createf70_233_, invoice0_.Createfrominouts as createf71_233_, invoice0_.Paidamtatinvoicing as paidamt72_233_, invoice0_.BPartner_ExtRef as bpartne73_233_, invoice0_.EM_Obpos_Rounding_Amount as em_obpo74_233_, invoice0_.EM_Obpos_Sequencename as em_obpo75_233_, invoice0_.EM_Obpos_Sequencenumber as em_obpo76_233_, invoice0_.EM_Lpy_Controle_Impressos_ID as em_lpy_77_233_, invoice0_.C_Alternate_Location_ID as c_alter78_233_, invoice0_.EM_Lpy_Isfiscalserno as em_lpy_79_233_, invoice0_.EM_Lpy_Fiscalno as em_lpy_80_233_, invoice0_.EM_Lpy_Fiscalserno as em_lpy_81_233_, invoice0_.EM_Kctrp_Isretention_Payment as em_kctr82_233_, invoice0_.EM_Kctrp_Retention_Grossamt_ID as em_kctr83_233_, invoice0_.Einvoice_Status as einvoic84_233_, invoice0_.Einvoice_Generated as einvoic85_233_, invoice0_.Einvoice_ExternalID as einvoic86_233_, invoice0_.Einvoice_Send_Status as einvoic87_233_, invoice0_.Einvoice_Sent as einvoic88_233_, invoice0_.EM_Mntc_Invoice_Format as em_mntc89_233_ from C_Invoice invoice0_ where invoice0_.IsSOTrx = 'Y' and invoice0_.DocStatus <> 'TEMP' and (invoice0_.Updated > '2026-07-14 13:56:29.725' or invoice0_.Processed = 'N') and (invoice0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (invoice0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by invoice0_.DateInvoiced desc, invoice0_.C_Invoice_ID desc limit '101';
Date: 2026-07-15 13:56:30 Duration: 1s121ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as c_invoic1_233_, invoice0_.AD_Client_ID as ad_clien2_233_, invoice0_.AD_Org_ID as ad_org_i3_233_, invoice0_.IsActive as isactive4_233_, invoice0_.Created as created5_233_, invoice0_.CreatedBy as createdb6_233_, invoice0_.Updated as updated7_233_, invoice0_.UpdatedBy as updatedb8_233_, invoice0_.IsSOTrx as issotrx9_233_, invoice0_.DocumentNo as documen10_233_, invoice0_.DocStatus as docstat11_233_, invoice0_.DocAction as docacti12_233_, invoice0_.Processing as process13_233_, invoice0_.Processed as process14_233_, invoice0_.Posted as posted15_233_, invoice0_.C_DocType_ID as c_docty16_233_, invoice0_.C_DocTypeTarget_ID as c_docty17_233_, invoice0_.C_Order_ID as c_order18_233_, invoice0_.Description as descrip19_233_, invoice0_.IsPrinted as isprint20_233_, invoice0_.SalesRep_ID as salesre21_233_, invoice0_.DateInvoiced as dateinv22_233_, invoice0_.DatePrinted as datepri23_233_, invoice0_.DateAcct as dateacc24_233_, invoice0_.C_BPartner_ID as c_bpart25_233_, invoice0_.C_BPartner_Location_ID as c_bpart26_233_, invoice0_.POReference as porefer27_233_, invoice0_.IsDiscountPrinted as isdisco28_233_, invoice0_.DateOrdered as dateord29_233_, invoice0_.C_Currency_ID as c_curre30_233_, invoice0_.C_PaymentTerm_ID as c_payme31_233_, invoice0_.C_Charge_ID as c_charg32_233_, invoice0_.ChargeAmt as chargea33_233_, invoice0_.TotalLines as totalli34_233_, invoice0_.GrandTotal as grandto35_233_, invoice0_.M_PriceList_ID as m_price36_233_, invoice0_.IsTaxIncluded as istaxin37_233_, invoice0_.C_Campaign_ID as c_campa38_233_, invoice0_.C_Project_ID as c_proje39_233_, invoice0_.C_Activity_ID as c_activ40_233_, invoice0_.CreateFrom as createf41_233_, invoice0_.GenerateTo as generat42_233_, invoice0_.AD_User_ID as ad_user43_233_, invoice0_.CopyFrom as copyfro44_233_, invoice0_.IsSelfService as isselfs45_233_, invoice0_.AD_OrgTrx_ID as ad_orgt46_233_, invoice0_.User1_ID as user47_233_, invoice0_.User2_ID as user48_233_, invoice0_.Withholdingamount as withhol49_233_, invoice0_.Taxdate as taxdate50_233_, invoice0_.C_Withholding_ID as c_withh51_233_, invoice0_.Ispaid as ispaid52_233_, invoice0_.Totalpaid as totalpa53_233_, invoice0_.OutstandingAmt as outstan54_233_, invoice0_.DaysTillDue as daystil55_233_, invoice0_.DueAmt as dueamt56_233_, invoice0_.LastCalculatedOnDate as lastcal57_233_, invoice0_.FIN_Paymentmethod_ID as fin_pay58_233_, invoice0_.FIN_Payment_Priority_ID as fin_pay59_233_, invoice0_.Finalsettlement as finalse60_233_, invoice0_.Daysoutstanding as daysout61_233_, invoice0_.Percentageoverdue as percent62_233_, invoice0_.C_Costcenter_ID as c_costc63_233_, invoice0_.Calculate_Promotions as calcula64_233_, invoice0_.A_Asset_ID as a_asset65_233_, invoice0_.EM_APRM_Addpayment as em_aprm66_233_, invoice0_.Iscashvat as iscashv67_233_, invoice0_.EM_APRM_Processinvoice as em_aprm68_233_, invoice0_.Prepaymentamt as prepaym69_233_, invoice0_.Createfromorders as createf70_233_, invoice0_.Createfrominouts as createf71_233_, invoice0_.Paidamtatinvoicing as paidamt72_233_, invoice0_.BPartner_ExtRef as bpartne73_233_, invoice0_.EM_Obpos_Rounding_Amount as em_obpo74_233_, invoice0_.EM_Obpos_Sequencename as em_obpo75_233_, invoice0_.EM_Obpos_Sequencenumber as em_obpo76_233_, invoice0_.EM_Lpy_Controle_Impressos_ID as em_lpy_77_233_, invoice0_.C_Alternate_Location_ID as c_alter78_233_, invoice0_.EM_Lpy_Isfiscalserno as em_lpy_79_233_, invoice0_.EM_Lpy_Fiscalno as em_lpy_80_233_, invoice0_.EM_Lpy_Fiscalserno as em_lpy_81_233_, invoice0_.EM_Kctrp_Isretention_Payment as em_kctr82_233_, invoice0_.EM_Kctrp_Retention_Grossamt_ID as em_kctr83_233_, invoice0_.Einvoice_Status as einvoic84_233_, invoice0_.Einvoice_Generated as einvoic85_233_, invoice0_.Einvoice_ExternalID as einvoic86_233_, invoice0_.Einvoice_Send_Status as einvoic87_233_, invoice0_.Einvoice_Sent as einvoic88_233_, invoice0_.EM_Mntc_Invoice_Format as em_mntc89_233_ from C_Invoice invoice0_ where invoice0_.IsSOTrx = 'Y' and invoice0_.DocStatus <> 'TEMP' and (invoice0_.Updated > '2026-07-14 12:58:50.008' or invoice0_.Processed = 'N') and (invoice0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (invoice0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by invoice0_.DateInvoiced desc, invoice0_.C_Invoice_ID desc limit '101';
Date: 2026-07-15 12:58:51 Duration: 1s100ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 2 3s293ms 1s335ms 1s957ms 1s646ms select order0_.c_order_id as c_order_1_249_, order0_.ad_client_id as ad_clien2_249_, order0_.ad_org_id as ad_org_i3_249_, order0_.isactive as isactive4_249_, order0_.created as created5_249_, order0_.createdby as createdb6_249_, order0_.updated as updated7_249_, order0_.updatedby as updatedb8_249_, order0_.issotrx as issotrx9_249_, order0_.documentno as documen10_249_, order0_.docstatus as docstat11_249_, order0_.docaction as docacti12_249_, order0_.processing as process13_249_, order0_.processed as process14_249_, order0_.c_doctype_id as c_docty15_249_, order0_.c_doctypetarget_id as c_docty16_249_, order0_.description as descrip17_249_, order0_.isdelivered as isdeliv18_249_, order0_.isinvoiced as isinvoi19_249_, order0_.isprinted as isprint20_249_, order0_.isselected as isselec21_249_, order0_.salesrep_id as salesre22_249_, order0_.dateordered as dateord23_249_, order0_.datepromised as datepro24_249_, order0_.dateprinted as datepri25_249_, order0_.dateacct as dateacc26_249_, order0_.c_bpartner_id as c_bpart27_249_, order0_.billto_id as billto_28_249_, order0_.c_bpartner_location_id as c_bpart29_249_, order0_.poreference as porefer30_249_, order0_.isdiscountprinted as isdisco31_249_, order0_.c_currency_id as c_curre32_249_, order0_.paymentrule as payment33_249_, order0_.c_paymentterm_id as c_payme34_249_, order0_.invoicerule as invoice35_249_, order0_.deliveryrule as deliver36_249_, order0_.freightcostrule as freight37_249_, order0_.freightamt as freight38_249_, order0_.deliveryviarule as deliver39_249_, order0_.m_shipper_id as m_shipp40_249_, order0_.c_charge_id as c_charg41_249_, order0_.chargeamt as chargea42_249_, order0_.priorityrule as priorit43_249_, order0_.totallines as totalli44_249_, order0_.grandtotal as grandto45_249_, order0_.m_warehouse_id as m_wareh46_249_, order0_.m_pricelist_id as m_price47_249_, order0_.istaxincluded as istaxin48_249_, order0_.c_campaign_id as c_campa49_249_, order0_.c_project_id as c_proje50_249_, order0_.c_activity_id as c_activ51_249_, order0_.posted as posted52_249_, order0_.ad_user_id as ad_user53_249_, order0_.copyfrom as copyfro54_249_, order0_.dropship_bpartner_id as dropshi55_249_, order0_.dropship_location_id as dropshi56_249_, order0_.dropship_user_id as dropshi57_249_, order0_.isselfservice as isselfs58_249_, order0_.ad_orgtrx_id as ad_orgt59_249_, order0_.user1_id as user60_249_, order0_.user2_id as user61_249_, order0_.deliverynotes as deliver62_249_, order0_.c_incoterms_id as c_incot63_249_, order0_.incotermsdescription as incoter64_249_, order0_.generatetemplate as generat65_249_, order0_.delivery_location_id as deliver66_249_, order0_.copyfrompo as copyfro67_249_, order0_.fin_paymentmethod_id as fin_pay68_249_, order0_.fin_payment_priority_id as fin_pay69_249_, order0_.rm_pickfromshipment as rm_pick70_249_, order0_.rm_receivematerials as rm_rece71_249_, order0_.rm_createinvoice as rm_crea72_249_, order0_.c_return_reason_id as c_retur73_249_, order0_.rm_addorphanline as rm_addo74_249_, order0_.a_asset_id as a_asset75_249_, order0_.calculate_promotions as calcula76_249_, order0_.c_costcenter_id as c_costc77_249_, order0_.convertquotation as convert78_249_, order0_.c_reject_reason_id as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.quotation_id as quotati81_249_, order0_.so_res_status as so_res_82_249_, order0_.create_polines as create_83_249_, order0_.em_obdisc_addpack as em_obdi84_249_, order0_.iscashvat as iscashv85_249_, order0_.em_obmfm_selectfreight as em_obmf86_249_, order0_.em_obmfm_delivery_period_id as em_obmf87_249_, order0_.rm_pickfromreceipt as rm_pick88_249_, order0_.cancelandreplace as cancela89_249_, order0_.em_aprm_addpayment as em_aprm90_249_, order0_.em_obmfm_delivery_charges as em_obmf91_249_, order0_.confirmcancelandreplace as confirm92_249_, order0_.em_obmfm_freight_id as em_obmf93_249_, order0_.em_obwpl_generatepicking as em_obwp94_249_, order0_.cancelledorder_id as cancell95_249_, order0_.em_obmfm_weight as em_obmf96_249_, order0_.em_obwpl_isinpickinglist as em_obwp97_249_, order0_.em_obwpl_readypl as em_obwp98_249_, order0_.replacedorder_id as replace99_249_, order0_.em_opxmm_btn_purch as em_opx100_249_, order0_.iscancelled as iscanc101_249_, order0_.em_obmfm_weight_uom_id as em_obm102_249_, order0_.replacementorder_id as replac103_249_, order0_.em_obmfm_set_weight as em_obm104_249_, order0_.bpartner_extref as bpartn105_249_, order0_.em_obpos_applications_id as em_obp106_249_, order0_.em_obpos_sendemail as em_obp107_249_, order0_.em_obpos_email_status as em_obp108_249_, order0_.em_obpos_app_cashup_id as em_obp109_249_, order0_.em_obpos_createdabsolute as em_obp110_249_, order0_.em_obpos_notinvoiceoncashup as em_obp111_249_, order0_.em_obpos_rejected_quotat_id as em_obp112_249_, order0_.em_obpos_isdeleted as em_obp113_249_, order0_.em_obpos_islayaway as em_obp114_249_, order0_.em_obpos_prepaymentamt as em_obp115_249_, order0_.em_obpos_prepaymentlimitamt as em_obp116_249_, order0_.em_obpos_prepaymentlaylimitamt as em_obp117_249_, order0_.em_obpos_rounding_amount as em_obp118_249_, order0_.em_obpos_sequencename as em_obp119_249_, order0_.em_obpos_sequencenumber as em_obp120_249_, order0_.c_alternate_location_id as c_alte121_249_, order0_.em_prpp_generatepicking as em_prp122_249_, order0_.em_prpres_reference as em_prp123_249_, order0_.em_prpres_void_order as em_prp124_249_, order0_.em_prpres_gross_total as em_prp125_249_, order0_.em_mntc_createinvoice as em_mnt126_249_, order0_.em_prpres_net_total as em_prp127_249_, order0_.em_prpres_isgift as em_prp128_249_, order0_.em_prpres_giftmessage as em_prp129_249_, order0_.em_prpres_id_cart as em_prp130_249_, order0_.em_prpres_id_paym_transaction as em_prp131_249_, order0_.em_obpos_skip_tax_calculation as em_obp132_249_, order0_.em_prpres_processing as em_prp133_249_, order0_.em_prpres_generatepicking as em_prp134_249_ from c_order order0_ cross join c_doctype documentty1_ where order0_.c_doctypetarget_id = documentty1_.c_doctype_id and order0_.issotrx = ? and (documentty1_.docsubtypeso like ?) and (order0_.updated > ? or order0_.processed = ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) order by order0_.dateordered desc, order0_.c_order_id desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 15 12 1 1s957ms 1s957ms 13 1 1s335ms 1s335ms [ User: tad - Total duration: 3s293ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 3s293ms - Times executed: 2 ]
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty1_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 12:58:39.642' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-15 12:58:41 Duration: 1s957ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty1_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 13:06:42.956' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-15 13:06:44 Duration: 1s335ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 2 2s314ms 1s14ms 1s299ms 1s157ms select organizati5_.name as col_0_0_, warehouse3_.name as col_1_0_, organizati5_.ad_org_id as col_2_0_, product1_.value as col_3_0_, product1_.name as col_4_0_, product1_.m_product_id as col_5_0_, product1_.upc as col_6_0_, productcat4_.name as col_7_0_, productcat4_.m_product_category_id as col_8_0_, uom6_.name as col_9_0_, sum(productsto0_.qtyonhand) as col_10_0_, attributes7_.description as col_11_0_, warehouse3_.m_warehouse_id as col_12_0_, locator2_.value as col_13_0_ from m_product_stock_v productsto0_ left outer join m_product product1_ on productsto0_.m_product_id = product1_.m_product_id left outer join m_locator locator2_ on productsto0_.m_locator_id = locator2_.m_locator_id left outer join m_warehouse warehouse3_ on locator2_.m_warehouse_id = warehouse3_.m_warehouse_id left outer join m_product_category productcat4_ on product1_.m_product_category_id = productcat4_.m_product_category_id left outer join ad_org organizati5_ on warehouse3_.ad_org_id = organizati5_.ad_org_id left outer join c_uom uom6_ on productsto0_.c_uom_id = uom6_.c_uom_id left outer join m_attributesetinstance attributes7_ on productsto0_.m_attributesetinstance_id = attributes7_.m_attributesetinstance_id where productsto0_.ad_client_id = ? and (productsto0_.ad_org_id in (...)) and product1_.isstocked = ? and ? = ? group by organizati5_.name, warehouse3_.name, organizati5_.ad_org_id, product1_.value, product1_.name, product1_.m_product_id, productcat4_.name, productcat4_.m_product_category_id, uom6_.name, attributes7_.description, warehouse3_.m_warehouse_id, product1_.upc, locator2_.value order by warehouse3_.name, product1_.name, sum(productsto0_.qtyonhand) desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 15 12 2 2s314ms 1s157ms [ User: tad - Total duration: 2s314ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 2s314ms - Times executed: 2 ]
-
select organizati5_.Name as col_0_0_, warehouse3_.Name as col_1_0_, organizati5_.AD_Org_ID as col_2_0_, product1_.Value as col_3_0_, product1_.Name as col_4_0_, product1_.M_Product_ID as col_5_0_, product1_.UPC as col_6_0_, productcat4_.Name as col_7_0_, productcat4_.M_Product_Category_ID as col_8_0_, uom6_.Name as col_9_0_, sum(productsto0_.Qtyonhand) as col_10_0_, attributes7_.Description as col_11_0_, warehouse3_.M_Warehouse_ID as col_12_0_, locator2_.Value as col_13_0_ from M_Product_Stock_V productsto0_ left outer join M_Product product1_ on productsto0_.M_Product_ID = product1_.M_Product_ID left outer join M_Locator locator2_ on productsto0_.M_Locator_ID = locator2_.M_Locator_ID left outer join M_Warehouse warehouse3_ on locator2_.M_Warehouse_ID = warehouse3_.M_Warehouse_ID left outer join M_Product_Category productcat4_ on product1_.M_Product_Category_ID = productcat4_.M_Product_Category_ID left outer join AD_Org organizati5_ on warehouse3_.AD_Org_ID = organizati5_.AD_Org_ID left outer join C_UOM uom6_ on productsto0_.C_Uom_ID = uom6_.C_UOM_ID left outer join M_AttributeSetInstance attributes7_ on productsto0_.M_Attributesetinstance_ID = attributes7_.M_AttributeSetInstance_ID where productsto0_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (productsto0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and product1_.IsStocked = 'Y' and 1 = 1 group by organizati5_.Name, warehouse3_.Name, organizati5_.AD_Org_ID, product1_.Value, product1_.Name, product1_.M_Product_ID, productcat4_.Name, productcat4_.M_Product_Category_ID, uom6_.Name, attributes7_.Description, warehouse3_.M_Warehouse_ID, product1_.UPC, locator2_.Value order by warehouse3_.Name, product1_.Name, sum(productsto0_.Qtyonhand) desc limit '10';
Date: 2026-07-15 12:58:41 Duration: 1s299ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati5_.Name as col_0_0_, warehouse3_.Name as col_1_0_, organizati5_.AD_Org_ID as col_2_0_, product1_.Value as col_3_0_, product1_.Name as col_4_0_, product1_.M_Product_ID as col_5_0_, product1_.UPC as col_6_0_, productcat4_.Name as col_7_0_, productcat4_.M_Product_Category_ID as col_8_0_, uom6_.Name as col_9_0_, sum(productsto0_.Qtyonhand) as col_10_0_, attributes7_.Description as col_11_0_, warehouse3_.M_Warehouse_ID as col_12_0_, locator2_.Value as col_13_0_ from M_Product_Stock_V productsto0_ left outer join M_Product product1_ on productsto0_.M_Product_ID = product1_.M_Product_ID left outer join M_Locator locator2_ on productsto0_.M_Locator_ID = locator2_.M_Locator_ID left outer join M_Warehouse warehouse3_ on locator2_.M_Warehouse_ID = warehouse3_.M_Warehouse_ID left outer join M_Product_Category productcat4_ on product1_.M_Product_Category_ID = productcat4_.M_Product_Category_ID left outer join AD_Org organizati5_ on warehouse3_.AD_Org_ID = organizati5_.AD_Org_ID left outer join C_UOM uom6_ on productsto0_.C_Uom_ID = uom6_.C_UOM_ID left outer join M_AttributeSetInstance attributes7_ on productsto0_.M_Attributesetinstance_ID = attributes7_.M_AttributeSetInstance_ID where productsto0_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (productsto0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and product1_.IsStocked = 'Y' and 1 = 1 group by organizati5_.Name, warehouse3_.Name, organizati5_.AD_Org_ID, product1_.Value, product1_.Name, product1_.M_Product_ID, productcat4_.Name, productcat4_.M_Product_Category_ID, uom6_.Name, attributes7_.Description, warehouse3_.M_Warehouse_ID, product1_.UPC, locator2_.Value order by warehouse3_.Name, product1_.Name, sum(productsto0_.Qtyonhand) desc limit '20';
Date: 2026-07-15 12:58:39 Duration: 1s14ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 1 50s81ms 50s81ms 50s81ms 50s81ms copy public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 15 07 1 50s81ms 50s81ms [ User: tad - Total duration: 50s81ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 50s81ms - Times executed: 1 ]
-
COPY public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) TO stdout;
Date: 2026-07-15 07:00:56 Duration: 50s81ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
12 1 18s779ms 18s779ms 18s779ms 18s779ms copy public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 15 07 1 18s779ms 18s779ms [ User: tad - Total duration: 18s779ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 18s779ms - Times executed: 1 ]
-
COPY public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) TO stdout;
Date: 2026-07-15 07:02:04 Duration: 18s779ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
13 1 15s868ms 15s868ms 15s868ms 15s868ms copy public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 15 07 1 15s868ms 15s868ms [ User: tad - Total duration: 15s868ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 15s868ms - Times executed: 1 ]
-
COPY public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) TO stdout;
Date: 2026-07-15 07:01:21 Duration: 15s868ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
14 1 12s445ms 12s445ms 12s445ms 12s445ms copy public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 15 07 1 12s445ms 12s445ms [ User: tad - Total duration: 12s445ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 12s445ms - Times executed: 1 ]
-
COPY public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) TO stdout;
Date: 2026-07-15 07:03:19 Duration: 12s445ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
15 1 12s72ms 12s72ms 12s72ms 12s72ms copy public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 15 07 1 12s72ms 12s72ms [ User: tad - Total duration: 12s72ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 12s72ms - Times executed: 1 ]
-
COPY public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) TO stdout;
Date: 2026-07-15 07:03:05 Duration: 12s72ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
16 1 11s673ms 11s673ms 11s673ms 11s673ms copy public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 15 07 1 11s673ms 11s673ms [ User: tad - Total duration: 11s673ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 11s673ms - Times executed: 1 ]
-
COPY public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) TO stdout;
Date: 2026-07-15 07:02:25 Duration: 11s673ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
17 1 9s78ms 9s78ms 9s78ms 9s78ms copy public.c_orderline_offer (c_orderline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_orderline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer, em_obdisc_identifier, em_obpos_discountinstance, em_obpos_extraproperties) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 15 07 1 9s78ms 9s78ms [ User: tad - Total duration: 9s78ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 9s78ms - Times executed: 1 ]
-
COPY public.c_orderline_offer (c_orderline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_orderline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer, em_obdisc_identifier, em_obpos_discountinstance, em_obpos_extraproperties) TO stdout;
Date: 2026-07-15 07:02:13 Duration: 9s78ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
18 1 8s213ms 8s213ms 8s213ms 8s213ms copy public.c_invoicelinetax (c_invoicelinetax_id, c_tax_id, c_invoice_id, c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, recalculate) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 15 07 1 8s213ms 8s213ms [ User: tad - Total duration: 8s213ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 8s213ms - Times executed: 1 ]
-
COPY public.c_invoicelinetax (c_invoicelinetax_id, c_tax_id, c_invoice_id, c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, recalculate) TO stdout;
Date: 2026-07-15 07:01:36 Duration: 8s213ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
19 1 6s408ms 6s408ms 6s408ms 6s408ms copy public.c_invoiceline_offer (c_invoiceline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoiceline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 15 07 1 6s408ms 6s408ms [ User: tad - Total duration: 6s408ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 6s408ms - Times executed: 1 ]
-
COPY public.c_invoiceline_offer (c_invoiceline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoiceline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer) TO stdout;
Date: 2026-07-15 07:01:28 Duration: 6s408ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
20 1 6s349ms 6s349ms 6s349ms 6s349ms copy public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, em_opxmm_btn_purch, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_prpres_reference, em_prpres_void_order, em_prpres_gross_total, em_prpres_net_total, em_prpres_isgift, em_prpres_giftmessage, em_prpres_id_cart, em_prpres_id_paym_transaction, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_prpp_generatepicking, em_mntc_createinvoice, bpartner_extref, c_alternate_location_id, em_prpres_processing, em_prpres_generatepicking, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_obpos_skip_tax_calculation) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 15 07 1 6s349ms 6s349ms [ User: tad - Total duration: 6s349ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 6s349ms - Times executed: 1 ]
-
COPY public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, em_opxmm_btn_purch, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_prpres_reference, em_prpres_void_order, em_prpres_gross_total, em_prpres_net_total, em_prpres_isgift, em_prpres_giftmessage, em_prpres_id_cart, em_prpres_id_paym_transaction, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_prpp_generatepicking, em_mntc_createinvoice, bpartner_extref, c_alternate_location_id, em_prpres_processing, em_prpres_generatepicking, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_obpos_skip_tax_calculation) TO stdout;
Date: 2026-07-15 07:01:45 Duration: 6s349ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 50s81ms 50s81ms 50s81ms 1 50s81ms copy public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 15 07 1 50s81ms 50s81ms [ User: tad - Total duration: 50s81ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 50s81ms - Times executed: 1 ]
-
COPY public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) TO stdout;
Date: 2026-07-15 07:00:56 Duration: 50s81ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
2 3s214ms 1m14s 43s103ms 12 8m37s select organizati8_.name as col_0_0_, organizati8_.ad_org_id as col_1_0_, product4_.m_product_id as col_2_0_, product4_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet9_.taxamt) from c_orderlinetax orderlinet9_ where orderlinet9_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join m_product_category productcat6_ on product4_.m_product_category_id = productcat6_.m_product_category_id left outer join obpos_applications obpos_appl7_ on order5_.em_obpos_applications_id = obpos_appl7_.obpos_applications_id left outer join ad_org organizati8_ on order5_.ad_org_id = organizati8_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl7_.ad_client_id = ? and (obpos_appl7_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati8_.name, organizati8_.ad_org_id, product4_.name, product4_.m_product_id order by col_7_0_ desc, col_4_0_ desc, organizati8_.name, product4_.name limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 15 12 3 2m30s 50s219ms 13 2 2m20s 1m10s 14 1 1m13s 1m13s 16 1 3s562ms 3s562ms 18 1 3s214ms 3s214ms 19 4 2m25s 36s485ms [ User: tad - Total duration: 8m37s - Times executed: 12 ]
[ Application: openbravo - Total duration: 8m37s - Times executed: 12 ]
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 12:53:07 Duration: 1m14s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 14:00:27 Duration: 1m13s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati8_.Name as col_0_0_, organizati8_.AD_Org_ID as col_1_0_, product4_.M_Product_ID as col_2_0_, product4_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet9_.Taxamt) from C_OrderLineTax orderlinet9_ where orderlinet9_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join M_Product_Category productcat6_ on product4_.M_Product_Category_ID = productcat6_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl7_ on order5_.EM_Obpos_Applications_ID = obpos_appl7_.Obpos_Applications_ID left outer join AD_Org organizati8_ on order5_.AD_Org_ID = organizati8_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl7_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl7_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('1900-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2999-01-01 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati8_.Name, organizati8_.AD_Org_ID, product4_.Name, product4_.M_Product_ID order by col_7_0_ desc, col_4_0_ desc, organizati8_.Name, product4_.Name limit '30';
Date: 2026-07-15 13:07:42 Duration: 1m11s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 5s952ms 41s356ms 24s485ms 12 4m53s select organizati9_.name as col_0_0_, organizati9_.ad_org_id as col_1_0_, businesspa6_.c_bpartner_id as col_2_0_, businesspa6_.name as col_3_0_, sum(orderline3_.qtyordered) as col_4_0_, round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) as col_5_0_, case when round(sum(orderline3_.qtyordered * (orderline3_.grosspricelist - orderline3_.gross_unit_price)), ?) = ? then ? else case when sum(orderline3_.grosspricelist) = ? then ? else round(sum(orderline3_.grosspricelist - orderline3_.gross_unit_price) / sum(orderline3_.grosspricelist) * ?, ?) end end as col_6_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet10_.taxamt) from c_orderlinetax orderlinet10_ where orderlinet10_.c_orderline_id = orderline3_.c_orderline_id)), ?) as col_7_0_, round(sum(transactio0_.cost), ?) as col_8_0_, case when round(sum(transactio0_.cost), ?) > ? then round(sum(orderline3_.linenetamt + ( select sum(orderlinet11_.taxamt) from c_orderlinetax orderlinet11_ where orderlinet11_.c_orderline_id = orderline3_.c_orderline_id)) / sum(transactio0_.cost), ?) else null end as col_9_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet12_.taxamt) from c_orderlinetax orderlinet12_ where orderlinet12_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost), ?) as col_10_0_, round(sum(orderline3_.linenetamt + ( select sum(orderlinet13_.taxamt) from c_orderlinetax orderlinet13_ where orderlinet13_.c_orderline_id = orderline3_.c_orderline_id) - transactio0_.cost) / sum(orderline3_.linenetamt + ( select sum(orderlinet14_.taxamt) from c_orderlinetax orderlinet14_ where orderlinet14_.c_orderline_id = orderline3_.c_orderline_id)) * ?, ?) as col_11_0_ from m_transaction_cost transactio0_ inner join m_transaction materialmg1_ on transactio0_.m_transaction_id = materialmg1_.m_transaction_id right outer join m_inoutline materialmg2_ on materialmg1_.m_inoutline_id = materialmg2_.m_inoutline_id left outer join c_orderline orderline3_ on materialmg2_.c_orderline_id = orderline3_.c_orderline_id left outer join m_product product4_ on orderline3_.m_product_id = product4_.m_product_id left outer join c_order order5_ on orderline3_.c_order_id = order5_.c_order_id left outer join c_bpartner businesspa6_ on order5_.c_bpartner_id = businesspa6_.c_bpartner_id left outer join m_product_category productcat7_ on product4_.m_product_category_id = productcat7_.m_product_category_id left outer join obpos_applications obpos_appl8_ on order5_.em_obpos_applications_id = obpos_appl8_.obpos_applications_id left outer join ad_org organizati9_ on order5_.ad_org_id = organizati9_.ad_org_id where order5_.issotrx = ? and order5_.docstatus = ? and obpos_appl8_.ad_client_id = ? and (obpos_appl8_.ad_org_id in (...)) and order5_.created > to_date(?, ?) and order5_.created & lt; to_date(?, ?) and ? = ? group by organizati9_.name, organizati9_.ad_org_id, businesspa6_.name, businesspa6_.c_bpartner_id order by col_7_0_ desc, col_4_0_ desc, organizati9_.name, businesspa6_.name limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 15 12 3 1m27s 29s78ms 13 3 1m52s 37s529ms 16 1 6s169ms 6s169ms 18 1 6s129ms 6s129ms 19 4 1m21s 20s425ms [ User: tad - Total duration: 4m53s - Times executed: 12 ]
[ Application: openbravo - Total duration: 4m53s - Times executed: 12 ]
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:52:34 Duration: 41s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 13:07:10 Duration: 39s71ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select organizati9_.Name as col_0_0_, organizati9_.AD_Org_ID as col_1_0_, businesspa6_.C_BPartner_ID as col_2_0_, businesspa6_.Name as col_3_0_, sum(orderline3_.QtyOrdered) as col_4_0_, round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) as col_5_0_, case when round(sum(orderline3_.QtyOrdered * (orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price)), 2) = 0 then 0 else case when sum(orderline3_.GrossPriceList) = 0 then 100 else round(sum(orderline3_.GrossPriceList - orderline3_.Gross_Unit_Price) / sum(orderline3_.GrossPriceList) * 100, 2) end end as col_6_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet10_.Taxamt) from C_OrderLineTax orderlinet10_ where orderlinet10_.C_Orderline_ID = orderline3_.C_OrderLine_ID)), 2) as col_7_0_, round(sum(transactio0_.Cost), 2) as col_8_0_, case when round(sum(transactio0_.Cost), 2) > 0 then round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet11_.Taxamt) from C_OrderLineTax orderlinet11_ where orderlinet11_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) / sum(transactio0_.Cost), 2) else null end as col_9_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet12_.Taxamt) from C_OrderLineTax orderlinet12_ where orderlinet12_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost), 2) as col_10_0_, round(sum(orderline3_.LineNetAmt + ( select sum(orderlinet13_.Taxamt) from C_OrderLineTax orderlinet13_ where orderlinet13_.C_Orderline_ID = orderline3_.C_OrderLine_ID) - transactio0_.Cost) / sum(orderline3_.LineNetAmt + ( select sum(orderlinet14_.Taxamt) from C_OrderLineTax orderlinet14_ where orderlinet14_.C_Orderline_ID = orderline3_.C_OrderLine_ID)) * 100, 2) as col_11_0_ from M_Transaction_Cost transactio0_ inner join M_Transaction materialmg1_ on transactio0_.M_Transaction_ID = materialmg1_.M_Transaction_ID right outer join M_InOutLine materialmg2_ on materialmg1_.M_InOutLine_ID = materialmg2_.M_InOutLine_ID left outer join C_OrderLine orderline3_ on materialmg2_.C_OrderLine_ID = orderline3_.C_OrderLine_ID left outer join M_Product product4_ on orderline3_.M_Product_ID = product4_.M_Product_ID left outer join C_Order order5_ on orderline3_.C_Order_ID = order5_.C_Order_ID left outer join C_BPartner businesspa6_ on order5_.C_BPartner_ID = businesspa6_.C_BPartner_ID left outer join M_Product_Category productcat7_ on product4_.M_Product_Category_ID = productcat7_.M_Product_Category_ID left outer join OBPOS_APPLICATIONS obpos_appl8_ on order5_.EM_Obpos_Applications_ID = obpos_appl8_.Obpos_Applications_ID left outer join AD_Org organizati9_ on order5_.AD_Org_ID = organizati9_.AD_Org_ID where order5_.IsSOTrx = 'Y' and order5_.DocStatus = 'CO' and obpos_appl8_.AD_Client_ID = 'F1F033983E8740EC81BE7129A38DC0A2' and (obpos_appl8_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and order5_.Created > to_date('2021-01-01 00:00:00+00', 'YYYY-MM-DD') and order5_.Created & lt; to_date('2998-12-31 00:00:00+00', 'YYYY-MM-DD') and 1 = 1 group by organizati9_.Name, organizati9_.AD_Org_ID, businesspa6_.Name, businesspa6_.C_BPartner_ID order by col_7_0_ desc, col_4_0_ desc, organizati9_.Name, businesspa6_.Name limit '20';
Date: 2026-07-15 12:59:16 Duration: 37s752ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 18s779ms 18s779ms 18s779ms 1 18s779ms copy public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 15 07 1 18s779ms 18s779ms [ User: tad - Total duration: 18s779ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 18s779ms - Times executed: 1 ]
-
COPY public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, em_mntc_discount, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obwpl_readypl, salesrep_id, em_prpres_ps_line_id) TO stdout;
Date: 2026-07-15 07:02:04 Duration: 18s779ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
5 15s868ms 15s868ms 15s868ms 1 15s868ms copy public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 15 07 1 15s868ms 15s868ms [ User: tad - Total duration: 15s868ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 15s868ms - Times executed: 1 ]
-
COPY public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, salesrep_id) TO stdout;
Date: 2026-07-15 07:01:21 Duration: 15s868ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
6 12s445ms 12s445ms 12s445ms 1 12s445ms copy public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 15 07 1 12s445ms 12s445ms [ User: tad - Total duration: 12s445ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 12s445ms - Times executed: 1 ]
-
COPY public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent) TO stdout;
Date: 2026-07-15 07:03:19 Duration: 12s445ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
7 12s72ms 12s72ms 12s72ms 1 12s72ms copy public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 15 07 1 12s72ms 12s72ms [ User: tad - Total duration: 12s72ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 12s72ms - Times executed: 1 ]
-
COPY public.m_inoutline (m_inoutline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, line, description, m_inout_id, c_orderline_id, m_locator_id, m_product_id, c_uom_id, movementqty, isinvoiced, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_condition_goods_id, canceled_inoutline_id, a_asset_id, manage_prereservation, user1_id, user2_id, c_project_id, c_costcenter_id, c_bpartner_id, explode, bom_parent_id, c_aum, aumqty, em_obwpl_pickinglist_id, em_obwpl_editlines_pe, em_obwpl_removeline, em_prpp_qtyverified, salesrep_id) TO stdout;
Date: 2026-07-15 07:03:05 Duration: 12s72ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
8 11s673ms 11s673ms 11s673ms 1 11s673ms copy public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 15 07 1 11s673ms 11s673ms [ User: tad - Total duration: 11s673ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 11s673ms - Times executed: 1 ]
-
COPY public.c_orderlinetax (c_orderlinetax_id, c_orderline_id, c_tax_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, c_order_id) TO stdout;
Date: 2026-07-15 07:02:25 Duration: 11s673ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
9 9s78ms 9s78ms 9s78ms 1 9s78ms copy public.c_orderline_offer (c_orderline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_orderline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer, em_obdisc_identifier, em_obpos_discountinstance, em_obpos_extraproperties) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 15 07 1 9s78ms 9s78ms [ User: tad - Total duration: 9s78ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 9s78ms - Times executed: 1 ]
-
COPY public.c_orderline_offer (c_orderline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_orderline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer, em_obdisc_identifier, em_obpos_discountinstance, em_obpos_extraproperties) TO stdout;
Date: 2026-07-15 07:02:13 Duration: 9s78ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
10 8s213ms 8s213ms 8s213ms 1 8s213ms copy public.c_invoicelinetax (c_invoicelinetax_id, c_tax_id, c_invoice_id, c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, recalculate) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 15 07 1 8s213ms 8s213ms [ User: tad - Total duration: 8s213ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 8s213ms - Times executed: 1 ]
-
COPY public.c_invoicelinetax (c_invoicelinetax_id, c_tax_id, c_invoice_id, c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, taxbaseamt, taxamt, line, recalculate) TO stdout;
Date: 2026-07-15 07:01:36 Duration: 8s213ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
11 6s408ms 6s408ms 6s408ms 1 6s408ms copy public.c_invoiceline_offer (c_invoiceline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoiceline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 15 07 1 6s408ms 6s408ms [ User: tad - Total duration: 6s408ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 6s408ms - Times executed: 1 ]
-
COPY public.c_invoiceline_offer (c_invoiceline_offer_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoiceline_id, line, m_offer_id, priceoffer, amtoffer, priceoffergross, totalamt, displayedtotalamt, em_obdisc_qtyoffer) TO stdout;
Date: 2026-07-15 07:01:28 Duration: 6s408ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
12 6s349ms 6s349ms 6s349ms 1 6s349ms copy public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, em_opxmm_btn_purch, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_prpres_reference, em_prpres_void_order, em_prpres_gross_total, em_prpres_net_total, em_prpres_isgift, em_prpres_giftmessage, em_prpres_id_cart, em_prpres_id_paym_transaction, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_prpp_generatepicking, em_mntc_createinvoice, bpartner_extref, c_alternate_location_id, em_prpres_processing, em_prpres_generatepicking, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_obpos_skip_tax_calculation) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 15 07 1 6s349ms 6s349ms [ User: tad - Total duration: 6s349ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 6s349ms - Times executed: 1 ]
-
COPY public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, em_opxmm_btn_purch, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_prpres_reference, em_prpres_void_order, em_prpres_gross_total, em_prpres_net_total, em_prpres_isgift, em_prpres_giftmessage, em_prpres_id_cart, em_prpres_id_paym_transaction, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_prpp_generatepicking, em_mntc_createinvoice, bpartner_extref, c_alternate_location_id, em_prpres_processing, em_prpres_generatepicking, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_obpos_skip_tax_calculation) TO stdout;
Date: 2026-07-15 07:01:45 Duration: 6s349ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
13 5s526ms 5s526ms 5s526ms 1 5s526ms copy public.fin_payment_schedule (fin_payment_schedule_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, c_invoice_id, c_order_id, duedate, fin_paymentmethod_id, c_currency_id, amount, paidamt, outstandingamt, isactive, fin_payment_priority_id, update_payment_plan, origduedate, description, expecteddate, em_kctrp_isretention_payment, em_aprm_modif_paym_sched, em_aprm_modif_paym_out_sched) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 15 07 1 5s526ms 5s526ms [ User: tad - Total duration: 5s526ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 5s526ms - Times executed: 1 ]
-
COPY public.fin_payment_schedule (fin_payment_schedule_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, c_invoice_id, c_order_id, duedate, fin_paymentmethod_id, c_currency_id, amount, paidamt, outstandingamt, isactive, fin_payment_priority_id, update_payment_plan, origduedate, description, expecteddate, em_kctrp_isretention_payment, em_aprm_modif_paym_sched, em_aprm_modif_paym_out_sched) TO stdout;
Date: 2026-07-15 07:02:45 Duration: 5s526ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
14 3s959ms 8s742ms 4s834ms 180 14m30s 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) aaa where not exists ( select ? from ad_alert a where a.ad_alertrule_id = ? and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, ?) != ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 15 07 12 59s207ms 4s933ms 08 12 56s290ms 4s690ms 09 12 58s753ms 4s896ms 10 12 56s602ms 4s716ms 11 12 56s484ms 4s707ms 12 12 59s828ms 4s985ms 13 12 59s937ms 4s994ms 14 12 58s470ms 4s872ms 15 12 59s529ms 4s960ms 16 12 56s819ms 4s734ms 17 12 1m 5s48ms 18 12 57s434ms 4s786ms 19 12 57s682ms 4s806ms 20 12 57s53ms 4s754ms 21 12 55s573ms 4s631ms [ User: tad - Total duration: 14m30s - Times executed: 180 ]
[ Application: openbravo - Total duration: 14m30s - Times executed: 180 ]
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 09:00:08 Duration: 8s742ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 12:00:08 Duration: 8s633ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * 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) AAA where not exists ( select 1 from ad_alert a where a.ad_alertrule_id = '463465B5BE664902A40F05E84E1587CD' and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 13:00:08 Duration: 8s264ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 3s788ms 8s862ms 4s379ms 180 13m8s 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);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 15 07 12 55s385ms 4s615ms 08 12 52s248ms 4s354ms 09 12 50s902ms 4s241ms 10 12 50s866ms 4s238ms 11 12 54s795ms 4s566ms 12 12 51s334ms 4s277ms 13 12 54s45ms 4s503ms 14 12 51s500ms 4s291ms 15 12 54s116ms 4s509ms 16 12 52s354ms 4s362ms 17 12 53s323ms 4s443ms 18 12 50s944ms 4s245ms 19 12 53s128ms 4s427ms 20 12 51s993ms 4s332ms 21 12 51s383ms 4s281ms [ User: tad - Total duration: 13m8s - Times executed: 180 ]
[ Application: openbravo - Total duration: 13m8s - Times executed: 180 ]
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:05:15 Duration: 8s862ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 11:00:11 Duration: 6s68ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
UPDATE AD_ALERT SET STATUS = 'SOLVED', UPDATED = NOW(), UPDATEDBY = 0 WHERE AD_ALERTRULE_ID = '463465B5BE664902A40F05E84E1587CD' 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-07-15 07:00:14 Duration: 6s59ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 4s341ms 4s341ms 4s341ms 1 4s341ms copy public.c_invoice (c_invoice_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, posted, c_doctype_id, c_doctypetarget_id, c_order_id, description, isprinted, salesrep_id, dateinvoiced, dateprinted, dateacct, c_bpartner_id, c_bpartner_location_id, poreference, isdiscountprinted, dateordered, c_currency_id, c_paymentterm_id, c_charge_id, chargeamt, totallines, grandtotal, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, createfrom, generateto, ad_user_id, copyfrom, isselfservice, ad_orgtrx_id, user1_id, user2_id, withholdingamount, taxdate, c_withholding_id, ispaid, totalpaid, outstandingamt, daystilldue, dueamt, lastcalculatedondate, fin_paymentmethod_id, fin_payment_priority_id, finalsettlement, daysoutstanding, percentageoverdue, c_costcenter_id, calculate_promotions, a_asset_id, iscashvat, em_lpy_controle_impressos_id, em_lpy_isfiscalserno, em_lpy_fiscalno, em_lpy_fiscalserno, em_kctrp_isretention_payment, em_kctrp_retention_grossamt_id, em_aprm_addpayment, em_aprm_processinvoice, prepaymentamt, createfromorders, createfrominouts, paidamtatinvoicing, bpartner_extref, c_alternate_location_id, einvoice_status, einvoice_generated, einvoice_externalid, einvoice_send_status, einvoice_sent, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_mntc_invoice_format) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 15 07 1 4s341ms 4s341ms [ User: tad - Total duration: 4s341ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 4s341ms - Times executed: 1 ]
-
COPY public.c_invoice (c_invoice_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, posted, c_doctype_id, c_doctypetarget_id, c_order_id, description, isprinted, salesrep_id, dateinvoiced, dateprinted, dateacct, c_bpartner_id, c_bpartner_location_id, poreference, isdiscountprinted, dateordered, c_currency_id, c_paymentterm_id, c_charge_id, chargeamt, totallines, grandtotal, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, createfrom, generateto, ad_user_id, copyfrom, isselfservice, ad_orgtrx_id, user1_id, user2_id, withholdingamount, taxdate, c_withholding_id, ispaid, totalpaid, outstandingamt, daystilldue, dueamt, lastcalculatedondate, fin_paymentmethod_id, fin_payment_priority_id, finalsettlement, daysoutstanding, percentageoverdue, c_costcenter_id, calculate_promotions, a_asset_id, iscashvat, em_lpy_controle_impressos_id, em_lpy_isfiscalserno, em_lpy_fiscalno, em_lpy_fiscalserno, em_kctrp_isretention_payment, em_kctrp_retention_grossamt_id, em_aprm_addpayment, em_aprm_processinvoice, prepaymentamt, createfromorders, createfrominouts, paidamtatinvoicing, bpartner_extref, c_alternate_location_id, einvoice_status, einvoice_generated, einvoice_externalid, einvoice_send_status, einvoice_sent, em_obpos_rounding_amount, em_obpos_sequencename, em_obpos_sequencenumber, em_mntc_invoice_format) TO stdout;
Date: 2026-07-15 07:01:05 Duration: 4s341ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
17 3s699ms 3s699ms 3s699ms 1 3s699ms copy public.fin_finacc_transaction (fin_finacc_transaction_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, c_currency_id, fin_financial_account_id, line, fin_payment_id, dateacct, c_glitem_id, status, paymentamt, depositamt, processed, processing, posted, c_project_id, c_campaign_id, c_activity_id, user1_id, user2_id, trxtype, statementdate, description, fin_reconciliation_id, createdbyalgorithm, foreign_currency_id, foreign_convert_rate, foreign_amount, c_bpartner_id, m_product_id, c_salesregion_id, c_costcenter_id, em_aprm_processed, em_aprm_finacc_trans_origin, em_obpos_app_cashup_id) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 15 07 1 3s699ms 3s699ms [ User: tad - Total duration: 3s699ms - Times executed: 1 ]
[ Application: pg_dump - Total duration: 3s699ms - Times executed: 1 ]
-
COPY public.fin_finacc_transaction (fin_finacc_transaction_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, c_currency_id, fin_financial_account_id, line, fin_payment_id, dateacct, c_glitem_id, status, paymentamt, depositamt, processed, processing, posted, c_project_id, c_campaign_id, c_activity_id, user1_id, user2_id, trxtype, statementdate, description, fin_reconciliation_id, createdbyalgorithm, foreign_currency_id, foreign_convert_rate, foreign_amount, c_bpartner_id, m_product_id, c_salesregion_id, c_costcenter_id, em_aprm_processed, em_aprm_finacc_trans_origin, em_obpos_app_cashup_id) TO stdout;
Date: 2026-07-15 07:02:32 Duration: 3s699ms Database: openbravo User: tad Remote: 127.0.0.1 Application: pg_dump
18 1s637ms 4s442ms 2s26ms 90 3m2s select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, ? as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, ?) as group_id, coalesce(pprod.out_of_stock, ?) as out_of_stock, coalesce(pprod.depends_on_stock, ?) as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = ? and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_product.m_product_id is not null and m_product.isgeneric = ?) union select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, ?) as group_id, coalesce(pcomb.out_of_stock, ?) as out_of_stock, coalesce(pcomb.depends_on_stock, ?) as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?) or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?) or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = ? and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id is not null and prpres_combination.m_product_id is not null and m_product.isgeneric = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 15 07 6 12s594ms 2s99ms 08 6 11s631ms 1s938ms 09 6 13s486ms 2s247ms 10 6 11s223ms 1s870ms 11 6 11s419ms 1s903ms 12 6 13s37ms 2s172ms 13 6 11s876ms 1s979ms 14 6 13s102ms 2s183ms 15 6 12s25ms 2s4ms 16 6 11s869ms 1s978ms 17 6 13s118ms 2s186ms 18 6 11s878ms 1s979ms 19 6 12s254ms 2s42ms 20 6 11s786ms 1s964ms 21 6 11s65ms 1s844ms [ User: tad - Total duration: 3m2s - Times executed: 90 ]
[ Application: openbravo - Total duration: 3m2s - Times executed: 90 ]
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 09:00:04 Duration: 4s442ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 14:00:03 Duration: 3s260ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct pprod.m_product_id, pprod.ps_product_id as baseprodid, '0' as combinationid, pprod.stock_id, pprod.shop_id, coalesce(pprod.group_id, '0') as group_id, coalesce(pprod.out_of_stock, '2') as out_of_stock, coalesce(pprod.depends_on_stock, '0') as depends_on_stock from prpres_product pprod where pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_transaction left join prpres_product on m_transaction.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from prpres_product left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id left join m_product on prpres_product.m_product_id = m_product.m_product_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_product.inventory_date, prpres_product.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') or pprod.prpres_product_id in ( select distinct (prpres_product_id) from m_reservation left join prpres_product on m_reservation.m_product_id = prpres_product.m_product_id left join m_product on prpres_product.m_product_id = m_product.m_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_product.m_product_id is not null and m_product.isgeneric = 'N') UNION select distinct pcomb.m_product_id, pprod.ps_product_id as baseprodid, pcomb.ps_combination_id as combinationid, pcomb.stock_id, pcomb.shop_id, coalesce(pcomb.group_id, '0') as group_id, coalesce(pcomb.out_of_stock, '2') as out_of_stock, coalesce(pcomb.depends_on_stock, '0') as depends_on_stock from prpres_combination pcomb left join prpres_product pprod on pcomb.prpres_product_id = pprod.prpres_product_id where pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_transaction left join prpres_combination on m_transaction.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_transaction.trxprocessdate >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from prpres_combination left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and coalesce(prpres_combination.inventory_date, prpres_combination.created) >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N') or pcomb.prpres_combination_id in ( select distinct (prpres_combination_id) from m_reservation left join prpres_combination on m_reservation.m_product_id = prpres_combination.m_product_id left join m_product on prpres_combination.m_product_id = m_product.m_product_id left join prpres_product on prpres_combination.prpres_product_id = prpres_product.prpres_product_id left join prpres_conf on prpres_conf.prpres_conf_id = prpres_product.prpres_conf_id where prpres_conf.prpres_conf_id = '83A67C3749514528BCB99879C97E01BE' and m_reservation.created >= prpres_conf.last_inventory_sync and prpres_product.ps_product_id IS NOT NULL and prpres_combination.m_product_id is not null and m_product.isgeneric = 'N');
Date: 2026-07-15 12:00:03 Duration: 3s147ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 1s376ms 2s165ms 1s757ms 15 26s365ms select profile.take_sample ();Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 15 07 1 1s751ms 1s751ms 08 1 1s574ms 1s574ms 09 1 2s165ms 2s165ms 10 1 1s576ms 1s576ms 11 1 1s376ms 1s376ms 12 1 1s831ms 1s831ms 13 1 1s840ms 1s840ms 14 1 2s69ms 2s69ms 15 1 1s664ms 1s664ms 16 1 1s494ms 1s494ms 17 1 1s780ms 1s780ms 18 1 1s804ms 1s804ms 19 1 1s939ms 1s939ms 20 1 1s838ms 1s838ms 21 1 1s658ms 1s658ms [ User: postgres - Total duration: 26s365ms - Times executed: 15 ]
[ Application: psql - Total duration: 26s365ms - Times executed: 15 ]
-
SELECT profile.take_sample ();
Date: 2026-07-15 09:00:04 Duration: 2s165ms Database: openbravo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-15 14:00:03 Duration: 2s69ms Database: openbravo User: postgres Remote: [local] Application: psql
-
SELECT profile.take_sample ();
Date: 2026-07-15 19:00:03 Duration: 1s939ms Database: openbravo User: postgres Remote: [local] Application: psql
20 1s335ms 1s957ms 1s646ms 2 3s293ms select order0_.c_order_id as c_order_1_249_, order0_.ad_client_id as ad_clien2_249_, order0_.ad_org_id as ad_org_i3_249_, order0_.isactive as isactive4_249_, order0_.created as created5_249_, order0_.createdby as createdb6_249_, order0_.updated as updated7_249_, order0_.updatedby as updatedb8_249_, order0_.issotrx as issotrx9_249_, order0_.documentno as documen10_249_, order0_.docstatus as docstat11_249_, order0_.docaction as docacti12_249_, order0_.processing as process13_249_, order0_.processed as process14_249_, order0_.c_doctype_id as c_docty15_249_, order0_.c_doctypetarget_id as c_docty16_249_, order0_.description as descrip17_249_, order0_.isdelivered as isdeliv18_249_, order0_.isinvoiced as isinvoi19_249_, order0_.isprinted as isprint20_249_, order0_.isselected as isselec21_249_, order0_.salesrep_id as salesre22_249_, order0_.dateordered as dateord23_249_, order0_.datepromised as datepro24_249_, order0_.dateprinted as datepri25_249_, order0_.dateacct as dateacc26_249_, order0_.c_bpartner_id as c_bpart27_249_, order0_.billto_id as billto_28_249_, order0_.c_bpartner_location_id as c_bpart29_249_, order0_.poreference as porefer30_249_, order0_.isdiscountprinted as isdisco31_249_, order0_.c_currency_id as c_curre32_249_, order0_.paymentrule as payment33_249_, order0_.c_paymentterm_id as c_payme34_249_, order0_.invoicerule as invoice35_249_, order0_.deliveryrule as deliver36_249_, order0_.freightcostrule as freight37_249_, order0_.freightamt as freight38_249_, order0_.deliveryviarule as deliver39_249_, order0_.m_shipper_id as m_shipp40_249_, order0_.c_charge_id as c_charg41_249_, order0_.chargeamt as chargea42_249_, order0_.priorityrule as priorit43_249_, order0_.totallines as totalli44_249_, order0_.grandtotal as grandto45_249_, order0_.m_warehouse_id as m_wareh46_249_, order0_.m_pricelist_id as m_price47_249_, order0_.istaxincluded as istaxin48_249_, order0_.c_campaign_id as c_campa49_249_, order0_.c_project_id as c_proje50_249_, order0_.c_activity_id as c_activ51_249_, order0_.posted as posted52_249_, order0_.ad_user_id as ad_user53_249_, order0_.copyfrom as copyfro54_249_, order0_.dropship_bpartner_id as dropshi55_249_, order0_.dropship_location_id as dropshi56_249_, order0_.dropship_user_id as dropshi57_249_, order0_.isselfservice as isselfs58_249_, order0_.ad_orgtrx_id as ad_orgt59_249_, order0_.user1_id as user60_249_, order0_.user2_id as user61_249_, order0_.deliverynotes as deliver62_249_, order0_.c_incoterms_id as c_incot63_249_, order0_.incotermsdescription as incoter64_249_, order0_.generatetemplate as generat65_249_, order0_.delivery_location_id as deliver66_249_, order0_.copyfrompo as copyfro67_249_, order0_.fin_paymentmethod_id as fin_pay68_249_, order0_.fin_payment_priority_id as fin_pay69_249_, order0_.rm_pickfromshipment as rm_pick70_249_, order0_.rm_receivematerials as rm_rece71_249_, order0_.rm_createinvoice as rm_crea72_249_, order0_.c_return_reason_id as c_retur73_249_, order0_.rm_addorphanline as rm_addo74_249_, order0_.a_asset_id as a_asset75_249_, order0_.calculate_promotions as calcula76_249_, order0_.c_costcenter_id as c_costc77_249_, order0_.convertquotation as convert78_249_, order0_.c_reject_reason_id as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.quotation_id as quotati81_249_, order0_.so_res_status as so_res_82_249_, order0_.create_polines as create_83_249_, order0_.em_obdisc_addpack as em_obdi84_249_, order0_.iscashvat as iscashv85_249_, order0_.em_obmfm_selectfreight as em_obmf86_249_, order0_.em_obmfm_delivery_period_id as em_obmf87_249_, order0_.rm_pickfromreceipt as rm_pick88_249_, order0_.cancelandreplace as cancela89_249_, order0_.em_aprm_addpayment as em_aprm90_249_, order0_.em_obmfm_delivery_charges as em_obmf91_249_, order0_.confirmcancelandreplace as confirm92_249_, order0_.em_obmfm_freight_id as em_obmf93_249_, order0_.em_obwpl_generatepicking as em_obwp94_249_, order0_.cancelledorder_id as cancell95_249_, order0_.em_obmfm_weight as em_obmf96_249_, order0_.em_obwpl_isinpickinglist as em_obwp97_249_, order0_.em_obwpl_readypl as em_obwp98_249_, order0_.replacedorder_id as replace99_249_, order0_.em_opxmm_btn_purch as em_opx100_249_, order0_.iscancelled as iscanc101_249_, order0_.em_obmfm_weight_uom_id as em_obm102_249_, order0_.replacementorder_id as replac103_249_, order0_.em_obmfm_set_weight as em_obm104_249_, order0_.bpartner_extref as bpartn105_249_, order0_.em_obpos_applications_id as em_obp106_249_, order0_.em_obpos_sendemail as em_obp107_249_, order0_.em_obpos_email_status as em_obp108_249_, order0_.em_obpos_app_cashup_id as em_obp109_249_, order0_.em_obpos_createdabsolute as em_obp110_249_, order0_.em_obpos_notinvoiceoncashup as em_obp111_249_, order0_.em_obpos_rejected_quotat_id as em_obp112_249_, order0_.em_obpos_isdeleted as em_obp113_249_, order0_.em_obpos_islayaway as em_obp114_249_, order0_.em_obpos_prepaymentamt as em_obp115_249_, order0_.em_obpos_prepaymentlimitamt as em_obp116_249_, order0_.em_obpos_prepaymentlaylimitamt as em_obp117_249_, order0_.em_obpos_rounding_amount as em_obp118_249_, order0_.em_obpos_sequencename as em_obp119_249_, order0_.em_obpos_sequencenumber as em_obp120_249_, order0_.c_alternate_location_id as c_alte121_249_, order0_.em_prpp_generatepicking as em_prp122_249_, order0_.em_prpres_reference as em_prp123_249_, order0_.em_prpres_void_order as em_prp124_249_, order0_.em_prpres_gross_total as em_prp125_249_, order0_.em_mntc_createinvoice as em_mnt126_249_, order0_.em_prpres_net_total as em_prp127_249_, order0_.em_prpres_isgift as em_prp128_249_, order0_.em_prpres_giftmessage as em_prp129_249_, order0_.em_prpres_id_cart as em_prp130_249_, order0_.em_prpres_id_paym_transaction as em_prp131_249_, order0_.em_obpos_skip_tax_calculation as em_obp132_249_, order0_.em_prpres_processing as em_prp133_249_, order0_.em_prpres_generatepicking as em_prp134_249_ from c_order order0_ cross join c_doctype documentty1_ where order0_.c_doctypetarget_id = documentty1_.c_doctype_id and order0_.issotrx = ? and (documentty1_.docsubtypeso like ?) and (order0_.updated > ? or order0_.processed = ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) order by order0_.dateordered desc, order0_.c_order_id desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 15 12 1 1s957ms 1s957ms 13 1 1s335ms 1s335ms [ User: tad - Total duration: 3s293ms - Times executed: 2 ]
[ Application: openbravo - Total duration: 3s293ms - Times executed: 2 ]
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty1_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 12:58:39.642' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-15 12:58:41 Duration: 1s957ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_249_, order0_.AD_Client_ID as ad_clien2_249_, order0_.AD_Org_ID as ad_org_i3_249_, order0_.IsActive as isactive4_249_, order0_.Created as created5_249_, order0_.CreatedBy as createdb6_249_, order0_.Updated as updated7_249_, order0_.UpdatedBy as updatedb8_249_, order0_.IsSOTrx as issotrx9_249_, order0_.DocumentNo as documen10_249_, order0_.DocStatus as docstat11_249_, order0_.DocAction as docacti12_249_, order0_.Processing as process13_249_, order0_.Processed as process14_249_, order0_.C_DocType_ID as c_docty15_249_, order0_.C_DocTypeTarget_ID as c_docty16_249_, order0_.Description as descrip17_249_, order0_.IsDelivered as isdeliv18_249_, order0_.IsInvoiced as isinvoi19_249_, order0_.IsPrinted as isprint20_249_, order0_.IsSelected as isselec21_249_, order0_.SalesRep_ID as salesre22_249_, order0_.DateOrdered as dateord23_249_, order0_.DatePromised as datepro24_249_, order0_.DatePrinted as datepri25_249_, order0_.DateAcct as dateacc26_249_, order0_.C_BPartner_ID as c_bpart27_249_, order0_.BillTo_ID as billto_28_249_, order0_.C_BPartner_Location_ID as c_bpart29_249_, order0_.POReference as porefer30_249_, order0_.IsDiscountPrinted as isdisco31_249_, order0_.C_Currency_ID as c_curre32_249_, order0_.PaymentRule as payment33_249_, order0_.C_PaymentTerm_ID as c_payme34_249_, order0_.InvoiceRule as invoice35_249_, order0_.DeliveryRule as deliver36_249_, order0_.FreightCostRule as freight37_249_, order0_.FreightAmt as freight38_249_, order0_.DeliveryViaRule as deliver39_249_, order0_.M_Shipper_ID as m_shipp40_249_, order0_.C_Charge_ID as c_charg41_249_, order0_.ChargeAmt as chargea42_249_, order0_.PriorityRule as priorit43_249_, order0_.TotalLines as totalli44_249_, order0_.GrandTotal as grandto45_249_, order0_.M_Warehouse_ID as m_wareh46_249_, order0_.M_PriceList_ID as m_price47_249_, order0_.IsTaxIncluded as istaxin48_249_, order0_.C_Campaign_ID as c_campa49_249_, order0_.C_Project_ID as c_proje50_249_, order0_.C_Activity_ID as c_activ51_249_, order0_.Posted as posted52_249_, order0_.AD_User_ID as ad_user53_249_, order0_.CopyFrom as copyfro54_249_, order0_.DropShip_BPartner_ID as dropshi55_249_, order0_.DropShip_Location_ID as dropshi56_249_, order0_.DropShip_User_ID as dropshi57_249_, order0_.IsSelfService as isselfs58_249_, order0_.AD_OrgTrx_ID as ad_orgt59_249_, order0_.User1_ID as user60_249_, order0_.User2_ID as user61_249_, order0_.Deliverynotes as deliver62_249_, order0_.C_Incoterms_ID as c_incot63_249_, order0_.Incotermsdescription as incoter64_249_, order0_.Generatetemplate as generat65_249_, order0_.Delivery_Location_ID as deliver66_249_, order0_.CopyFromPO as copyfro67_249_, order0_.FIN_Paymentmethod_ID as fin_pay68_249_, order0_.FIN_Payment_Priority_ID as fin_pay69_249_, order0_.RM_PickFromShipment as rm_pick70_249_, order0_.RM_ReceiveMaterials as rm_rece71_249_, order0_.RM_CreateInvoice as rm_crea72_249_, order0_.C_Return_Reason_ID as c_retur73_249_, order0_.RM_AddOrphanLine as rm_addo74_249_, order0_.A_Asset_ID as a_asset75_249_, order0_.Calculate_Promotions as calcula76_249_, order0_.C_Costcenter_ID as c_costc77_249_, order0_.Convertquotation as convert78_249_, order0_.C_Reject_Reason_ID as c_rejec79_249_, order0_.validuntil as validun80_249_, order0_.Quotation_ID as quotati81_249_, order0_.SO_Res_Status as so_res_82_249_, order0_.Create_POLines as create_83_249_, order0_.EM_Obdisc_Addpack as em_obdi84_249_, order0_.Iscashvat as iscashv85_249_, order0_.EM_OBMFM_Selectfreight as em_obmf86_249_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_249_, order0_.RM_Pickfromreceipt as rm_pick88_249_, order0_.Cancelandreplace as cancela89_249_, order0_.EM_APRM_AddPayment as em_aprm90_249_, order0_.EM_OBMFM_Delivery_Charges as em_obmf91_249_, order0_.Confirmcancelandreplace as confirm92_249_, order0_.EM_OBMFM_Freight_ID as em_obmf93_249_, order0_.EM_Obwpl_Generatepicking as em_obwp94_249_, order0_.Cancelledorder_id as cancell95_249_, order0_.EM_OBMFM_Weight as em_obmf96_249_, order0_.EM_Obwpl_Isinpickinglist as em_obwp97_249_, order0_.EM_Obwpl_Readypl as em_obwp98_249_, order0_.Replacedorder_id as replace99_249_, order0_.EM_Opxmm_Btn_Purch as em_opx100_249_, order0_.Iscancelled as iscanc101_249_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm102_249_, order0_.Replacementorder_ID as replac103_249_, order0_.EM_OBMFM_Set_Weight as em_obm104_249_, order0_.BPartner_ExtRef as bpartn105_249_, order0_.EM_Obpos_Applications_ID as em_obp106_249_, order0_.EM_Obpos_Sendemail as em_obp107_249_, order0_.EM_Obpos_Email_Status as em_obp108_249_, order0_.EM_Obpos_App_Cashup_ID as em_obp109_249_, order0_.EM_Obpos_Createdabsolute as em_obp110_249_, order0_.EM_OBPOS_NotInvoiceOnCashUp as em_obp111_249_, order0_.EM_Obpos_Rejected_Quotat_ID as em_obp112_249_, order0_.EM_Obpos_Isdeleted as em_obp113_249_, order0_.EM_Obpos_Islayaway as em_obp114_249_, order0_.EM_Obpos_Prepaymentamt as em_obp115_249_, order0_.EM_Obpos_Prepaymentlimitamt as em_obp116_249_, order0_.EM_Obpos_Prepaymentlaylimitamt as em_obp117_249_, order0_.EM_Obpos_Rounding_Amount as em_obp118_249_, order0_.EM_Obpos_Sequencename as em_obp119_249_, order0_.EM_Obpos_Sequencenumber as em_obp120_249_, order0_.C_Alternate_Location_ID as c_alte121_249_, order0_.EM_Prpp_Generatepicking as em_prp122_249_, order0_.EM_Prpres_Reference as em_prp123_249_, order0_.EM_Prpres_Void_Order as em_prp124_249_, order0_.EM_Prpres_Gross_Total as em_prp125_249_, order0_.EM_Mntc_Createinvoice as em_mnt126_249_, order0_.EM_Prpres_Net_Total as em_prp127_249_, order0_.EM_Prpres_Isgift as em_prp128_249_, order0_.EM_Prpres_Giftmessage as em_prp129_249_, order0_.EM_Prpres_Id_Cart as em_prp130_249_, order0_.EM_Prpres_Id_Paym_Transaction as em_prp131_249_, order0_.EM_Obpos_Skip_Tax_Calculation as em_obp132_249_, order0_.EM_Prpres_Processing as em_prp133_249_, order0_.EM_Prpres_Generatepicking as em_prp134_249_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID and order0_.IsSOTrx = 'Y' and (documentty1_.DocSubTypeSO like 'OB') and (order0_.Updated > '2026-07-14 13:06:42.956' or order0_.Processed = 'N') and (order0_.AD_Org_ID in ('0', 'A22222CD0A46452CA481F8F5CE47ABA3')) and (order0_.AD_Client_ID in ('F1F033983E8740EC81BE7129A38DC0A2', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-15 13:06:44 Duration: 1s335ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 34,193 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
Errors per 5 minutes
NO DATASET
Most Frequent Errors/Events
Key values
- 0 Max number of times the same event was reported
- 0 Total events found
Rank Times reported Error NO DATASET