-
Global information
- Generated on Tue Jul 14 23:00:07 2026
- Log file: /var/log/postgresql/postgresql-16-main.log
- Parsed 68,331 log entries in 6s
- Log start from 2026-07-14 06:00:01 to 2026-07-14 22:00:00
-
Overview
Global Stats
- 195 Number of unique normalized queries
- 3,618 Number of queries
- 7h35m54s Total query duration
- 2026-07-14 06:02:38 First query
- 2026-07-14 20:25:19 Last query
- 5 queries/s at 2026-07-14 08:15:09 Query peak
- 7h35m54s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 7h35m54s Execute total duration
- 176 Number of events
- 39 Number of unique normalized events
- 45 Max number of times the same event was reported
- 0 Number of cancellation
- 16,668 Total number of automatic vacuums
- 507 Total number of automatic analyzes
- 91 Number temporary file
- 161.58 MiB Max size of temporary file
- 38.25 MiB Average size of temporary file
- 4,454 Total number of sessions
- 235 sessions at 2026-07-14 21:00:01 Session peak
- 6d6h30m43s Total duration of sessions
- 2m1s Average duration of sessions
- 0 Average queries per session
- 6s141ms Average queries duration per session
- 1m55s Average idle time per session
- 4,465 Total number of connections
- 18 connections/s at 2026-07-14 14:00:00 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-14 08:15:09 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-14 08:15:09 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-14 11:57:36 Date
Queries duration
Key values
- 7h35m54s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 14 06 190 0ms 3m7s 10s863ms 59s784ms 3m45s 7m34s 07 154 0ms 39m45s 23s929ms 54s153ms 1m54s 39m45s 08 278 0ms 55s83ms 3s773ms 44s871ms 1m2s 1m22s 09 405 0ms 34s623ms 3s642ms 51s181ms 1m6s 1m14s 10 301 0ms 1h32m10s 21s920ms 51s179ms 59s215ms 1h32m25s 11 527 0ms 1h31m50s 13s290ms 1m6s 1m31s 1h32m28s 12 397 0ms 23s219ms 3s933ms 1m1s 1m4s 1m29s 13 394 0ms 31s925ms 2s944ms 46s639ms 1m1s 1m14s 14 262 0ms 36s445ms 2s651ms 46s751ms 52s95ms 1m46s 15 176 0ms 10s583ms 2s775ms 23s872ms 34s446ms 42s392ms 16 290 0ms 34s452ms 2s880ms 38s127ms 1m6s 1m20s 17 134 0ms 10s615ms 2s659ms 18s327ms 25s463ms 36s390ms 18 28 0ms 4s578ms 2s739ms 6s722ms 12s241ms 20s866ms 19 64 0ms 6s32ms 3s839ms 17s682ms 19s63ms 19s736ms 20 18 0ms 6s200ms 3s335ms 2s45ms 11s521ms 15s913ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 14 06 185 0 10s784ms 34s962ms 59s784ms 5m44s 07 152 0 23s457ms 29s142ms 54s153ms 2m27s 08 273 0 3s620ms 28s947ms 41s161ms 1m6s 09 404 0 3s647ms 42s209ms 51s181ms 1m8s 10 299 0 22s56ms 37s316ms 51s179ms 1m10s 11 524 0 13s357ms 44s966ms 1m6s 1m46s 12 395 0 3s946ms 39s682ms 1m1s 1m25s 13 392 0 2s950ms 34s918ms 46s639ms 1m13s 14 262 0 2s651ms 19s646ms 46s751ms 55s310ms 15 173 0 2s798ms 14s463ms 23s872ms 41s9ms 16 288 0 2s890ms 28s366ms 38s127ms 1m15s 17 124 0 2s762ms 9s833ms 17s666ms 30s475ms 18 20 0 2s989ms 0ms 1s40ms 12s817ms 19 64 0 3s839ms 11s794ms 17s682ms 19s371ms 20 18 0 3s335ms 0ms 2s45ms 12s156ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 14 06 2 3 0 0 13s797ms 0ms 0ms 15s96ms 07 0 1 0 0 1m58s 0ms 0ms 0ms 08 0 0 4 0 1s441ms 0ms 0ms 1s338ms 09 0 0 1 0 1s392ms 0ms 0ms 0ms 10 0 0 2 0 1s466ms 0ms 0ms 0ms 11 0 0 3 0 1s496ms 0ms 0ms 0ms 12 0 0 2 0 1s438ms 0ms 0ms 0ms 13 0 1 1 0 1s714ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 3 0 1s430ms 0ms 0ms 0ms 16 0 0 2 0 1s439ms 0ms 0ms 0ms 17 0 0 10 0 1s377ms 0ms 0ms 1s565ms 18 0 0 7 0 1s914ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 14 06 0 190 190.00 0.00% 07 0 153 153.00 0.00% 08 0 278 278.00 0.00% 09 0 404 404.00 0.00% 10 0 300 300.00 0.00% 11 0 526 526.00 0.00% 12 0 397 397.00 0.00% 13 0 393 393.00 0.00% 14 0 262 262.00 0.00% 15 0 176 176.00 0.00% 16 0 290 290.00 0.00% 17 0 134 134.00 0.00% 18 0 27 27.00 0.00% 19 0 64 64.00 0.00% 20 0 18 18.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 14 06 255 0.07/s 07 307 0.09/s 08 293 0.08/s 09 283 0.08/s 10 269 0.07/s 11 275 0.08/s 12 276 0.08/s 13 293 0.08/s 14 287 0.08/s 15 275 0.08/s 16 287 0.08/s 17 272 0.08/s 18 275 0.08/s 19 273 0.08/s 20 266 0.07/s 21 264 0.07/s 22 15 0.00/s Day Hour Count Average Duration Average idle time Jul 14 06 250 1m33s 1m24s 07 315 3m17s 3m5s 08 286 1m45s 1m42s 09 287 3m6s 3m1s 10 269 1m50s 1m25s 11 273 1m48s 1m23s 12 281 4m10s 4m4s 13 293 1m59s 1m55s 14 286 1m28s 1m26s 15 276 2m5s 2m3s 16 286 1m40s 1m37s 17 273 1m30s 1m29s 18 276 1m26s 1m26s 19 272 1m22s 1m21s 20 267 1m25s 1m25s 21 264 1m35s 1m35s 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 18 connections Connection Peak
- 2026-07-14 14:00:00 Date
Connections per database
Key values
- etendo Main Database
- 4,465 connections Total
Connections per user
Key values
- tad Main User
- 4,465 connections Total
-
Sessions
Simultaneous sessions
Key values
- 235 sessions Session Peak
- 2026-07-14 21:00:01 Date
Histogram of session times
Key values
- 3,424 0-500ms duration
Sessions per database
Key values
- etendo Main Database
- 4,454 sessions Total
Sessions per user
Key values
- tad Main User
- 4,454 sessions Total
Sessions per host
Key values
- 127.0.0.1 Main Host
- 4,454 sessions Total
Sessions per application
Key values
- psql Main Application
- 4,454 sessions Total
Application Count Total Duration Average Duration DBeaver 25.3.2 - Main 1 1h2m13s 1h2m13s DBeaver 25.3.2 - Metadata 1 1h2m13s 1h2m13s DBeaver 25.3.2 - Read PostgreSQL database list 1 359ms 359ms DBeaver 25.3.2 - SQLEditor 2 2h4m24s 1h2m12s DBeaver 26.0.1 - Main 2 31m48s 15m54s DBeaver 26.0.1 - Main 2 32m29s 16m14s DBeaver 26.0.1 - Metadata 2 31m47s 15m53s DBeaver 26.0.1 - Metadata 2 32m27s 16m13s DBeaver 26.0.1 - Read PostgreSQL database list 2 1s446ms 723ms DBeaver 26.0.1 - SQLEditor 2 29m14s 14m37s DBeaver 26.0.1 - SQLEditor 1 27m43s 27m43s DBeaver 26.0.1 - SQLEditor 1 2s497ms 2s497ms DBeaver 26.0.1 - SQLEditor 1 2m42s 2m42s DBeaver 26.0.1 - SQLEditor 2 29m13s 14m36s DBeaver 26.0.3 - Data transfer producer 1 26s724ms 26s724ms DBeaver 26.0.3 - Main 1 1h1m56s 1h1m56s DBeaver 26.0.3 - Metadata 1 1h1m55s 1h1m55s DBeaver 26.0.3 - SQLEditor 1 1h1m53s 1h1m53s DBeaver 26.0.3 - SQLEditor 1 1h1m24s 1h1m24s Mashup Engine 71 6h44m41s 5m41s openbravo 904 5d11h50m46s 8m45s pg_profile 48 12s278ms 255ms psql 3,404 1m2s 18ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 341,162 buffers Checkpoint Peak
- 2026-07-14 18:04:57 Date
- 270.056 seconds Highest write time
- 0.149 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2026-07-14 11:39:55 Date
Checkpoints distance
Key values
- 1,907.39 Mo Distance Peak
- 2026-07-14 20:09:59 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 14 06 147,746 3,070.109s 0.047s 3,070.459s 07 66,950 2,813.598s 0.032s 2,813.695s 08 46,473 2,770.013s 0.046s 2,770.104s 09 36,300 2,843.337s 0.037s 2,843.427s 10 49,375 2,681.096s 0.034s 2,681.188s 11 55,366 2,857.603s 0.04s 2,857.713s 12 43,278 2,985.449s 0.056s 2,985.556s 13 37,195 2,770.328s 0.033s 2,770.4s 14 44,142 1,717.47s 0.032s 1,717.548s 15 36,921 1,626.407s 0.177s 1,626.62s 16 16,446 1,378.016s 0.023s 1,378.076s 17 17,759 1,621.654s 0.033s 1,621.722s 18 361,598 1,353.17s 0.02s 1,353.234s 19 10,867 1,083.468s 0.03s 1,083.531s 20 171,744 996.854s 0.03s 996.988s 21 6,647 662.074s 0.018s 662.123s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 14 06 0 97 0 3,856 0.002s 0.012s 07 0 29 0 3,458 0.001s 0.012s 08 0 20 0 4,512 0.001s 0.012s 09 0 17 0 4,522 0.001s 0.012s 10 0 21 0 4,328 0.001s 0.012s 11 0 26 0 4,566 0.001s 0.012s 12 0 19 0 4,937 0.001s 0.012s 13 0 16 0 4,549 0.001s 0.012s 14 0 21 0 3,159 0.001s 0.012s 15 0 8 0 2,816 0.111s 0.013s 16 0 7 0 3,228 0.001s 0.012s 17 0 7 0 2,713 0.001s 0.012s 18 0 19 0 2,034 0.001s 0.012s 19 0 5 0 2,284 0.001s 0.012s 20 0 102 0 1,404 0.007s 0.012s 21 0 3 0 1,567 0.001s 0.012s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 14 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Jul 14 06 130,216.17 kB 608,463.92 kB 07 41,250.08 kB 206,815.00 kB 08 27,403.67 kB 78,983.75 kB 09 22,695.75 kB 41,877.42 kB 10 29,906.00 kB 83,264.42 kB 11 35,066.17 kB 56,577.92 kB 12 24,911.00 kB 63,008.25 kB 13 22,693.83 kB 37,100.42 kB 14 26,847.83 kB 82,615.58 kB 15 13,051.92 kB 36,583.83 kB 16 10,230.00 kB 28,575.25 kB 17 9,486.67 kB 19,002.33 kB 18 25,977.00 kB 103,325.33 kB 19 6,612.75 kB 33,640.58 kB 20 139,703.75 kB 602,463.67 kB 21 3,826.25 kB 195,856.08 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 114.75 MiB Temp Files size Peak
- 2026-07-14 12:15:04 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2026-07-14 06:03:26 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 14 06 3 206.95 MiB 68.98 MiB 07 7 415.45 MiB 59.35 MiB 08 25 759.50 MiB 30.38 MiB 09 7 274.77 MiB 39.25 MiB 10 5 84.02 MiB 16.80 MiB 11 0 0 0 12 1 114.75 MiB 114.75 MiB 13 19 838.40 MiB 44.13 MiB 14 4 162.18 MiB 40.54 MiB 15 14 377.02 MiB 26.93 MiB 16 5 220.96 MiB 44.19 MiB 17 1 26.93 MiB 26.93 MiB 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 14 430.88 MiB 26.93 MiB 80.79 MiB 30.78 MiB select bass_prod_0_.bass_prod_outsourcing_v_id as bass_pro1_335_0_, bass_prod_0_.ad_org_id as ad_org_i2_335_0_, bass_prod_0_.ad_client_id as ad_clien3_335_0_, bass_prod_0_.isactive as isactive4_335_0_, bass_prod_0_.created as created5_335_0_, bass_prod_0_.createdby as createdb6_335_0_, bass_prod_0_.updated as updated7_335_0_, bass_prod_0_.updatedby as updatedb8_335_0_, bass_prod_0_.m_product_id as m_produc9_335_0_, bass_prod_0_.advpro2_outsourcing_id as advpro10_335_0_, bass_prod_0_.status as status11_335_0_, bass_prod_0_.productiontype as product12_335_0_, bass_prod_0_.qty as qty13_335_0_, bass_prod_0_.em_bass_dateplanned as em_bass14_335_0_, bass_prod_0_.em_bass_qty_received as em_bass15_335_0_, bass_prod_0_.em_bass_situacion as em_bass16_335_0_, bass_prod_0_.advpro2_outsourcing_phase_id as advpro17_335_0_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.bass_prod_outsourcing_v_id = ?;-
select bass_prod_0_.Bass_Prod_Outsourcing_V_ID as bass_pro1_335_0_, bass_prod_0_.AD_Org_ID as ad_org_i2_335_0_, bass_prod_0_.AD_Client_ID as ad_clien3_335_0_, bass_prod_0_.Isactive as isactive4_335_0_, bass_prod_0_.Created as created5_335_0_, bass_prod_0_.Createdby as createdb6_335_0_, bass_prod_0_.Updated as updated7_335_0_, bass_prod_0_.Updatedby as updatedb8_335_0_, bass_prod_0_.M_Product_ID as m_produc9_335_0_, bass_prod_0_.Advpro2_Outsourcing_ID as advpro10_335_0_, bass_prod_0_.Status as status11_335_0_, bass_prod_0_.Productiontype as product12_335_0_, bass_prod_0_.Qty as qty13_335_0_, bass_prod_0_.EM_Bass_Dateplanned as em_bass14_335_0_, bass_prod_0_.EM_Bass_Qty_Received as em_bass15_335_0_, bass_prod_0_.EM_Bass_Situacion as em_bass16_335_0_, bass_prod_0_.Advpro2_Outsourcing_Phase_ID as advpro17_335_0_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.Bass_Prod_Outsourcing_V_ID = '08FCD5D8CB344C9E8EC269D440CD35769A58CC90F5D849168868724310F669EA';
Date: 2026-07-14 09:05:52 Duration: 1s201ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select bass_prod_0_.Bass_Prod_Outsourcing_V_ID as bass_pro1_335_0_, bass_prod_0_.AD_Org_ID as ad_org_i2_335_0_, bass_prod_0_.AD_Client_ID as ad_clien3_335_0_, bass_prod_0_.Isactive as isactive4_335_0_, bass_prod_0_.Created as created5_335_0_, bass_prod_0_.Createdby as createdb6_335_0_, bass_prod_0_.Updated as updated7_335_0_, bass_prod_0_.Updatedby as updatedb8_335_0_, bass_prod_0_.M_Product_ID as m_produc9_335_0_, bass_prod_0_.Advpro2_Outsourcing_ID as advpro10_335_0_, bass_prod_0_.Status as status11_335_0_, bass_prod_0_.Productiontype as product12_335_0_, bass_prod_0_.Qty as qty13_335_0_, bass_prod_0_.EM_Bass_Dateplanned as em_bass14_335_0_, bass_prod_0_.EM_Bass_Qty_Received as em_bass15_335_0_, bass_prod_0_.EM_Bass_Situacion as em_bass16_335_0_, bass_prod_0_.Advpro2_Outsourcing_Phase_ID as advpro17_335_0_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.Bass_Prod_Outsourcing_V_ID = 'A720DAAF4A42436790252B040BA73938B127537440E74E279A3E49B7C1E59A4D';
Date: 2026-07-14 13:25:20 Duration: 1s102ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select bass_prod_0_.Bass_Prod_Outsourcing_V_ID as bass_pro1_335_0_, bass_prod_0_.AD_Org_ID as ad_org_i2_335_0_, bass_prod_0_.AD_Client_ID as ad_clien3_335_0_, bass_prod_0_.Isactive as isactive4_335_0_, bass_prod_0_.Created as created5_335_0_, bass_prod_0_.Createdby as createdb6_335_0_, bass_prod_0_.Updated as updated7_335_0_, bass_prod_0_.Updatedby as updatedb8_335_0_, bass_prod_0_.M_Product_ID as m_produc9_335_0_, bass_prod_0_.Advpro2_Outsourcing_ID as advpro10_335_0_, bass_prod_0_.Status as status11_335_0_, bass_prod_0_.Productiontype as product12_335_0_, bass_prod_0_.Qty as qty13_335_0_, bass_prod_0_.EM_Bass_Dateplanned as em_bass14_335_0_, bass_prod_0_.EM_Bass_Qty_Received as em_bass15_335_0_, bass_prod_0_.EM_Bass_Situacion as em_bass16_335_0_, bass_prod_0_.Advpro2_Outsourcing_Phase_ID as advpro17_335_0_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.Bass_Prod_Outsourcing_V_ID = '01D70C86940F4247AAD13DC8569D828F9CDC1C80954B4A0D84708597975950A5';
Date: 2026-07-14 15:56:50 Duration: 1s87ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
2 9 946.65 MiB 77.16 MiB 113.20 MiB 105.18 MiB select "_"."c_order_id" AS "c_order_id", ;-
select "_"."c_order_id" as "c_order_id", ;
Date: 2026-07-14 06:06:17 Duration: 0ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine
3 8 351.70 MiB 1.62 MiB 161.58 MiB 43.96 MiB select order_comp0_.c_order_id as c_order_1_467_0_, order_comp0_.ad_client_id as ad_clien2_467_0_, order_comp0_.ad_org_id as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? then ? else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), ?) / sum(abs(ol.qtyordered)) * ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyreserved)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula63_0_, ( select case when count(?) > ? then ? else ? end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, ?) = ? and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), ?)) as formula65_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, ?) || ? || coalesce(obwpack_box.em_obeuses_trackingstatus, ?) from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit ?) as formula68_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula69_0_, ( select coalesce(prmag_order.status, ?) from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = ?) > ?) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), ?)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = ? then ? else round(sum(fps.paidamt) / sum(fps.amount) * ?, ?) end from fin_payment_schedule fps where fps.c_order_id = order_comp0_.c_order_id), ?)) as formula74_0_ from c_order order_comp0_ where order_comp0_.c_order_id in (...);-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:29 Duration: 5s82ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:17 Duration: 5s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FD00ADD73F3542E4A24337262CB4321F', 'A539C8CE6D3941F09E228BEE05F9C1B1', '8A04D7B77F53477EBAD1C0DFB21E4565', '686E1ADD506F465289F99B411780F196', '678F0BD1B49A450188EA2D93C40BAB6D', '3870DFB048D344FBA85ED7B4629961E9', '077B614DBFD0435DA78E5B11732ED701', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'F1EF97DA4DE1423DB76E8AFFBBBCFB2A', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EB240ED411C54C57A6554D300950E6BB', 'EB14046E529A496E93EB3CAD6230A40E', 'EA9C5AEDA9244A79800A6DB5DA3314A9', 'EA3980EA6F1A418687D68F8C6516F411', 'E9F37356D3474B05906118926F5D0E33', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'E32894B9A34C40FEA0D98AFBE08D6A1A', 'E1B6E33F30994818A541800ADC9DC784', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'BEF3ADB3588C4FBF8DD4B35B209BA806', 'B970EDB904ED432A8B1863918C703E7B', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AD1DB883E3DA48F085B450A489FE3F9E', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9FDAFB9D111A400281DFE2078A1B57E8', '9ED9BB259E3D4D07A0853A0D0A0E573F', '9B18B24004C24AD495B15CC46584AD38', '9AB415D2167E457A88BF25498436AE4D', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '9854B0C89B6C4F5F87CB7F2868E6CBBC', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030');
Date: 2026-07-14 10:00:43 Duration: 4s954ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
4 3 375.12 MiB 107.09 MiB 160.95 MiB 125.04 MiB select prcm_manif0_.prcm_manifestpacking_v_id as prcm_man1_1123_, prcm_manif0_.obwpack_packingh_id as obwpack_2_1123_, prcm_manif0_.ad_client_id as ad_clien3_1123_, prcm_manif0_.ad_org_id as ad_org_i4_1123_, prcm_manif0_.isactive as isactive5_1123_, prcm_manif0_.created as created6_1123_, prcm_manif0_.createdby as createdb7_1123_, prcm_manif0_.updated as updated8_1123_, prcm_manif0_.updatedby as updatedb9_1123_, prcm_manif0_.packdate as packdat10_1123_, prcm_manif0_.c_bpartner_id as c_bpart11_1123_, prcm_manif0_.c_bpartner_location_id as c_bpart12_1123_, prcm_manif0_.description as descrip13_1123_, prcm_manif0_.totalboxes as totalbo14_1123_, prcm_manif0_.totalweight as totalwe15_1123_, prcm_manif0_.c_uom_id as c_uom_i16_1123_, prcm_manif0_.documentno as documen17_1123_, prcm_manif0_.obmfm_freight_id as obmfm_f18_1123_, prcm_manif0_.dateprint as datepri19_1123_, prcm_manif0_.integrationdate as integra20_1123_, prcm_manif0_.obmfm_carrier_id as obmfm_c21_1123_, prcm_manif0_.documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.obmfm_carrier_id = ? and (prcm_manif0_.ad_org_id in (...)) and (prcm_manif0_.ad_client_id in (...)) order by prcm_manif0_.dateprint, prcm_manif0_.prcm_manifestpacking_v_id limit ?;-
select prcm_manif0_.Prcm_Manifestpacking_V_ID as prcm_man1_1123_, prcm_manif0_.Obwpack_Packingh_ID as obwpack_2_1123_, prcm_manif0_.AD_Client_ID as ad_clien3_1123_, prcm_manif0_.AD_Org_ID as ad_org_i4_1123_, prcm_manif0_.Isactive as isactive5_1123_, prcm_manif0_.Created as created6_1123_, prcm_manif0_.Createdby as createdb7_1123_, prcm_manif0_.Updated as updated8_1123_, prcm_manif0_.Updatedby as updatedb9_1123_, prcm_manif0_.Packdate as packdat10_1123_, prcm_manif0_.C_Bpartner_ID as c_bpart11_1123_, prcm_manif0_.C_Bpartner_Location_ID as c_bpart12_1123_, prcm_manif0_.Description as descrip13_1123_, prcm_manif0_.Totalboxes as totalbo14_1123_, prcm_manif0_.Totalweight as totalwe15_1123_, prcm_manif0_.C_Uom_ID as c_uom_i16_1123_, prcm_manif0_.Documentno as documen17_1123_, prcm_manif0_.Obmfm_Freight_ID as obmfm_f18_1123_, prcm_manif0_.Dateprint as datepri19_1123_, prcm_manif0_.Integrationdate as integra20_1123_, prcm_manif0_.Obmfm_Carrier_ID as obmfm_c21_1123_, prcm_manif0_.Documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.Obmfm_Carrier_ID = '8BF50CFA124D4E97A8FCF3766167B06C' and (prcm_manif0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (prcm_manif0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by prcm_manif0_.Dateprint, prcm_manif0_.Prcm_Manifestpacking_V_ID limit '101';
Date: 2026-07-14 13:50:14 Duration: 1s587ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select prcm_manif0_.Prcm_Manifestpacking_V_ID as prcm_man1_1123_, prcm_manif0_.Obwpack_Packingh_ID as obwpack_2_1123_, prcm_manif0_.AD_Client_ID as ad_clien3_1123_, prcm_manif0_.AD_Org_ID as ad_org_i4_1123_, prcm_manif0_.Isactive as isactive5_1123_, prcm_manif0_.Created as created6_1123_, prcm_manif0_.Createdby as createdb7_1123_, prcm_manif0_.Updated as updated8_1123_, prcm_manif0_.Updatedby as updatedb9_1123_, prcm_manif0_.Packdate as packdat10_1123_, prcm_manif0_.C_Bpartner_ID as c_bpart11_1123_, prcm_manif0_.C_Bpartner_Location_ID as c_bpart12_1123_, prcm_manif0_.Description as descrip13_1123_, prcm_manif0_.Totalboxes as totalbo14_1123_, prcm_manif0_.Totalweight as totalwe15_1123_, prcm_manif0_.C_Uom_ID as c_uom_i16_1123_, prcm_manif0_.Documentno as documen17_1123_, prcm_manif0_.Obmfm_Freight_ID as obmfm_f18_1123_, prcm_manif0_.Dateprint as datepri19_1123_, prcm_manif0_.Integrationdate as integra20_1123_, prcm_manif0_.Obmfm_Carrier_ID as obmfm_c21_1123_, prcm_manif0_.Documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.Obmfm_Carrier_ID = '8BF50CFA124D4E97A8FCF3766167B06C' and (prcm_manif0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (prcm_manif0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by prcm_manif0_.Dateprint, prcm_manif0_.Prcm_Manifestpacking_V_ID limit '101';
Date: 2026-07-14 13:50:50 Duration: 1s510ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select prcm_manif0_.Prcm_Manifestpacking_V_ID as prcm_man1_1123_, prcm_manif0_.Obwpack_Packingh_ID as obwpack_2_1123_, prcm_manif0_.AD_Client_ID as ad_clien3_1123_, prcm_manif0_.AD_Org_ID as ad_org_i4_1123_, prcm_manif0_.Isactive as isactive5_1123_, prcm_manif0_.Created as created6_1123_, prcm_manif0_.Createdby as createdb7_1123_, prcm_manif0_.Updated as updated8_1123_, prcm_manif0_.Updatedby as updatedb9_1123_, prcm_manif0_.Packdate as packdat10_1123_, prcm_manif0_.C_Bpartner_ID as c_bpart11_1123_, prcm_manif0_.C_Bpartner_Location_ID as c_bpart12_1123_, prcm_manif0_.Description as descrip13_1123_, prcm_manif0_.Totalboxes as totalbo14_1123_, prcm_manif0_.Totalweight as totalwe15_1123_, prcm_manif0_.C_Uom_ID as c_uom_i16_1123_, prcm_manif0_.Documentno as documen17_1123_, prcm_manif0_.Obmfm_Freight_ID as obmfm_f18_1123_, prcm_manif0_.Dateprint as datepri19_1123_, prcm_manif0_.Integrationdate as integra20_1123_, prcm_manif0_.Obmfm_Carrier_ID as obmfm_c21_1123_, prcm_manif0_.Documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.Obmfm_Carrier_ID = '8BF50CFA124D4E97A8FCF3766167B06C' and (prcm_manif0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (prcm_manif0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by prcm_manif0_.Dateprint, prcm_manif0_.Prcm_Manifestpacking_V_ID limit '101';
Date: 2026-07-14 13:52:34 Duration: 1s483ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
5 2 53.86 MiB 26.93 MiB 26.93 MiB 26.93 MiB select bass_produ0_.bass_product_deposit_v_id as bass_pro1_344_0_, bass_produ0_.ad_client_id as ad_clien2_344_0_, bass_produ0_.ad_org_id as ad_org_i3_344_0_, bass_produ0_.isactive as isactive4_344_0_, bass_produ0_.created as created5_344_0_, bass_produ0_.createdby as createdb6_344_0_, bass_produ0_.updated as updated7_344_0_, bass_produ0_.updatedby as updatedb8_344_0_, bass_produ0_.type as type9_344_0_, bass_produ0_.m_product_id as m_produ10_344_0_, bass_produ0_.qty as qty11_344_0_, bass_produ0_.m_attributesetinstance_id as m_attri12_344_0_, bass_produ0_.m_locator_id as m_locat13_344_0_, bass_produ0_.m_warehouse_id as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.ad_orgmrp_id as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.fash_product_group_id as fash_pr18_344_0_, bass_produ0_.fash_collection_id as fash_co19_344_0_, bass_produ0_.c_campaign_id as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.bass_product_deposit_v_id = ?;-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'reservationC3E6D24D8B6144BABD81268BAF2D7051D91EE4DD14D8455EBA4B8F7A0B9F30E74D984CB06A164ABBA50ABE9EA2088DDCFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 06:14:44 Duration: 3s177ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockCB1E6514995F44FF98A424ADD1EAF43B8869C9F42B3F4A98A0C2773C645974B6695C443ED6B44343B2E5311982455BE2FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 10:16:19 Duration: 3s115ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockF6BDDB689C5A4CEC97D22725F4177AEA5D9F333F0C064A139174580F848C9A79BFB2555FCD4A4ACA959A9E611019A3AFFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 16:05:58 Duration: 3s93ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
6 2 80.79 MiB 26.93 MiB 53.86 MiB 40.39 MiB select shipmentin0_.m_inout_id as m_inout_1_803_0_, shipmentin0_.ad_client_id as ad_clien2_803_0_, shipmentin0_.ad_org_id as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit ?) as formula47_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = ?) > ?) as formula50_0_, ( select c_getinvoicestatusfromshipment (shipmentin0_.m_inout_id) from dual) as formula51_0_ from m_inout shipmentin0_ where shipmentin0_.m_inout_id in (...);-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('7A81F2D4348142FF9C0902A27103066B', '3402A5272A564156BBC0D3991163817F', '009EE0324F7E41799D6D9D224A73C31A', '170A48A084304820AE0BDC77FBEAE6B8', 'A2570FD9DD9C4ACF814CAE4B551D2818', '986BFA9FA6C743449FB36936354BE9F8', 'A909D7C57EF14287B6CEFF979761A1D6', 'E523AB5F5A7B4F19A55C77E0203583C6', '10610C50E3034B1AB3CE583EC88A14F0', '878B7EF087514150BB0626153A5061E7', '1E52F420D1304D77B2715497CFFFACC7', '7985AE47591D4527925EEE508927E415', '39CDEF5844454FC7930C1B3B90BA2413', 'FF5E2F218B32433B819C90AC72956B00', '331231E128A749C5988928F061950E87', 'BE6A561CA91B44D9AC0024E49726599E', 'A13FBD36ED714D1BB09FCB0E9AC96FC6', '27CDC6908C6346BEB585B450D5B7A660', '27964CEECBD34373AA18F5D701F40EAD', '6ED4C0CAEF26411EB012E9FAE09ABAB1', 'CE18A57126514D07B48F4F93113352C5', 'A6B8A7B41D61457B981A8D702829CC7A', '49EA92F3A2D441529FA93D3697E3F67B', 'C85FE436323F44BCBD72E0DD6261A83A', 'FF423195C7AE417B85D81D5AB426AEC3', 'D63C3F5DA30A400DAE2B76310436AB68', '4656FB00F5AF4E3D8ECDB6635B87BC9C', 'BFE0CF7A2DAD469EA4F5C93D6E13A53C', '41C0B84E1FBB4527A6D6C9DFC6121C98', '120DFEDCB2DB44DD9F903970D21BD9A1', 'B0815ECA19CF4C8EAB68A1DD594121EF', 'F66583A0ED6C4035BA695E37B8A75BD0', '3B13C91FC1714BE68CC7A78B81E3EE81', 'A667948E85174019B01C68ABBA094407', '8D5E168327A54A31BDE8067C02E47703', '349F4B3D200145CBAF01DE0A999EBAF8', '02CA8F57951349A29715EB12C2C1B0ED', 'DBAB5710A7F54D4CB0ABB4B606FAF84F', '74AECADF1904408581913D0BC425458A', '363FD2013B8B4BA08E751046B075F1A1', 'D26B3DDC44334D81AEC528DBEA7ADF99', '3DB261002DCB41A7A1BCCE0A142D832C', '6D9DF86129064E9BAE6E9869A9AA410E', '741DD7E068C849C786C42B023FBE1957', '2A1FBFBB44D2450185F90572C662F302', '307D25AA5E1A46FE8C28741CB1201562', '06D116305C87426D83D2E56202AFCC31', '02A2883DCC7D414FA01AF7EA00D12092', 'C61DA68749D54E7F92B56A75A245D39F', '5EE4E3B2B5DD4878AB902576CD2081D0');
Date: 2026-07-14 11:40:59 Duration: 2s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('9DC6D8D8DAA24C95BF77383DDBEDABED', 'EC0467A729FF43F8814CE52C5DD2571F', '26725026B16F41A58E34129FFA625444', '1B48AA0947E04C6093B28B70CC500A07', '19F69F6C5CDA4BB591EFD7B1C4CC6C73', 'AD5B83013B144B9F8AB9E59BC4297FF6', 'C332AAA98E3B446583CE02AA5FBE54D6', '230FC012DBAD49AEA19239510781B2C6', '680CA4BDF4BD432B89D98C1B8E0D1FC4', '424B3747C2BE4190BB81E0E2730BC0F3', '70D4F7AD17B1414DBF589F538F284F9F', '27A2FC0DEDD24137A88C4342B4B210FC', '8199FA34BFAE46409657B3459077DB3E', '77D3F57B76B74F1E85B8ED6E4B4BF4B3', '071537FFEE424EAEB860E283AB005DCC', '4EA83586685548DE8773FEC327348C88', '75A5AE126ABB46C18B307A19682F06FD', 'E5429C5151ED4E89B78DAC5252011221', 'A6165C6EB874407FADA9AEA841F551B0', 'CBA8FF69D6DE436D9C3D7DCA5B12C924', '920781ED04944284B1B0D81B4D235441', 'EF7AC5FBAA4E40BB8965041DA7714264', 'CE5C97A2BDEE4F54BF21AA842D4A50B4', 'D5C0F8668E7445F5A87308BFEA8D4345', 'CEAA89B2B46742D9B47434C82E641027', 'B20E75B03A88406992F87D4269B2C5DC', '03E420B0DBFF4225BF439895882D85FA', 'C2664C43F0D04C8EA15BA640CE9E6606', '2BF4616FC3D84992A751B09013A26FB3', 'D044B50EF66E48D98E4A09697D34BEC7', 'D84332F825B445AA8B707BF1B9D56917', 'C5EBD764F1D842AE86B44CF55AC4F41D', '8CE783A911C1459DA40547DE0552A6F5', '5679CA0E542B4155BE87598D12929356', 'E1D09614277E42778E2E49363DC43EAF', 'FAC436A5E6A24791BE8E3BACB867452E', 'C3A8E5BC514B4517BA00340A61FE5461', 'CEDA7D39E8244899BE7BC16B4086E0ED', 'CD32ED2D4E604152B22CAA2B287F081B', '6001159C30834525AC2008340E73D313', '8012BC1151584B5D99AD72BCFCD82FE9', '533F88556E624CDBB65EEADF0BD6DA97', '01679F0C338D4BA0BEBF97727BA22FBE', 'BCDAC102065B486D952C1273769B36B9', '7431E39B9CB34F4AAB83724BB49EE1AF', 'B468F635F1EE41F98203CEDF291141BB', '435C2C757E26405AB4DF32D536F0CD84', 'D9E3804CD84045098DB19C1F584C6F3F', 'A1BD8E5516AE4BC58B4B6496BC133A2E', '30F3E285A6714D2F87741427810C37D7');
Date: 2026-07-14 15:36:18 Duration: 2s57ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('5DD73FD9395B462B9F4B5206F5B745A6', '21A28B3DC40748C3A89F878AE86B91E6', '1B1235FA3A8F4351B4D7D9A47E365A64', '66E3079B59ED4C35A575BE994D646D82', '4D29F2357E5B4F78B0678334DA49884E', '4BCCDECDA5D44213BB3D596921F52C26', '17D02C8131F94ED8AAFD3777E51C7404', '6B09905C1EA34A199FED826C1ADF341B', '4B59EE590F6B46C8B94218B66B51E9CA', 'CB4090C1E27B4AF38CD3F3A23E401EAE', '07E58854A5464D479BB9B4E5B5AF9DD8', '35C950B969094019A6207F1A5CFA2CA5', '04B6548071B84C0DA0C4A73788F83A82', '5181D918674F46DB933EC737D219A9FE', '6E9744B2E89F43CA8A22D4A7DAD5C186', '09A9AD62C1344CC4BDFD9107E19938D9', '334DF0868F42478582DA85832EC981D4', 'C64F715C1B8941FD86BCCA9F883E2F16', '70C7F0DF45FE4231B80CA3446B9EA0EA', 'ECAF017AF63A42D2A3C1F309ADF75C33', '0196CB50B84C4FA08B8D3214255BF7E7', 'DBED690CA45043DDBD41D0EE516B66A1', '591FFBB512A84CC3B6E2785BBBC94797', '901932DDD31F4B02A498B862899A5ED7', 'EFC7A6A5C82248EFA7255F35995C17B8', '5D3C3368538544A187B2A64C8EAEC3D7', '4073719CF1774C1EB3120E0C9318A2B2', '698EF5F6345943BFA764735F4BAE8914', '9501F3F3FD2E4411B5A6F60BEB364215', '9C4AF243BB144E68A6793E8D51DDE30A', 'C7695484A7694F99BB058FBC699A02BB', 'CF506FC0564941E283F616C3C75EDFB6', '75B8F2F6263349A784C9671F12680D6F', 'F30E36C2EB024CF18F21616A2087FE69', '1A6C4046F0AB4FA2821D99415CE6A2EE', '9ABCFBE5D8AE4F8EB979FD35BA61116F', 'D14175A230FB4149965C0E11043362BE', '607E9EC0C4DC4218BFCF0C0E9A6B6501', '30A668F400BD4AF9A4C32C496D0B2710', 'F05DFAE567CD4C3587D3C94D333EC33A', '2BA7AF9028A74382A3B2AD95349E8389', 'DEF9164477EF425CAF431EFEE6882426', '961D6303AEDA4BD2A28354E33187E733', '6721DAFCB133498C850B57695BF6A45D', '58B6C1483E2540BBBD9EB7DFD8542290', '307AD061863A41EC9AE2C62F7C4C261E', 'F4EFD134230B427AA206C147B3EA5858', 'ABA48A487596418BBB803691DFAE4A1D', '19A501DD859844998CB67FA0D2879612', '092A91E40C7442F59B353ABF705107F5');
Date: 2026-07-14 11:45:52 Duration: 2s35ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
7 2 62.29 MiB 31.13 MiB 31.16 MiB 31.14 MiB select "_"."m_inout_id" AS "m_inout_id", ;-
select "_"."m_inout_id" as "m_inout_id", ;
Date: 2026-07-14 07:33:30 Duration: 0ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine
8 2 93.77 MiB 46.88 MiB 46.88 MiB 46.88 MiB insert into ma_processplan_tot_aux (ma_processplan_tot_aux_id, ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty) select get_uuid (), ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty from ma_processplan_totalized where ma_processplan_version_id = advmrp_get_pp_version (ma_processplan_id, trunc(to_date(?, ?)));-
INSERT INTO ma_processplan_tot_aux (ma_processplan_tot_aux_id, ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty) SELECT get_uuid (), ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty FROM ma_processplan_totalized where ma_processplan_version_id = advmrp_get_pp_version (ma_processplan_id, trunc(to_date('14-07-2026', 'dd-MM-yyyy')));
Date: 2026-07-14 06:03:26 Duration: 17s854ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
INSERT INTO ma_processplan_tot_aux (ma_processplan_tot_aux_id, ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty) SELECT get_uuid (), ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty FROM ma_processplan_totalized where ma_processplan_version_id = advmrp_get_pp_version (ma_processplan_id, trunc(to_date('14-07-2026', 'dd-MM-yyyy')));
Date: 2026-07-14 06:03:26 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
9 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select sum(bass_resum0_.picking) as col_0_0_ from bass_resumen_stock_v bass_resum0_ left outer join m_product product1_ on bass_resum0_.m_product_id = product1_.m_product_id where (upper((coalesce(to_char(( select producttrl2_.name from m_product_trl producttrl2_ where producttrl2_.m_product_id = product1_.m_product_id and producttrl2_.ad_language = ?)), to_char(product1_.name), ?) || ?| | product1_.value || ?| | coalesce(to_char(product1_.em_bass_concatdesc), ?) || ?| | coalesce(to_char(product1_.upc), ?))) like upper(?) escape ?) and (bass_resum0_.stock is not null) and bass_resum0_.stock <> ? and (bass_resum0_.ad_org_id in (...)) and (bass_resum0_.ad_client_id in (...)) limit ?;-
select sum(bass_resum0_.Picking) as col_0_0_ from bass_resumen_stock_v bass_resum0_ left outer join M_Product product1_ on bass_resum0_.M_Product_ID = product1_.M_Product_ID where (upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value || ' - ' || coalesce(to_char(product1_.EM_Bass_Concatdesc), '') || ' - ' || coalesce(to_char(product1_.UPC), ''))) like upper('%tac%l50%') escape '|') and (bass_resum0_.Stock is not null) and bass_resum0_.Stock <> 0 and (bass_resum0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (bass_resum0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 08:44:30 Duration: 3s407ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select sum(bass_resum0_.Picking) as col_0_0_ from bass_resumen_stock_v bass_resum0_ left outer join M_Product product1_ on bass_resum0_.M_Product_ID = product1_.M_Product_ID where (upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value || ' - ' || coalesce(to_char(product1_.EM_Bass_Concatdesc), '') || ' - ' || coalesce(to_char(product1_.UPC), ''))) like upper('%tac%l50%') escape '|') and (bass_resum0_.Stock is not null) and bass_resum0_.Stock <> 0 and (bass_resum0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (bass_resum0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 08:44:25 Duration: 3s350ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select sum(bass_resum0_.Picking) as col_0_0_ from bass_resumen_stock_v bass_resum0_ left outer join M_Product product1_ on bass_resum0_.M_Product_ID = product1_.M_Product_ID where (upper((coalesce(to_char(( select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID = product1_.M_Product_ID and producttrl2_.AD_Language = 'es_ES')), to_char(product1_.Name), '') || ' - ' || product1_.Value || ' - ' || coalesce(to_char(product1_.EM_Bass_Concatdesc), '') || ' - ' || coalesce(to_char(product1_.UPC), ''))) like upper('%tac%tebas%') escape '|') and (bass_resum0_.Stock is not null) and bass_resum0_.Stock <> 0 and (bass_resum0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (bass_resum0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 16:10:28 Duration: 3s313ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
10 1 26.98 MiB 26.98 MiB 26.98 MiB 26.98 MiB select count(*) as id from advmrp_run_prod_wr_detail_v where mrp_run_production_id = ? and ad_org_id in (...) and ad_client_id in (...);-
SELECT COUNT(*) AS ID FROM advmrp_run_prod_wr_detail_v WHERE MRP_Run_Production_ID = 'CC6D86C01D4745F58842B3C734CB18A0' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');
Date: 2026-07-14 16:02:40 Duration: 34s452ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
11 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB insert into obmobc_logclient (obmobc_logclient_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, tstamp, deviceid, context, msg, loglevel, cache_session_id, isonline) values (?, ?, ?, ?, to_timestamp(to_char(?), to_char(?)), ?, to_timestamp(to_char(?), to_char(?)), ?, to_number(?), ?, ?, ?, ?, ?, ?);-
insert into obmobc_logclient (obmobc_logclient_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, tstamp, deviceid, context, msg, loglevel, cache_session_id, isonline) values ($1, $2, $3, 'Y', to_timestamp(to_char($4), to_char('DD-MM-YYYY HH24:MI:SS')), $5, to_timestamp(to_char($6), to_char('DD-MM-YYYY HH24:MI:SS')), $7, to_number($8), $9, $10, $11, $12, $13, $14);
Date: 2026-07-14 08:37:39 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
12 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select * from m_inout_post0 (?);-
SELECT * FROM M_InOut_Post0 ('EB7C2E9B0A9547BB832522FF1C852F82');
Date: 2026-07-14 06:05:12 Duration: 19s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM M_InOut_Post0 ('7B99D0F285B148A291008C4AFF4057B3');
Date: 2026-07-14 10:16:30 Duration: 17s571ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM M_InOut_Post0 ('92B5FECDCD17411DB50A10F58D02A5BD');
Date: 2026-07-14 06:13:35 Duration: 17s385ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
13 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select product0_.m_product_id as m_produc1_845_, product0_.ad_client_id as ad_clien2_845_, product0_.ad_org_id as ad_org_i3_845_, product0_.isactive as isactive4_845_, product0_.created as created5_845_, product0_.createdby as createdb6_845_, product0_.updated as updated7_845_, product0_.updatedby as updatedb8_845_, product0_.value as value9_845_, product0_.name as name10_845_, product0_.description as descrip11_845_, product0_.documentnote as documen12_845_, product0_.help as help13_845_, product0_.upc as upc14_845_, product0_.sku as sku15_845_, product0_.c_uom_id as c_uom_i16_845_, product0_.salesrep_id as salesre17_845_, product0_.issummary as issumma18_845_, product0_.isstocked as isstock19_845_, product0_.ispurchased as ispurch20_845_, product0_.issold as issold21_845_, product0_.isbom as isbom22_845_, product0_.isinvoiceprintdetails as isinvoi23_845_, product0_.ispicklistprintdetails as ispickl24_845_, product0_.isverified as isverif25_845_, product0_.m_product_category_id as m_produ26_845_, product0_.classification as classif27_845_, product0_.volume as volume28_845_, product0_.weight as weight29_845_, product0_.shelfwidth as shelfwi30_845_, product0_.shelfheight as shelfhe31_845_, product0_.shelfdepth as shelfde32_845_, product0_.unitsperpallet as unitspe33_845_, product0_.c_taxcategory_id as c_taxca34_845_, product0_.s_resource_id as s_resou35_845_, product0_.discontinued as discont36_845_, product0_.discontinuedby as discont37_845_, product0_.processing as process38_845_, product0_.s_expensetype_id as s_expen39_845_, product0_.producttype as product40_845_, product0_.imageurl as imageur41_845_, product0_.descriptionurl as descrip42_845_, product0_.guaranteedays as guarant43_845_, product0_.versionno as version44_845_, product0_.m_attributeset_id as m_attri45_845_, product0_.m_attributesetinstance_id as m_attri46_845_, product0_.downloadurl as downloa47_845_, product0_.m_freightcategory_id as m_freig48_845_, product0_.m_locator_id as m_locat49_845_, product0_.ad_image_id as ad_imag50_845_, product0_.c_bpartner_id as c_bpart51_845_, product0_.ispriceprinted as isprice52_845_, product0_.name2 as name53_845_, product0_.stock_min as stock_m54_845_, product0_.enforce_attribute as enforce55_845_, product0_.calculated as calcula56_845_, product0_.ma_processplan_id as ma_proc57_845_, product0_.production as product58_845_, product0_.capacity as capacit59_845_, product0_.delaymin as delaymi60_845_, product0_.mrp_planner_id as mrp_pla61_845_, product0_.mrp_planningmethod_id as mrp_pla62_845_, product0_.qtymax as qtymax63_845_, product0_.qtymin as qtymin64_845_, product0_.qtystd as qtystd65_845_, product0_.qtytype as qtytype66_845_, product0_.stockmin as stockmi67_845_, product0_.em_aeat347_isleasebusiness as em_aeat68_845_, product0_.attrsetvaluetype as attrset69_845_, product0_.em_aeat347_situation as em_aeat70_845_, product0_.isquantityvariable as isquant71_845_, product0_.isdeferredrevenue as isdefer72_845_, product0_.em_aeat347_referenceid as em_aeat73_845_, product0_.em_aeat347_locationtype as em_aeat74_845_, product0_.revplantype as revplan75_845_, product0_.em_aeat347_streetname as em_aeat76_845_, product0_.periodnumber as periodn77_845_, product0_.em_aeat347_streetnumbertype as em_aeat78_845_, product0_.isdeferredexpense as isdefer79_845_, product0_.em_aeat347_streetnumber as em_aeat80_845_, product0_.expplantype as expplan81_845_, product0_.em_aeat347_streetnumberqua as em_aeat82_845_, product0_.periodnumber_exp as periodn83_845_, product0_.defaultperiod as default84_845_, product0_.em_aeat347_building as em_aeat85_845_, product0_.defaultperiod_exp as default86_845_, product0_.em_aeat347_hall as em_aeat87_845_, product0_.bookusingpoprice as bookusi88_845_, product0_.em_aeat347_hallway as em_aeat89_845_, product0_.em_advcrm_newactivity as em_advc90_845_, product0_.em_aeat347_floor as em_aeat91_845_, product0_.c_uom_weight_id as c_uom_w92_845_, product0_.m_brand_id as m_brand93_845_, product0_.em_aeat347_apartment as em_aeat94_845_, product0_.em_aeat347_complement as em_aeat95_845_, product0_.isgeneric as isgener96_845_, product0_.em_aeat347_location as em_aeat97_845_, product0_.generic_product_id as generic98_845_, product0_.createvariants as createv99_845_, product0_.em_aeat347_county as em_aea100_845_, product0_.characteristic_desc as charac101_845_, product0_.em_aeat347_countycode as em_aea102_845_, product0_.em_aeat347_regioncode as em_aea103_845_, product0_.updateinvariants as update104_845_, product0_.em_aeat347_zipcode as em_aea105_845_, product0_.managevariants as manage106_845_, product0_.prod_cat_selection as prod_c107_845_, product0_.product_selection as produc108_845_, product0_.print_description as print_109_845_, product0_.returnable as return110_845_, product0_.overdue_return_days as overdu111_845_, product0_.ispricerulebased as ispric112_845_, product0_.unique_per_document as unique113_845_, product0_.relateprodcattoservice as relate114_845_, product0_.relateprodtoservice as relate115_845_, product0_.islinkedtoproduct as islink116_845_, product0_.quantity_rule as quanti117_845_, product0_.allow_deferred_sell as allow_118_845_, product0_.deferred_sell_max_days as deferr119_845_, product0_.em_prmag2_short_description as em_prm120_845_, product0_.em_prmag2_description as em_prm121_845_, product0_.em_advcrm2_sync_pcrm as em_adv122_845_, product0_.em_prmag2_url_key as em_prm123_845_, product0_.em_advcrm2_sync_order as em_adv124_845_, product0_.em_prmag2_meta_title as em_prm125_845_, product0_.em_prmag2_meta_keyword as em_prm126_845_, product0_.em_prmag2_meta_description as em_prm127_845_, product0_.em_etpp_print_label as em_etp128_845_, product0_.em_fash_product_group_id as em_fas129_845_, product0_.em_fash_prod_composition_id as em_fas130_845_, product0_.em_fash_product_wash_opt_id as em_fas131_845_, product0_.em_fash_campaign_id as em_fas132_845_, product0_.em_fash_prod_measure_id as em_fas133_845_, product0_.m_product_status_id as m_prod134_845_, product0_.em_fash_import_char as em_fas135_845_, product0_.em_fash_createcombinations as em_fas136_845_, product0_.em_fash_create_processplan as em_fas137_845_, product0_.em_fash_import_mate as em_fas138_845_, product0_.em_fash_collection_id as em_fas139_845_, product0_.em_fash_lob_id as em_fas140_845_, product0_.em_fash_managecampaignvariant as em_fas141_845_, product0_.em_bass_canonpv as em_bas142_845_, product0_.em_bass_embroidery_id as em_bas143_845_, product0_.ismodifytax as ismodi144_845_, product0_.em_bass_motto_id as em_bas145_845_, product0_.relateprodcattaxtoservice as relate146_845_, product0_.copyservicemodifytaxconfig as copyse147_845_, product0_.em_bass_system as em_bas148_845_, product0_.em_bass_numbers as em_bas149_845_, product0_.em_bass_rope as em_bas150_845_, product0_.em_bass_usable_width as em_bas151_845_, product0_.em_advpro2_createwr as em_adv152_845_, product0_.em_bass_pricecompra as em_bas153_845_, product0_.em_thcost_cost_template as em_thc154_845_, product0_.em_bass_priceventa as em_bas155_845_, product0_.em_prrak_description as em_prr156_845_, product0_.em_bass_concatdesc as em_bas157_845_, product0_.em_prrak_tagline as em_prr158_845_, product0_.em_bass_productiondesc as em_bas159_845_, product0_.em_prrak_video_url as em_prr160_845_, product0_.em_bass_weft as em_bas161_845_, product0_.em_prrak_length as em_prr162_845_, product0_.em_bass_warp as em_bas163_845_, product0_.em_prrak_width as em_prr164_845_, product0_.em_bass_can_rotate as em_bas165_845_, product0_.em_prrak_height as em_prr166_845_, product0_.em_prrak_weight as em_prr167_845_, product0_.em_prb2b_updated as em_prb168_845_, product0_.em_prmag_shortdesc as em_prm169_845_, product0_.em_prmag_metatitle as em_prm170_845_, product0_.em_prmag_metakeys as em_prm171_845_, product0_.em_prmag_metadesc as em_prm172_845_, product0_.em_prmag_indepth as em_prm173_845_, product0_.em_prmag_mattset_id as em_prm174_845_, product0_.em_prmag_longdesc as em_prm175_845_, product0_.em_prmag_ismagento as em_prm176_845_, product0_.em_prmag_length as em_prm177_845_, product0_.em_prmag_width as em_prm178_845_, product0_.em_prmag_height as em_prm179_845_, product0_.em_prmag_weight as em_prm180_845_, product0_.em_prmag_infoset as em_prm181_845_, product0_.em_prmag_packset as em_prm182_845_, product0_.em_advcrm2_service_unit as em_adv183_845_, product0_.em_primg_update_image as em_pri184_845_, product0_.em_bass_crmapp_desc as em_bas185_845_, product0_.em_prsc_isdeliverycosts as em_prs186_845_, product0_.em_pruti_addmodifycharact as em_pru187_845_, product0_.em_bass_productionimage_id as em_bas188_845_, product0_.em_bass_isextinct as em_bas189_845_, product0_.em_thcost_template_id as em_thc190_845_, product0_.em_bass_cost_uom as em_bas191_845_, product0_.em_bass_cost_pricelist_id as em_bas192_845_, product0_.em_bass_tarifa_base as em_bas193_845_, product0_.em_bass_show_tasit_consum as em_bas194_845_, product0_.em_bass_create_purchase_order as em_bas195_845_, product0_.em_bass_warehouse_master as em_bas196_845_, product0_.em_bass_office_master as em_bas197_845_, product0_.em_bass_model_id as em_bas198_845_ from m_product product0_ where (upper((coalesce(to_char(( select producttrl1_.name from m_product_trl producttrl1_ where producttrl1_.m_product_id = product0_.m_product_id and producttrl1_.ad_language = ?)), to_char(product0_.name), ?) || ?| | product0_.value || ?| | coalesce(to_char(product0_.em_bass_concatdesc), ?) || ?| | coalesce(to_char(product0_.upc), ?))) like upper(?) escape ?) and (exists ( select ? from bass_product_deposit_v bass_produ2_ inner join m_product product3_ on bass_produ2_.m_product_id = product3_.m_product_id where bass_produ2_.type = ? and product3_.m_product_id = product0_.m_product_id and (bass_produ2_.ad_org_id in (...)) and (bass_produ2_.ad_client_id in (...)))) order by product0_.name, product0_.value, product0_.em_bass_concatdesc, product0_.upc limit ?;-
select product0_.M_Product_ID as m_produc1_845_, product0_.AD_Client_ID as ad_clien2_845_, product0_.AD_Org_ID as ad_org_i3_845_, product0_.IsActive as isactive4_845_, product0_.Created as created5_845_, product0_.CreatedBy as createdb6_845_, product0_.Updated as updated7_845_, product0_.UpdatedBy as updatedb8_845_, product0_.Value as value9_845_, product0_.Name as name10_845_, product0_.Description as descrip11_845_, product0_.DocumentNote as documen12_845_, product0_.Help as help13_845_, product0_.UPC as upc14_845_, product0_.SKU as sku15_845_, product0_.C_UOM_ID as c_uom_i16_845_, product0_.SalesRep_ID as salesre17_845_, product0_.IsSummary as issumma18_845_, product0_.IsStocked as isstock19_845_, product0_.IsPurchased as ispurch20_845_, product0_.IsSold as issold21_845_, product0_.IsBOM as isbom22_845_, product0_.IsInvoicePrintDetails as isinvoi23_845_, product0_.IsPickListPrintDetails as ispickl24_845_, product0_.IsVerified as isverif25_845_, product0_.M_Product_Category_ID as m_produ26_845_, product0_.Classification as classif27_845_, product0_.Volume as volume28_845_, product0_.Weight as weight29_845_, product0_.ShelfWidth as shelfwi30_845_, product0_.ShelfHeight as shelfhe31_845_, product0_.ShelfDepth as shelfde32_845_, product0_.UnitsPerPallet as unitspe33_845_, product0_.C_TaxCategory_ID as c_taxca34_845_, product0_.S_Resource_ID as s_resou35_845_, product0_.Discontinued as discont36_845_, product0_.DiscontinuedBy as discont37_845_, product0_.Processing as process38_845_, product0_.S_ExpenseType_ID as s_expen39_845_, product0_.ProductType as product40_845_, product0_.ImageURL as imageur41_845_, product0_.DescriptionURL as descrip42_845_, product0_.GuaranteeDays as guarant43_845_, product0_.VersionNo as version44_845_, product0_.M_AttributeSet_ID as m_attri45_845_, product0_.M_AttributeSetInstance_ID as m_attri46_845_, product0_.DownloadURL as downloa47_845_, product0_.M_FreightCategory_ID as m_freig48_845_, product0_.M_Locator_ID as m_locat49_845_, product0_.AD_Image_ID as ad_imag50_845_, product0_.C_BPartner_ID as c_bpart51_845_, product0_.Ispriceprinted as isprice52_845_, product0_.Name2 as name53_845_, product0_.Stock_Min as stock_m54_845_, product0_.Enforce_Attribute as enforce55_845_, product0_.Calculated as calcula56_845_, product0_.MA_Processplan_ID as ma_proc57_845_, product0_.Production as product58_845_, product0_.Capacity as capacit59_845_, product0_.Delaymin as delaymi60_845_, product0_.MRP_Planner_ID as mrp_pla61_845_, product0_.MRP_Planningmethod_ID as mrp_pla62_845_, product0_.Qtymax as qtymax63_845_, product0_.Qtymin as qtymin64_845_, product0_.Qtystd as qtystd65_845_, product0_.Qtytype as qtytype66_845_, product0_.Stockmin as stockmi67_845_, product0_.EM_Aeat347_Isleasebusiness as em_aeat68_845_, product0_.Attrsetvaluetype as attrset69_845_, product0_.EM_Aeat347_Situation as em_aeat70_845_, product0_.Isquantityvariable as isquant71_845_, product0_.Isdeferredrevenue as isdefer72_845_, product0_.EM_Aeat347_Referenceid as em_aeat73_845_, product0_.EM_Aeat347_Locationtype as em_aeat74_845_, product0_.Revplantype as revplan75_845_, product0_.EM_Aeat347_Streetname as em_aeat76_845_, product0_.Periodnumber as periodn77_845_, product0_.EM_Aeat347_Streetnumbertype as em_aeat78_845_, product0_.Isdeferredexpense as isdefer79_845_, product0_.EM_Aeat347_Streetnumber as em_aeat80_845_, product0_.Expplantype as expplan81_845_, product0_.EM_Aeat347_Streetnumberqua as em_aeat82_845_, product0_.Periodnumber_Exp as periodn83_845_, product0_.DefaultPeriod as default84_845_, product0_.EM_Aeat347_Building as em_aeat85_845_, product0_.DefaultPeriod_Exp as default86_845_, product0_.EM_Aeat347_Hall as em_aeat87_845_, product0_.Bookusingpoprice as bookusi88_845_, product0_.EM_Aeat347_Hallway as em_aeat89_845_, product0_.EM_Advcrm_Newactivity as em_advc90_845_, product0_.EM_Aeat347_Floor as em_aeat91_845_, product0_.C_Uom_Weight_ID as c_uom_w92_845_, product0_.M_Brand_ID as m_brand93_845_, product0_.EM_Aeat347_Apartment as em_aeat94_845_, product0_.EM_Aeat347_Complement as em_aeat95_845_, product0_.IsGeneric as isgener96_845_, product0_.EM_Aeat347_Location as em_aeat97_845_, product0_.Generic_Product_ID as generic98_845_, product0_.CreateVariants as createv99_845_, product0_.EM_Aeat347_County as em_aea100_845_, product0_.Characteristic_Desc as charac101_845_, product0_.EM_Aeat347_Countycode as em_aea102_845_, product0_.EM_Aeat347_Regioncode as em_aea103_845_, product0_.Updateinvariants as update104_845_, product0_.EM_Aeat347_Zipcode as em_aea105_845_, product0_.ManageVariants as manage106_845_, product0_.Prod_Cat_Selection as prod_c107_845_, product0_.Product_Selection as produc108_845_, product0_.Print_Description as print_109_845_, product0_.Returnable as return110_845_, product0_.Overdue_Return_Days as overdu111_845_, product0_.Ispricerulebased as ispric112_845_, product0_.Unique_Per_Document as unique113_845_, product0_.Relateprodcattoservice as relate114_845_, product0_.Relateprodtoservice as relate115_845_, product0_.Islinkedtoproduct as islink116_845_, product0_.Quantity_Rule as quanti117_845_, product0_.Allow_Deferred_Sell as allow_118_845_, product0_.Deferred_Sell_Max_Days as deferr119_845_, product0_.EM_Prmag2_Short_Description as em_prm120_845_, product0_.EM_Prmag2_Description as em_prm121_845_, product0_.EM_Advcrm2_Sync_Pcrm as em_adv122_845_, product0_.EM_Prmag2_Url_Key as em_prm123_845_, product0_.EM_Advcrm2_Sync_Order as em_adv124_845_, product0_.EM_Prmag2_Meta_Title as em_prm125_845_, product0_.EM_Prmag2_Meta_Keyword as em_prm126_845_, product0_.EM_Prmag2_Meta_Description as em_prm127_845_, product0_.EM_Etpp_Print_Label as em_etp128_845_, product0_.EM_Fash_Product_Group_ID as em_fas129_845_, product0_.EM_Fash_Prod_Composition_ID as em_fas130_845_, product0_.EM_Fash_Product_Wash_Opt_ID as em_fas131_845_, product0_.EM_Fash_Campaign_ID as em_fas132_845_, product0_.EM_Fash_Prod_Measure_ID as em_fas133_845_, product0_.M_Product_Status_ID as m_prod134_845_, product0_.EM_Fash_Import_Char as em_fas135_845_, product0_.EM_Fash_Createcombinations as em_fas136_845_, product0_.EM_Fash_Create_Processplan as em_fas137_845_, product0_.EM_Fash_Import_Mate as em_fas138_845_, product0_.EM_Fash_Collection_ID as em_fas139_845_, product0_.EM_Fash_Lob_ID as em_fas140_845_, product0_.EM_Fash_Managecampaignvariant as em_fas141_845_, product0_.EM_Bass_Canonpv as em_bas142_845_, product0_.EM_Bass_Embroidery_ID as em_bas143_845_, product0_.Ismodifytax as ismodi144_845_, product0_.EM_Bass_Motto_ID as em_bas145_845_, product0_.Relateprodcattaxtoservice as relate146_845_, product0_.Copyservicemodifytaxconfig as copyse147_845_, product0_.EM_Bass_System as em_bas148_845_, product0_.EM_Bass_Numbers as em_bas149_845_, product0_.EM_Bass_Rope as em_bas150_845_, product0_.EM_Bass_Usable_Width as em_bas151_845_, product0_.EM_Advpro2_Createwr as em_adv152_845_, product0_.EM_Bass_Pricecompra as em_bas153_845_, product0_.EM_Thcost_Cost_Template as em_thc154_845_, product0_.EM_Bass_Priceventa as em_bas155_845_, product0_.EM_Prrak_Description as em_prr156_845_, product0_.EM_Bass_Concatdesc as em_bas157_845_, product0_.EM_Prrak_Tagline as em_prr158_845_, product0_.EM_Bass_Productiondesc as em_bas159_845_, product0_.EM_Prrak_Video_Url as em_prr160_845_, product0_.EM_Bass_Weft as em_bas161_845_, product0_.EM_Prrak_Length as em_prr162_845_, product0_.EM_Bass_Warp as em_bas163_845_, product0_.EM_Prrak_Width as em_prr164_845_, product0_.EM_Bass_Can_Rotate as em_bas165_845_, product0_.EM_Prrak_Height as em_prr166_845_, product0_.EM_Prrak_Weight as em_prr167_845_, product0_.EM_Prb2b_Updated as em_prb168_845_, product0_.EM_Prmag_Shortdesc as em_prm169_845_, product0_.EM_Prmag_Metatitle as em_prm170_845_, product0_.EM_Prmag_Metakeys as em_prm171_845_, product0_.EM_Prmag_Metadesc as em_prm172_845_, product0_.EM_Prmag_Indepth as em_prm173_845_, product0_.EM_Prmag_Mattset_ID as em_prm174_845_, product0_.EM_Prmag_Longdesc as em_prm175_845_, product0_.EM_Prmag_Ismagento as em_prm176_845_, product0_.EM_Prmag_Length as em_prm177_845_, product0_.EM_Prmag_Width as em_prm178_845_, product0_.EM_Prmag_Height as em_prm179_845_, product0_.EM_Prmag_Weight as em_prm180_845_, product0_.EM_Prmag_Infoset as em_prm181_845_, product0_.EM_Prmag_Packset as em_prm182_845_, product0_.EM_Advcrm2_Service_Unit as em_adv183_845_, product0_.EM_Primg_Update_Image as em_pri184_845_, product0_.EM_Bass_Crmapp_Desc as em_bas185_845_, product0_.EM_Prsc_Isdeliverycosts as em_prs186_845_, product0_.EM_Pruti_Addmodifycharact as em_pru187_845_, product0_.EM_Bass_Productionimage_ID as em_bas188_845_, product0_.EM_Bass_IsExtinct as em_bas189_845_, product0_.EM_Thcost_Template_ID as em_thc190_845_, product0_.EM_Bass_Cost_Uom as em_bas191_845_, product0_.EM_Bass_Cost_Pricelist_ID as em_bas192_845_, product0_.EM_Bass_Tarifa_Base as em_bas193_845_, product0_.EM_Bass_Show_Tasit_Consum as em_bas194_845_, product0_.EM_Bass_Create_Purchase_Order as em_bas195_845_, product0_.EM_Bass_Warehouse_Master as em_bas196_845_, product0_.EM_Bass_Office_Master as em_bas197_845_, product0_.EM_Bass_Model_ID as em_bas198_845_ from M_Product product0_ where (upper((coalesce(to_char(( select producttrl1_.Name from M_Product_Trl producttrl1_ where producttrl1_.M_Product_ID = product0_.M_Product_ID and producttrl1_.AD_Language = 'es_ES')), to_char(product0_.Name), '') || ' - ' || product0_.Value || ' - ' || coalesce(to_char(product0_.EM_Bass_Concatdesc), '') || ' - ' || coalesce(to_char(product0_.UPC), ''))) like upper('%ducal%x%') escape '|') and (exists ( select 1 from bass_product_deposit_v bass_produ2_ inner join M_Product product3_ on bass_produ2_.M_Product_ID = product3_.M_Product_ID where bass_produ2_.Type = 'stock' and product3_.M_Product_ID = product0_.M_Product_ID and (bass_produ2_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (bass_produ2_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by product0_.Name, product0_.Value, product0_.EM_Bass_Concatdesc, product0_.UPC limit '76';
Date: 2026-07-14 17:24:15 Duration: 1s509ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select product0_.M_Product_ID as m_produc1_845_, product0_.AD_Client_ID as ad_clien2_845_, product0_.AD_Org_ID as ad_org_i3_845_, product0_.IsActive as isactive4_845_, product0_.Created as created5_845_, product0_.CreatedBy as createdb6_845_, product0_.Updated as updated7_845_, product0_.UpdatedBy as updatedb8_845_, product0_.Value as value9_845_, product0_.Name as name10_845_, product0_.Description as descrip11_845_, product0_.DocumentNote as documen12_845_, product0_.Help as help13_845_, product0_.UPC as upc14_845_, product0_.SKU as sku15_845_, product0_.C_UOM_ID as c_uom_i16_845_, product0_.SalesRep_ID as salesre17_845_, product0_.IsSummary as issumma18_845_, product0_.IsStocked as isstock19_845_, product0_.IsPurchased as ispurch20_845_, product0_.IsSold as issold21_845_, product0_.IsBOM as isbom22_845_, product0_.IsInvoicePrintDetails as isinvoi23_845_, product0_.IsPickListPrintDetails as ispickl24_845_, product0_.IsVerified as isverif25_845_, product0_.M_Product_Category_ID as m_produ26_845_, product0_.Classification as classif27_845_, product0_.Volume as volume28_845_, product0_.Weight as weight29_845_, product0_.ShelfWidth as shelfwi30_845_, product0_.ShelfHeight as shelfhe31_845_, product0_.ShelfDepth as shelfde32_845_, product0_.UnitsPerPallet as unitspe33_845_, product0_.C_TaxCategory_ID as c_taxca34_845_, product0_.S_Resource_ID as s_resou35_845_, product0_.Discontinued as discont36_845_, product0_.DiscontinuedBy as discont37_845_, product0_.Processing as process38_845_, product0_.S_ExpenseType_ID as s_expen39_845_, product0_.ProductType as product40_845_, product0_.ImageURL as imageur41_845_, product0_.DescriptionURL as descrip42_845_, product0_.GuaranteeDays as guarant43_845_, product0_.VersionNo as version44_845_, product0_.M_AttributeSet_ID as m_attri45_845_, product0_.M_AttributeSetInstance_ID as m_attri46_845_, product0_.DownloadURL as downloa47_845_, product0_.M_FreightCategory_ID as m_freig48_845_, product0_.M_Locator_ID as m_locat49_845_, product0_.AD_Image_ID as ad_imag50_845_, product0_.C_BPartner_ID as c_bpart51_845_, product0_.Ispriceprinted as isprice52_845_, product0_.Name2 as name53_845_, product0_.Stock_Min as stock_m54_845_, product0_.Enforce_Attribute as enforce55_845_, product0_.Calculated as calcula56_845_, product0_.MA_Processplan_ID as ma_proc57_845_, product0_.Production as product58_845_, product0_.Capacity as capacit59_845_, product0_.Delaymin as delaymi60_845_, product0_.MRP_Planner_ID as mrp_pla61_845_, product0_.MRP_Planningmethod_ID as mrp_pla62_845_, product0_.Qtymax as qtymax63_845_, product0_.Qtymin as qtymin64_845_, product0_.Qtystd as qtystd65_845_, product0_.Qtytype as qtytype66_845_, product0_.Stockmin as stockmi67_845_, product0_.EM_Aeat347_Isleasebusiness as em_aeat68_845_, product0_.Attrsetvaluetype as attrset69_845_, product0_.EM_Aeat347_Situation as em_aeat70_845_, product0_.Isquantityvariable as isquant71_845_, product0_.Isdeferredrevenue as isdefer72_845_, product0_.EM_Aeat347_Referenceid as em_aeat73_845_, product0_.EM_Aeat347_Locationtype as em_aeat74_845_, product0_.Revplantype as revplan75_845_, product0_.EM_Aeat347_Streetname as em_aeat76_845_, product0_.Periodnumber as periodn77_845_, product0_.EM_Aeat347_Streetnumbertype as em_aeat78_845_, product0_.Isdeferredexpense as isdefer79_845_, product0_.EM_Aeat347_Streetnumber as em_aeat80_845_, product0_.Expplantype as expplan81_845_, product0_.EM_Aeat347_Streetnumberqua as em_aeat82_845_, product0_.Periodnumber_Exp as periodn83_845_, product0_.DefaultPeriod as default84_845_, product0_.EM_Aeat347_Building as em_aeat85_845_, product0_.DefaultPeriod_Exp as default86_845_, product0_.EM_Aeat347_Hall as em_aeat87_845_, product0_.Bookusingpoprice as bookusi88_845_, product0_.EM_Aeat347_Hallway as em_aeat89_845_, product0_.EM_Advcrm_Newactivity as em_advc90_845_, product0_.EM_Aeat347_Floor as em_aeat91_845_, product0_.C_Uom_Weight_ID as c_uom_w92_845_, product0_.M_Brand_ID as m_brand93_845_, product0_.EM_Aeat347_Apartment as em_aeat94_845_, product0_.EM_Aeat347_Complement as em_aeat95_845_, product0_.IsGeneric as isgener96_845_, product0_.EM_Aeat347_Location as em_aeat97_845_, product0_.Generic_Product_ID as generic98_845_, product0_.CreateVariants as createv99_845_, product0_.EM_Aeat347_County as em_aea100_845_, product0_.Characteristic_Desc as charac101_845_, product0_.EM_Aeat347_Countycode as em_aea102_845_, product0_.EM_Aeat347_Regioncode as em_aea103_845_, product0_.Updateinvariants as update104_845_, product0_.EM_Aeat347_Zipcode as em_aea105_845_, product0_.ManageVariants as manage106_845_, product0_.Prod_Cat_Selection as prod_c107_845_, product0_.Product_Selection as produc108_845_, product0_.Print_Description as print_109_845_, product0_.Returnable as return110_845_, product0_.Overdue_Return_Days as overdu111_845_, product0_.Ispricerulebased as ispric112_845_, product0_.Unique_Per_Document as unique113_845_, product0_.Relateprodcattoservice as relate114_845_, product0_.Relateprodtoservice as relate115_845_, product0_.Islinkedtoproduct as islink116_845_, product0_.Quantity_Rule as quanti117_845_, product0_.Allow_Deferred_Sell as allow_118_845_, product0_.Deferred_Sell_Max_Days as deferr119_845_, product0_.EM_Prmag2_Short_Description as em_prm120_845_, product0_.EM_Prmag2_Description as em_prm121_845_, product0_.EM_Advcrm2_Sync_Pcrm as em_adv122_845_, product0_.EM_Prmag2_Url_Key as em_prm123_845_, product0_.EM_Advcrm2_Sync_Order as em_adv124_845_, product0_.EM_Prmag2_Meta_Title as em_prm125_845_, product0_.EM_Prmag2_Meta_Keyword as em_prm126_845_, product0_.EM_Prmag2_Meta_Description as em_prm127_845_, product0_.EM_Etpp_Print_Label as em_etp128_845_, product0_.EM_Fash_Product_Group_ID as em_fas129_845_, product0_.EM_Fash_Prod_Composition_ID as em_fas130_845_, product0_.EM_Fash_Product_Wash_Opt_ID as em_fas131_845_, product0_.EM_Fash_Campaign_ID as em_fas132_845_, product0_.EM_Fash_Prod_Measure_ID as em_fas133_845_, product0_.M_Product_Status_ID as m_prod134_845_, product0_.EM_Fash_Import_Char as em_fas135_845_, product0_.EM_Fash_Createcombinations as em_fas136_845_, product0_.EM_Fash_Create_Processplan as em_fas137_845_, product0_.EM_Fash_Import_Mate as em_fas138_845_, product0_.EM_Fash_Collection_ID as em_fas139_845_, product0_.EM_Fash_Lob_ID as em_fas140_845_, product0_.EM_Fash_Managecampaignvariant as em_fas141_845_, product0_.EM_Bass_Canonpv as em_bas142_845_, product0_.EM_Bass_Embroidery_ID as em_bas143_845_, product0_.Ismodifytax as ismodi144_845_, product0_.EM_Bass_Motto_ID as em_bas145_845_, product0_.Relateprodcattaxtoservice as relate146_845_, product0_.Copyservicemodifytaxconfig as copyse147_845_, product0_.EM_Bass_System as em_bas148_845_, product0_.EM_Bass_Numbers as em_bas149_845_, product0_.EM_Bass_Rope as em_bas150_845_, product0_.EM_Bass_Usable_Width as em_bas151_845_, product0_.EM_Advpro2_Createwr as em_adv152_845_, product0_.EM_Bass_Pricecompra as em_bas153_845_, product0_.EM_Thcost_Cost_Template as em_thc154_845_, product0_.EM_Bass_Priceventa as em_bas155_845_, product0_.EM_Prrak_Description as em_prr156_845_, product0_.EM_Bass_Concatdesc as em_bas157_845_, product0_.EM_Prrak_Tagline as em_prr158_845_, product0_.EM_Bass_Productiondesc as em_bas159_845_, product0_.EM_Prrak_Video_Url as em_prr160_845_, product0_.EM_Bass_Weft as em_bas161_845_, product0_.EM_Prrak_Length as em_prr162_845_, product0_.EM_Bass_Warp as em_bas163_845_, product0_.EM_Prrak_Width as em_prr164_845_, product0_.EM_Bass_Can_Rotate as em_bas165_845_, product0_.EM_Prrak_Height as em_prr166_845_, product0_.EM_Prrak_Weight as em_prr167_845_, product0_.EM_Prb2b_Updated as em_prb168_845_, product0_.EM_Prmag_Shortdesc as em_prm169_845_, product0_.EM_Prmag_Metatitle as em_prm170_845_, product0_.EM_Prmag_Metakeys as em_prm171_845_, product0_.EM_Prmag_Metadesc as em_prm172_845_, product0_.EM_Prmag_Indepth as em_prm173_845_, product0_.EM_Prmag_Mattset_ID as em_prm174_845_, product0_.EM_Prmag_Longdesc as em_prm175_845_, product0_.EM_Prmag_Ismagento as em_prm176_845_, product0_.EM_Prmag_Length as em_prm177_845_, product0_.EM_Prmag_Width as em_prm178_845_, product0_.EM_Prmag_Height as em_prm179_845_, product0_.EM_Prmag_Weight as em_prm180_845_, product0_.EM_Prmag_Infoset as em_prm181_845_, product0_.EM_Prmag_Packset as em_prm182_845_, product0_.EM_Advcrm2_Service_Unit as em_adv183_845_, product0_.EM_Primg_Update_Image as em_pri184_845_, product0_.EM_Bass_Crmapp_Desc as em_bas185_845_, product0_.EM_Prsc_Isdeliverycosts as em_prs186_845_, product0_.EM_Pruti_Addmodifycharact as em_pru187_845_, product0_.EM_Bass_Productionimage_ID as em_bas188_845_, product0_.EM_Bass_IsExtinct as em_bas189_845_, product0_.EM_Thcost_Template_ID as em_thc190_845_, product0_.EM_Bass_Cost_Uom as em_bas191_845_, product0_.EM_Bass_Cost_Pricelist_ID as em_bas192_845_, product0_.EM_Bass_Tarifa_Base as em_bas193_845_, product0_.EM_Bass_Show_Tasit_Consum as em_bas194_845_, product0_.EM_Bass_Create_Purchase_Order as em_bas195_845_, product0_.EM_Bass_Warehouse_Master as em_bas196_845_, product0_.EM_Bass_Office_Master as em_bas197_845_, product0_.EM_Bass_Model_ID as em_bas198_845_ from M_Product product0_ where (upper((coalesce(to_char(( select producttrl1_.Name from M_Product_Trl producttrl1_ where producttrl1_.M_Product_ID = product0_.M_Product_ID and producttrl1_.AD_Language = 'es_ES')), to_char(product0_.Name), '') || ' - ' || product0_.Value || ' - ' || coalesce(to_char(product0_.EM_Bass_Concatdesc), '') || ' - ' || coalesce(to_char(product0_.UPC), ''))) like upper('%regent%x%') escape '|') and (exists ( select 1 from bass_product_deposit_v bass_produ2_ inner join M_Product product3_ on bass_produ2_.M_Product_ID = product3_.M_Product_ID where bass_produ2_.Type = 'stock' and product3_.M_Product_ID = product0_.M_Product_ID and (bass_produ2_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (bass_produ2_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by product0_.Name, product0_.Value, product0_.EM_Bass_Concatdesc, product0_.UPC limit '76';
Date: 2026-07-14 10:16:11 Duration: 1s8ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
14 1 53.86 MiB 53.86 MiB 53.86 MiB 53.86 MiB ? as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std (?, c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ?| | ( select count(?) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = ?))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ?) from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit ?)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where ? = ? and pack.c_bpartner_id not in (...) and pack.obwpack_packingh_id in (...) and (type.isgroup is null or type.isgroup = ?) group by ?, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ?) from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) union all select ? as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() over ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ? || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(?) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = ? and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() over () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std (?, c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where ? = ? and pack.c_bpartner_id not in (...) and pack.obwpack_packingh_id in (...) and prpp_box_type.isgroup = ?) a left join prlab_num on ? >= prlab_num.num order by documentno, type, orderbox;-
'box' as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ' / ' || ( select count(1) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = 'N'))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit 1)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('D5C5A7214B2848C496736599961CE758') and (type.isgroup is null or type.isgroup = 'N') group by 1, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) UNION ALL select 'palet' as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() OVER ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ' / ' || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(1) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = 'Y' and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() OVER () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('D5C5A7214B2848C496736599961CE758') and prpp_box_type.isgroup = 'Y') a left join prlab_num on 4 >= prlab_num.num order by documentno, type, orderbox;
Date: 2026-07-14 08:50:40 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
15 1 114.75 MiB 114.75 MiB 114.75 MiB 114.75 MiB select order0_.c_order_id as c_order_1_467_, order0_.ad_client_id as ad_clien2_467_, order0_.ad_org_id as ad_org_i3_467_, order0_.isactive as isactive4_467_, order0_.created as created5_467_, order0_.createdby as createdb6_467_, order0_.updated as updated7_467_, order0_.updatedby as updatedb8_467_, order0_.issotrx as issotrx9_467_, order0_.documentno as documen10_467_, order0_.docstatus as docstat11_467_, order0_.docaction as docacti12_467_, order0_.processing as process13_467_, order0_.processed as process14_467_, order0_.c_doctype_id as c_docty15_467_, order0_.c_doctypetarget_id as c_docty16_467_, order0_.description as descrip17_467_, order0_.isdelivered as isdeliv18_467_, order0_.isinvoiced as isinvoi19_467_, order0_.isprinted as isprint20_467_, order0_.isselected as isselec21_467_, order0_.salesrep_id as salesre22_467_, order0_.dateordered as dateord23_467_, order0_.datepromised as datepro24_467_, order0_.dateprinted as datepri25_467_, order0_.dateacct as dateacc26_467_, order0_.c_bpartner_id as c_bpart27_467_, order0_.billto_id as billto_28_467_, order0_.c_bpartner_location_id as c_bpart29_467_, order0_.poreference as porefer30_467_, order0_.isdiscountprinted as isdisco31_467_, order0_.c_currency_id as c_curre32_467_, order0_.paymentrule as payment33_467_, order0_.c_paymentterm_id as c_payme34_467_, order0_.invoicerule as invoice35_467_, order0_.deliveryrule as deliver36_467_, order0_.freightcostrule as freight37_467_, order0_.freightamt as freight38_467_, order0_.deliveryviarule as deliver39_467_, order0_.m_shipper_id as m_shipp40_467_, order0_.c_charge_id as c_charg41_467_, order0_.chargeamt as chargea42_467_, order0_.priorityrule as priorit43_467_, order0_.totallines as totalli44_467_, order0_.grandtotal as grandto45_467_, order0_.m_warehouse_id as m_wareh46_467_, order0_.m_pricelist_id as m_price47_467_, order0_.istaxincluded as istaxin48_467_, order0_.c_campaign_id as c_campa49_467_, order0_.c_project_id as c_proje50_467_, order0_.c_activity_id as c_activ51_467_, order0_.posted as posted52_467_, order0_.ad_user_id as ad_user53_467_, order0_.copyfrom as copyfro54_467_, order0_.dropship_bpartner_id as dropshi55_467_, order0_.dropship_location_id as dropshi56_467_, order0_.dropship_user_id as dropshi57_467_, order0_.isselfservice as isselfs58_467_, order0_.ad_orgtrx_id as ad_orgt59_467_, order0_.user1_id as user60_467_, order0_.user2_id as user61_467_, order0_.deliverynotes as deliver62_467_, order0_.c_incoterms_id as c_incot63_467_, order0_.incotermsdescription as incoter64_467_, order0_.generatetemplate as generat65_467_, order0_.delivery_location_id as deliver66_467_, order0_.copyfrompo as copyfro67_467_, order0_.fin_paymentmethod_id as fin_pay68_467_, order0_.fin_payment_priority_id as fin_pay69_467_, order0_.rm_pickfromshipment as rm_pick70_467_, order0_.rm_receivematerials as rm_rece71_467_, order0_.em_obcma_c_poc_email_id as em_obcm72_467_, order0_.rm_createinvoice as rm_crea73_467_, order0_.c_return_reason_id as c_retur74_467_, order0_.rm_addorphanline as rm_addo75_467_, order0_.a_asset_id as a_asset76_467_, order0_.calculate_promotions as calcula77_467_, order0_.c_costcenter_id as c_costc78_467_, order0_.convertquotation as convert79_467_, order0_.c_reject_reason_id as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.quotation_id as quotati82_467_, order0_.so_res_status as so_res_83_467_, order0_.create_polines as create_84_467_, order0_.iscashvat as iscashv85_467_, order0_.em_obmfm_selectfreight as em_obmf86_467_, order0_.em_obmfm_delivery_period_id as em_obmf87_467_, order0_.rm_pickfromreceipt as rm_pick88_467_, order0_.cancelandreplace as cancela89_467_, order0_.em_advcrm_newactivity as em_advc90_467_, order0_.em_advmrp_isnotproducible as em_advm91_467_, order0_.em_aprm_addpayment as em_aprm92_467_, order0_.em_obmfm_delivery_charges as em_obmf93_467_, order0_.em_fash_datelimit as em_fash94_467_, order0_.em_obmfm_freight_id as em_obmf95_467_, order0_.em_obwpl_generatepicking as em_obwp96_467_, order0_.em_advcrm_opportunity_id as em_advc97_467_, order0_.em_fash_datevalue as em_fash98_467_, order0_.em_obmfm_weight as em_obmf99_467_, order0_.em_obwpl_isinpickinglist as em_obw100_467_, order0_.em_fash_sendbeforedate as em_fas101_467_, order0_.em_obwpl_readypl as em_obw102_467_, order0_.em_fash_order_type_id as em_fas103_467_, order0_.em_sgpcrm_securitygroups_id as em_sgp104_467_, order0_.em_obmfm_weight_uom_id as em_obm105_467_, order0_.em_advptc_financial_acct_id as em_adv106_467_, order0_.em_obmfm_set_weight as em_obm107_467_, order0_.em_advptc_bp_bankacct_id as em_adv108_467_, order0_.em_aeatsii_fecha_operacion as em_aea109_467_, order0_.confirmcancelandreplace as confir110_467_, order0_.em_advptc_percentage_dist as em_adv111_467_, order0_.em_aeatsii_descripcion_sii as em_aea112_467_, order0_.em_etabam_bankaccount_id as em_eta113_467_, order0_.em_etpr_remove_payment as em_etp114_467_, order0_.em_advptc_typedistribution as em_adv115_467_, order0_.em_advptc_payment_cond_id as em_adv116_467_, order0_.em_etvfac_reversed_invoice as em_etv117_467_, order0_.cancelledorder_id as cancel118_467_, order0_.em_etblkc_bulkcompletion as em_etb119_467_, order0_.em_fshedi_buyer_location_id as em_fsh120_467_, order0_.em_prmag2_grandtotal as em_prm121_467_, order0_.replacedorder_id as replac122_467_, order0_.iscancelled as iscanc123_467_, order0_.replacementorder_id as replac124_467_, order0_.em_prouti_order_stock as em_pro125_467_, order0_.em_etafdp_undoclose as em_eta126_467_, order0_.em_fash_servefrom as em_fas127_467_, order0_.em_prouti_pregenerate_minout as em_pro128_467_, order0_.em_etinter_interco_orig as em_eti129_467_, order0_.em_prouti_sotopo as em_pro130_467_, order0_.bpartner_extref as bpartn131_467_, order0_.em_bass_costfactor as em_bas132_467_, order0_.em_bass_isproform as em_bas133_467_, order0_.em_fshedi_dptocompra as em_fsh134_467_, order0_.em_prpp_generatepicking as em_prp135_467_, order0_.em_bass_observations as em_bas136_467_, order0_.em_fshedi_sucursal as em_fsh137_467_, order0_.em_bass_pickstock as em_bas138_467_, order0_.em_bass_pl_generatepicking as em_bas139_467_, order0_.em_ml_select_product as em_ml_140_467_, order0_.em_prscrm_suitedocid as em_prs141_467_, order0_.em_bass_rm_pickfromshipment as em_bas142_467_, order0_.em_bass_create_returnreceipt as em_bas143_467_, order0_.em_bass_freight_currency_id as em_bas144_467_, order0_.em_bass_area as em_bas145_467_, order0_.em_bass_plprocessing as em_bas146_467_, order0_.em_prrak_reference as em_prr147_467_, order0_.em_advcrm2_name as em_adv148_467_, order0_.em_prrak_void_order as em_prr149_467_, order0_.em_advcrm2_scene_id as em_adv150_467_, order0_.em_prsc_commissiontype as em_prs151_467_, order0_.em_advcrm2_discount_id as em_adv152_467_, order0_.em_prmag_reference as em_prm153_467_, order0_.em_prmag_void_order as em_prm154_467_, order0_.em_prouti_totalizations as em_pro155_467_, order0_.em_bass_deliverynotes as em_bas156_467_, order0_.em_prmeci_order_id as em_prm157_467_, order0_.em_prmeci_grandtotal as em_prm158_467_, order0_.em_bass_enablepricezero as em_bas159_467_, order0_.em_prmag_gift_wrap as em_prm160_467_, order0_.em_bass_change_bp as em_bas161_467_, order0_.em_pramz_orderid as em_pra162_467_, order0_.em_pramz_grandtotal as em_pra163_467_, order0_.em_prouti_reactiveorder as em_pro164_467_, order0_.em_prouti_grandtotalinitial as em_pro165_467_, order0_.em_prouti_totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.em_advcrm2_signature_image as em_adv168_467_, order0_.em_bass_partnerinvolved_id as em_bas169_467_, order0_.em_advcrm2_signature_name as em_adv170_467_, order0_.em_bass_maintincidents_id as em_bas171_467_, order0_.em_advcrm2_processing as em_adv172_467_, order0_.em_bass_requerecontrolquality as em_bas173_467_, order0_.em_bass_resolve_incidence as em_bas174_467_, order0_.em_bass_incidence_id as em_bas175_467_, order0_.em_pramz_marketplace as em_pra176_467_, order0_.em_prb2b_create_combinations as em_prb177_467_, order0_.em_prqc_generate_control as em_prq178_467_, order0_.em_advcrm2_sendmail as em_adv179_467_, order0_.em_prqc_processed as em_prq180_467_, order0_.em_advcrm2_errorsendmail as em_adv181_467_, order0_.em_bass_re_cj_quotation as em_bas182_467_, order0_.em_bass_inherit_quality_ctrl as em_bas183_467_, order0_.em_bass_qc_description as em_bas184_467_, order0_.em_bass_ap_cj_quotation as em_bas185_467_, order0_.em_advpro2_picked_ret_prodln as em_adv186_467_, order0_.em_bass_valuation_conf_id as em_bas187_467_, order0_.em_bass_prqcpriority as em_bas188_467_, order0_.em_pruti_ignoreminqty as em_pru189_467_, order0_.em_bass_calculateprices as em_bas190_467_, order0_.em_bass_registerorder as em_bas191_467_, order0_.em_bass_pricebyoutsrcpricelist as em_bas192_467_, order0_.em_prb2b_orderref as em_prb193_467_, order0_.em_bass_dateplanned as em_bas194_467_, order0_.em_prouti_order_id as em_pro195_467_, order0_.em_bass_pendingtoconfirm as em_bas196_467_, order0_.em_prmeci_deliverytype as em_prm197_467_, order0_.em_bass_requirepickup as em_bas198_467_, order0_.em_bass_isexportedpickup as em_bas199_467_, order0_.em_bass_numpackspickup as em_bas200_467_, order0_.em_bass_expected_recept_date as em_bas201_467_, order0_.em_bass_originincidence_id as em_bas202_467_, order0_.em_advshi_calculate_proposal as em_adv203_467_, order0_.em_prncx_num_recogida as em_prn204_467_, order0_.em_prncx_pickup_link as em_prn205_467_, order0_.em_prncx_ret_bultos as em_prn206_467_, order0_.em_prncx_get_recogida as em_prn207_467_, order0_.em_bass_outsrcpricelist as em_bas208_467_, order0_.em_prncx_ret_peso as em_prn209_467_, order0_.em_prncx_obs1 as em_prn210_467_, order0_.em_prncx_obs2 as em_prn211_467_, order0_.em_prncx_obs3 as em_prn212_467_, order0_.em_prouti_dateclosed as em_pro213_467_ from c_order order0_ left outer 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 (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.name2), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty2_.isreturn = ? and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) order by order0_.dateordered desc, order0_.c_order_id desc limit ?;-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer 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 (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Name2), ''))) like upper('%el%corte%ingles%') escape '|') and order0_.IsSOTrx = 'Y' and documentty2_.IsReturn = 'Y' and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 12:15:04 Duration: 1s850ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
16 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select materialmg0_.m_inout_id as m_inout_1_803_, materialmg0_.ad_client_id as ad_clien2_803_, materialmg0_.ad_org_id as ad_org_i3_803_, materialmg0_.isactive as isactive4_803_, materialmg0_.created as created5_803_, materialmg0_.createdby as createdb6_803_, materialmg0_.updated as updated7_803_, materialmg0_.updatedby as updatedb8_803_, materialmg0_.issotrx as issotrx9_803_, materialmg0_.documentno as documen10_803_, materialmg0_.docaction as docacti11_803_, materialmg0_.docstatus as docstat12_803_, materialmg0_.posted as posted13_803_, materialmg0_.processing as process14_803_, materialmg0_.processed as process15_803_, materialmg0_.c_doctype_id as c_docty16_803_, materialmg0_.description as descrip17_803_, materialmg0_.c_order_id as c_order18_803_, materialmg0_.dateordered as dateord19_803_, materialmg0_.isprinted as isprint20_803_, materialmg0_.movementtype as movemen21_803_, materialmg0_.movementdate as movemen22_803_, materialmg0_.dateacct as dateacc23_803_, materialmg0_.c_bpartner_id as c_bpart24_803_, materialmg0_.c_bpartner_location_id as c_bpart25_803_, materialmg0_.m_warehouse_id as m_wareh26_803_, materialmg0_.poreference as porefer27_803_, materialmg0_.deliveryrule as deliver28_803_, materialmg0_.freightcostrule as freight29_803_, materialmg0_.freightamt as freight30_803_, materialmg0_.deliveryviarule as deliver31_803_, materialmg0_.m_shipper_id as m_shipp32_803_, materialmg0_.c_charge_id as c_charg33_803_, materialmg0_.chargeamt as chargea34_803_, materialmg0_.priorityrule as priorit35_803_, materialmg0_.dateprinted as datepri36_803_, materialmg0_.c_invoice_id as c_invoi37_803_, materialmg0_.createfrom as createf38_803_, materialmg0_.generateto as generat39_803_, materialmg0_.ad_user_id as ad_user40_803_, materialmg0_.salesrep_id as salesre41_803_, materialmg0_.nopackages as nopacka42_803_, materialmg0_.pickdate as pickdat43_803_, materialmg0_.shipdate as shipdat44_803_, materialmg0_.trackingno as trackin45_803_, materialmg0_.ad_orgtrx_id as ad_orgt46_803_, materialmg0_.c_project_id as c_proje47_803_, materialmg0_.c_campaign_id as c_campa48_803_, materialmg0_.c_activity_id as c_activ49_803_, materialmg0_.user1_id as user50_803_, materialmg0_.user2_id as user51_803_, materialmg0_.updatelines as updatel52_803_, materialmg0_.islogistic as islogis53_803_, materialmg0_.calculate_freight as calcula54_803_, materialmg0_.delivery_location_id as deliver55_803_, materialmg0_.m_freightcategory_id as m_freig56_803_, materialmg0_.freight_currency_id as freight57_803_, materialmg0_.rm_receipt_pickedit as rm_rece58_803_, materialmg0_.rm_shipment_pickedit as rm_ship59_803_, materialmg0_.em_obcma_c_poc_email_id as em_obcm60_803_, materialmg0_.m_condition_goods_id as m_condi61_803_, materialmg0_.a_asset_id as a_asset62_803_, materialmg0_.c_costcenter_id as c_costc63_803_, materialmg0_.process_goods_java as process64_803_, materialmg0_.isnettingshipment as isnetti65_803_, materialmg0_.iscompletelyinvoiced as iscompl66_803_, materialmg0_.em_fshedi_type as em_fshe67_803_, materialmg0_.em_obmfm_freight_id as em_obmf68_803_, materialmg0_.em_obwpack_packing as em_obwp69_803_, materialmg0_.em_sgpcrm_securitygroups_id as em_sgpc70_803_, materialmg0_.em_fshedi_function as em_fshe71_803_, materialmg0_.em_obmfm_delivery_charges as em_obmf72_803_, materialmg0_.em_obwpack_packingh_id as em_obwp73_803_, materialmg0_.invoicefromshipment as invoice74_803_, materialmg0_.em_fshedi_freight as em_fshe75_803_, materialmg0_.em_obwpack_processed as em_obwp76_803_, materialmg0_.bpartner_extref as bpartne77_803_, materialmg0_.em_etblkp_accountingstatus as em_etbl78_803_, materialmg0_.em_fshedi_identif as em_fshe79_803_, materialmg0_.em_obwpack_reactivated as em_obwp80_803_, materialmg0_.em_etblkp_bulkposting as em_etbl81_803_, materialmg0_.em_fshedi_packing_cost as em_fshe82_803_, materialmg0_.em_fshedi_collection as em_fshe83_803_, materialmg0_.em_obwpack_packingrequired as em_obwp84_803_, materialmg0_.em_fshedi_ship_type as em_fshe85_803_, materialmg0_.em_pruti_total_amt_tax as em_prut86_803_, materialmg0_.em_etblkc_bulkcompletion as em_etbl87_803_, materialmg0_.em_obmfm_deliverynotes as em_obmf88_803_, materialmg0_.em_obeuci_ship as em_obeu89_803_, materialmg0_.em_prlog_isexported as em_prlo90_803_, materialmg0_.em_fshedi_processed as em_fshe91_803_, materialmg0_.em_bass_observations as em_bass92_803_, materialmg0_.em_bass_deliverydate as em_bass93_803_, materialmg0_.em_bass_c_return_reason_id as em_bass94_803_, materialmg0_.em_bass_urgent as em_bass95_803_, materialmg0_.em_bass_skip_freight as em_bass96_803_, materialmg0_.em_bass_descriptionpl_tmp as em_bass97_803_, materialmg0_.em_prlog_peso as em_prlo98_803_, materialmg0_.em_bass_descriptionpl as em_bass99_803_, materialmg0_.em_prlog_volumen as em_prl100_803_, materialmg0_.em_bass_tags_printed as em_bas101_803_, materialmg0_.em_bass_modifydate as em_bas102_803_, materialmg0_.em_bass_uploadpending as em_bas103_803_, materialmg0_.em_prqc_generate_control as em_prq104_803_, materialmg0_.em_pramz_disable_trackerror as em_pra105_803_, materialmg0_.em_prqc_processed as em_prq106_803_, materialmg0_.em_bass_valuation_conf_id as em_bas107_803_, materialmg0_.em_pramz_status as em_pra108_803_, materialmg0_.em_bass_prqcpriority as em_bas109_803_, materialmg0_.em_pruti_showpriceingoods as em_pru110_803_, materialmg0_.em_bass_qc_movement_created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.em_pruti_createfrom as em_pru114_803_ from m_inout materialmg0_ inner join c_order order1_ on materialmg0_.c_order_id = order1_.c_order_id cross join c_doctype documentty2_ where materialmg0_.c_doctype_id = documentty2_.c_doctype_id and (upper((order1_.documentno || ?| | coalesce(to_char(order1_.dateordered), ?) || ?| | coalesce(to_char(order1_.grandtotal), ?))) like upper(?) escape ?) and (materialmg0_.movementtype in (...)) and materialmg0_.islogistic = ? and documentty2_.isreturn = ? and (materialmg0_.ad_org_id in (...)) and (materialmg0_.ad_client_id in (...)) order by materialmg0_.documentno, materialmg0_.m_inout_id limit ?;-
select materialmg0_.M_InOut_ID as m_inout_1_803_, materialmg0_.AD_Client_ID as ad_clien2_803_, materialmg0_.AD_Org_ID as ad_org_i3_803_, materialmg0_.IsActive as isactive4_803_, materialmg0_.Created as created5_803_, materialmg0_.CreatedBy as createdb6_803_, materialmg0_.Updated as updated7_803_, materialmg0_.UpdatedBy as updatedb8_803_, materialmg0_.IsSOTrx as issotrx9_803_, materialmg0_.DocumentNo as documen10_803_, materialmg0_.DocAction as docacti11_803_, materialmg0_.DocStatus as docstat12_803_, materialmg0_.Posted as posted13_803_, materialmg0_.Processing as process14_803_, materialmg0_.Processed as process15_803_, materialmg0_.C_DocType_ID as c_docty16_803_, materialmg0_.Description as descrip17_803_, materialmg0_.C_Order_ID as c_order18_803_, materialmg0_.DateOrdered as dateord19_803_, materialmg0_.IsPrinted as isprint20_803_, materialmg0_.MovementType as movemen21_803_, materialmg0_.MovementDate as movemen22_803_, materialmg0_.DateAcct as dateacc23_803_, materialmg0_.C_BPartner_ID as c_bpart24_803_, materialmg0_.C_BPartner_Location_ID as c_bpart25_803_, materialmg0_.M_Warehouse_ID as m_wareh26_803_, materialmg0_.POReference as porefer27_803_, materialmg0_.DeliveryRule as deliver28_803_, materialmg0_.FreightCostRule as freight29_803_, materialmg0_.FreightAmt as freight30_803_, materialmg0_.DeliveryViaRule as deliver31_803_, materialmg0_.M_Shipper_ID as m_shipp32_803_, materialmg0_.C_Charge_ID as c_charg33_803_, materialmg0_.ChargeAmt as chargea34_803_, materialmg0_.PriorityRule as priorit35_803_, materialmg0_.DatePrinted as datepri36_803_, materialmg0_.C_Invoice_ID as c_invoi37_803_, materialmg0_.CreateFrom as createf38_803_, materialmg0_.GenerateTo as generat39_803_, materialmg0_.AD_User_ID as ad_user40_803_, materialmg0_.SalesRep_ID as salesre41_803_, materialmg0_.NoPackages as nopacka42_803_, materialmg0_.PickDate as pickdat43_803_, materialmg0_.ShipDate as shipdat44_803_, materialmg0_.TrackingNo as trackin45_803_, materialmg0_.AD_OrgTrx_ID as ad_orgt46_803_, materialmg0_.C_Project_ID as c_proje47_803_, materialmg0_.C_Campaign_ID as c_campa48_803_, materialmg0_.C_Activity_ID as c_activ49_803_, materialmg0_.User1_ID as user50_803_, materialmg0_.User2_ID as user51_803_, materialmg0_.UpdateLines as updatel52_803_, materialmg0_.Islogistic as islogis53_803_, materialmg0_.Calculate_Freight as calcula54_803_, materialmg0_.Delivery_Location_ID as deliver55_803_, materialmg0_.M_FreightCategory_ID as m_freig56_803_, materialmg0_.Freight_Currency_ID as freight57_803_, materialmg0_.RM_Receipt_PickEdit as rm_rece58_803_, materialmg0_.RM_Shipment_Pickedit as rm_ship59_803_, materialmg0_.EM_Obcma_C_Poc_Email_ID as em_obcm60_803_, materialmg0_.M_Condition_Goods_ID as m_condi61_803_, materialmg0_.A_Asset_ID as a_asset62_803_, materialmg0_.C_Costcenter_ID as c_costc63_803_, materialmg0_.Process_Goods_Java as process64_803_, materialmg0_.Isnettingshipment as isnetti65_803_, materialmg0_.Iscompletelyinvoiced as iscompl66_803_, materialmg0_.EM_Fshedi_Type as em_fshe67_803_, materialmg0_.EM_OBMFM_Freight_ID as em_obmf68_803_, materialmg0_.EM_Obwpack_Packing as em_obwp69_803_, materialmg0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc70_803_, materialmg0_.EM_Fshedi_Function as em_fshe71_803_, materialmg0_.EM_OBMFM_Delivery_Charges as em_obmf72_803_, materialmg0_.EM_Obwpack_Packingh_ID as em_obwp73_803_, materialmg0_.Invoicefromshipment as invoice74_803_, materialmg0_.EM_Fshedi_Freight as em_fshe75_803_, materialmg0_.EM_Obwpack_Processed as em_obwp76_803_, materialmg0_.Bpartner_Extref as bpartne77_803_, materialmg0_.EM_Etblkp_Accountingstatus as em_etbl78_803_, materialmg0_.EM_Fshedi_Identif as em_fshe79_803_, materialmg0_.EM_Obwpack_Reactivated as em_obwp80_803_, materialmg0_.EM_Etblkp_Bulkposting as em_etbl81_803_, materialmg0_.EM_Fshedi_Packing_Cost as em_fshe82_803_, materialmg0_.EM_Fshedi_Collection as em_fshe83_803_, materialmg0_.EM_Obwpack_Packingrequired as em_obwp84_803_, materialmg0_.EM_Fshedi_Ship_Type as em_fshe85_803_, materialmg0_.EM_Pruti_Total_Amt_Tax as em_prut86_803_, materialmg0_.EM_Etblkc_Bulkcompletion as em_etbl87_803_, materialmg0_.EM_OBMFM_Deliverynotes as em_obmf88_803_, materialmg0_.EM_OBEUCI_Ship as em_obeu89_803_, materialmg0_.EM_Prlog_Isexported as em_prlo90_803_, materialmg0_.EM_Fshedi_Processed as em_fshe91_803_, materialmg0_.EM_Bass_Observations as em_bass92_803_, materialmg0_.EM_Bass_Deliverydate as em_bass93_803_, materialmg0_.EM_Bass_C_Return_Reason_ID as em_bass94_803_, materialmg0_.EM_Bass_Urgent as em_bass95_803_, materialmg0_.EM_Bass_Skip_Freight as em_bass96_803_, materialmg0_.EM_Bass_Descriptionpl_Tmp as em_bass97_803_, materialmg0_.EM_Prlog_Peso as em_prlo98_803_, materialmg0_.EM_Bass_Descriptionpl as em_bass99_803_, materialmg0_.EM_Prlog_Volumen as em_prl100_803_, materialmg0_.EM_Bass_Tags_Printed as em_bas101_803_, materialmg0_.EM_Bass_Modifydate as em_bas102_803_, materialmg0_.EM_Bass_Uploadpending as em_bas103_803_, materialmg0_.EM_Prqc_Generate_Control as em_prq104_803_, materialmg0_.EM_Pramz_Disable_Trackerror as em_pra105_803_, materialmg0_.EM_Prqc_Processed as em_prq106_803_, materialmg0_.EM_Bass_Valuation_Conf_ID as em_bas107_803_, materialmg0_.EM_Pramz_Status as em_pra108_803_, materialmg0_.EM_Bass_Prqcpriority as em_bas109_803_, materialmg0_.EM_Pruti_Showpriceingoods as em_pru110_803_, materialmg0_.EM_Bass_Qc_Movement_Created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.EM_Pruti_Createfrom as em_pru114_803_ from M_InOut materialmg0_ inner join C_Order order1_ on materialmg0_.C_Order_ID = order1_.C_Order_ID cross join C_DocType documentty2_ where materialmg0_.C_DocType_ID = documentty2_.C_DocType_ID and (upper((order1_.DocumentNo || ' - ' || coalesce(to_char(order1_.DateOrdered), '') || ' - ' || coalesce(to_char(order1_.GrandTotal), ''))) like upper('%H/52560%') escape '|') and (materialmg0_.MovementType in ('C-', 'C+')) and materialmg0_.Islogistic = 'N' and documentty2_.IsReturn = 'N' and (materialmg0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by materialmg0_.DocumentNo, materialmg0_.M_InOut_ID limit '101';
Date: 2026-07-14 13:29:24 Duration: 1s240ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select materialmg0_.M_InOut_ID as m_inout_1_803_, materialmg0_.AD_Client_ID as ad_clien2_803_, materialmg0_.AD_Org_ID as ad_org_i3_803_, materialmg0_.IsActive as isactive4_803_, materialmg0_.Created as created5_803_, materialmg0_.CreatedBy as createdb6_803_, materialmg0_.Updated as updated7_803_, materialmg0_.UpdatedBy as updatedb8_803_, materialmg0_.IsSOTrx as issotrx9_803_, materialmg0_.DocumentNo as documen10_803_, materialmg0_.DocAction as docacti11_803_, materialmg0_.DocStatus as docstat12_803_, materialmg0_.Posted as posted13_803_, materialmg0_.Processing as process14_803_, materialmg0_.Processed as process15_803_, materialmg0_.C_DocType_ID as c_docty16_803_, materialmg0_.Description as descrip17_803_, materialmg0_.C_Order_ID as c_order18_803_, materialmg0_.DateOrdered as dateord19_803_, materialmg0_.IsPrinted as isprint20_803_, materialmg0_.MovementType as movemen21_803_, materialmg0_.MovementDate as movemen22_803_, materialmg0_.DateAcct as dateacc23_803_, materialmg0_.C_BPartner_ID as c_bpart24_803_, materialmg0_.C_BPartner_Location_ID as c_bpart25_803_, materialmg0_.M_Warehouse_ID as m_wareh26_803_, materialmg0_.POReference as porefer27_803_, materialmg0_.DeliveryRule as deliver28_803_, materialmg0_.FreightCostRule as freight29_803_, materialmg0_.FreightAmt as freight30_803_, materialmg0_.DeliveryViaRule as deliver31_803_, materialmg0_.M_Shipper_ID as m_shipp32_803_, materialmg0_.C_Charge_ID as c_charg33_803_, materialmg0_.ChargeAmt as chargea34_803_, materialmg0_.PriorityRule as priorit35_803_, materialmg0_.DatePrinted as datepri36_803_, materialmg0_.C_Invoice_ID as c_invoi37_803_, materialmg0_.CreateFrom as createf38_803_, materialmg0_.GenerateTo as generat39_803_, materialmg0_.AD_User_ID as ad_user40_803_, materialmg0_.SalesRep_ID as salesre41_803_, materialmg0_.NoPackages as nopacka42_803_, materialmg0_.PickDate as pickdat43_803_, materialmg0_.ShipDate as shipdat44_803_, materialmg0_.TrackingNo as trackin45_803_, materialmg0_.AD_OrgTrx_ID as ad_orgt46_803_, materialmg0_.C_Project_ID as c_proje47_803_, materialmg0_.C_Campaign_ID as c_campa48_803_, materialmg0_.C_Activity_ID as c_activ49_803_, materialmg0_.User1_ID as user50_803_, materialmg0_.User2_ID as user51_803_, materialmg0_.UpdateLines as updatel52_803_, materialmg0_.Islogistic as islogis53_803_, materialmg0_.Calculate_Freight as calcula54_803_, materialmg0_.Delivery_Location_ID as deliver55_803_, materialmg0_.M_FreightCategory_ID as m_freig56_803_, materialmg0_.Freight_Currency_ID as freight57_803_, materialmg0_.RM_Receipt_PickEdit as rm_rece58_803_, materialmg0_.RM_Shipment_Pickedit as rm_ship59_803_, materialmg0_.EM_Obcma_C_Poc_Email_ID as em_obcm60_803_, materialmg0_.M_Condition_Goods_ID as m_condi61_803_, materialmg0_.A_Asset_ID as a_asset62_803_, materialmg0_.C_Costcenter_ID as c_costc63_803_, materialmg0_.Process_Goods_Java as process64_803_, materialmg0_.Isnettingshipment as isnetti65_803_, materialmg0_.Iscompletelyinvoiced as iscompl66_803_, materialmg0_.EM_Fshedi_Type as em_fshe67_803_, materialmg0_.EM_OBMFM_Freight_ID as em_obmf68_803_, materialmg0_.EM_Obwpack_Packing as em_obwp69_803_, materialmg0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc70_803_, materialmg0_.EM_Fshedi_Function as em_fshe71_803_, materialmg0_.EM_OBMFM_Delivery_Charges as em_obmf72_803_, materialmg0_.EM_Obwpack_Packingh_ID as em_obwp73_803_, materialmg0_.Invoicefromshipment as invoice74_803_, materialmg0_.EM_Fshedi_Freight as em_fshe75_803_, materialmg0_.EM_Obwpack_Processed as em_obwp76_803_, materialmg0_.Bpartner_Extref as bpartne77_803_, materialmg0_.EM_Etblkp_Accountingstatus as em_etbl78_803_, materialmg0_.EM_Fshedi_Identif as em_fshe79_803_, materialmg0_.EM_Obwpack_Reactivated as em_obwp80_803_, materialmg0_.EM_Etblkp_Bulkposting as em_etbl81_803_, materialmg0_.EM_Fshedi_Packing_Cost as em_fshe82_803_, materialmg0_.EM_Fshedi_Collection as em_fshe83_803_, materialmg0_.EM_Obwpack_Packingrequired as em_obwp84_803_, materialmg0_.EM_Fshedi_Ship_Type as em_fshe85_803_, materialmg0_.EM_Pruti_Total_Amt_Tax as em_prut86_803_, materialmg0_.EM_Etblkc_Bulkcompletion as em_etbl87_803_, materialmg0_.EM_OBMFM_Deliverynotes as em_obmf88_803_, materialmg0_.EM_OBEUCI_Ship as em_obeu89_803_, materialmg0_.EM_Prlog_Isexported as em_prlo90_803_, materialmg0_.EM_Fshedi_Processed as em_fshe91_803_, materialmg0_.EM_Bass_Observations as em_bass92_803_, materialmg0_.EM_Bass_Deliverydate as em_bass93_803_, materialmg0_.EM_Bass_C_Return_Reason_ID as em_bass94_803_, materialmg0_.EM_Bass_Urgent as em_bass95_803_, materialmg0_.EM_Bass_Skip_Freight as em_bass96_803_, materialmg0_.EM_Bass_Descriptionpl_Tmp as em_bass97_803_, materialmg0_.EM_Prlog_Peso as em_prlo98_803_, materialmg0_.EM_Bass_Descriptionpl as em_bass99_803_, materialmg0_.EM_Prlog_Volumen as em_prl100_803_, materialmg0_.EM_Bass_Tags_Printed as em_bas101_803_, materialmg0_.EM_Bass_Modifydate as em_bas102_803_, materialmg0_.EM_Bass_Uploadpending as em_bas103_803_, materialmg0_.EM_Prqc_Generate_Control as em_prq104_803_, materialmg0_.EM_Pramz_Disable_Trackerror as em_pra105_803_, materialmg0_.EM_Prqc_Processed as em_prq106_803_, materialmg0_.EM_Bass_Valuation_Conf_ID as em_bas107_803_, materialmg0_.EM_Pramz_Status as em_pra108_803_, materialmg0_.EM_Bass_Prqcpriority as em_bas109_803_, materialmg0_.EM_Pruti_Showpriceingoods as em_pru110_803_, materialmg0_.EM_Bass_Qc_Movement_Created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.EM_Pruti_Createfrom as em_pru114_803_ from M_InOut materialmg0_ inner join C_Order order1_ on materialmg0_.C_Order_ID = order1_.C_Order_ID cross join C_DocType documentty2_ where materialmg0_.C_DocType_ID = documentty2_.C_DocType_ID and (upper((order1_.DocumentNo || ' - ' || coalesce(to_char(order1_.DateOrdered), '') || ' - ' || coalesce(to_char(order1_.GrandTotal), ''))) like upper('%H/53061%') escape '|') and (materialmg0_.MovementType in ('C-', 'C+')) and materialmg0_.Islogistic = 'N' and documentty2_.IsReturn = 'N' and (materialmg0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by materialmg0_.DocumentNo, materialmg0_.M_InOut_ID limit '101';
Date: 2026-07-14 14:10:49 Duration: 1s203ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
17 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select pickinglis0_.obwpl_pickinglist_id as obwpl_pi1_1081_0_, pickinglis0_.ad_client_id as ad_clien2_1081_0_, pickinglis0_.ad_org_id as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > ? then ? else ? end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) and prbat.docstatus <> ?) as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id limit ?) as formula58_0_, ( select case when count(*) > ? then ? else ? end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = ?) as formula59_0_, ( select case when count(?) > ? then ? else ? end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = ? and exists ( select ? from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = ?) and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from obwpl_pickinglist pickinglis0_ where pickinglis0_.obwpl_pickinglist_id in (...);-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('57700A47A00D463993B61FD396AF2033', '69BF013BBCB14B439CC1A7AF7315C646', '6E73782C72C444C0AB76A2D8364BD765', '835BCA9C0657450D8DBDA6C16C9463A8', 'D768041406F7463BB4FF274E4AF57589', 'DEBC4C5C99C848B9868463173AAAFD76', '00978F236D2A400E9AA8D94E4C67E8A1', '10E8D9B7808C4320AE9FB46DC3FFB082', '116FD960EBE74B0CA14C530267B75C8F', '223C64EE600642C2A9033C453B0A8B23', '32451D783D5E47D9852F34D556E7B969', '3F8C5D6A085945D6AC95EC154A2CB179', '4746B84C532B47DD9E324C3372A9D83C', '52BE534594AB4DA483BC0D3885859362', '602B29CBB91E4E0591C5F90E788DE1A6', '7FB5AD02C7CC4AB282B00D4782133FB1', 'C5EED39A761D407E809E89F7CC9B484E', 'C9AD6E6233F045D9A5DF367E18758189', '004D8F561837435AA53249685A2D3D0B', '07B336B6B44C4A2EAF11FD818E3C643A', '07F18255C9904ECEA6E0D0924F274B77', '0ABBCC11B63D47BBB228C798D0C8D0A9', '0E1D0DA96E194D12A0CDDDF072BB0C7D', '1FE6D3075C834E8997743F8AFCF85E4F', '293D13A4528B422F98F9559C38402128', '3CF70ED69CC54DFD8AC9494CD33006B5', '3E1D013390224FAA95BFAAD29FA8B420', '431BE2D328C44FA0BA3F3C5F992FD80C', '44D56EDBD76B473ABB14B60EB30D455D', '48D40C3D693D4226A7FFB0F227136031', '4B8FDCEB883B4B04B7898751B691222D', '50D21C55872F48BC8C21A2CE95B27536', '585762DC24574B5DA2213B1B58C72992', '654DF571FEC5412CB1242EEC27847009', '668653C1F66645F4AB2868636ADEE96B', '6AC533FAE050426D9A36628BC19075BF', '6F133754BE924535BD2C98A5961921DC', '80D166F087B147C69BB6E78F1035F74F', '9B8D64D88C984648BFD17F76BAAB48B7', '9EB14B53E6C14104888B351EF5E3660E', 'B329847CC46F40618A91A8E5E095E510', 'BCC7921430B04A3DAAD2B3D373D88B22', 'C2023A1336DA408E9A5E404337302259', 'C52915E7FEC247E497477F8E5C283A2C', 'C54F66A8EC73467D985AD3B02D28DD8E', 'DD9F359737914CAEB2AF7EF911A2EF8E', 'E15267B937F04B9B8231C1ECAF29082E', 'E24030F319B64C14B475B2CF23ADED6A', '005394FAEF204237BB3D7098D2591056', '01754857DF2E47CA9B28FDF918A135F7');
Date: 2026-07-14 09:06:20 Duration: 7s262ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('5D9F6E6AA5E742398B45143BDBDC98CA', '5F659817112742879A45407E524EAEE7', '5FE3EEC2A82149C5BBCD5562D71286C3', '5FF7CA8D9C4140F1BB75FA959DAFF0F1', '61B937EDDF6D43178623A464B914569A', '64B6D16D11424BA5980488B0A0B6DA8F', '687D9F6A82124B2891ABC63CE211735A', '69502BA7AC4346EBAE145909B5AA59A6', '6C4BFEB533D34D1C8CF38399EBC47B88', '6E29A0E2E5B044D39409890F31603871', '7378BFCFE83C4D9EB2EFF843A2359FCC', '7386509987E847D286015450B30F5594', '73FAE7FE15474D84BE0BABB61ED879F9', '744282EA415D49E8A34D70ADF06E63D0', '74D698E0135140B9A9DAD8492BC947DF', '75591D8699F447E78FC47AD966B3A68F', '76B352C36B6A450BA898C3FE9BBB73F2', '79A8792BA4C74DEDA6213E138FAA8E5D', '7B0E8DCDBE3A4B268447BB92F79A47F0', '7CE9A4FB122042CC94D0F7A4E827A304', '7E2375BDB9CE42F2BDB59177FA90B383', '7F04A7870B984BF1B34B3BEEB43027E8', '7F97D35530B1436BAB43B2452DD2E16A', '7FBC82FB84DA46FF9001DF6CC42C04F6', '7FC508B3B08F410DB141DC05DD78798A', '812944BA3ADC445BAC511F228555634E', '8171B31F66D54972AD03F377F300E6F7', '824F733598024D84A0344FF59D08A12A', '83BE903E71A149C690F825A5A2823EE7', '84A812DFE1F64574ADECA53D38831187', '84EFC1F1829C4A2B9581CB27221EFDD8', '854CE3925C6140E88C9C02D5E2E21A59', '867A96387B184761B44734B540FFD87D', '86A081CF9E83460899071F04FAE2402D', '86AEA2DF0F23455AB56482B79F7E35CA', '86F46B5C403442A6929C788A0CB86E08', '86FED2264CE140B3ADBD9CE10299A9BA', '87BED7A46B244842A03FC71FC375B461', '87FF476A72664319A8C9C396BEED1BF3', '893258C78B9B47EABE79D9BB12A0364C', '8B83028D8CDB424B942D20205F2FB8CE', '8C99D7DA096D435AB890EB4210BA3151', '8F885F3D12264B5198E4161D6F1DA6B9', '9033F78D35D04F5AA0171093BFF17DDF', '92600048906F4C64BCA266DA7015A456', '9333DCD8159F4FFFA07454173C50F4D1', '9386C6BAAA954057BBAAF57EF875BFEB', '943DA1949A68463ABED9425F5E81F271', '94C4AF7A222F402B937321BE6FA61AD3', '9769EC8C418445459F3CB0B3C2621880');
Date: 2026-07-14 06:16:20 Duration: 7s111ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('FF63095BFF9B4F6D99ADB360678B8C15', 'FD069F5934704B7DB2493B00D2867876', 'F85098242BBF4F589D347BDCF94A7C50', 'F56A5B860E774ABE9DFA7DA5BE70C62D', 'F216BBB5892B41AE813D35E8918E7E56', 'ECCA96E1F2014BF8AFDF0EE06B13E81D', 'E7C8D2D04FF34D69A8A96ABD68B9A708', 'E5D4253924E849388E914BEBF54979F2', 'E4CCF6412C484556A0C8020861021C34', 'D3B842372BF4492E90886C79438F9F5E', 'D0722CFEEC62452F9B360F79AA5CFDE7', 'C19B150B8F9B43AE91DC6527557739C3', 'ABD3309454AE449E9D465F2C1EC73506', '9BC0135E8733480DA51484BCBA481267', '8CD0E1EDE5CB4DB8A8A66A3A55C98DF9', '7A488573A97148A6A919DD9B5A097DB7', '666620F631B44AE8A7848D29977794E0', '6495D37F4B7047E1879F2721E4311020', '6217EE4C8E2449FF8F76D4FF7213F685', '603F625402AC4728B69F480949B86F7F', '5DD7D211EB7341ECB5020C9F96697F29', '5BB647DC43814EB2A71515A635B52042', '56985A7C30684E7CAB4490A538DABF1E', '44CB80CA1D914E5897B7B8E258A09E48', '3660D3A2668C4FDCAC35C18AE67DAA33', '343BC94439764312A9EDF8F6BB1B1C2C', '29B8BC7D1B61478B8CC248795780E598', '234C55B9B8C545B58A969D0CB571EB22', '1FD347B44B7640F3857890CFF4329512', '0E2726E470D44815B878C2BCB548B4AD', '067718F19B654228A4482B0F2F0F20B1', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FDAEE5296F9746BA854030D76737058F', 'FCAD41CA0C2542E6BA3FCC8A5199AA6F', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA013BF010E14DE5800767C55D3AB550', 'F8F0DA56076444C7A37EB4747B3DFF67', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7C5E4C18A6845D1A665C4E64F2AAF08', 'F5CBC3CA5B92479AB828A6E4CE2621FF', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'EF9B728F2E44476CA050799F6CC6E138', 'ECBA6B682C2C465C9D773CE9C48B001A', 'E813D96B592947AC9222270D4DFCB501', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E401EFDDBEBA437EBECF2F583657CE86', 'E2D41D6976C44D42A83214B886F99F92', 'E08000A1FB944F49AE2C72C2FCB708AE', 'D8A6B0E0B51F4ADA9A9C41A584CB2094');
Date: 2026-07-14 11:45:21 Duration: 7s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
18 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select bass_prod_0_.bass_prod_outsourcing_v_id as bass_pro1_335_, bass_prod_0_.ad_org_id as ad_org_i2_335_, bass_prod_0_.ad_client_id as ad_clien3_335_, bass_prod_0_.isactive as isactive4_335_, bass_prod_0_.created as created5_335_, bass_prod_0_.createdby as createdb6_335_, bass_prod_0_.updated as updated7_335_, bass_prod_0_.updatedby as updatedb8_335_, bass_prod_0_.m_product_id as m_produc9_335_, bass_prod_0_.advpro2_outsourcing_id as advpro10_335_, bass_prod_0_.status as status11_335_, bass_prod_0_.productiontype as product12_335_, bass_prod_0_.qty as qty13_335_, bass_prod_0_.em_bass_dateplanned as em_bass14_335_, bass_prod_0_.em_bass_qty_received as em_bass15_335_, bass_prod_0_.em_bass_situacion as em_bass16_335_, bass_prod_0_.advpro2_outsourcing_phase_id as advpro17_335_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.bass_prod_outsourcing_v_id = ? and (bass_prod_0_.ad_org_id in (...)) and (bass_prod_0_.ad_client_id in (...)) limit ?;-
select bass_prod_0_.Bass_Prod_Outsourcing_V_ID as bass_pro1_335_, bass_prod_0_.AD_Org_ID as ad_org_i2_335_, bass_prod_0_.AD_Client_ID as ad_clien3_335_, bass_prod_0_.Isactive as isactive4_335_, bass_prod_0_.Created as created5_335_, bass_prod_0_.Createdby as createdb6_335_, bass_prod_0_.Updated as updated7_335_, bass_prod_0_.Updatedby as updatedb8_335_, bass_prod_0_.M_Product_ID as m_produc9_335_, bass_prod_0_.Advpro2_Outsourcing_ID as advpro10_335_, bass_prod_0_.Status as status11_335_, bass_prod_0_.Productiontype as product12_335_, bass_prod_0_.Qty as qty13_335_, bass_prod_0_.EM_Bass_Dateplanned as em_bass14_335_, bass_prod_0_.EM_Bass_Qty_Received as em_bass15_335_, bass_prod_0_.EM_Bass_Situacion as em_bass16_335_, bass_prod_0_.Advpro2_Outsourcing_Phase_ID as advpro17_335_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.Bass_Prod_Outsourcing_V_ID = '08FCD5D8CB344C9E8EC269D440CD35769A58CC90F5D849168868724310F669EA' and (bass_prod_0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (bass_prod_0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '1';
Date: 2026-07-14 08:48:55 Duration: 1s32ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
19 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB categoria, nombre, talla, color, descripcion, campana, stock, ventaspendientes, disponible, enordendetrabajo, fechaot, encompra from ( select mp.upc as productupc, mpc.name as categoria, mp."name" as nombre, ( select m_ch_value.name from m_product_ch_value left join m_ch_value on m_ch_value.m_ch_value_id = m_product_ch_value.m_ch_value_id where m_product_ch_value.m_product_id = mp.m_product_id and m_product_ch_value.m_characteristic_id = ?) as talla, ( select m_ch_value.name from m_product_ch_value left join m_ch_value on m_ch_value.m_ch_value_id = m_product_ch_value.m_ch_value_id where m_product_ch_value.m_product_id = mp.m_product_id and m_product_ch_value.m_characteristic_id = ?) as color, mp.em_bass_concatdesc as descripcion, cc.name as campana, coalesce(( select sum(stock.qtyonhand) as sum from m_product_stock_v stock left join m_locator loc2 on loc2.m_locator_id = stock.m_locator_id where stock.stocked = ?::text and coalesce(loc2.em_bass_exclude_reports, ?) = ? and stock.m_product_id = mp.m_product_id), ?::numeric) as stock, a.pendingsales as ventaspendientes, greatest ((coalesce(( select sum(stock.qtyonhand) as sum from m_product_stock_v stock left join m_locator loc2 on loc2.m_locator_id = stock.m_locator_id where stock.stocked = ?::text and coalesce(loc2.em_bass_exclude_reports, ?) = ? and stock.m_product_id = mp.m_product_id), ?::numeric) - a.pendingsales), ?) as disponible, a.productproduction as enordendetrabajo, ( select to_char(max(ot.datepromisedcollection), ?) from advpro2_outsourcing ot left join bass_prod_outsourcing_v otp on otp.advpro2_outsourcing_id = ot.advpro2_outsourcing_id where otp.m_product_id = mp.m_product_id and ot.status = ? and a.productproduction > ?) as fechaot, a.pendingpurchase as encompra from bass_product_deposit_h_v a left join m_product mp on mp.m_product_id = a.m_product_id left join m_product_category mpc on mpc.m_product_category_id = mp.m_product_category_id left join c_campaign cc on cc.c_campaign_id = mp.em_fash_campaign_id where mp.isactive = ? and mp.upc is not null and mp.em_fash_product_group_id in (...) and mp.em_fash_campaign_id in (...) group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) subc where stock != ? or ventaspendientes != ? or enordendetrabajo != ? or encompra != ? order by categoria, nombre, color, talla;-
categoria, nombre, talla, color, descripcion, campana, stock, ventaspendientes, disponible, enordendetrabajo, fechaot, encompra FROM ( select mp.upc as productupc, mpc.name as categoria, mp."name" as nombre, ( select m_ch_value.name from m_product_ch_value left join m_ch_value on m_ch_value.m_ch_value_id = m_product_ch_value.m_ch_value_id where m_product_ch_value.m_product_id = mp.m_product_id and m_product_ch_value.m_characteristic_id = 'C6144F9D37094292AE20EFC8CC3D1E25') as talla, ( select m_ch_value.name from m_product_ch_value left join m_ch_value on m_ch_value.m_ch_value_id = m_product_ch_value.m_ch_value_id where m_product_ch_value.m_product_id = mp.m_product_id and m_product_ch_value.m_characteristic_id = 'B4BB8A1747D74B978E73E5F18F8E1BD0') as color, mp.em_bass_concatdesc as descripcion, cc.name as campana, COALESCE(( SELECT sum(stock.qtyonhand) AS sum FROM m_product_stock_v stock left join m_locator loc2 on loc2.m_locator_id = stock.m_locator_id WHERE stock.stocked = 'Y'::text and coalesce(loc2.em_bass_exclude_reports, 'N') = 'N' AND stock.m_product_id = mp.m_product_id), 0::numeric) as stock, a.pendingsales AS ventaspendientes, GREATEST ((COALESCE(( SELECT sum(stock.qtyonhand) AS sum FROM m_product_stock_v stock left join m_locator loc2 on loc2.m_locator_id = stock.m_locator_id WHERE stock.stocked = 'Y'::text and coalesce(loc2.em_bass_exclude_reports, 'N') = 'N' AND stock.m_product_id = mp.m_product_id), 0::numeric) - a.pendingsales), 0) as disponible, a.productproduction AS enordendetrabajo, ( select to_char(max(ot.datepromisedcollection), 'dd-MM-yyyy') from advpro2_outsourcing ot left join bass_prod_outsourcing_v otp on otp.advpro2_outsourcing_id = ot.advpro2_outsourcing_id where otp.m_product_id = mp.m_product_id and ot.status = 'DE' and a.productproduction > 0) as fechaot, a.pendingpurchase as encompra from bass_product_deposit_h_v a left join m_product mp on mp.m_product_id = a.m_product_id left join m_product_category mpc on mpc.m_product_category_id = mp.m_product_category_id left join c_campaign cc on cc.c_campaign_id = mp.em_fash_campaign_id where mp.isactive = 'Y' and mp.upc is not null and mp.em_fash_product_group_id in ('89839C58ECE842F881FF759A3D831849') and mp.em_fash_campaign_id in ('CD9D0C9AF1604878B98AE020965176B5', 'EB94CA79AE0544EF99BDF6C7C3C346E9', 'A735F2090A1C45EEAA3D59728D478B84', '8785917F0A5E44E4819DA0A3E8D73615') group by 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13) subc WHERE stock != 0 OR ventaspendientes != 0 OR enordendetrabajo != 0 OR encompra != 0 order by categoria, nombre, color, talla;
Date: 2026-07-14 08:29:01 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 161.58 MiB select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50);[ Date: 2026-07-14 08:28:58 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 160.95 MiB select prcm_manif0_.Prcm_Manifestpacking_V_ID as prcm_man1_1123_, prcm_manif0_.Obwpack_Packingh_ID as obwpack_2_1123_, prcm_manif0_.AD_Client_ID as ad_clien3_1123_, prcm_manif0_.AD_Org_ID as ad_org_i4_1123_, prcm_manif0_.Isactive as isactive5_1123_, prcm_manif0_.Created as created6_1123_, prcm_manif0_.Createdby as createdb7_1123_, prcm_manif0_.Updated as updated8_1123_, prcm_manif0_.Updatedby as updatedb9_1123_, prcm_manif0_.Packdate as packdat10_1123_, prcm_manif0_.C_Bpartner_ID as c_bpart11_1123_, prcm_manif0_.C_Bpartner_Location_ID as c_bpart12_1123_, prcm_manif0_.Description as descrip13_1123_, prcm_manif0_.Totalboxes as totalbo14_1123_, prcm_manif0_.Totalweight as totalwe15_1123_, prcm_manif0_.C_Uom_ID as c_uom_i16_1123_, prcm_manif0_.Documentno as documen17_1123_, prcm_manif0_.Obmfm_Freight_ID as obmfm_f18_1123_, prcm_manif0_.Dateprint as datepri19_1123_, prcm_manif0_.Integrationdate as integra20_1123_, prcm_manif0_.Obmfm_Carrier_ID as obmfm_c21_1123_, prcm_manif0_.Documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.Obmfm_Carrier_ID = $1 and (prcm_manif0_.AD_Org_ID in ($2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22)) and (prcm_manif0_.AD_Client_ID in ($23, $24)) order by prcm_manif0_.Dateprint, prcm_manif0_.Prcm_Manifestpacking_V_ID limit $25;[ Date: 2026-07-14 13:36:53 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 114.75 MiB select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer 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 (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Name2), ''))) like upper($1) escape '|') and order0_.IsSOTrx = 'Y' and documentty2_.IsReturn = 'Y' and (order0_.AD_Org_ID in ($2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25)) and (order0_.AD_Client_ID in ($26, $27)) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit $28;[ Date: 2026-07-14 12:15:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 113.20 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 13:14:44 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
5 113.20 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 16:11:21 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
6 113.19 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 06:06:17 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
7 113.19 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 07:35:48 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
8 113.19 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 07:36:32 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
9 113.19 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 08:11:06 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
10 113.19 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 09:12:26 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
11 107.09 MiB select prcm_manif0_.Prcm_Manifestpacking_V_ID as prcm_man1_1123_, prcm_manif0_.Obwpack_Packingh_ID as obwpack_2_1123_, prcm_manif0_.AD_Client_ID as ad_clien3_1123_, prcm_manif0_.AD_Org_ID as ad_org_i4_1123_, prcm_manif0_.Isactive as isactive5_1123_, prcm_manif0_.Created as created6_1123_, prcm_manif0_.Createdby as createdb7_1123_, prcm_manif0_.Updated as updated8_1123_, prcm_manif0_.Updatedby as updatedb9_1123_, prcm_manif0_.Packdate as packdat10_1123_, prcm_manif0_.C_Bpartner_ID as c_bpart11_1123_, prcm_manif0_.C_Bpartner_Location_ID as c_bpart12_1123_, prcm_manif0_.Description as descrip13_1123_, prcm_manif0_.Totalboxes as totalbo14_1123_, prcm_manif0_.Totalweight as totalwe15_1123_, prcm_manif0_.C_Uom_ID as c_uom_i16_1123_, prcm_manif0_.Documentno as documen17_1123_, prcm_manif0_.Obmfm_Freight_ID as obmfm_f18_1123_, prcm_manif0_.Dateprint as datepri19_1123_, prcm_manif0_.Integrationdate as integra20_1123_, prcm_manif0_.Obmfm_Carrier_ID as obmfm_c21_1123_, prcm_manif0_.Documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.Obmfm_Carrier_ID = $1 and (prcm_manif0_.AD_Org_ID in ($2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22)) and (prcm_manif0_.AD_Client_ID in ($23, $24)) order by prcm_manif0_.Dateprint, prcm_manif0_.Prcm_Manifestpacking_V_ID limit $25;[ Date: 2026-07-14 13:50:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 107.09 MiB select prcm_manif0_.Prcm_Manifestpacking_V_ID as prcm_man1_1123_, prcm_manif0_.Obwpack_Packingh_ID as obwpack_2_1123_, prcm_manif0_.AD_Client_ID as ad_clien3_1123_, prcm_manif0_.AD_Org_ID as ad_org_i4_1123_, prcm_manif0_.Isactive as isactive5_1123_, prcm_manif0_.Created as created6_1123_, prcm_manif0_.Createdby as createdb7_1123_, prcm_manif0_.Updated as updated8_1123_, prcm_manif0_.Updatedby as updatedb9_1123_, prcm_manif0_.Packdate as packdat10_1123_, prcm_manif0_.C_Bpartner_ID as c_bpart11_1123_, prcm_manif0_.C_Bpartner_Location_ID as c_bpart12_1123_, prcm_manif0_.Description as descrip13_1123_, prcm_manif0_.Totalboxes as totalbo14_1123_, prcm_manif0_.Totalweight as totalwe15_1123_, prcm_manif0_.C_Uom_ID as c_uom_i16_1123_, prcm_manif0_.Documentno as documen17_1123_, prcm_manif0_.Obmfm_Freight_ID as obmfm_f18_1123_, prcm_manif0_.Dateprint as datepri19_1123_, prcm_manif0_.Integrationdate as integra20_1123_, prcm_manif0_.Obmfm_Carrier_ID as obmfm_c21_1123_, prcm_manif0_.Documemtnoinout as documem22_1123_ from prcm_manifestpacking_v prcm_manif0_ where prcm_manif0_.Obmfm_Carrier_ID = $1 and (prcm_manif0_.AD_Org_ID in ($2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22)) and (prcm_manif0_.AD_Client_ID in ($23, $24)) order by prcm_manif0_.Dateprint, prcm_manif0_.Prcm_Manifestpacking_V_ID limit $25;[ Date: 2026-07-14 13:52:34 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 80.79 MiB select bass_prod_0_.Bass_Prod_Outsourcing_V_ID as bass_pro1_335_0_, bass_prod_0_.AD_Org_ID as ad_org_i2_335_0_, bass_prod_0_.AD_Client_ID as ad_clien3_335_0_, bass_prod_0_.Isactive as isactive4_335_0_, bass_prod_0_.Created as created5_335_0_, bass_prod_0_.Createdby as createdb6_335_0_, bass_prod_0_.Updated as updated7_335_0_, bass_prod_0_.Updatedby as updatedb8_335_0_, bass_prod_0_.M_Product_ID as m_produc9_335_0_, bass_prod_0_.Advpro2_Outsourcing_ID as advpro10_335_0_, bass_prod_0_.Status as status11_335_0_, bass_prod_0_.Productiontype as product12_335_0_, bass_prod_0_.Qty as qty13_335_0_, bass_prod_0_.EM_Bass_Dateplanned as em_bass14_335_0_, bass_prod_0_.EM_Bass_Qty_Received as em_bass15_335_0_, bass_prod_0_.EM_Bass_Situacion as em_bass16_335_0_, bass_prod_0_.Advpro2_Outsourcing_Phase_ID as advpro17_335_0_ from bass_prod_outsourcing_v bass_prod_0_ where bass_prod_0_.Bass_Prod_Outsourcing_V_ID = $1;[ Date: 2026-07-14 08:30:33 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 77.16 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 14:08:21 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
15 77.16 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-14 07:33:31 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
16 53.86 MiB select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50);[ Date: 2026-07-14 07:53:03 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 53.86 MiB 'box' as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ' / ' || ( select count(1) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = 'N'))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit 1)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('D5C5A7214B2848C496736599961CE758') and (type.isgroup is null or type.isgroup = 'N') group by 1, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) UNION ALL select 'palet' as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() OVER ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ' / ' || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(1) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = 'Y' and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() OVER () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('D5C5A7214B2848C496736599961CE758') and prpp_box_type.isgroup = 'Y') a left join prlab_num on 4 >= prlab_num.num order by documentno, type, orderbox;[ Date: 2026-07-14 08:50:40 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 53.86 MiB select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50);[ Date: 2026-07-14 13:37:21 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 46.88 MiB INSERT INTO ma_processplan_tot_aux (ma_processplan_tot_aux_id, ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty) SELECT get_uuid (), ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty FROM ma_processplan_totalized where ma_processplan_version_id = advmrp_get_pp_version (ma_processplan_id, trunc(to_date('14-07-2026', 'dd-MM-yyyy')));[ Date: 2026-07-14 06:03:26 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 46.88 MiB INSERT INTO ma_processplan_tot_aux (ma_processplan_tot_aux_id, ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty) SELECT get_uuid (), ma_processplan_id, ma_processplan_version_id, dependantproduct, depqty, produced, proqty FROM ma_processplan_totalized where ma_processplan_version_id = advmrp_get_pp_version (ma_processplan_id, trunc(to_date('14-07-2026', 'dd-MM-yyyy')));[ Date: 2026-07-14 06:03:26 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 118.61 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_1894559
Database etendo - 2026-07-14 15:17:46 Date
- 0 sec Highest CPU-cost analyze
Table
Database etendo - Date
Average Autovacuum Duration
Key values
- 118.61 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_1894559
Database etendo - 2026-07-14 15:17:46 Date
Analyzes per table
Key values
- public.ad_ep_instance_para (152) Main table analyzed (database etendo)
- 507 analyzes Total
Table Number of analyzes etendo.public.ad_ep_instance_para 152 etendo.public.c_import_entry 110 etendo.public.ad_sequence 30 etendo.pg_catalog.pg_type 25 etendo.profile.last_stat_user_functions_srv1 16 etendo.profile.last_stat_statements_srv1 16 etendo.profile.last_stat_tables_srv1 16 etendo.profile.last_stat_indexes_srv1 16 etendo.public.ad_session 14 etendo.profile.last_stat_io 8 etendo.profile.tables_list 8 etendo.public.m_storage_detail 8 etendo.profile.funcs_list 7 etendo.profile.indexes_list 7 etendo.profile.stmt_list 7 etendo.profile.last_stat_activity_count_srv1 6 etendo.public.ad_process_request 4 etendo.profile.last_extension_versions 4 etendo.public.ad_preference 4 etendo.public.mrp_run_productionline 4 postgres.pg_catalog.pg_shdepend 4 etendo.public.m_stock_aux 3 etendo.public.advmrp_run_prodlineparent 3 etendo.profile.last_stat_slru 3 etendo.pg_catalog.pg_attribute 3 etendo.profile.sample_statements 2 etendo.public.prmag2_conf 2 etendo.profile.sample_stat_indexes 2 etendo.pg_catalog.pg_class 2 etendo.public.m_product_category 2 etendo.profile.sample_stat_tables 2 etendo.public.ma_processplan_tot_aux 2 etendo.public.advmrp_run_purchlineparent 1 etendo.public.ad_pinstance 1 etendo.profile.sample_stat_user_functions 1 etendo.pg_catalog.pg_shdepend 1 etendo.public.mrp_run_purchaseline 1 etendo.profile.sample_stat_tables_total 1 etendo.profile.sample_stat_indexes_total 1 etendo.public.ad_process_run 1 etendo.profile.sample_stat_database 1 etendo.public.fin_financial_account 1 etendo.profile.sample_stat_io 1 etendo.public.prscrm_account 1 etendo.public.m_stock_valuation 1 etendo.profile.sample_stat_user_func_total 1 etendo.profile.sample_stat_slru 1 Total 507 Vacuums per table
Key values
- public.ad_ep_instance_para (857) Main table vacuumed on database etendo
- 16,668 vacuums Total
Index Buffer usage Skipped WAL usage Frozen Table Vacuums scans hits misses dirtied pins frozen records full page bytes pages tuples etendo.public.ad_ep_instance_para 857 29 227,662 0 344 0 0 741 265 965,245 0 0 etendo.public.c_import_entry 844 15 1,082,297 0 419 0 0 2,256 447 2,324,379 56 247 etendo.profile.last_stat_statements_srv1 799 3 3,347,001 0 689 0 0 3,196 914 3,553,673 428 5,061 etendo.profile.last_stat_user_functions_srv1 799 3 422,450 0 170 0 0 1,026 211 1,011,863 144 2,518 etendo.profile.last_stat_indexes_srv1 799 3 3,879,495 0 1,237 0 0 4,120 1,296 1,563,575 19 151 etendo.profile.last_stat_tables_srv1 799 3 3,233,435 0 1,024 0 0 3,569 1,097 1,418,222 115 477 etendo.public.ad_sequence 774 10 123,711 0 369 0 0 447 158 617,240 2 6 etendo.pg_toast.pg_toast_1887773 768 3 1,599,270 0 511 0 0 2,448 13 260,868 0 0 etendo.profile.funcs_list 724 4 68,370 0 100 0 0 383 194 1,019,909 0 0 etendo.public.fin_financial_account 721 1 55,975 0 126 0 0 294 120 512,644 0 0 etendo.profile.indexes_list 663 3 77,022 0 96 0 0 373 188 957,512 0 0 etendo.profile.tables_list 603 3 128,552 0 110 0 0 524 309 1,851,992 3 14 etendo.profile.last_stat_io 602 2 29,416 0 112 0 0 290 119 455,530 0 0 etendo.profile.stmt_list 602 2 261,878 0 193 0 0 696 348 2,051,242 12 29 etendo.public.ad_session 598 0 594,776 0 1,601 0 0 1,514 127 763,504 14 21 etendo.profile.last_stat_activity_count_srv1 542 0 11,052 0 93 0 0 231 90 390,507 0 0 etendo.pg_catalog.pg_statistic 541 1 1,280,676 0 857 0 0 856 422 2,328,856 27 221 etendo.public.m_stock_aux 540 1 43,729 0 10 0 0 242 4 65,401 0 0 etendo.public.ad_preference 523 1 1,142,756 0 1,310 0 0 1,144 150 1,261,092 1 1 etendo.pg_toast.pg_toast_2619 421 1 719,709 0 638 0 0 729 244 914,977 79 179 etendo.profile.last_extension_versions 421 1 16,296 0 56 0 0 163 47 181,900 0 0 etendo.pg_toast.pg_toast_1883503 420 1 436,491 0 371 0 0 252 48 257,022 16 58 etendo.pg_catalog.pg_type 385 1 51,698 0 243 0 0 495 128 443,381 0 0 etendo.public.ad_process_request 337 1 319,318 0 1,437 0 0 1,292 114 924,418 1 1 etendo.public.prmag2_conf 320 0 17,001 0 78 0 0 104 1 22,993 0 0 etendo.public.m_product_category 296 5 30,254 0 55 0 0 124 55 259,982 0 0 etendo.public.ad_process_run 230 0 308,176 0 124 0 0 226 46 393,790 0 0 etendo.profile.last_stat_slru 181 1 6,309 0 38 0 0 55 34 120,561 0 0 etendo.public.m_storage_detail 120 4 4,725,291 0 5,329 0 0 19,097 1,021 8,668,721 350 3,153 template1.pg_catalog.pg_shdepend 118 1 14,449 0 86 0 0 96 33 236,628 2 27 postgres.pg_catalog.pg_shdepend 118 0 14,414 0 42 0 0 52 22 35,412 0 0 etendo.pg_catalog.pg_shdepend 118 0 12,768 0 21 0 0 53 22 86,517 0 0 etendo.profile.last_stat_database_srv1 61 1 2,360 0 15 0 0 19 14 54,949 0 0 etendo.public.m_stock_valuation 9 2 63,843 0 5,030 0 0 8,716 3,552 8,547,687 25 796 etendo.public.mrp_run_productionline 3 2 68,313 0 8,075 0 0 42,239 3,865 7,592,841 0 0 etendo.public.ma_processplan_tot_aux 2 1 40,192 0 4 0 0 17,642 1,575 6,625,459 0 0 etendo.public.advmrp_run_prodlineparent 2 2 9,565 0 1,569 0 0 7,741 1,055 6,254,044 27 550 etendo.pg_toast.pg_toast_1885535 1 0 59,379 0 58,543 0 0 58,526 8 3,494,985 5 10 etendo.pg_toast.pg_toast_1893969 1 0 48,839 0 46,376 0 0 46,337 3 2,758,275 0 0 etendo.pg_toast.pg_toast_3289390 1 1 229 0 93 0 0 89 3 24,848 0 0 etendo.profile.sample_stat_io 1 1 100 0 34 0 0 34 5 31,271 0 0 etendo.pg_toast.pg_toast_1894559 1 0 481,724 0 463,431 0 0 463,290 16 27,464,179 0 0 etendo.pg_toast.pg_toast_1893146 1 0 114,874 0 114,126 0 0 114,097 5 6,772,629 0 0 etendo.profile.sample_stat_user_functions 1 1 253 0 129 0 0 142 22 130,318 0 0 etendo.pg_toast.pg_toast_1893120 1 0 13,217 0 13,124 0 0 13,102 2 789,333 0 0 Total 16,668 114 25,184,585 688,468 728,438 0 0 819,062 18,412 106,460,374 1,326 13,520 Vacuum throughput per table
Key values
- pg_toast.pg_toast_1894559 (118.61) Max CPU elapsed for vacuum on database etendo
- unknown (0 ms) Max I/O read time for vacuum on database etendo
- unknown (0 ms) Max I/O write time for vacuum on database etendo
I/O timing (ms) CPU (s) Table read write elapsed etendo.public.ad_ep_instance_para 0 0 0.27 etendo.public.c_import_entry 0 0 10.3299999999998 etendo.profile.last_stat_statements_srv1 0 0 35.7299999999999 etendo.profile.last_stat_user_functions_srv1 0 0 0.37 etendo.profile.last_stat_indexes_srv1 0 0 43.7600000000003 etendo.profile.last_stat_tables_srv1 0 0 34.6399999999998 etendo.public.ad_sequence 0 0 0.03 etendo.pg_toast.pg_toast_1887773 0 0 14.0999999999998 etendo.profile.funcs_list 0 0 0 etendo.public.fin_financial_account 0 0 0 etendo.profile.indexes_list 0 0 0 etendo.profile.tables_list 0 0 0 etendo.profile.last_stat_io 0 0 0 etendo.profile.stmt_list 0 0 0.02 etendo.public.ad_session 0 0 6.30999999999991 etendo.profile.last_stat_activity_count_srv1 0 0 0 etendo.pg_catalog.pg_statistic 0 0 13.9799999999999 etendo.public.m_stock_aux 0 0 0 etendo.public.ad_preference 0 0 10.4999999999999 etendo.pg_toast.pg_toast_2619 0 0 5.65999999999994 etendo.profile.last_extension_versions 0 0 0 etendo.pg_toast.pg_toast_1883503 0 0 4.26999999999995 etendo.pg_catalog.pg_type 0 0 0.01 etendo.public.ad_process_request 0 0 2.57999999999999 etendo.public.prmag2_conf 0 0 0 etendo.public.m_product_category 0 0 0 etendo.public.ad_process_run 0 0 2.81 etendo.profile.last_stat_slru 0 0 0 etendo.public.m_storage_detail 0 0 64.73 template1.pg_catalog.pg_shdepend 0 0 0 postgres.pg_catalog.pg_shdepend 0 0 0 etendo.pg_catalog.pg_shdepend 0 0 0 etendo.profile.last_stat_database_srv1 0 0 0 etendo.public.m_stock_valuation 0 0 1.9 etendo.public.mrp_run_productionline 0 0 3.09 etendo.public.ma_processplan_tot_aux 0 0 0.47 etendo.public.advmrp_run_prodlineparent 0 0 0.51 etendo.pg_toast.pg_toast_1885535 0 0 14.88 etendo.pg_toast.pg_toast_1893969 0 0 11.72 etendo.pg_toast.pg_toast_3289390 0 0 0.02 etendo.profile.sample_stat_io 0 0 0 etendo.pg_toast.pg_toast_1894559 0 0 118.61 etendo.pg_toast.pg_toast_1893146 0 0 28.94 etendo.profile.sample_stat_user_functions 0 0 0.03 etendo.pg_toast.pg_toast_1893120 0 0 3.28 Total 0 0 433.549999999999 Tuples removed per table
Key values
- public.ma_processplan_tot_aux (166340) Main table with removed tuples on database etendo
- 498206 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain etendo.public.ma_processplan_tot_aux 2 1 166,340 166,340 0 4,316 4,316 etendo.public.mrp_run_productionline 3 2 143,460 654,069 110,426 0 41,504 etendo.public.m_stock_valuation 9 2 58,771 994,635 470,088 0 28,656 etendo.public.m_storage_detail 120 4 40,662 56,345,866 44,688,442 0 2,390,355 etendo.public.advmrp_run_prodlineparent 2 2 31,707 109,322 0 0 5,320 etendo.profile.last_stat_indexes_srv1 799 3 23,947 46,913,382 43,752,538 0 1,919,565 etendo.profile.last_stat_tables_srv1 799 3 15,755 30,862,515 28,841,909 57 1,600,321 etendo.profile.last_stat_statements_srv1 799 3 7,342 31,126,028 27,685,421 0 1,650,633 etendo.profile.last_stat_user_functions_srv1 799 3 3,060 6,367,342 5,609,890 0 195,932 etendo.pg_toast.pg_toast_1887773 768 3 2,221 3,304,397 3,189,459 27 787,635 etendo.public.c_import_entry 844 15 1,630 4,507,050 4,389,244 92 512,706 etendo.public.ad_ep_instance_para 857 29 1,031 5,087,164 5,087,164 59 101,151 etendo.pg_catalog.pg_type 385 1 550 618,760 457,036 0 56,595 etendo.public.ad_sequence 774 10 394 1,163,107 933,229 4 34,817 etendo.pg_toast.pg_toast_2619 421 1 317 2,051,137 457,840 0 534,670 template1.pg_catalog.pg_shdepend 118 1 218 445,658 83,807 0 3,332 etendo.pg_catalog.pg_statistic 541 1 180 10,795,617 3,401,784 0 786,934 etendo.profile.tables_list 603 3 128 2,187,778 848,832 0 48,600 etendo.profile.sample_stat_user_functions 1 1 80 13,334 612 0 129 etendo.profile.stmt_list 602 2 75 1,541,405 553,581 0 116,475 etendo.pg_toast.pg_toast_1883503 420 1 54 1,393,223 405,211 0 385,334 etendo.profile.funcs_list 724 4 52 601,716 298,815 0 16,024 etendo.profile.last_extension_versions 421 1 40 36,984 33,616 0 721 etendo.profile.last_stat_io 602 2 34 96,985 86,751 0 2,464 etendo.profile.indexes_list 663 3 33 664,431 312,558 0 15,045 etendo.public.ad_session 598 0 32 11,343,693 6,848,792 0 855,429 etendo.profile.last_stat_slru 181 1 25 11,735 10,830 0 181 etendo.public.m_product_category 296 5 21 148,948 85,308 0 5,291 etendo.profile.last_stat_activity_count_srv1 542 0 11 52,438 52,438 0 1,563 etendo.pg_toast.pg_toast_1885535 1 0 10 262,964 7 0 58,526 etendo.public.m_stock_aux 540 1 10 123,393 93,690 0 5,359 etendo.profile.sample_stat_io 1 1 9 1,316 7 0 30 etendo.public.ad_preference 523 1 2 4,501,754 1,213,542 0 591,401 etendo.pg_toast.pg_toast_3289390 1 1 2 415 19 0 93 etendo.public.ad_process_request 337 1 2 1,504,123 376,453 0 370,955 etendo.public.fin_financial_account 721 1 1 105,883 71,996 0 5,671 etendo.pg_toast.pg_toast_1893969 1 0 0 219,310 0 0 46,363 etendo.public.ad_process_run 230 0 0 3,595,870 809,907 0 342,010 postgres.pg_catalog.pg_shdepend 118 0 0 446,218 84,395 0 3,334 etendo.public.prmag2_conf 320 0 0 21,680 21,360 0 1,230 etendo.profile.last_stat_database_srv1 61 1 0 3,396 3,152 0 182 etendo.pg_toast.pg_toast_1894559 1 0 0 1,858,387 6 0 463,301 etendo.pg_toast.pg_toast_1893146 1 0 0 457,689 0 0 114,096 etendo.pg_catalog.pg_shdepend 118 0 0 446,218 84,395 0 3,334 etendo.pg_toast.pg_toast_1893120 1 0 0 52,487 0 0 13,123 Total 16,668 114 498,206 233,206,162 181,454,550 4,555 14,120,706 Pages removed per table
Key values
- public.ma_processplan_tot_aux (4316) Main table with removed pages on database etendo
- 4555 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed etendo.public.ma_processplan_tot_aux 2 1 166340 4316 etendo.public.c_import_entry 844 15 1630 92 etendo.public.ad_ep_instance_para 857 29 1031 59 etendo.profile.last_stat_tables_srv1 799 3 15755 57 etendo.pg_toast.pg_toast_1887773 768 3 2221 27 etendo.public.ad_sequence 774 10 394 4 etendo.public.mrp_run_productionline 3 2 143460 0 etendo.public.fin_financial_account 721 1 1 0 etendo.pg_toast.pg_toast_1885535 1 0 10 0 etendo.pg_toast.pg_toast_2619 421 1 317 0 etendo.profile.tables_list 603 3 128 0 etendo.pg_toast.pg_toast_1893969 1 0 0 0 etendo.public.ad_process_run 230 0 0 0 etendo.pg_catalog.pg_statistic 541 1 180 0 etendo.profile.last_stat_activity_count_srv1 542 0 11 0 etendo.public.ad_preference 523 1 2 0 etendo.profile.last_stat_io 602 2 34 0 template1.pg_catalog.pg_shdepend 118 1 218 0 postgres.pg_catalog.pg_shdepend 118 0 0 0 etendo.pg_toast.pg_toast_3289390 1 1 2 0 etendo.public.m_product_category 296 5 21 0 etendo.public.m_storage_detail 120 4 40662 0 etendo.profile.last_stat_slru 181 1 25 0 etendo.public.m_stock_valuation 9 2 58771 0 etendo.profile.stmt_list 602 2 75 0 etendo.pg_catalog.pg_type 385 1 550 0 etendo.profile.sample_stat_io 1 1 9 0 etendo.public.advmrp_run_prodlineparent 2 2 31707 0 etendo.pg_toast.pg_toast_1883503 420 1 54 0 etendo.public.prmag2_conf 320 0 0 0 etendo.profile.last_stat_statements_srv1 799 3 7342 0 etendo.profile.last_stat_database_srv1 61 1 0 0 etendo.pg_toast.pg_toast_1894559 1 0 0 0 etendo.profile.funcs_list 724 4 52 0 etendo.profile.last_stat_user_functions_srv1 799 3 3060 0 etendo.pg_toast.pg_toast_1893146 1 0 0 0 etendo.profile.last_extension_versions 421 1 40 0 etendo.public.ad_process_request 337 1 2 0 etendo.public.m_stock_aux 540 1 10 0 etendo.profile.last_stat_indexes_srv1 799 3 23947 0 etendo.profile.indexes_list 663 3 33 0 etendo.public.ad_session 598 0 32 0 etendo.pg_catalog.pg_shdepend 118 0 0 0 etendo.profile.sample_stat_user_functions 1 1 80 0 etendo.pg_toast.pg_toast_1893120 1 0 0 0 Total 16,668 114 498,206 4,555 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 14 06 103 56 07 103 41 08 69 39 09 436 47 10 606 36 11 665 43 12 900 49 13 1,122 41 14 1,141 19 15 1,345 18 16 1,437 21 17 1,558 22 18 1,610 20 19 1,680 18 20 1,913 20 21 1,980 17 22 0 0 - 118.61 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 24 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1m58s 1m58s 1m58s 1m58s update m_transaction set updated = ?, updatedby = ?, transactioncost = ?, m_costing_algorithm_id = ?, iscostcalculated = ?, c_currency_id = ?, costing_status = ? where m_transaction_id = ?;-
update M_Transaction set Updated = '2026-07-14 07:00:00.401', UpdatedBy = '100', TransactionCost = '2.30', M_Costing_Algorithm_ID = 'B069080A0AE149A79CF1FA0E24F16AB6', IsCostCalculated = 'Y', C_Currency_ID = '102', Costing_Status = 'CC' where M_Transaction_ID = '7AC8846D4CEF4BA089A83E1350BAEDED';
Date: 2026-07-14 07:01:58 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update M_Transaction set Updated = $1, UpdatedBy = $2, TransactionCost = $3, M_Costing_Algorithm_ID = $4, IsCostCalculated = $5, C_Currency_ID = $6, Costing_Status = $7 where M_Transaction_ID = $8;
Date: 2026-07-14 07:01:58 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
2 18 1m39s 1s342ms 12s 5s513ms select * from ad_sequence_doc (?, ?, ?);-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 12:05:23 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 10:33:45 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 07:37:01 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 2 20s10ms 4s915ms 15s94ms 10s5ms update m_inoutline set updated = ?, updatedby = ?, em_prwp_qtyverified = ? where m_inoutline_id = ?;-
update M_InOutLine set Updated = '2026-07-14 06:26:54.782', UpdatedBy = '7A62DAE481024D5DB3686EC3F579D73B', EM_Prwp_Qtyverified = '1' where M_InOutLine_ID = 'B14DFA03C5594FF8AB561F446A40F404';
Date: 2026-07-14 06:27:09 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update M_InOutLine set Updated = '2026-07-14 06:24:55.516', UpdatedBy = '7A62DAE481024D5DB3686EC3F579D73B', EM_Prwp_Qtyverified = '1' where M_InOutLine_ID = '081349C0E95A42669A2917C50DA52B1D';
Date: 2026-07-14 06:25:00 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update M_InOutLine set Updated = $1, UpdatedBy = $2, EM_Prwp_Qtyverified = $3 where M_InOutLine_ID = $4;
Date: 2026-07-14 06:25:00 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
4 1 18s380ms 18s380ms 18s380ms 18s380ms update m_inoutline set updated = ?, updatedby = ?, em_bass_rfidtag_printed = ? where m_inoutline_id = ?;-
update M_InOutLine set Updated = '2026-07-14 06:23:22.2', UpdatedBy = '51CF3521A7884CC8A1E7B9F164132732', EM_Bass_Rfidtag_Printed = 'Y' where M_InOutLine_ID = '18AC108327354A70A36EA09787E89B38';
Date: 2026-07-14 06:23:40 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update M_InOutLine set Updated = $1, UpdatedBy = $2, EM_Bass_Rfidtag_Printed = $3 where M_InOutLine_ID = $4;
Date: 2026-07-14 06:23:40 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
5 1 12s723ms 12s723ms 12s723ms 12s723ms insert into m_movementline (ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_movement_id, m_locator_id, m_locatorto_id, m_product_id, line, movementqty, m_attributesetinstance_id, c_uom_id, m_reservation_id, em_obwpl_pickinglist_id, em_obwpl_complete, em_obwpl_itemstatus, em_obwpl_edititem, em_obwpl_allowdelete, em_obwpl_raiseincidence, em_obwpl_reject, em_prpp_qtyverified, m_movementline_id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);-
insert into M_MovementLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_Movement_ID, M_Locator_ID, M_LocatorTo_ID, M_Product_ID, Line, MovementQty, M_AttributeSetInstance_ID, C_UOM_ID, M_Reservation_ID, EM_OBWPL_Pickinglist_ID, EM_OBWPL_Complete, EM_OBWPL_Itemstatus, EM_OBWPL_EditItem, EM_OBWPL_AllowDelete, EM_OBWPL_Raiseincidence, EM_OBWPL_Reject, EM_Prpp_Qtyverified, M_MovementLine_ID) values ('7E3CD157DC6246718BFBF101DCDC4016', '62BDFDB7612B40D3B9D865CDF7A36690', 'Y', '2026-07-14 06:30:21.25', '7EAB9E83A02B4702865CA90DA3D37C35', '2026-07-14 06:30:21.25', '7EAB9E83A02B4702865CA90DA3D37C35', 'B94472E88A6341D7A65F86E20A87521F', 'E71018AEB9D2456EB27E38ADC93EB559', '293C384C20C942EBAD3F4495A36EB852', 'F2F73A087C50427F97F5724C0AAD3304', '10', '2', 'CC8883BE0D3F42A5B500DAE6367B4CC0', '100', '020043CA1E68419687105ED4E6E7CA28', '119CB164F38949B592A4B1FA5E888AF0', 'N', 'PE', 'N', 'N', 'N', 'N', '0', '43EE542B1EA94F06A34C1475C1E32D1D');
Date: 2026-07-14 06:30:33 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
insert into M_MovementLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_Movement_ID, M_Locator_ID, M_LocatorTo_ID, M_Product_ID, Line, MovementQty, M_AttributeSetInstance_ID, C_UOM_ID, M_Reservation_ID, EM_OBWPL_Pickinglist_ID, EM_OBWPL_Complete, EM_OBWPL_Itemstatus, EM_OBWPL_EditItem, EM_OBWPL_AllowDelete, EM_OBWPL_Raiseincidence, EM_OBWPL_Reject, EM_Prpp_Qtyverified, M_MovementLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25);
Date: 2026-07-14 06:30:33 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
6 1 2s13ms 2s13ms 2s13ms 2s13ms update prpp_json set updated = ?, jsoninfo = ? where prpp_json_id = ?;-
update prpp_json set Updated = $1, Jsoninfo = $2 where Prpp_Json_ID = $3;
Date: 2026-07-14 13:03:28 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries that waited the most
Rank Wait time Query 1 1m58s update M_Transaction set Updated = $1, UpdatedBy = $2, TransactionCost = $3, M_Costing_Algorithm_ID = $4, IsCostCalculated = $5, C_Currency_ID = $6, Costing_Status = $7 where M_Transaction_ID = $8;[ Date: 2026-07-14 07:01:58 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 18s380ms update M_InOutLine set Updated = $1, UpdatedBy = $2, EM_Bass_Rfidtag_Printed = $3 where M_InOutLine_ID = $4;[ Date: 2026-07-14 06:23:40 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 15s94ms update M_InOutLine set Updated = $1, UpdatedBy = $2, EM_Prwp_Qtyverified = $3 where M_InOutLine_ID = $4;[ Date: 2026-07-14 06:27:09 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 12s723ms insert into M_MovementLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_Movement_ID, M_Locator_ID, M_LocatorTo_ID, M_Product_ID, Line, MovementQty, M_AttributeSetInstance_ID, C_UOM_ID, M_Reservation_ID, EM_OBWPL_Pickinglist_ID, EM_OBWPL_Complete, EM_OBWPL_Itemstatus, EM_OBWPL_EditItem, EM_OBWPL_AllowDelete, EM_OBWPL_Raiseincidence, EM_OBWPL_Reject, EM_Prpp_Qtyverified, M_MovementLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25);[ Date: 2026-07-14 06:30:33 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 12s SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 12:05:23 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 10s795ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 10:33:45 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 9s511ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 07:37:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 8s490ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 06:45:40 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 8s191ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 06:38:48 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 7s611ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 13:16:05 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 6s809ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 07:56:56 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 5s741ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 06:28:11 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 5s607ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 07:42:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 4s915ms update M_InOutLine set Updated = $1, UpdatedBy = $2, EM_Prwp_Qtyverified = $3 where M_InOutLine_ID = $4;[ Date: 2026-07-14 06:25:00 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 4s84ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 07:43:24 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 3s630ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 06:38:48 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 3s582ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 07:45:07 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 3s460ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 06:31:41 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 2s869ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 12:29:30 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 2s528ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-14 08:13:23 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Queries
Queries by type
Key values
- 3,573 Total read queries
- 44 Total write queries
Queries by database
Key values
- etendo Main database
- 3,618 Requests
- 7h35m54s (etendo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 3,612 Requests
User Request type Count Duration postgres Total 6 6s312ms select 6 6s312ms tad Total 3,612 7h35m47s cte 2 56s294ms delete 35 53s213ms insert 2 30s580ms others 1 3s511ms select 3,567 7h30m45s update 5 2m38s Duration by user
Key values
- 7h35m47s (tad) Main time consuming user
User Request type Count Duration postgres Total 6 6s312ms select 6 6s312ms tad Total 3,612 7h35m47s cte 2 56s294ms delete 35 53s213ms insert 2 30s580ms others 1 3s511ms select 3,567 7h30m45s update 5 2m38s Queries by host
Key values
- 127.0.0.1 Main host
- 3,548 Requests
- 7h20m13s (127.0.0.1)
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 3,548 Requests
- 7h20m13s (openbravo)
- Main time consuming application
Application Request type Count Duration DBeaver 26.0.3 - Data transfer producer Total 2 25s867ms select 2 25s867ms Mashup Engine Total 62 15m8s select 62 15m8s openbravo Total 3,548 7h20m13s cte 2 56s294ms delete 35 53s213ms insert 2 30s580ms others 1 3s511ms select 3,503 7h15m11s update 5 2m38s psql Total 6 6s312ms select 6 6s312ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-14 09:40:40 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,407 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 1h32m10s SELECT COUNT(*) AS ID FROM fshedi_order_v WHERE Emisor = '0A663430590D4774AAC524D8FF37F91E' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');[ Date: 2026-07-14 10:25:27 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
2 1h31m50s SELECT COUNT(*) AS ID FROM fshedi_order_v WHERE Emisor = '0A663430590D4774AAC524D8FF37F91E' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');[ Date: 2026-07-14 11:57:18 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
3 39m45s select ad_column_identifier_std ('ad_org', '5E01F0FAFDBD4F0ABC82A5B031723084') as ad_org, fash_lobparent, fash_lob, collection, campaign, nameproduct, case when aextenguir = 'Y' then concat('*', ad_column_identifier_std ('m_product', m_product_id)) else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteprendas, stock, characteristic_desc, productonombre, stock - pendienteprendas as saldocartera, greatest (productproduction, 0) as productproduction, consumption, greatest (pendientecompras, 0) as pendientecompras, (stock - pendienteprendas) + greatest (productproduction, 0) + greatest (pendientecompras, 0) - consumption as saldoprod, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, 0) as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -1) as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -2) as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -3) as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -4) as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -5) as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -6) as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -7) as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -8) as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -9) as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -10) as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -11) as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -12) as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1) as anoanterior, bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY'))) as anoactual, minpr from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, m_product.upc, (m_product.name || ' - ' || m_product_category.value) as nameproduct, m_product.characteristic_desc, m_product.name as productonombre, round(bass_pendienteprenda (m_product.m_product_id, '5E01F0FAFDBD4F0ABC82A5B031723084'), 2) as pendienteprendas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id --and c_bpartner.em_bass_workshoptype='A' left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = '+' where advpro2_outsourcing.status in ('DE', 'PL') and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as productproduction, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select distinct m_warehouse_id from ad_org_warehouse where ad_org_warehouse.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0)))), 3), 0) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus = 'CO' left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id where c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, round(coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id and quantity > ( select coalesce(sum(pp.productionqty), 0) from advpro2_outsourcing_plan p left join m_productionplan pp ON pp.m_productionplan_id = p.m_productionplan_id where p.advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id) inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id --and c_bpartner.em_bass_workshoptype in ('A','C') left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = '-' where advpro2_outsourcing.status in ('DE', 'PL') and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0), 2) as consumption, m_product.em_bass_isextinct as aextenguir, coalesce(( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.m_product_id and sm.typestockmin = 'PROD'), ( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.generic_product_id and sm.typestockmin = 'PROD')) as minpr from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('T', 'H') left join m_product_org on m_product_org.m_product_id = m_product.m_product_id where 1 = 1 and fash_product_group.fash_product_group_id = '64A90E24B2CD40329E49EA983AA21E7C' and m_product.m_product_id not in ( select m_product.m_product_id from m_product inner join ma_processplan on m_product.ma_processplan_id = ma_processplan.ma_processplan_id inner join ma_processplan_version on ma_processplan.ma_processplan_id = ma_processplan_version.ma_processplan_id inner join ma_sequence on ma_processplan_version.ma_processplan_version_id = ma_sequence.ma_processplan_version_id inner join ma_sequenceproduct on ma_sequence.ma_sequence_id = ma_sequenceproduct.ma_sequence_id and productiontype = '-' where m_product.ma_processplan_id is not null and m_product.m_product_id = ma_sequenceproduct.m_product_id) and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and ( case when '5E01F0FAFDBD4F0ABC82A5B031723084' = 'ABB79999997E423B85B205975E7A9BD8' then coalesce(m_product_org.EM_Advmrp_Org_ID, '') not in ('7394B891BC824F24821ACCEBC3A06829') else 1 = 1 end)) as nv where (nv.pendienteprendas + nv.productproduction + nv.stock + nv.pendientecompras + nv.consumption + coalesce((bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1)), 0) + coalesce((bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')))), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc;[ Date: 2026-07-14 07:09:52 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
4 3m7s SELECT ADVMRP_RUN_INITIALIZE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'CC6D86C01D4745F58842B3C734CB18A0', NULL, NULL, NULL, NULL, NULL, NULL, '180', '2026-07-14 00:00:00', 'Y', NULL, 'GPP', 'N') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:03:07 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 1m58s SELECT M_INITIALIZE_STOCK_VALUATION ('7E3CD157DC6246718BFBF101DCDC4016', 'ABB79999997E423B85B205975E7A9BD8', NULL) AS RESULT FROM DUAL;[ Date: 2026-07-14 07:01:58 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
6 1m58s update M_Transaction set Updated = '2026-07-14 07:00:00.401', UpdatedBy = '100', TransactionCost = '2.30', M_Costing_Algorithm_ID = 'B069080A0AE149A79CF1FA0E24F16AB6', IsCostCalculated = 'Y', C_Currency_ID = '102', Costing_Status = 'CC' where M_Transaction_ID = '7AC8846D4CEF4BA089A83E1350BAEDED';[ Date: 2026-07-14 07:01:58 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 1m39s select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = 'Y' then concat('*', nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = 'Y' then concat('* ', m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, 0)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std ('ad_org', '0') as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = 'BORDADO' then concatbordado || ' BORDADO' else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteventas, greatest (production, 0) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo ('0', m_product_id, 0, '') as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_prendascalculo ('0', m_product_id, -1, '') as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_prendascalculo ('0', m_product_id, -2, '') as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_prendascalculo ('0', m_product_id, -3, '') as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_prendascalculo ('0', m_product_id, -4, '') as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_prendascalculo ('0', m_product_id, -5, '') as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_prendascalculo ('0', m_product_id, -6, '') as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_prendascalculo ('0', m_product_id, -7, '') as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_prendascalculo ('0', m_product_id, -8, '') as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_prendascalculo ('0', m_product_id, -9, '') as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_prendascalculo ('0', m_product_id, -10, '') as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_prendascalculo ('0', m_product_id, -11, '') as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_prendascalculo ('0', m_product_id, -12, '') as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '') as anoanterior, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '') as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ' - ' || m_product_category.value || ' / ' || m_product.name || ' / ' || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ' - ' || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then 'BORDADO' else '' end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, 2)), 0) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id INNER JOIN c_doctype on c_order.C_DocTypeTarget_ID = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in ('T') where c_doctype.docsubtypeso <> 'OB' AND c_order.docstatus in ('CO') and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = 'Y' and c_orderline.m_product_id = m_product.m_product_id and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_orderline.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end group by c_orderline.m_product_id), 0) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = 'DE' and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then advpro2_outsourcing.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end and ma_wrphaseproduct.productiontype = '+' group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as production, /**/ coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then em_advmrp_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = 'Y' or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = 'Y')))), 3), 0) as stock, /**/ coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus in ('CO') and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_order.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( SELECT NULLIF (sum(COALESCE(stockmin, 0)), 0) FROM M_Product_Org WHERE m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('P') where m_product.issold = 'Y' and 1 = 1 and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and m_product.em_fash_campaign_id = '2B2940222BDA41DD90D103D93CFE7F4C') as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '')), 0) + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '')), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, '') asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;[ Date: 2026-07-14 11:52:16 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
8 1m17s SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'B3F6D1CFB16549258CE9B367C0B402DF', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:05:19 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
9 1m13s SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'B4C6E38537EE44708FC6C3F0592B6F37', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:05:43 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 1m2s SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '8009A4ABA9834C7BB7B8364A97BFECC0', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:05:32 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
11 1m2s SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '63018C7A541E4CCCA6E4BF2E4C2117D0', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:05:33 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 59s784ms select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento", "_"."Agente" as "Agente", "_"."em_bass_bpclasification_id" as "em_bass_bpclasification_id", "_"."Clasificaciion" as "Clasificaciion" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", ROUND(OL.qtyordered, 2) as "Cantidad Pedido", ROUND(OL.qtydelivered, 2) as "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento", O.salesrep_id as "Agente", cbl.em_bass_bpclasification_id, CLAS."name" as "Clasificaciion" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN bass_bpclasification CLAS on CLAS.bass_bpclasification_id = cbl.em_bass_bpclasification_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento", O.salesrep_id as "Agente", cbl.em_bass_bpclasification_id, CLAS."name" as "Clasificaciion" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN bass_bpclasification CLAS on CLAS.bass_bpclasification_id = cbl.em_bass_bpclasification_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";[ Date: 2026-07-14 06:07:06 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
13 55s83ms WITH workrquirement_data AS ( SELECT aow.c_orderline_id, wrprod.m_product_id, string_agg(DISTINCT mw.documentno, ', ') AS ordendefab, COALESCE(SUM( CASE WHEN mw.closed = 'Y' THEN 0 ELSE GREATEST ((COALESCE(wrp.quantity, 0) - COALESCE(wrp.donequantity, 0)) * COALESCE(wrprod.movementqty, 0), 0) END), 0) AS pendiente_of FROM ma_workrequirement mw LEFT JOIN advpro2_orderline_workreq aow ON aow.ma_workrequirement_id = mw.ma_workrequirement_id LEFT JOIN ma_wrphase wrp ON wrp.ma_workrequirement_id = mw.ma_workrequirement_id LEFT JOIN ma_wrphaseproduct wrprod ON wrprod.ma_wrphase_id = wrp.ma_wrphase_id AND wrprod.productiontype = '+' GROUP BY aow.c_orderline_id, wrprod.m_product_id ), purchaseorder_data AS ( SELECT sol.c_orderline_id, STRING_AGG(po.documentno, ', ') AS pedidocompra, COALESCE(SUM( CASE WHEN po.docstatus = 'CO' THEN GREATEST (pol.qtyordered - COALESCE(delivered.delivered_qty, 0), 0) ELSE 0 END), 0) AS pendiente_compra FROM c_orderline sol LEFT JOIN prouti_related_sopo_lines rpo ON sol.c_orderline_id = rpo.c_orderline_id LEFT JOIN c_orderline pol ON rpo.prouti_purchaseline_id = pol.c_orderline_id LEFT JOIN c_order po ON pol.c_order_id = po.c_order_id LEFT JOIN LATERAL ( SELECT SUM(pinl2.movementqty) AS delivered_qty FROM m_inoutline pinl2 JOIN m_inout pin2 ON pin2.m_inout_id = pinl2.m_inout_id WHERE pinl2.c_orderline_id = pol.c_orderline_id AND pin2.docstatus = 'CO') delivered ON TRUE GROUP BY sol.c_orderline_id ) SELECT mpc.name AS tipo, mp.EM_Bass_Concatdesc AS producto, mp.upc AS ean, co.documentno AS pedido, co.poreference AS refcliente, wr.ordendefab AS ordendefab, wr.pendiente_of AS pendiente_of, sopo.pedidocompra AS pedidocompra, sopo.pendiente_compra AS pendiente_compra, to_char(co.dateordered, 'DD/MM/YYYY') AS fecha, to_char(co.datepromised, 'DD/MM/YYYY') AS fcomprometida, cb.value || ' - ' || coalesce(cb.name2, cb.name) AS tercero, ------------ ol.qtyordered AS pedida, ------------ (coalesce(bass_calc_total_reserv_status (ol.c_orderline_id), 0)) AS reservada, ------------ ol.qtydelivered AS entregada, ------------ ( SELECT COALESCE(( SELECT sum(COALESCE(mi2.movementqty, 0)) FROM obwpl_pickinglist op2 LEFT JOIN m_inoutline mi2 ON mi2.em_obwpl_pickinglist_id = op2.obwpl_pickinglist_id LEFT JOIN m_inout m2 ON m2.m_inout_id = mi2.m_inout_id WHERE mi2.c_orderline_id = ol.c_orderline_id AND m2.docstatus = 'DR' AND op2.obwpl_pickinglist_id IS NOT NULL), 0) + COALESCE(( SELECT sum(COALESCE(mm2.movementqty, 0)) FROM obwpl_pickinglist op2 LEFT JOIN m_movementline mm2 ON mm2.em_obwpl_pickinglist_id = op2.obwpl_pickinglist_id LEFT JOIN m_movement m2 ON m2.m_movement_id = mm2.m_movement_id LEFT JOIN m_reservation mr2 ON mr2.m_reservation_id = mm2.m_reservation_id WHERE mr2.c_orderline_id = ol.c_orderline_id AND m2.processed = 'N' AND op2.obwpl_pickinglist_id IS NOT NULL), 0)) AS picking, ------------ ol.qtyreserved AS reserva, ------------ ( SELECT COALESCE(sum(pol2.qtyordered - COALESCE(( SELECT sum(pinl2.movementqty) AS sum FROM m_inoutline pinl2 LEFT JOIN m_inout pin2 ON pin2.m_inout_id::text = pinl2.m_inout_id::text WHERE pinl2.c_orderline_id::text = pol2.c_orderline_id::text AND pin2.docstatus::text = 'CO'::text), 0::numeric)), 0::numeric) FROM c_orderline pol2 LEFT JOIN c_order po2 ON po2.c_order_id::text = pol2.c_order_id::text WHERE ol.qtyordered > COALESCE(( SELECT sum(pinl2.movementqty) AS sum FROM m_inoutline pinl2 LEFT JOIN m_inout pin2 ON pin2.m_inout_id::text = pinl2.m_inout_id::text WHERE pinl2.c_orderline_id::text = pol2.c_orderline_id::text AND pin2.docstatus::text = 'CO'::text), 0::numeric) AND po2.m_warehouse_id = co.m_warehouse_id AND po2.docstatus::text = 'CO'::text AND po2.issotrx = 'N'::bpchar AND pol2.m_product_id::text = ol.m_product_id::text) AS compras, ------------ GREATEST (( SELECT COALESCE(SUM((COALESCE(wrp.quantity, 0) - COALESCE(wrp.donequantity, 0)) * ( SELECT SUM(wrprod.movementqty) AS sum FROM ma_wrphaseproduct wrprod WHERE wrprod.ma_wrphase_id::text = wrp.ma_wrphase_id::text AND wrprod.productiontype::text = '+'::text AND wrprod.m_product_id::text = ol.m_product_id::text)), 0::numeric) FROM advpro2_outsourcing_phase outphase LEFT JOIN advpro2_outsourcing outsrc ON outsrc.advpro2_outsourcing_id::text = outphase.advpro2_outsourcing_id::text LEFT JOIN ma_wrphase wrp ON wrp.ma_wrphase_id::text = outphase.ma_wrphase_id::text WHERE outsrc.status::text IN ('DE', 'PL') AND outphase.ad_org_id = co.ad_org_id), 0) AS pmas, ------------ GREATEST (( SELECT COALESCE(SUM((COALESCE(wrp.quantity, 0) - COALESCE(wrp.donequantity, 0)) * ( SELECT SUM(wrprod.movementqty) AS sum FROM ma_wrphaseproduct wrprod WHERE wrprod.ma_wrphase_id::text = wrp.ma_wrphase_id::text AND wrprod.productiontype::text = '-'::text AND wrprod.m_product_id::text = ol.m_product_id::text)), 0::numeric) FROM advpro2_outsourcing_phase outphase LEFT JOIN advpro2_outsourcing outsrc ON outsrc.advpro2_outsourcing_id::text = outphase.advpro2_outsourcing_id::text LEFT JOIN ma_wrphase wrp ON wrp.ma_wrphase_id::text = outphase.ma_wrphase_id::text WHERE outsrc.status::text IN ('DE', 'PL') AND outphase.ad_org_id = co.ad_org_id), 0) AS pmenos, ------------ COALESCE(( SELECT SUM(COALESCE(sd2.qtyonhand, 0)) FROM m_storage_detail sd2 JOIN m_locator l2 ON sd2.m_locator_id = l2.m_locator_id JOIN m_warehouse w ON w.m_warehouse_id = l2.m_warehouse_id WHERE sd2.m_product_id = ol.m_product_id AND COALESCE(w.em_bass_exclude_reports, 'N') = 'N' AND l2.m_warehouse_id IN ( SELECT ow.m_warehouse_id FROM ad_org_warehouse ow WHERE ow.ad_org_id = co.ad_org_id AND ow.isactive = 'Y')), 0) AS stock FROM c_order co LEFT JOIN c_doctype cd ON cd.c_doctype_id = coalesce(co.c_doctypetarget_id, co.c_doctype_id) LEFT JOIN c_orderline ol ON ol.c_order_id = co.c_order_id LEFT JOIN m_product mp ON mp.m_product_id = ol.m_product_id LEFT JOIN c_bpartner cb ON cb.c_bpartner_id = co.c_bpartner_id LEFT JOIN m_product_category mpc ON mpc.m_product_category_id = mp.m_product_category_id LEFT JOIN workrquirement_data wr ON wr.c_orderline_id = ol.c_orderline_id AND wr.m_product_id = ol.m_product_id LEFT JOIN purchaseorder_data sopo ON sopo.c_orderline_id = ol.c_orderline_id WHERE co.ad_org_id = '5E01F0FAFDBD4F0ABC82A5B031723084' AND ol.qtyordered > ol.qtydelivered AND co.docstatus IN ('CO') AND coalesce(cd.isreturn, 'N') = 'N' AND co.issotrx = 'Y' AND (mp.upc IS NOT NULL OR co.ad_org_id = '494FA9B15BC843D0AF577B4CFC5CC35E');[ Date: 2026-07-14 08:05:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 54s946ms SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'C5D6A30700E246F1B8A5183241B7AD7B', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:04:56 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
15 50s482ms SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'D5C119640F1B4CCD8C77FAE6943D5A71', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:05:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 50s383ms SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '9BCFA5D73E3845A0872B6EE3F31FC15F', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:04:51 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
17 45s250ms SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '3F002739C1264BEB8AA12BD590D18A90', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:05:03 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
18 44s484ms select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento", "_"."Agente" as "Agente", "_"."em_bass_bpclasification_id" as "em_bass_bpclasification_id", "_"."Clasificaciion" as "Clasificaciion" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", ROUND(OL.qtyordered, 2) as "Cantidad Pedido", ROUND(OL.qtydelivered, 2) as "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento", O.salesrep_id as "Agente", cbl.em_bass_bpclasification_id, CLAS."name" as "Clasificaciion" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN bass_bpclasification CLAS on CLAS.bass_bpclasification_id = cbl.em_bass_bpclasification_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento", O.salesrep_id as "Agente", cbl.em_bass_bpclasification_id, CLAS."name" as "Clasificaciion" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN bass_bpclasification CLAS on CLAS.bass_bpclasification_id = cbl.em_bass_bpclasification_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";[ Date: 2026-07-14 08:11:32 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
19 43s546ms SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", ( select m_ch_value.name from m_product_ch_value left join m_ch_value on m_ch_value.m_ch_value_id = m_product_ch_value.m_ch_value_id where m_product_ch_value.m_product_id = p.m_product_id and m_product_ch_value.m_characteristic_id = 'C6144F9D37094292AE20EFC8CC3D1E25') as talla, ( select m_ch_value.name from m_product_ch_value left join m_ch_value on m_ch_value.m_ch_value_id = m_product_ch_value.m_ch_value_id where m_product_ch_value.m_product_id = p.m_product_id and m_product_ch_value.m_characteristic_id = 'B4BB8A1747D74B978E73E5F18F8E1BD0') as color, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.discount as "Descuento", ( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Cantidad Enviada Alb", ( SELECT MAX(movementdate) FROM m_inoutline IOL INNER JOIN m_inout IO on IO.m_inout_id = IOL.m_inout_id WHERE IOL.c_orderline_id = OL.c_orderline_id) as "Fecha Ultimo Envio" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and O.docstatus in ('CO', 'CL') --and c_doctype.isreturn = 'N' and c_doctype.docsubtypeso not in ('OB', 'ON');[ Date: 2026-07-14 07:38:25 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
20 42s869ms SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '3103809E5B594D1BA66D9428E5253FE8', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-14 06:04:44 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3h4m1s 2 1h31m50s 1h32m10s 1h32m select count(*) as id from fshedi_order_v where emisor = ? and ad_org_id in (...) and ad_client_id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 10 1 1h32m10s 1h32m10s 11 1 1h31m50s 1h31m50s [ User: tad - Total duration: 3h4m1s - Times executed: 2 ]
[ Application: openbravo - Total duration: 3h4m1s - Times executed: 2 ]
-
SELECT COUNT(*) AS ID FROM fshedi_order_v WHERE Emisor = '0A663430590D4774AAC524D8FF37F91E' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');
Date: 2026-07-14 10:25:27 Duration: 1h32m10s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT COUNT(*) AS ID FROM fshedi_order_v WHERE Emisor = '0A663430590D4774AAC524D8FF37F91E' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');
Date: 2026-07-14 11:57:18 Duration: 1h31m50s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 1h7m27s 1,240 1s150ms 5s82ms 3s263ms select order_comp0_.c_order_id as c_order_1_467_0_, order_comp0_.ad_client_id as ad_clien2_467_0_, order_comp0_.ad_org_id as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? then ? else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), ?) / sum(abs(ol.qtyordered)) * ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyreserved)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula63_0_, ( select case when count(?) > ? then ? else ? end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, ?) = ? and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), ?)) as formula65_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, ?) || ? || coalesce(obwpack_box.em_obeuses_trackingstatus, ?) from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit ?) as formula68_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula69_0_, ( select coalesce(prmag_order.status, ?) from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = ?) > ?) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), ?)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = ? then ? else round(sum(fps.paidamt) / sum(fps.amount) * ?, ?) end from fin_payment_schedule fps where fps.c_order_id = order_comp0_.c_order_id), ?)) as formula74_0_ from c_order order_comp0_ where order_comp0_.c_order_id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 14 06 7 26s460ms 3s780ms 07 14 45s685ms 3s263ms 08 109 6m13s 3s425ms 09 185 10m22s 3s367ms 10 116 6m24s 3s316ms 11 167 9m5s 3s263ms 12 127 6m33s 3s98ms 13 133 7m18s 3s298ms 14 57 3m3s 3s219ms 15 104 5m38s 3s252ms 16 113 5m50s 3s104ms 17 59 3m9s 3s216ms 18 19 58s742ms 3s91ms 19 25 1m21s 3s243ms 20 5 14s614ms 2s922ms [ User: tad - Total duration: 1h7m27s - Times executed: 1240 ]
[ Application: openbravo - Total duration: 1h7m27s - Times executed: 1240 ]
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:29 Duration: 5s82ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:17 Duration: 5s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FD00ADD73F3542E4A24337262CB4321F', 'A539C8CE6D3941F09E228BEE05F9C1B1', '8A04D7B77F53477EBAD1C0DFB21E4565', '686E1ADD506F465289F99B411780F196', '678F0BD1B49A450188EA2D93C40BAB6D', '3870DFB048D344FBA85ED7B4629961E9', '077B614DBFD0435DA78E5B11732ED701', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'F1EF97DA4DE1423DB76E8AFFBBBCFB2A', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EB240ED411C54C57A6554D300950E6BB', 'EB14046E529A496E93EB3CAD6230A40E', 'EA9C5AEDA9244A79800A6DB5DA3314A9', 'EA3980EA6F1A418687D68F8C6516F411', 'E9F37356D3474B05906118926F5D0E33', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'E32894B9A34C40FEA0D98AFBE08D6A1A', 'E1B6E33F30994818A541800ADC9DC784', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'BEF3ADB3588C4FBF8DD4B35B209BA806', 'B970EDB904ED432A8B1863918C703E7B', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AD1DB883E3DA48F085B450A489FE3F9E', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9FDAFB9D111A400281DFE2078A1B57E8', '9ED9BB259E3D4D07A0853A0D0A0E573F', '9B18B24004C24AD495B15CC46584AD38', '9AB415D2167E457A88BF25498436AE4D', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '9854B0C89B6C4F5F87CB7F2868E6CBBC', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030');
Date: 2026-07-14 10:00:43 Duration: 4s954ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 40m57s 248 1s81ms 19s79ms 9s907ms select * from m_inout_post0 (?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 06 47 7m49s 9s998ms 07 45 8m1s 10s691ms 08 29 4m9s 8s605ms 09 20 2m34s 7s735ms 10 27 4m34s 10s150ms 11 8 45s801ms 5s725ms 12 51 9m19s 10s970ms 13 19 3m36s 11s386ms 14 1 4s638ms 4s638ms 16 1 1s354ms 1s354ms [ User: tad - Total duration: 40m57s - Times executed: 248 ]
[ Application: openbravo - Total duration: 40m57s - Times executed: 248 ]
-
SELECT * FROM M_InOut_Post0 ('EB7C2E9B0A9547BB832522FF1C852F82');
Date: 2026-07-14 06:05:12 Duration: 19s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('7B99D0F285B148A291008C4AFF4057B3');
Date: 2026-07-14 10:16:30 Duration: 17s571ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('92B5FECDCD17411DB50A10F58D02A5BD');
Date: 2026-07-14 06:13:35 Duration: 17s385ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 39m45s 1 39m45s 39m45s 39m45s select ad_column_identifier_std (?, ?) as ad_org, fash_lobparent, fash_lob, collection, campaign, nameproduct, case when aextenguir = ? then concat(?, ad_column_identifier_std (?, m_product_id)) else ad_column_identifier_std (?, m_product_id) end as m_product, pendienteprendas, stock, characteristic_desc, productonombre, stock - pendienteprendas as saldocartera, greatest (productproduction, ?) as productproduction, consumption, greatest (pendientecompras, ?) as pendientecompras, (stock - pendienteprendas) + greatest (productproduction, ?) + greatest (pendientecompras, ?) - consumption as saldoprod, bass_tejidocalculo (?, m_product_id, ?) as mes0, to_char(add_months (to_date(now()), ?), ?) as namemes0, bass_tejidocalculo (?, m_product_id, ?) as mes1, to_char(add_months (to_date(now()), ?), ?) as namemes1, bass_tejidocalculo (?, m_product_id, ?) as mes2, to_char(add_months (to_date(now()), ?), ?) as namemes2, bass_tejidocalculo (?, m_product_id, ?) as mes3, to_char(add_months (to_date(now()), ?), ?) as namemes3, bass_tejidocalculo (?, m_product_id, ?) as mes4, to_char(add_months (to_date(now()), ?), ?) as namemes4, bass_tejidocalculo (?, m_product_id, ?) as mes5, to_char(add_months (to_date(now()), ?), ?) as namemes5, bass_tejidocalculo (?, m_product_id, ?) as mes6, to_char(add_months (to_date(now()), ?), ?) as namemes6, bass_tejidocalculo (?, m_product_id, ?) as mes7, to_char(add_months (to_date(now()), ?), ?) as namemes7, bass_tejidocalculo (?, m_product_id, ?) as mes8, to_char(add_months (to_date(now()), ?), ?) as namemes8, bass_tejidocalculo (?, m_product_id, ?) as mes9, to_char(add_months (to_date(now()), ?), ?) as namemes9, bass_tejidocalculo (?, m_product_id, ?) as mes10, to_char(add_months (to_date(now()), ?), ?) as namemes10, bass_tejidocalculo (?, m_product_id, ?) as mes11, to_char(add_months (to_date(now()), ?), ?) as namemes11, bass_tejidocalculo (?, m_product_id, ?) as mes12, to_char(add_months (to_date(now()), ?), ?) as namemes12, bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?) as anoanterior, bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?))) as anoactual, minpr from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, m_product.upc, (m_product.name || ? || m_product_category.value) as nameproduct, m_product.characteristic_desc, m_product.name as productonombre, round(bass_pendienteprenda (m_product.m_product_id, ?), ?) as pendienteprendas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), ?) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = ? where advpro2_outsourcing.status in (...) and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), ?) as productproduction, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select distinct m_warehouse_id from ad_org_warehouse where ad_org_warehouse.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?)))), ?), ?) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), ?)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = ? and c_order.docstatus = ? left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id where c_order.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), ?) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), ?), ?) as pendientecompras, round(coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), ?) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id and quantity > ( select coalesce(sum(pp.productionqty), ?) from advpro2_outsourcing_plan p left join m_productionplan pp on pp.m_productionplan_id = p.m_productionplan_id where p.advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id) inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = ? where advpro2_outsourcing.status in (...) and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), ?), ?) as consumption, m_product.em_bass_isextinct as aextenguir, coalesce(( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.m_product_id and sm.typestockmin = ?), ( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.generic_product_id and sm.typestockmin = ?)) as minpr from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in (...) left join m_product_org on m_product_org.m_product_id = m_product.m_product_id where ? = ? and fash_product_group.fash_product_group_id = ? and m_product.m_product_id not in ( select m_product.m_product_id from m_product inner join ma_processplan on m_product.ma_processplan_id = ma_processplan.ma_processplan_id inner join ma_processplan_version on ma_processplan.ma_processplan_id = ma_processplan_version.ma_processplan_id inner join ma_sequence on ma_processplan_version.ma_processplan_version_id = ma_sequence.ma_processplan_version_id inner join ma_sequenceproduct on ma_sequence.ma_sequence_id = ma_sequenceproduct.ma_sequence_id and productiontype = ? where m_product.ma_processplan_id is not null and m_product.m_product_id = ma_sequenceproduct.m_product_id) and ( case when ? = ? then m_product.isactive = ? when ? = ? then m_product.isactive = ? else ? = ? end) and ( case when ? = ? then coalesce(m_product_org.em_advmrp_org_id, ?) not in (...) else ? = ? end)) as nv where (nv.pendienteprendas + nv.productproduction + nv.stock + nv.pendientecompras + nv.consumption + coalesce((bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?)), ?) + coalesce((bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?)))), ?)) <> ? order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 07 1 39m45s 39m45s [ User: tad - Total duration: 39m45s - Times executed: 1 ]
[ Application: openbravo - Total duration: 39m45s - Times executed: 1 ]
-
select ad_column_identifier_std ('ad_org', '5E01F0FAFDBD4F0ABC82A5B031723084') as ad_org, fash_lobparent, fash_lob, collection, campaign, nameproduct, case when aextenguir = 'Y' then concat('*', ad_column_identifier_std ('m_product', m_product_id)) else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteprendas, stock, characteristic_desc, productonombre, stock - pendienteprendas as saldocartera, greatest (productproduction, 0) as productproduction, consumption, greatest (pendientecompras, 0) as pendientecompras, (stock - pendienteprendas) + greatest (productproduction, 0) + greatest (pendientecompras, 0) - consumption as saldoprod, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, 0) as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -1) as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -2) as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -3) as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -4) as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -5) as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -6) as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -7) as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -8) as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -9) as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -10) as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -11) as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -12) as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1) as anoanterior, bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY'))) as anoactual, minpr from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, m_product.upc, (m_product.name || ' - ' || m_product_category.value) as nameproduct, m_product.characteristic_desc, m_product.name as productonombre, round(bass_pendienteprenda (m_product.m_product_id, '5E01F0FAFDBD4F0ABC82A5B031723084'), 2) as pendienteprendas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id --and c_bpartner.em_bass_workshoptype='A' left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = '+' where advpro2_outsourcing.status in ('DE', 'PL') and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as productproduction, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select distinct m_warehouse_id from ad_org_warehouse where ad_org_warehouse.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0)))), 3), 0) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus = 'CO' left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id where c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, round(coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id and quantity > ( select coalesce(sum(pp.productionqty), 0) from advpro2_outsourcing_plan p left join m_productionplan pp ON pp.m_productionplan_id = p.m_productionplan_id where p.advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id) inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id --and c_bpartner.em_bass_workshoptype in ('A','C') left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = '-' where advpro2_outsourcing.status in ('DE', 'PL') and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0), 2) as consumption, m_product.em_bass_isextinct as aextenguir, coalesce(( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.m_product_id and sm.typestockmin = 'PROD'), ( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.generic_product_id and sm.typestockmin = 'PROD')) as minpr from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('T', 'H') left join m_product_org on m_product_org.m_product_id = m_product.m_product_id where 1 = 1 and fash_product_group.fash_product_group_id = '64A90E24B2CD40329E49EA983AA21E7C' and m_product.m_product_id not in ( select m_product.m_product_id from m_product inner join ma_processplan on m_product.ma_processplan_id = ma_processplan.ma_processplan_id inner join ma_processplan_version on ma_processplan.ma_processplan_id = ma_processplan_version.ma_processplan_id inner join ma_sequence on ma_processplan_version.ma_processplan_version_id = ma_sequence.ma_processplan_version_id inner join ma_sequenceproduct on ma_sequence.ma_sequence_id = ma_sequenceproduct.ma_sequence_id and productiontype = '-' where m_product.ma_processplan_id is not null and m_product.m_product_id = ma_sequenceproduct.m_product_id) and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and ( case when '5E01F0FAFDBD4F0ABC82A5B031723084' = 'ABB79999997E423B85B205975E7A9BD8' then coalesce(m_product_org.EM_Advmrp_Org_ID, '') not in ('7394B891BC824F24821ACCEBC3A06829') else 1 = 1 end)) as nv where (nv.pendienteprendas + nv.productproduction + nv.stock + nv.pendientecompras + nv.consumption + coalesce((bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1)), 0) + coalesce((bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')))), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc;
Date: 2026-07-14 07:09:52 Duration: 39m45s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 19m13s 210 1s15ms 7s262ms 5s492ms select pickinglis0_.obwpl_pickinglist_id as obwpl_pi1_1081_0_, pickinglis0_.ad_client_id as ad_clien2_1081_0_, pickinglis0_.ad_org_id as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > ? then ? else ? end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) and prbat.docstatus <> ?) as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id limit ?) as formula58_0_, ( select case when count(*) > ? then ? else ? end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = ?) as formula59_0_, ( select case when count(?) > ? then ? else ? end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = ? and exists ( select ? from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = ?) and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from obwpl_pickinglist pickinglis0_ where pickinglis0_.obwpl_pickinglist_id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 06 66 5m38s 5s133ms 07 9 36s583ms 4s64ms 08 2 12s923ms 6s461ms 09 21 1m47s 5s117ms 10 6 37s925ms 6s320ms 11 19 1m58s 6s259ms 12 24 2m30s 6s283ms 13 16 1m11s 4s479ms 14 15 1m29s 5s976ms 16 4 23s385ms 5s846ms 19 22 2m9s 5s874ms 20 6 36s17ms 6s2ms [ User: tad - Total duration: 19m13s - Times executed: 210 ]
[ Application: openbravo - Total duration: 19m13s - Times executed: 210 ]
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('57700A47A00D463993B61FD396AF2033', '69BF013BBCB14B439CC1A7AF7315C646', '6E73782C72C444C0AB76A2D8364BD765', '835BCA9C0657450D8DBDA6C16C9463A8', 'D768041406F7463BB4FF274E4AF57589', 'DEBC4C5C99C848B9868463173AAAFD76', '00978F236D2A400E9AA8D94E4C67E8A1', '10E8D9B7808C4320AE9FB46DC3FFB082', '116FD960EBE74B0CA14C530267B75C8F', '223C64EE600642C2A9033C453B0A8B23', '32451D783D5E47D9852F34D556E7B969', '3F8C5D6A085945D6AC95EC154A2CB179', '4746B84C532B47DD9E324C3372A9D83C', '52BE534594AB4DA483BC0D3885859362', '602B29CBB91E4E0591C5F90E788DE1A6', '7FB5AD02C7CC4AB282B00D4782133FB1', 'C5EED39A761D407E809E89F7CC9B484E', 'C9AD6E6233F045D9A5DF367E18758189', '004D8F561837435AA53249685A2D3D0B', '07B336B6B44C4A2EAF11FD818E3C643A', '07F18255C9904ECEA6E0D0924F274B77', '0ABBCC11B63D47BBB228C798D0C8D0A9', '0E1D0DA96E194D12A0CDDDF072BB0C7D', '1FE6D3075C834E8997743F8AFCF85E4F', '293D13A4528B422F98F9559C38402128', '3CF70ED69CC54DFD8AC9494CD33006B5', '3E1D013390224FAA95BFAAD29FA8B420', '431BE2D328C44FA0BA3F3C5F992FD80C', '44D56EDBD76B473ABB14B60EB30D455D', '48D40C3D693D4226A7FFB0F227136031', '4B8FDCEB883B4B04B7898751B691222D', '50D21C55872F48BC8C21A2CE95B27536', '585762DC24574B5DA2213B1B58C72992', '654DF571FEC5412CB1242EEC27847009', '668653C1F66645F4AB2868636ADEE96B', '6AC533FAE050426D9A36628BC19075BF', '6F133754BE924535BD2C98A5961921DC', '80D166F087B147C69BB6E78F1035F74F', '9B8D64D88C984648BFD17F76BAAB48B7', '9EB14B53E6C14104888B351EF5E3660E', 'B329847CC46F40618A91A8E5E095E510', 'BCC7921430B04A3DAAD2B3D373D88B22', 'C2023A1336DA408E9A5E404337302259', 'C52915E7FEC247E497477F8E5C283A2C', 'C54F66A8EC73467D985AD3B02D28DD8E', 'DD9F359737914CAEB2AF7EF911A2EF8E', 'E15267B937F04B9B8231C1ECAF29082E', 'E24030F319B64C14B475B2CF23ADED6A', '005394FAEF204237BB3D7098D2591056', '01754857DF2E47CA9B28FDF918A135F7');
Date: 2026-07-14 09:06:20 Duration: 7s262ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('5D9F6E6AA5E742398B45143BDBDC98CA', '5F659817112742879A45407E524EAEE7', '5FE3EEC2A82149C5BBCD5562D71286C3', '5FF7CA8D9C4140F1BB75FA959DAFF0F1', '61B937EDDF6D43178623A464B914569A', '64B6D16D11424BA5980488B0A0B6DA8F', '687D9F6A82124B2891ABC63CE211735A', '69502BA7AC4346EBAE145909B5AA59A6', '6C4BFEB533D34D1C8CF38399EBC47B88', '6E29A0E2E5B044D39409890F31603871', '7378BFCFE83C4D9EB2EFF843A2359FCC', '7386509987E847D286015450B30F5594', '73FAE7FE15474D84BE0BABB61ED879F9', '744282EA415D49E8A34D70ADF06E63D0', '74D698E0135140B9A9DAD8492BC947DF', '75591D8699F447E78FC47AD966B3A68F', '76B352C36B6A450BA898C3FE9BBB73F2', '79A8792BA4C74DEDA6213E138FAA8E5D', '7B0E8DCDBE3A4B268447BB92F79A47F0', '7CE9A4FB122042CC94D0F7A4E827A304', '7E2375BDB9CE42F2BDB59177FA90B383', '7F04A7870B984BF1B34B3BEEB43027E8', '7F97D35530B1436BAB43B2452DD2E16A', '7FBC82FB84DA46FF9001DF6CC42C04F6', '7FC508B3B08F410DB141DC05DD78798A', '812944BA3ADC445BAC511F228555634E', '8171B31F66D54972AD03F377F300E6F7', '824F733598024D84A0344FF59D08A12A', '83BE903E71A149C690F825A5A2823EE7', '84A812DFE1F64574ADECA53D38831187', '84EFC1F1829C4A2B9581CB27221EFDD8', '854CE3925C6140E88C9C02D5E2E21A59', '867A96387B184761B44734B540FFD87D', '86A081CF9E83460899071F04FAE2402D', '86AEA2DF0F23455AB56482B79F7E35CA', '86F46B5C403442A6929C788A0CB86E08', '86FED2264CE140B3ADBD9CE10299A9BA', '87BED7A46B244842A03FC71FC375B461', '87FF476A72664319A8C9C396BEED1BF3', '893258C78B9B47EABE79D9BB12A0364C', '8B83028D8CDB424B942D20205F2FB8CE', '8C99D7DA096D435AB890EB4210BA3151', '8F885F3D12264B5198E4161D6F1DA6B9', '9033F78D35D04F5AA0171093BFF17DDF', '92600048906F4C64BCA266DA7015A456', '9333DCD8159F4FFFA07454173C50F4D1', '9386C6BAAA954057BBAAF57EF875BFEB', '943DA1949A68463ABED9425F5E81F271', '94C4AF7A222F402B937321BE6FA61AD3', '9769EC8C418445459F3CB0B3C2621880');
Date: 2026-07-14 06:16:20 Duration: 7s111ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('FF63095BFF9B4F6D99ADB360678B8C15', 'FD069F5934704B7DB2493B00D2867876', 'F85098242BBF4F589D347BDCF94A7C50', 'F56A5B860E774ABE9DFA7DA5BE70C62D', 'F216BBB5892B41AE813D35E8918E7E56', 'ECCA96E1F2014BF8AFDF0EE06B13E81D', 'E7C8D2D04FF34D69A8A96ABD68B9A708', 'E5D4253924E849388E914BEBF54979F2', 'E4CCF6412C484556A0C8020861021C34', 'D3B842372BF4492E90886C79438F9F5E', 'D0722CFEEC62452F9B360F79AA5CFDE7', 'C19B150B8F9B43AE91DC6527557739C3', 'ABD3309454AE449E9D465F2C1EC73506', '9BC0135E8733480DA51484BCBA481267', '8CD0E1EDE5CB4DB8A8A66A3A55C98DF9', '7A488573A97148A6A919DD9B5A097DB7', '666620F631B44AE8A7848D29977794E0', '6495D37F4B7047E1879F2721E4311020', '6217EE4C8E2449FF8F76D4FF7213F685', '603F625402AC4728B69F480949B86F7F', '5DD7D211EB7341ECB5020C9F96697F29', '5BB647DC43814EB2A71515A635B52042', '56985A7C30684E7CAB4490A538DABF1E', '44CB80CA1D914E5897B7B8E258A09E48', '3660D3A2668C4FDCAC35C18AE67DAA33', '343BC94439764312A9EDF8F6BB1B1C2C', '29B8BC7D1B61478B8CC248795780E598', '234C55B9B8C545B58A969D0CB571EB22', '1FD347B44B7640F3857890CFF4329512', '0E2726E470D44815B878C2BCB548B4AD', '067718F19B654228A4482B0F2F0F20B1', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FDAEE5296F9746BA854030D76737058F', 'FCAD41CA0C2542E6BA3FCC8A5199AA6F', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA013BF010E14DE5800767C55D3AB550', 'F8F0DA56076444C7A37EB4747B3DFF67', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7C5E4C18A6845D1A665C4E64F2AAF08', 'F5CBC3CA5B92479AB828A6E4CE2621FF', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'EF9B728F2E44476CA050799F6CC6E138', 'ECBA6B682C2C465C9D773CE9C48B001A', 'E813D96B592947AC9222270D4DFCB501', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E401EFDDBEBA437EBECF2F583657CE86', 'E2D41D6976C44D42A83214B886F99F92', 'E08000A1FB944F49AE2C72C2FCB708AE', 'D8A6B0E0B51F4ADA9A9C41A584CB2094');
Date: 2026-07-14 11:45:21 Duration: 7s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 8m31s 305 1s390ms 2s79ms 1s678ms select shipmentin0_.m_inout_id as m_inout_1_803_0_, shipmentin0_.ad_client_id as ad_clien2_803_0_, shipmentin0_.ad_org_id as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit ?) as formula47_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = ?) > ?) as formula50_0_, ( select c_getinvoicestatusfromshipment (shipmentin0_.m_inout_id) from dual) as formula51_0_ from m_inout shipmentin0_ where shipmentin0_.m_inout_id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 06 10 17s684ms 1s768ms 07 33 53s174ms 1s611ms 08 37 1m 1s625ms 09 19 31s636ms 1s665ms 10 24 40s317ms 1s679ms 11 70 2m2s 1s753ms 12 34 57s959ms 1s704ms 13 24 39s818ms 1s659ms 14 12 18s94ms 1s507ms 15 24 40s743ms 1s697ms 16 8 14s59ms 1s757ms 17 10 15s536ms 1s553ms [ User: tad - Total duration: 8m31s - Times executed: 305 ]
[ Application: openbravo - Total duration: 8m31s - Times executed: 305 ]
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('7A81F2D4348142FF9C0902A27103066B', '3402A5272A564156BBC0D3991163817F', '009EE0324F7E41799D6D9D224A73C31A', '170A48A084304820AE0BDC77FBEAE6B8', 'A2570FD9DD9C4ACF814CAE4B551D2818', '986BFA9FA6C743449FB36936354BE9F8', 'A909D7C57EF14287B6CEFF979761A1D6', 'E523AB5F5A7B4F19A55C77E0203583C6', '10610C50E3034B1AB3CE583EC88A14F0', '878B7EF087514150BB0626153A5061E7', '1E52F420D1304D77B2715497CFFFACC7', '7985AE47591D4527925EEE508927E415', '39CDEF5844454FC7930C1B3B90BA2413', 'FF5E2F218B32433B819C90AC72956B00', '331231E128A749C5988928F061950E87', 'BE6A561CA91B44D9AC0024E49726599E', 'A13FBD36ED714D1BB09FCB0E9AC96FC6', '27CDC6908C6346BEB585B450D5B7A660', '27964CEECBD34373AA18F5D701F40EAD', '6ED4C0CAEF26411EB012E9FAE09ABAB1', 'CE18A57126514D07B48F4F93113352C5', 'A6B8A7B41D61457B981A8D702829CC7A', '49EA92F3A2D441529FA93D3697E3F67B', 'C85FE436323F44BCBD72E0DD6261A83A', 'FF423195C7AE417B85D81D5AB426AEC3', 'D63C3F5DA30A400DAE2B76310436AB68', '4656FB00F5AF4E3D8ECDB6635B87BC9C', 'BFE0CF7A2DAD469EA4F5C93D6E13A53C', '41C0B84E1FBB4527A6D6C9DFC6121C98', '120DFEDCB2DB44DD9F903970D21BD9A1', 'B0815ECA19CF4C8EAB68A1DD594121EF', 'F66583A0ED6C4035BA695E37B8A75BD0', '3B13C91FC1714BE68CC7A78B81E3EE81', 'A667948E85174019B01C68ABBA094407', '8D5E168327A54A31BDE8067C02E47703', '349F4B3D200145CBAF01DE0A999EBAF8', '02CA8F57951349A29715EB12C2C1B0ED', 'DBAB5710A7F54D4CB0ABB4B606FAF84F', '74AECADF1904408581913D0BC425458A', '363FD2013B8B4BA08E751046B075F1A1', 'D26B3DDC44334D81AEC528DBEA7ADF99', '3DB261002DCB41A7A1BCCE0A142D832C', '6D9DF86129064E9BAE6E9869A9AA410E', '741DD7E068C849C786C42B023FBE1957', '2A1FBFBB44D2450185F90572C662F302', '307D25AA5E1A46FE8C28741CB1201562', '06D116305C87426D83D2E56202AFCC31', '02A2883DCC7D414FA01AF7EA00D12092', 'C61DA68749D54E7F92B56A75A245D39F', '5EE4E3B2B5DD4878AB902576CD2081D0');
Date: 2026-07-14 11:40:59 Duration: 2s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('9DC6D8D8DAA24C95BF77383DDBEDABED', 'EC0467A729FF43F8814CE52C5DD2571F', '26725026B16F41A58E34129FFA625444', '1B48AA0947E04C6093B28B70CC500A07', '19F69F6C5CDA4BB591EFD7B1C4CC6C73', 'AD5B83013B144B9F8AB9E59BC4297FF6', 'C332AAA98E3B446583CE02AA5FBE54D6', '230FC012DBAD49AEA19239510781B2C6', '680CA4BDF4BD432B89D98C1B8E0D1FC4', '424B3747C2BE4190BB81E0E2730BC0F3', '70D4F7AD17B1414DBF589F538F284F9F', '27A2FC0DEDD24137A88C4342B4B210FC', '8199FA34BFAE46409657B3459077DB3E', '77D3F57B76B74F1E85B8ED6E4B4BF4B3', '071537FFEE424EAEB860E283AB005DCC', '4EA83586685548DE8773FEC327348C88', '75A5AE126ABB46C18B307A19682F06FD', 'E5429C5151ED4E89B78DAC5252011221', 'A6165C6EB874407FADA9AEA841F551B0', 'CBA8FF69D6DE436D9C3D7DCA5B12C924', '920781ED04944284B1B0D81B4D235441', 'EF7AC5FBAA4E40BB8965041DA7714264', 'CE5C97A2BDEE4F54BF21AA842D4A50B4', 'D5C0F8668E7445F5A87308BFEA8D4345', 'CEAA89B2B46742D9B47434C82E641027', 'B20E75B03A88406992F87D4269B2C5DC', '03E420B0DBFF4225BF439895882D85FA', 'C2664C43F0D04C8EA15BA640CE9E6606', '2BF4616FC3D84992A751B09013A26FB3', 'D044B50EF66E48D98E4A09697D34BEC7', 'D84332F825B445AA8B707BF1B9D56917', 'C5EBD764F1D842AE86B44CF55AC4F41D', '8CE783A911C1459DA40547DE0552A6F5', '5679CA0E542B4155BE87598D12929356', 'E1D09614277E42778E2E49363DC43EAF', 'FAC436A5E6A24791BE8E3BACB867452E', 'C3A8E5BC514B4517BA00340A61FE5461', 'CEDA7D39E8244899BE7BC16B4086E0ED', 'CD32ED2D4E604152B22CAA2B287F081B', '6001159C30834525AC2008340E73D313', '8012BC1151584B5D99AD72BCFCD82FE9', '533F88556E624CDBB65EEADF0BD6DA97', '01679F0C338D4BA0BEBF97727BA22FBE', 'BCDAC102065B486D952C1273769B36B9', '7431E39B9CB34F4AAB83724BB49EE1AF', 'B468F635F1EE41F98203CEDF291141BB', '435C2C757E26405AB4DF32D536F0CD84', 'D9E3804CD84045098DB19C1F584C6F3F', 'A1BD8E5516AE4BC58B4B6496BC133A2E', '30F3E285A6714D2F87741427810C37D7');
Date: 2026-07-14 15:36:18 Duration: 2s57ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('5DD73FD9395B462B9F4B5206F5B745A6', '21A28B3DC40748C3A89F878AE86B91E6', '1B1235FA3A8F4351B4D7D9A47E365A64', '66E3079B59ED4C35A575BE994D646D82', '4D29F2357E5B4F78B0678334DA49884E', '4BCCDECDA5D44213BB3D596921F52C26', '17D02C8131F94ED8AAFD3777E51C7404', '6B09905C1EA34A199FED826C1ADF341B', '4B59EE590F6B46C8B94218B66B51E9CA', 'CB4090C1E27B4AF38CD3F3A23E401EAE', '07E58854A5464D479BB9B4E5B5AF9DD8', '35C950B969094019A6207F1A5CFA2CA5', '04B6548071B84C0DA0C4A73788F83A82', '5181D918674F46DB933EC737D219A9FE', '6E9744B2E89F43CA8A22D4A7DAD5C186', '09A9AD62C1344CC4BDFD9107E19938D9', '334DF0868F42478582DA85832EC981D4', 'C64F715C1B8941FD86BCCA9F883E2F16', '70C7F0DF45FE4231B80CA3446B9EA0EA', 'ECAF017AF63A42D2A3C1F309ADF75C33', '0196CB50B84C4FA08B8D3214255BF7E7', 'DBED690CA45043DDBD41D0EE516B66A1', '591FFBB512A84CC3B6E2785BBBC94797', '901932DDD31F4B02A498B862899A5ED7', 'EFC7A6A5C82248EFA7255F35995C17B8', '5D3C3368538544A187B2A64C8EAEC3D7', '4073719CF1774C1EB3120E0C9318A2B2', '698EF5F6345943BFA764735F4BAE8914', '9501F3F3FD2E4411B5A6F60BEB364215', '9C4AF243BB144E68A6793E8D51DDE30A', 'C7695484A7694F99BB058FBC699A02BB', 'CF506FC0564941E283F616C3C75EDFB6', '75B8F2F6263349A784C9671F12680D6F', 'F30E36C2EB024CF18F21616A2087FE69', '1A6C4046F0AB4FA2821D99415CE6A2EE', '9ABCFBE5D8AE4F8EB979FD35BA61116F', 'D14175A230FB4149965C0E11043362BE', '607E9EC0C4DC4218BFCF0C0E9A6B6501', '30A668F400BD4AF9A4C32C496D0B2710', 'F05DFAE567CD4C3587D3C94D333EC33A', '2BA7AF9028A74382A3B2AD95349E8389', 'DEF9164477EF425CAF431EFEE6882426', '961D6303AEDA4BD2A28354E33187E733', '6721DAFCB133498C850B57695BF6A45D', '58B6C1483E2540BBBD9EB7DFD8542290', '307AD061863A41EC9AE2C62F7C4C261E', 'F4EFD134230B427AA206C147B3EA5858', 'ABA48A487596418BBB803691DFAE4A1D', '19A501DD859844998CB67FA0D2879612', '092A91E40C7442F59B353ABF705107F5');
Date: 2026-07-14 11:45:52 Duration: 2s35ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 8m21s 76 1s502ms 10s647ms 6s597ms select packing_co0_.obwpack_packingh_id as obwpack_1_1080_0_, packing_co0_.ad_client_id as ad_clien2_1080_0_, packing_co0_.ad_org_id as ad_org_i3_1080_0_, ( select coalesce(( case when exists ( select ? from prpp_box where prpp_box.obwpack_packingh_id = packing_co0_.obwpack_packingh_id) then ( select count(?) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.obwpack_packingh_id = packing_co0_.obwpack_packingh_id and prpp_box_type.isgroup <> ?) else ( select count(?) from obwpack_box ob where ob.obwpack_packingh_id = packing_co0_.obwpack_packingh_id) end), ?)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.obwpack_packingh_id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 09 31 3m41s 7s151ms 10 12 1m13s 6s83ms 11 6 38s659ms 6s443ms 12 4 21s310ms 5s327ms 13 4 20s204ms 5s51ms 14 8 57s271ms 7s158ms 15 2 18s171ms 9s85ms 16 4 20s613ms 5s153ms 17 5 30s475ms 6s95ms [ User: tad - Total duration: 8m21s - Times executed: 76 ]
[ Application: openbravo - Total duration: 8m21s - Times executed: 76 ]
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC', 'ECBA6B682C2C465C9D773CE9C48B001A', '45F5BB5EFAB74478AEAAA4E6AB642034', '5582F4BDEC4549398E0FF7D7BCF52B63', '7A8B5CB9F2614168B3E7FCAD5039F796', '13DC0B5ED33E456BBAD650BB7D2AE556', 'B3CC404E28744D4598BAE60897523857', '2E023DF03CA044C791ED10550AE8571D', '2413BD2F93D3451AA8E8F4484A9100D2', '302213D72FBD4D948F8B521EE7906443', '1E48F5D7F1B5436BACC40DC8A1FFA9DB', '11E4353A1F0949F68BA8F63E51CD3171', '979A0615763346FCB3A9A53C67190828', '82B7260C347545068F1415D4ECCBEDE1', '9B87E7FCEF264379B9E654F81D086B73', 'E401EFDDBEBA437EBECF2F583657CE86', '1215B1DE484D43959C5B1B09849356BA', '1A15D4AD9B374994943A6C9366CB3C23', '8207B8C0953348D6B3253330346F62EF');
Date: 2026-07-14 11:57:54 Duration: 10s647ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('579A4114A3B648EFB99874C45D3891B4', 'F8F0DA56076444C7A37EB4747B3DFF67', '645154C4852D49D79421CC886A40BF6A', 'E24DE7CD8B464112A0C71F1AAE910647', '7BD9134A471F441F9AF195BAB094F039', 'EE8B3869230943DABC826D0A253C9691', '5DD7D211EB7341ECB5020C9F96697F29', 'CFE2434AFAB644AFB4CA4A86764EBE72', '4C50CE6C5BA74FD4A70162514D5D2220', '1FD347B44B7640F3857890CFF4329512', '0D28E288E99B4971B9FBB2465A220FAB', 'C8DC08F8E7DE4AF7B8F13EE6D097FFF3', 'E1712B744FD64A72BBCDE24AC48D9D1E', '262BFD8A05794006BE919075DE648CFC', '84C325968EF844989E6DA7D2F838BB11', '9AB03B605A5B4FD0977B12FC7A7A9BBB', '4DD9237C2D7640DDBE2E4E15AC68D3E6', 'EA531FDFCE424DF3AA31410CDFE950A7', '2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC');
Date: 2026-07-14 17:47:17 Duration: 10s615ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('579A4114A3B648EFB99874C45D3891B4', 'F8F0DA56076444C7A37EB4747B3DFF67', '645154C4852D49D79421CC886A40BF6A', 'E24DE7CD8B464112A0C71F1AAE910647', '7BD9134A471F441F9AF195BAB094F039', 'EE8B3869230943DABC826D0A253C9691', '5DD7D211EB7341ECB5020C9F96697F29', 'CFE2434AFAB644AFB4CA4A86764EBE72', '4C50CE6C5BA74FD4A70162514D5D2220', '1FD347B44B7640F3857890CFF4329512', '0D28E288E99B4971B9FBB2465A220FAB', 'C8DC08F8E7DE4AF7B8F13EE6D097FFF3', 'E1712B744FD64A72BBCDE24AC48D9D1E', '262BFD8A05794006BE919075DE648CFC', '84C325968EF844989E6DA7D2F838BB11', '9AB03B605A5B4FD0977B12FC7A7A9BBB', '4DD9237C2D7640DDBE2E4E15AC68D3E6', 'EA531FDFCE424DF3AA31410CDFE950A7', '2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC');
Date: 2026-07-14 15:43:50 Duration: 10s583ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 6m23s 10 10s304ms 1m13s 38s325ms select advmrp_processplan2 (?, ?, ?, ?, null, ?, ?, ?) as result from dual;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 06 10 6m23s 38s325ms [ User: tad - Total duration: 6m23s - Times executed: 10 ]
[ Application: openbravo - Total duration: 6m23s - Times executed: 10 ]
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'B4C6E38537EE44708FC6C3F0592B6F37', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:43 Duration: 1m13s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '8009A4ABA9834C7BB7B8364A97BFECC0', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:32 Duration: 1m2s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '63018C7A541E4CCCA6E4BF2E4C2117D0', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:33 Duration: 1m2s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 6m11s 10 17s10ms 1m17s 37s196ms select advmrp_run_explode2 (?, ?, ?, ?, null, ?, ?, ?, ?) as result from dual;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 06 10 6m11s 37s196ms [ User: tad - Total duration: 6m11s - Times executed: 10 ]
[ Application: openbravo - Total duration: 6m11s - Times executed: 10 ]
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'B3F6D1CFB16549258CE9B367C0B402DF', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:19 Duration: 1m17s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'C5D6A30700E246F1B8A5183241B7AD7B', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-14 06:04:56 Duration: 54s946ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '9BCFA5D73E3845A0872B6EE3F31FC15F', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-14 06:04:51 Duration: 50s383ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 6m4s 185 1s781ms 2s367ms 1s970ms select businesspa0_.c_bpartner_location_id as c_bpartn1_395_, businesspa0_.ad_client_id as ad_clien2_395_, businesspa0_.ad_org_id as ad_org_i3_395_, businesspa0_.isactive as isactive4_395_, businesspa0_.created as created5_395_, businesspa0_.createdby as createdb6_395_, businesspa0_.updated as updated7_395_, businesspa0_.updatedby as updatedb8_395_, businesspa0_.name as name9_395_, businesspa0_.isbillto as isbillt10_395_, businesspa0_.isshipto as isshipt11_395_, businesspa0_.ispayfrom as ispayfr12_395_, businesspa0_.isremitto as isremit13_395_, businesspa0_.phone as phone14_395_, businesspa0_.phone2 as phone15_395_, businesspa0_.fax as fax16_395_, businesspa0_.c_salesregion_id as c_sales17_395_, businesspa0_.c_bpartner_id as c_bpart18_395_, businesspa0_.c_location_id as c_locat19_395_, businesspa0_.istaxlocation as istaxlo20_395_, businesspa0_.upc as upc21_395_, businesspa0_.em_pbl_ad_language as em_pbl_22_395_, businesspa0_.em_prdp_language as em_prdp23_395_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgpc24_395_, businesspa0_.em_prscrm_billto as em_prsc25_395_, businesspa0_.em_prscrm_shipto as em_prsc26_395_, businesspa0_.em_prmag_mail as em_prma27_395_, businesspa0_.em_etabam_c_bp_bankaccount_id as em_etab28_395_, businesspa0_.em_fshedi_receiver_location_id as em_fshe29_395_, businesspa0_.em_ship_delivery_period_id as em_ship30_395_, businesspa0_.em_fshedi_buyer_location_id as em_fshe31_395_, businesspa0_.em_ship_delivery_charges as em_ship32_395_, businesspa0_.em_fshedi_ean as em_fshe33_395_, businesspa0_.em_bass_value as em_bass34_395_, businesspa0_.em_prrak_mail as em_prra35_395_, businesspa0_.em_bass_shipper_id as em_bass36_395_, businesspa0_.em_bass_freightcostrule as em_bass37_395_, businesspa0_.em_prmag_taxid as em_prma38_395_, businesspa0_.em_bass_bp_location_id as em_bass39_395_, businesspa0_.em_pramz_code as em_pram40_395_, businesspa0_.em_bass_bpclasification_id as em_bass41_395_, businesspa0_.em_bass_freight_id as em_bass42_395_, businesspa0_.em_prqc_valuation_conf_id as em_prqc43_395_, businesspa0_.em_bass_deliverynotes as em_bass44_395_, businesspa0_.em_spcsv_csvexport as em_spcs45_395_, businesspa0_.em_spcsv_csvmail as em_spcs46_395_, businesspa0_.em_spcsv_csvsendplace as em_spcs47_395_, businesspa0_.em_bass_classif_detail_id as em_bass48_395_ from c_bpartner_location businesspa0_ left outer join c_location location1_ on businesspa0_.c_location_id = location1_.c_location_id left outer join c_region region2_ on location1_.c_region_id = region2_.c_region_id left outer join c_country country3_ on location1_.c_country_id = country3_.c_country_id where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.phone), ?) || ?| | coalesce(to_char(businesspa0_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location1_.address1), ?) || ?| | coalesce(to_char(location1_.address2), ?) || ?| | coalesce(to_char(location1_.postal), ?) || ?| | coalesce(to_char(location1_.city), ?) || ?| | coalesce(to_char(region2_.name), ?) || ?| | coalesce(to_char(( select countrytrl4_.name from c_country_trl countrytrl4_ where countrytrl4_.c_country_id = country3_.c_country_id and countrytrl4_.ad_language = ?)), to_char(country3_.name), ?))), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order5_ inner join c_bpartner_location businesspa6_ on order5_.c_bpartner_location_id = businesspa6_.c_bpartner_location_id cross join c_doctype documentty7_ where order5_.c_doctypetarget_id = documentty7_.c_doctype_id and order5_.issotrx = ? and documentty7_.isreturn = ? and (documentty7_.docsubtypeso not like ?) and businesspa6_.c_bpartner_location_id = businesspa0_.c_bpartner_location_id and (order5_.ad_org_id in (...)) and (order5_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.phone, businesspa0_.phone2, location1_.address1, location1_.address2, location1_.postal, location1_.city, region2_.c_region_id, country3_.c_country_id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 09 27 53s46ms 1s964ms 10 19 37s563ms 1s977ms 11 28 55s769ms 1s991ms 12 34 1m7s 1s980ms 13 25 49s283ms 1s971ms 14 13 25s329ms 1s948ms 15 5 11s133ms 2s226ms 16 34 1m5s 1s915ms [ User: tad - Total duration: 6m4s - Times executed: 185 ]
[ Application: openbravo - Total duration: 6m4s - Times executed: 185 ]
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%60768%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:18 Duration: 2s367ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%607689706%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:19 Duration: 2s304ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%607689%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:18 Duration: 2s278ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 5m37s 309 1s23ms 3s499ms 1s91ms select this_.advcrm2_deleted_records_id as advcrm1_151_0_, this_.ad_client_id as ad_clien2_151_0_, this_.ad_org_id as ad_org_i3_151_0_, this_.isactive as isactive4_151_0_, this_.created as created5_151_0_, this_.createdby as createdb6_151_0_, this_.updated as updated7_151_0_, this_.updatedby as updatedb8_151_0_, this_.module as module9_151_0_, this_.date_deletion as date_de10_151_0_, this_.record_id as record_11_151_0_, this_.table_name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.date_deletion >= ? and this_.isactive = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 11 103 1m57s 1s136ms 13 103 1m50s 1s71ms 14 103 1m50s 1s68ms [ User: tad - Total duration: 5m37s - Times executed: 309 ]
[ Application: openbravo - Total duration: 5m37s - Times executed: 309 ]
-
select this_.Advcrm2_Deleted_Records_ID as advcrm1_151_0_, this_.AD_Client_ID as ad_clien2_151_0_, this_.AD_Org_ID as ad_org_i3_151_0_, this_.Isactive as isactive4_151_0_, this_.Created as created5_151_0_, this_.Createdby as createdb6_151_0_, this_.Updated as updated7_151_0_, this_.Updatedby as updatedb8_151_0_, this_.Module as module9_151_0_, this_.Date_Deletion as date_de10_151_0_, this_.Record_ID as record_11_151_0_, this_.Table_Name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.Date_Deletion >= '2026-07-13 13:21:06' and this_.Isactive = 'Y';
Date: 2026-07-14 11:03:30 Duration: 3s499ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select this_.Advcrm2_Deleted_Records_ID as advcrm1_151_0_, this_.AD_Client_ID as ad_clien2_151_0_, this_.AD_Org_ID as ad_org_i3_151_0_, this_.Isactive as isactive4_151_0_, this_.Created as created5_151_0_, this_.Createdby as createdb6_151_0_, this_.Updated as updated7_151_0_, this_.Updatedby as updatedb8_151_0_, this_.Module as module9_151_0_, this_.Date_Deletion as date_de10_151_0_, this_.Record_ID as record_11_151_0_, this_.Table_Name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.Date_Deletion >= '2026-07-14 11:05:22' and this_.Isactive = 'Y';
Date: 2026-07-14 13:16:21 Duration: 1s394ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select this_.Advcrm2_Deleted_Records_ID as advcrm1_151_0_, this_.AD_Client_ID as ad_clien2_151_0_, this_.AD_Org_ID as ad_org_i3_151_0_, this_.Isactive as isactive4_151_0_, this_.Created as created5_151_0_, this_.Createdby as createdb6_151_0_, this_.Updated as updated7_151_0_, this_.Updatedby as updatedb8_151_0_, this_.Module as module9_151_0_, this_.Date_Deletion as date_de10_151_0_, this_.Record_ID as record_11_151_0_, this_.Table_Name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.Date_Deletion >= '2026-07-14 13:16:19' and this_.Isactive = 'Y';
Date: 2026-07-14 13:16:23 Duration: 1s364ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 5m25s 99 3s42ms 3s582ms 3s291ms select sum(order0_.totallines) as col_0_0_ from c_order order0_ left outer join c_bpartner_location businesspa1_ on order0_.c_bpartner_location_id = businesspa1_.c_bpartner_location_id left outer join c_location location2_ on businesspa1_.c_location_id = location2_.c_location_id left outer join c_location location3_ on businesspa1_.c_location_id = location3_.c_location_id left outer join c_region region4_ on location3_.c_region_id = region4_.c_region_id left outer join c_location location5_ on businesspa1_.c_location_id = location5_.c_location_id left outer join c_country country6_ on location5_.c_country_id = country6_.c_country_id cross join c_doctype documentty9_ where order0_.c_doctypetarget_id = documentty9_.c_doctype_id and (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.phone), ?) || ?| | coalesce(to_char(businesspa1_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location2_.address1), ?) || ?| | coalesce(to_char(location2_.address2), ?) || ?| | coalesce(to_char(location2_.postal), ?) || ?| | coalesce(to_char(location2_.city), ?) || ?| | coalesce(to_char(region4_.name), ?) || ?| | coalesce(to_char(( select countrytrl7_.name from c_country_trl countrytrl7_ where countrytrl7_.c_country_id = location5_.c_country_id and countrytrl7_.ad_language = ?)), to_char(country6_.name), ?))), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty9_.isreturn = ? and (documentty9_.docsubtypeso not like ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 09 14 46s774ms 3s341ms 10 8 25s997ms 3s249ms 11 21 1m9s 3s326ms 12 20 1m6s 3s308ms 13 9 29s922ms 3s324ms 14 12 39s111ms 3s259ms 15 3 9s714ms 3s238ms 16 12 38s315ms 3s192ms [ User: tad - Total duration: 5m25s - Times executed: 99 ]
[ Application: openbravo - Total duration: 5m25s - Times executed: 99 ]
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%695506023%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 09:46:33 Duration: 3s582ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%646856872%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 11:40:24 Duration: 3s581ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%674220192%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 11:50:03 Duration: 3s560ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 4m52s 133 1s944ms 3s177ms 2s201ms select bass_produ0_.bass_product_deposit_v_id as bass_pro1_344_0_, bass_produ0_.ad_client_id as ad_clien2_344_0_, bass_produ0_.ad_org_id as ad_org_i3_344_0_, bass_produ0_.isactive as isactive4_344_0_, bass_produ0_.created as created5_344_0_, bass_produ0_.createdby as createdb6_344_0_, bass_produ0_.updated as updated7_344_0_, bass_produ0_.updatedby as updatedb8_344_0_, bass_produ0_.type as type9_344_0_, bass_produ0_.m_product_id as m_produ10_344_0_, bass_produ0_.qty as qty11_344_0_, bass_produ0_.m_attributesetinstance_id as m_attri12_344_0_, bass_produ0_.m_locator_id as m_locat13_344_0_, bass_produ0_.m_warehouse_id as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.ad_orgmrp_id as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.fash_product_group_id as fash_pr18_344_0_, bass_produ0_.fash_collection_id as fash_co19_344_0_, bass_produ0_.c_campaign_id as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.bass_product_deposit_v_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 06 4 10s89ms 2s522ms 07 1 2s100ms 2s100ms 08 4 9s270ms 2s317ms 09 9 20s396ms 2s266ms 10 10 23s353ms 2s335ms 11 18 39s854ms 2s214ms 12 5 11s159ms 2s231ms 13 5 11s150ms 2s230ms 14 2 4s363ms 2s181ms 15 6 14s42ms 2s340ms 16 24 53s42ms 2s210ms 17 32 1m7s 2s94ms 19 13 26s918ms 2s70ms [ User: tad - Total duration: 4m52s - Times executed: 133 ]
[ Application: openbravo - Total duration: 4m52s - Times executed: 133 ]
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'reservationC3E6D24D8B6144BABD81268BAF2D7051D91EE4DD14D8455EBA4B8F7A0B9F30E74D984CB06A164ABBA50ABE9EA2088DDCFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 06:14:44 Duration: 3s177ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockCB1E6514995F44FF98A424ADD1EAF43B8869C9F42B3F4A98A0C2773C645974B6695C443ED6B44343B2E5311982455BE2FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 10:16:19 Duration: 3s115ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockF6BDDB689C5A4CEC97D22725F4177AEA5D9F333F0C064A139174580F848C9A79BFB2555FCD4A4ACA959A9E611019A3AFFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 16:05:58 Duration: 3s93ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 3m7s 1 3m7s 3m7s 3m7s select advmrp_run_initialize2 (?, ?, ?, ?, null, null, null, null, null, null, ?, ?, ?, null, ?, ?) as result from dual;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 06 1 3m7s 3m7s [ User: tad - Total duration: 3m7s - Times executed: 1 ]
[ Application: openbravo - Total duration: 3m7s - Times executed: 1 ]
-
SELECT ADVMRP_RUN_INITIALIZE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'CC6D86C01D4745F58842B3C734CB18A0', NULL, NULL, NULL, NULL, NULL, NULL, '180', '2026-07-14 00:00:00', 'Y', NULL, 'GPP', 'N') AS RESULT FROM DUAL;
Date: 2026-07-14 06:03:07 Duration: 3m7s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 2m50s 38 4s102ms 4s938ms 4s487ms select order0_.c_order_id as c_order_1_467_, order0_.ad_client_id as ad_clien2_467_, order0_.ad_org_id as ad_org_i3_467_, order0_.isactive as isactive4_467_, order0_.created as created5_467_, order0_.createdby as createdb6_467_, order0_.updated as updated7_467_, order0_.updatedby as updatedb8_467_, order0_.issotrx as issotrx9_467_, order0_.documentno as documen10_467_, order0_.docstatus as docstat11_467_, order0_.docaction as docacti12_467_, order0_.processing as process13_467_, order0_.processed as process14_467_, order0_.c_doctype_id as c_docty15_467_, order0_.c_doctypetarget_id as c_docty16_467_, order0_.description as descrip17_467_, order0_.isdelivered as isdeliv18_467_, order0_.isinvoiced as isinvoi19_467_, order0_.isprinted as isprint20_467_, order0_.isselected as isselec21_467_, order0_.salesrep_id as salesre22_467_, order0_.dateordered as dateord23_467_, order0_.datepromised as datepro24_467_, order0_.dateprinted as datepri25_467_, order0_.dateacct as dateacc26_467_, order0_.c_bpartner_id as c_bpart27_467_, order0_.billto_id as billto_28_467_, order0_.c_bpartner_location_id as c_bpart29_467_, order0_.poreference as porefer30_467_, order0_.isdiscountprinted as isdisco31_467_, order0_.c_currency_id as c_curre32_467_, order0_.paymentrule as payment33_467_, order0_.c_paymentterm_id as c_payme34_467_, order0_.invoicerule as invoice35_467_, order0_.deliveryrule as deliver36_467_, order0_.freightcostrule as freight37_467_, order0_.freightamt as freight38_467_, order0_.deliveryviarule as deliver39_467_, order0_.m_shipper_id as m_shipp40_467_, order0_.c_charge_id as c_charg41_467_, order0_.chargeamt as chargea42_467_, order0_.priorityrule as priorit43_467_, order0_.totallines as totalli44_467_, order0_.grandtotal as grandto45_467_, order0_.m_warehouse_id as m_wareh46_467_, order0_.m_pricelist_id as m_price47_467_, order0_.istaxincluded as istaxin48_467_, order0_.c_campaign_id as c_campa49_467_, order0_.c_project_id as c_proje50_467_, order0_.c_activity_id as c_activ51_467_, order0_.posted as posted52_467_, order0_.ad_user_id as ad_user53_467_, order0_.copyfrom as copyfro54_467_, order0_.dropship_bpartner_id as dropshi55_467_, order0_.dropship_location_id as dropshi56_467_, order0_.dropship_user_id as dropshi57_467_, order0_.isselfservice as isselfs58_467_, order0_.ad_orgtrx_id as ad_orgt59_467_, order0_.user1_id as user60_467_, order0_.user2_id as user61_467_, order0_.deliverynotes as deliver62_467_, order0_.c_incoterms_id as c_incot63_467_, order0_.incotermsdescription as incoter64_467_, order0_.generatetemplate as generat65_467_, order0_.delivery_location_id as deliver66_467_, order0_.copyfrompo as copyfro67_467_, order0_.fin_paymentmethod_id as fin_pay68_467_, order0_.fin_payment_priority_id as fin_pay69_467_, order0_.rm_pickfromshipment as rm_pick70_467_, order0_.rm_receivematerials as rm_rece71_467_, order0_.em_obcma_c_poc_email_id as em_obcm72_467_, order0_.rm_createinvoice as rm_crea73_467_, order0_.c_return_reason_id as c_retur74_467_, order0_.rm_addorphanline as rm_addo75_467_, order0_.a_asset_id as a_asset76_467_, order0_.calculate_promotions as calcula77_467_, order0_.c_costcenter_id as c_costc78_467_, order0_.convertquotation as convert79_467_, order0_.c_reject_reason_id as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.quotation_id as quotati82_467_, order0_.so_res_status as so_res_83_467_, order0_.create_polines as create_84_467_, order0_.iscashvat as iscashv85_467_, order0_.em_obmfm_selectfreight as em_obmf86_467_, order0_.em_obmfm_delivery_period_id as em_obmf87_467_, order0_.rm_pickfromreceipt as rm_pick88_467_, order0_.cancelandreplace as cancela89_467_, order0_.em_advcrm_newactivity as em_advc90_467_, order0_.em_advmrp_isnotproducible as em_advm91_467_, order0_.em_aprm_addpayment as em_aprm92_467_, order0_.em_obmfm_delivery_charges as em_obmf93_467_, order0_.em_fash_datelimit as em_fash94_467_, order0_.em_obmfm_freight_id as em_obmf95_467_, order0_.em_obwpl_generatepicking as em_obwp96_467_, order0_.em_advcrm_opportunity_id as em_advc97_467_, order0_.em_fash_datevalue as em_fash98_467_, order0_.em_obmfm_weight as em_obmf99_467_, order0_.em_obwpl_isinpickinglist as em_obw100_467_, order0_.em_fash_sendbeforedate as em_fas101_467_, order0_.em_obwpl_readypl as em_obw102_467_, order0_.em_fash_order_type_id as em_fas103_467_, order0_.em_sgpcrm_securitygroups_id as em_sgp104_467_, order0_.em_obmfm_weight_uom_id as em_obm105_467_, order0_.em_advptc_financial_acct_id as em_adv106_467_, order0_.em_obmfm_set_weight as em_obm107_467_, order0_.em_advptc_bp_bankacct_id as em_adv108_467_, order0_.em_aeatsii_fecha_operacion as em_aea109_467_, order0_.confirmcancelandreplace as confir110_467_, order0_.em_advptc_percentage_dist as em_adv111_467_, order0_.em_aeatsii_descripcion_sii as em_aea112_467_, order0_.em_etabam_bankaccount_id as em_eta113_467_, order0_.em_etpr_remove_payment as em_etp114_467_, order0_.em_advptc_typedistribution as em_adv115_467_, order0_.em_advptc_payment_cond_id as em_adv116_467_, order0_.em_etvfac_reversed_invoice as em_etv117_467_, order0_.cancelledorder_id as cancel118_467_, order0_.em_etblkc_bulkcompletion as em_etb119_467_, order0_.em_fshedi_buyer_location_id as em_fsh120_467_, order0_.em_prmag2_grandtotal as em_prm121_467_, order0_.replacedorder_id as replac122_467_, order0_.iscancelled as iscanc123_467_, order0_.replacementorder_id as replac124_467_, order0_.em_prouti_order_stock as em_pro125_467_, order0_.em_etafdp_undoclose as em_eta126_467_, order0_.em_fash_servefrom as em_fas127_467_, order0_.em_prouti_pregenerate_minout as em_pro128_467_, order0_.em_etinter_interco_orig as em_eti129_467_, order0_.em_prouti_sotopo as em_pro130_467_, order0_.bpartner_extref as bpartn131_467_, order0_.em_bass_costfactor as em_bas132_467_, order0_.em_bass_isproform as em_bas133_467_, order0_.em_fshedi_dptocompra as em_fsh134_467_, order0_.em_prpp_generatepicking as em_prp135_467_, order0_.em_bass_observations as em_bas136_467_, order0_.em_fshedi_sucursal as em_fsh137_467_, order0_.em_bass_pickstock as em_bas138_467_, order0_.em_bass_pl_generatepicking as em_bas139_467_, order0_.em_ml_select_product as em_ml_140_467_, order0_.em_prscrm_suitedocid as em_prs141_467_, order0_.em_bass_rm_pickfromshipment as em_bas142_467_, order0_.em_bass_create_returnreceipt as em_bas143_467_, order0_.em_bass_freight_currency_id as em_bas144_467_, order0_.em_bass_area as em_bas145_467_, order0_.em_bass_plprocessing as em_bas146_467_, order0_.em_prrak_reference as em_prr147_467_, order0_.em_advcrm2_name as em_adv148_467_, order0_.em_prrak_void_order as em_prr149_467_, order0_.em_advcrm2_scene_id as em_adv150_467_, order0_.em_prsc_commissiontype as em_prs151_467_, order0_.em_advcrm2_discount_id as em_adv152_467_, order0_.em_prmag_reference as em_prm153_467_, order0_.em_prmag_void_order as em_prm154_467_, order0_.em_prouti_totalizations as em_pro155_467_, order0_.em_bass_deliverynotes as em_bas156_467_, order0_.em_prmeci_order_id as em_prm157_467_, order0_.em_prmeci_grandtotal as em_prm158_467_, order0_.em_bass_enablepricezero as em_bas159_467_, order0_.em_prmag_gift_wrap as em_prm160_467_, order0_.em_bass_change_bp as em_bas161_467_, order0_.em_pramz_orderid as em_pra162_467_, order0_.em_pramz_grandtotal as em_pra163_467_, order0_.em_prouti_reactiveorder as em_pro164_467_, order0_.em_prouti_grandtotalinitial as em_pro165_467_, order0_.em_prouti_totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.em_advcrm2_signature_image as em_adv168_467_, order0_.em_bass_partnerinvolved_id as em_bas169_467_, order0_.em_advcrm2_signature_name as em_adv170_467_, order0_.em_bass_maintincidents_id as em_bas171_467_, order0_.em_advcrm2_processing as em_adv172_467_, order0_.em_bass_requerecontrolquality as em_bas173_467_, order0_.em_bass_resolve_incidence as em_bas174_467_, order0_.em_bass_incidence_id as em_bas175_467_, order0_.em_pramz_marketplace as em_pra176_467_, order0_.em_prb2b_create_combinations as em_prb177_467_, order0_.em_prqc_generate_control as em_prq178_467_, order0_.em_advcrm2_sendmail as em_adv179_467_, order0_.em_prqc_processed as em_prq180_467_, order0_.em_advcrm2_errorsendmail as em_adv181_467_, order0_.em_bass_re_cj_quotation as em_bas182_467_, order0_.em_bass_inherit_quality_ctrl as em_bas183_467_, order0_.em_bass_qc_description as em_bas184_467_, order0_.em_bass_ap_cj_quotation as em_bas185_467_, order0_.em_advpro2_picked_ret_prodln as em_adv186_467_, order0_.em_bass_valuation_conf_id as em_bas187_467_, order0_.em_bass_prqcpriority as em_bas188_467_, order0_.em_pruti_ignoreminqty as em_pru189_467_, order0_.em_bass_calculateprices as em_bas190_467_, order0_.em_bass_registerorder as em_bas191_467_, order0_.em_bass_pricebyoutsrcpricelist as em_bas192_467_, order0_.em_prb2b_orderref as em_prb193_467_, order0_.em_bass_dateplanned as em_bas194_467_, order0_.em_prouti_order_id as em_pro195_467_, order0_.em_bass_pendingtoconfirm as em_bas196_467_, order0_.em_prmeci_deliverytype as em_prm197_467_, order0_.em_bass_requirepickup as em_bas198_467_, order0_.em_bass_isexportedpickup as em_bas199_467_, order0_.em_bass_numpackspickup as em_bas200_467_, order0_.em_bass_expected_recept_date as em_bas201_467_, order0_.em_bass_originincidence_id as em_bas202_467_, order0_.em_advshi_calculate_proposal as em_adv203_467_, order0_.em_prncx_num_recogida as em_prn204_467_, order0_.em_prncx_pickup_link as em_prn205_467_, order0_.em_prncx_ret_bultos as em_prn206_467_, order0_.em_prncx_get_recogida as em_prn207_467_, order0_.em_bass_outsrcpricelist as em_bas208_467_, order0_.em_prncx_ret_peso as em_prn209_467_, order0_.em_prncx_obs1 as em_prn210_467_, order0_.em_prncx_obs2 as em_prn211_467_, order0_.em_prncx_obs3 as em_prn212_467_, order0_.em_prouti_dateclosed as em_pro213_467_ from c_order order0_ left outer join c_bpartner_location businesspa1_ on order0_.c_bpartner_location_id = businesspa1_.c_bpartner_location_id left outer join c_location location2_ on businesspa1_.c_location_id = location2_.c_location_id left outer join c_location location3_ on businesspa1_.c_location_id = location3_.c_location_id left outer join c_region region4_ on location3_.c_region_id = region4_.c_region_id left outer join c_location location5_ on businesspa1_.c_location_id = location5_.c_location_id left outer join c_country country6_ on location5_.c_country_id = country6_.c_country_id cross join c_doctype documentty9_ where order0_.c_doctypetarget_id = documentty9_.c_doctype_id and (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.phone), ?) || ?| | coalesce(to_char(businesspa1_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location2_.address1), ?) || ?| | coalesce(to_char(location2_.address2), ?) || ?| | coalesce(to_char(location2_.postal), ?) || ?| | coalesce(to_char(location2_.city), ?) || ?| | coalesce(to_char(region4_.name), ?) || ?| | coalesce(to_char(( select countrytrl7_.name from c_country_trl countrytrl7_ where countrytrl7_.c_country_id = location5_.c_country_id and countrytrl7_.ad_language = ?)), to_char(country6_.name), ?))), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty9_.isreturn = ? and (documentty9_.docsubtypeso not like ?) 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 #15
Day Hour Count Duration Avg duration Jul 14 09 6 27s906ms 4s651ms 10 2 9s286ms 4s643ms 11 9 40s862ms 4s540ms 12 7 30s592ms 4s370ms 13 4 17s782ms 4s445ms 14 4 17s813ms 4s453ms 15 1 4s481ms 4s481ms 16 5 21s809ms 4s361ms [ User: tad - Total duration: 2m50s - Times executed: 38 ]
[ Application: openbravo - Total duration: 2m50s - Times executed: 38 ]
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%695506023%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 09:46:29 Duration: 4s938ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%683442273%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 10:49:20 Duration: 4s823ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%683442273%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 09:41:41 Duration: 4s795ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 2m41s 5 30s212ms 34s623ms 32s216ms select "_"."c_orderline_id" AS "c_orderline_id", "_"."documentno" AS "documentno", "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."c_currency_id" AS "c_currency_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."Product Name" AS "Product Name", "_"."Category Name" AS "Category Name", "_"."Product Composition Name" AS "Product Composition Name", "_"."Product Campaign Name" AS "Product Campaign Name", "_"."Product Collection Name" AS "Product Collection Name", "_"."Product LOB Name" AS "Product LOB Name", "_"."line" AS "line", cast("_"."Fecha Pedido" as date) AS "Fecha Pedido", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."Fecha Comprometida Ped" AS "Fecha Comprometida Ped", "_"."Fecha Enviada" AS "Fecha Enviada", "_"."Descripción" AS "Descripción", "_"."Cantidad Pedido" AS "Cantidad Pedido", "_"."Cantidad Enviada" AS "Cantidad Enviada", "_"."Precio Lista" AS "Precio Lista", "_"."Precio Actual" AS "Precio Actual", "_"."Precio Limite" AS "Precio Limite", "_"."Importe Linea" AS "Importe Linea", "_"."Importe Inicial L" AS "Importe Inicial L", "_"."Descuento" AS "Descuento" from ( select ol.c_orderline_id, o.documentno, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, p."name" AS "Product Name", mpc.name AS "Category Name", fpc.name AS "Product Composition Name", cc.name AS "Product Campaign Name", fc.name AS "Product Collection Name", fl.name AS "Product LOB Name", ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", o.datepromised AS "Fecha Comprometida Ped", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.qtydelivered "Cantidad Enviada", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.em_prouti_linenetamtinitial "Importe Inicial L", ol.discount AS "Descuento" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id left join c_doctype on c_doctype.c_doctype_id = o.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = p.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = p.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = p.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = p.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = p.em_fash_lob_id where ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and c_doctype.docsubtypeso not in (...) and c_doctype.isreturn = ? and o.docstatus in (...) union all select ol.c_orderline_id, o.documentno, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, p."name" AS "Product Name", mpc.name AS "Category Name", fpc.name AS "Product Composition Name", cc.name AS "Product Campaign Name", fc.name AS "Product Collection Name", fl.name AS "Product LOB Name", ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", o.datepromised AS "Fecha Comprometida Ped", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.qtydelivered "Cantidad Enviada", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.linenetamt "Importe Inicial L", ol.discount AS "Descuento" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id left join c_doctype on c_doctype.c_doctype_id = o.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = p.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = p.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = p.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = p.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = p.em_fash_lob_id where ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and c_doctype.docsubtypeso not in (...) and c_doctype.isreturn = ? and o.docstatus in (...)) "_";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 14 07 2 1m2s 31s54ms 09 1 34s623ms 34s623ms 13 1 31s925ms 31s925ms 16 1 32s423ms 32s423ms [ User: tad - Total duration: 2m41s - Times executed: 5 ]
[ Application: Mashup Engine - Total duration: 2m41s - Times executed: 5 ]
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";
Date: 2026-07-14 09:12:42 Duration: 34s623ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";
Date: 2026-07-14 16:11:36 Duration: 32s423ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";
Date: 2026-07-14 13:14:56 Duration: 31s925ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
17 2m2s 2 23s119ms 1m39s 1m1s select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = ? then concat(?, nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = ? then concat(?, m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, ?)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std (?, ?) as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = ? then concatbordado || ? else ad_column_identifier_std (?, m_product_id) end as m_product, pendienteventas, greatest (production, ?) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo (?, m_product_id, ?, ?) as mes0, to_char(add_months (to_date(now()), ?), ?) as namemes0, bass_prendascalculo (?, m_product_id, ?, ?) as mes1, to_char(add_months (to_date(now()), ?), ?) as namemes1, bass_prendascalculo (?, m_product_id, ?, ?) as mes2, to_char(add_months (to_date(now()), ?), ?) as namemes2, bass_prendascalculo (?, m_product_id, ?, ?) as mes3, to_char(add_months (to_date(now()), ?), ?) as namemes3, bass_prendascalculo (?, m_product_id, ?, ?) as mes4, to_char(add_months (to_date(now()), ?), ?) as namemes4, bass_prendascalculo (?, m_product_id, ?, ?) as mes5, to_char(add_months (to_date(now()), ?), ?) as namemes5, bass_prendascalculo (?, m_product_id, ?, ?) as mes6, to_char(add_months (to_date(now()), ?), ?) as namemes6, bass_prendascalculo (?, m_product_id, ?, ?) as mes7, to_char(add_months (to_date(now()), ?), ?) as namemes7, bass_prendascalculo (?, m_product_id, ?, ?) as mes8, to_char(add_months (to_date(now()), ?), ?) as namemes8, bass_prendascalculo (?, m_product_id, ?, ?) as mes9, to_char(add_months (to_date(now()), ?), ?) as namemes9, bass_prendascalculo (?, m_product_id, ?, ?) as mes10, to_char(add_months (to_date(now()), ?), ?) as namemes10, bass_prendascalculo (?, m_product_id, ?, ?) as mes11, to_char(add_months (to_date(now()), ?), ?) as namemes11, bass_prendascalculo (?, m_product_id, ?, ?) as mes12, to_char(add_months (to_date(now()), ?), ?) as namemes12, bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?, ?) as anoanterior, bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?)), ?) as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ? || m_product_category.value || ? || m_product.name || ? || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ? || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then ? else ? end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, ?)), ?) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id inner join c_doctype on c_order.c_doctypetarget_id = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in (...) where c_doctype.docsubtypeso <> ? and c_order.docstatus in (...) and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = ? and c_orderline.m_product_id = m_product.m_product_id and case when ? = ? then c_orderline.ad_org_id in (...) else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end group by c_orderline.m_product_id), ?) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), ?) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = ? and case when ? = ? then advpro2_outsourcing.ad_org_id in (...) else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end and ma_wrphaseproduct.productiontype = ? group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), ?) as production, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when ? = ? then em_advmrp_org_id in (...) else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = ? or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = ?)))), ?), ?) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), ?)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = ? and c_order.docstatus in (...) and case when ? = ? then c_order.ad_org_id in (...) else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), ?) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), ?), ?) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( select nullif (sum(coalesce(stockmin, ?)), ?) from m_product_org where m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in (...) where m_product.issold = ? and ? = ? and ( case when ? = ? then m_product.isactive = ? when ? = ? then m_product.isactive = ? else ? = ? end) and m_product.em_fash_campaign_id = ?) as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?, ?)), ?) + coalesce((bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?)), ?)), ?)) <> ? order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, ?) asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 14 11 2 2m2s 1m1s [ User: tad - Total duration: 2m2s - Times executed: 2 ]
[ Application: openbravo - Total duration: 2m2s - Times executed: 2 ]
-
select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = 'Y' then concat('*', nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = 'Y' then concat('* ', m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, 0)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std ('ad_org', '0') as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = 'BORDADO' then concatbordado || ' BORDADO' else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteventas, greatest (production, 0) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo ('0', m_product_id, 0, '') as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_prendascalculo ('0', m_product_id, -1, '') as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_prendascalculo ('0', m_product_id, -2, '') as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_prendascalculo ('0', m_product_id, -3, '') as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_prendascalculo ('0', m_product_id, -4, '') as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_prendascalculo ('0', m_product_id, -5, '') as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_prendascalculo ('0', m_product_id, -6, '') as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_prendascalculo ('0', m_product_id, -7, '') as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_prendascalculo ('0', m_product_id, -8, '') as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_prendascalculo ('0', m_product_id, -9, '') as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_prendascalculo ('0', m_product_id, -10, '') as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_prendascalculo ('0', m_product_id, -11, '') as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_prendascalculo ('0', m_product_id, -12, '') as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '') as anoanterior, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '') as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ' - ' || m_product_category.value || ' / ' || m_product.name || ' / ' || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ' - ' || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then 'BORDADO' else '' end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, 2)), 0) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id INNER JOIN c_doctype on c_order.C_DocTypeTarget_ID = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in ('T') where c_doctype.docsubtypeso <> 'OB' AND c_order.docstatus in ('CO') and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = 'Y' and c_orderline.m_product_id = m_product.m_product_id and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_orderline.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end group by c_orderline.m_product_id), 0) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = 'DE' and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then advpro2_outsourcing.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end and ma_wrphaseproduct.productiontype = '+' group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as production, /**/ coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then em_advmrp_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = 'Y' or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = 'Y')))), 3), 0) as stock, /**/ coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus in ('CO') and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_order.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( SELECT NULLIF (sum(COALESCE(stockmin, 0)), 0) FROM M_Product_Org WHERE m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('P') where m_product.issold = 'Y' and 1 = 1 and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and m_product.em_fash_campaign_id = '2B2940222BDA41DD90D103D93CFE7F4C') as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '')), 0) + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '')), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, '') asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;
Date: 2026-07-14 11:52:16 Duration: 1m39s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = 'Y' then concat('*', nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = 'Y' then concat('* ', m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, 0)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std ('ad_org', '0') as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = 'BORDADO' then concatbordado || ' BORDADO' else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteventas, greatest (production, 0) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo ('0', m_product_id, 0, '') as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_prendascalculo ('0', m_product_id, -1, '') as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_prendascalculo ('0', m_product_id, -2, '') as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_prendascalculo ('0', m_product_id, -3, '') as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_prendascalculo ('0', m_product_id, -4, '') as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_prendascalculo ('0', m_product_id, -5, '') as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_prendascalculo ('0', m_product_id, -6, '') as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_prendascalculo ('0', m_product_id, -7, '') as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_prendascalculo ('0', m_product_id, -8, '') as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_prendascalculo ('0', m_product_id, -9, '') as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_prendascalculo ('0', m_product_id, -10, '') as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_prendascalculo ('0', m_product_id, -11, '') as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_prendascalculo ('0', m_product_id, -12, '') as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '') as anoanterior, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '') as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ' - ' || m_product_category.value || ' / ' || m_product.name || ' / ' || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ' - ' || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then 'BORDADO' else '' end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, 2)), 0) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id INNER JOIN c_doctype on c_order.C_DocTypeTarget_ID = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in ('T') where c_doctype.docsubtypeso <> 'OB' AND c_order.docstatus in ('CO') and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = 'Y' and c_orderline.m_product_id = m_product.m_product_id and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_orderline.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end group by c_orderline.m_product_id), 0) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = 'DE' and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then advpro2_outsourcing.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end and ma_wrphaseproduct.productiontype = '+' group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as production, /**/ coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then em_advmrp_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = 'Y' or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = 'Y')))), 3), 0) as stock, /**/ coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus in ('CO') and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_order.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( SELECT NULLIF (sum(COALESCE(stockmin, 0)), 0) FROM M_Product_Org WHERE m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('P') where m_product.issold = 'Y' and 1 = 1 and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and m_product.em_fash_campaign_id = '850E48F86D1545B1A3BF0C2D7AF1B036') as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '')), 0) + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '')), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, '') asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;
Date: 2026-07-14 11:51:57 Duration: 23s119ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 1m58s 1 1m58s 1m58s 1m58s select m_initialize_stock_valuation (?, ?, null) as result from dual;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 14 07 1 1m58s 1m58s [ User: tad - Total duration: 1m58s - Times executed: 1 ]
[ Application: openbravo - Total duration: 1m58s - Times executed: 1 ]
-
SELECT M_INITIALIZE_STOCK_VALUATION ('7E3CD157DC6246718BFBF101DCDC4016', 'ABB79999997E423B85B205975E7A9BD8', NULL) AS RESULT FROM DUAL;
Date: 2026-07-14 07:01:58 Duration: 1m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 1m58s 1 1m58s 1m58s 1m58s update m_transaction set updated = ?, updatedby = ?, transactioncost = ?, m_costing_algorithm_id = ?, iscostcalculated = ?, c_currency_id = ?, costing_status = ? where m_transaction_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 14 07 1 1m58s 1m58s [ User: tad - Total duration: 1m58s - Times executed: 1 ]
[ Application: openbravo - Total duration: 1m58s - Times executed: 1 ]
-
update M_Transaction set Updated = '2026-07-14 07:00:00.401', UpdatedBy = '100', TransactionCost = '2.30', M_Costing_Algorithm_ID = 'B069080A0AE149A79CF1FA0E24F16AB6', IsCostCalculated = 'Y', C_Currency_ID = '102', Costing_Status = 'CC' where M_Transaction_ID = '7AC8846D4CEF4BA089A83E1350BAEDED';
Date: 2026-07-14 07:01:58 Duration: 1m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update M_Transaction set Updated = $1, UpdatedBy = $2, TransactionCost = $3, M_Costing_Algorithm_ID = $4, IsCostCalculated = $5, C_Currency_ID = $6, Costing_Status = $7 where M_Transaction_ID = $8;
Date: 2026-07-14 07:01:58 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
20 1m55s 7 13s701ms 18s382ms 16s468ms select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Procesado" AS "Procesado", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."t0_0" AS "Fecha Pedido", "_"."Fecha Creacion" AS "Hora Creacion", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."Cod Vend" AS "Cod Vend", "_"."Vendedor" AS "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Procesado" AS "Procesado", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."Fecha Creacion" AS "Fecha Creacion", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."Cod Vend" AS "Cod Vend", "_"."Vendedor" AS "Vendedor", cast("_"."Fecha Pedido" as date) AS "t0_0" from ( select o.c_order_id, o.ad_org_id, o.isactive, o.issotrx, o.documentno AS "Documento", o.docstatus AS "Estado Pedido", o.docaction AS "Accion Pedido", o.processed AS "Procesado", dt.name AS "Tipo Documento", o.description AS "Descripción", o.dateordered AS "Fecha Pedido", o.created AS "Fecha Creacion", o.datepromised AS "Fecha Comprometida", o.c_bpartner_id, o.poreference "Referencia Proveedor", o.c_currency_id, cu.iso_code "Currency ISO", o.m_warehouse_id, cl.city AS "Ciudad", cl.postal AS "Codigo Postal", cc."name" AS "Pais", cr."name" AS "Region", ag.ad_user_id AS "Cod Vend", ag.name AS "Vendedor" from c_order o left join c_doctype dt on dt.c_doctype_id = o.c_doctypetarget_id inner join c_currency cu on cu.c_currency_id = o.c_currency_id left join c_bpartner_location cbl on cbl.c_bpartner_location_id = o.c_bpartner_location_id left join c_location cl on cl.c_location_id = cbl.c_location_id left join c_country cc on cc.c_country_id = cl.c_country_id left join c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = o.salesrep_id where ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and dt.docsubtypeso not in (...)) "_") "_") "_" order by "_"."t0_0" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 14 06 1 15s653ms 15s653ms 07 2 29s711ms 14s855ms 08 1 18s382ms 18s382ms 09 1 18s306ms 18s306ms 13 1 16s806ms 16s806ms 16 1 16s420ms 16s420ms [ User: tad - Total duration: 1m55s - Times executed: 7 ]
[ Application: Mashup Engine - Total duration: 1m55s - Times executed: 7 ]
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."t0_0" as "Fecha Pedido", "_"."Fecha Creacion" as "Hora Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Creacion" as "Fecha Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.created as "Fecha Creacion", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", ag.ad_user_id as "Cod Vend", ag.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctypetarget_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = O.salesrep_id WHERE 1 = 1 AND O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and DT.docsubtypeso not in ('OB', 'ON')) "_") "_") "_" order by "_"."t0_0" desc;
Date: 2026-07-14 08:11:06 Duration: 18s382ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."t0_0" as "Fecha Pedido", "_"."Fecha Creacion" as "Hora Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Creacion" as "Fecha Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.created as "Fecha Creacion", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", ag.ad_user_id as "Cod Vend", ag.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctypetarget_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = O.salesrep_id WHERE 1 = 1 AND O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and DT.docsubtypeso not in ('OB', 'ON')) "_") "_") "_" order by "_"."t0_0" desc;
Date: 2026-07-14 09:12:26 Duration: 18s306ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."t0_0" as "Fecha Pedido", "_"."Fecha Creacion" as "Hora Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Creacion" as "Fecha Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.created as "Fecha Creacion", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", ag.ad_user_id as "Cod Vend", ag.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctypetarget_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = O.salesrep_id WHERE 1 = 1 AND O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and DT.docsubtypeso not in ('OB', 'ON')) "_") "_") "_" order by "_"."t0_0" desc;
Date: 2026-07-14 13:14:44 Duration: 16s806ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,240 1h7m27s 1s150ms 5s82ms 3s263ms select order_comp0_.c_order_id as c_order_1_467_0_, order_comp0_.ad_client_id as ad_clien2_467_0_, order_comp0_.ad_org_id as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? then ? else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), ?) / sum(abs(ol.qtyordered)) * ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyreserved)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula63_0_, ( select case when count(?) > ? then ? else ? end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, ?) = ? and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), ?)) as formula65_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, ?) || ? || coalesce(obwpack_box.em_obeuses_trackingstatus, ?) from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit ?) as formula68_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula69_0_, ( select coalesce(prmag_order.status, ?) from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = ?) > ?) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), ?)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = ? then ? else round(sum(fps.paidamt) / sum(fps.amount) * ?, ?) end from fin_payment_schedule fps where fps.c_order_id = order_comp0_.c_order_id), ?)) as formula74_0_ from c_order order_comp0_ where order_comp0_.c_order_id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 06 7 26s460ms 3s780ms 07 14 45s685ms 3s263ms 08 109 6m13s 3s425ms 09 185 10m22s 3s367ms 10 116 6m24s 3s316ms 11 167 9m5s 3s263ms 12 127 6m33s 3s98ms 13 133 7m18s 3s298ms 14 57 3m3s 3s219ms 15 104 5m38s 3s252ms 16 113 5m50s 3s104ms 17 59 3m9s 3s216ms 18 19 58s742ms 3s91ms 19 25 1m21s 3s243ms 20 5 14s614ms 2s922ms [ User: tad - Total duration: 1h7m27s - Times executed: 1240 ]
[ Application: openbravo - Total duration: 1h7m27s - Times executed: 1240 ]
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:29 Duration: 5s82ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:17 Duration: 5s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FD00ADD73F3542E4A24337262CB4321F', 'A539C8CE6D3941F09E228BEE05F9C1B1', '8A04D7B77F53477EBAD1C0DFB21E4565', '686E1ADD506F465289F99B411780F196', '678F0BD1B49A450188EA2D93C40BAB6D', '3870DFB048D344FBA85ED7B4629961E9', '077B614DBFD0435DA78E5B11732ED701', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'F1EF97DA4DE1423DB76E8AFFBBBCFB2A', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EB240ED411C54C57A6554D300950E6BB', 'EB14046E529A496E93EB3CAD6230A40E', 'EA9C5AEDA9244A79800A6DB5DA3314A9', 'EA3980EA6F1A418687D68F8C6516F411', 'E9F37356D3474B05906118926F5D0E33', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'E32894B9A34C40FEA0D98AFBE08D6A1A', 'E1B6E33F30994818A541800ADC9DC784', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'BEF3ADB3588C4FBF8DD4B35B209BA806', 'B970EDB904ED432A8B1863918C703E7B', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AD1DB883E3DA48F085B450A489FE3F9E', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9FDAFB9D111A400281DFE2078A1B57E8', '9ED9BB259E3D4D07A0853A0D0A0E573F', '9B18B24004C24AD495B15CC46584AD38', '9AB415D2167E457A88BF25498436AE4D', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '9854B0C89B6C4F5F87CB7F2868E6CBBC', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030');
Date: 2026-07-14 10:00:43 Duration: 4s954ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 309 5m37s 1s23ms 3s499ms 1s91ms select this_.advcrm2_deleted_records_id as advcrm1_151_0_, this_.ad_client_id as ad_clien2_151_0_, this_.ad_org_id as ad_org_i3_151_0_, this_.isactive as isactive4_151_0_, this_.created as created5_151_0_, this_.createdby as createdb6_151_0_, this_.updated as updated7_151_0_, this_.updatedby as updatedb8_151_0_, this_.module as module9_151_0_, this_.date_deletion as date_de10_151_0_, this_.record_id as record_11_151_0_, this_.table_name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.date_deletion >= ? and this_.isactive = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 14 11 103 1m57s 1s136ms 13 103 1m50s 1s71ms 14 103 1m50s 1s68ms [ User: tad - Total duration: 5m37s - Times executed: 309 ]
[ Application: openbravo - Total duration: 5m37s - Times executed: 309 ]
-
select this_.Advcrm2_Deleted_Records_ID as advcrm1_151_0_, this_.AD_Client_ID as ad_clien2_151_0_, this_.AD_Org_ID as ad_org_i3_151_0_, this_.Isactive as isactive4_151_0_, this_.Created as created5_151_0_, this_.Createdby as createdb6_151_0_, this_.Updated as updated7_151_0_, this_.Updatedby as updatedb8_151_0_, this_.Module as module9_151_0_, this_.Date_Deletion as date_de10_151_0_, this_.Record_ID as record_11_151_0_, this_.Table_Name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.Date_Deletion >= '2026-07-13 13:21:06' and this_.Isactive = 'Y';
Date: 2026-07-14 11:03:30 Duration: 3s499ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select this_.Advcrm2_Deleted_Records_ID as advcrm1_151_0_, this_.AD_Client_ID as ad_clien2_151_0_, this_.AD_Org_ID as ad_org_i3_151_0_, this_.Isactive as isactive4_151_0_, this_.Created as created5_151_0_, this_.Createdby as createdb6_151_0_, this_.Updated as updated7_151_0_, this_.Updatedby as updatedb8_151_0_, this_.Module as module9_151_0_, this_.Date_Deletion as date_de10_151_0_, this_.Record_ID as record_11_151_0_, this_.Table_Name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.Date_Deletion >= '2026-07-14 11:05:22' and this_.Isactive = 'Y';
Date: 2026-07-14 13:16:21 Duration: 1s394ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select this_.Advcrm2_Deleted_Records_ID as advcrm1_151_0_, this_.AD_Client_ID as ad_clien2_151_0_, this_.AD_Org_ID as ad_org_i3_151_0_, this_.Isactive as isactive4_151_0_, this_.Created as created5_151_0_, this_.Createdby as createdb6_151_0_, this_.Updated as updated7_151_0_, this_.Updatedby as updatedb8_151_0_, this_.Module as module9_151_0_, this_.Date_Deletion as date_de10_151_0_, this_.Record_ID as record_11_151_0_, this_.Table_Name as table_n12_151_0_ from advcrm2_deleted_records this_ where this_.Date_Deletion >= '2026-07-14 13:16:19' and this_.Isactive = 'Y';
Date: 2026-07-14 13:16:23 Duration: 1s364ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 305 8m31s 1s390ms 2s79ms 1s678ms select shipmentin0_.m_inout_id as m_inout_1_803_0_, shipmentin0_.ad_client_id as ad_clien2_803_0_, shipmentin0_.ad_org_id as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit ?) as formula47_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = ?) > ?) as formula50_0_, ( select c_getinvoicestatusfromshipment (shipmentin0_.m_inout_id) from dual) as formula51_0_ from m_inout shipmentin0_ where shipmentin0_.m_inout_id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 06 10 17s684ms 1s768ms 07 33 53s174ms 1s611ms 08 37 1m 1s625ms 09 19 31s636ms 1s665ms 10 24 40s317ms 1s679ms 11 70 2m2s 1s753ms 12 34 57s959ms 1s704ms 13 24 39s818ms 1s659ms 14 12 18s94ms 1s507ms 15 24 40s743ms 1s697ms 16 8 14s59ms 1s757ms 17 10 15s536ms 1s553ms [ User: tad - Total duration: 8m31s - Times executed: 305 ]
[ Application: openbravo - Total duration: 8m31s - Times executed: 305 ]
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('7A81F2D4348142FF9C0902A27103066B', '3402A5272A564156BBC0D3991163817F', '009EE0324F7E41799D6D9D224A73C31A', '170A48A084304820AE0BDC77FBEAE6B8', 'A2570FD9DD9C4ACF814CAE4B551D2818', '986BFA9FA6C743449FB36936354BE9F8', 'A909D7C57EF14287B6CEFF979761A1D6', 'E523AB5F5A7B4F19A55C77E0203583C6', '10610C50E3034B1AB3CE583EC88A14F0', '878B7EF087514150BB0626153A5061E7', '1E52F420D1304D77B2715497CFFFACC7', '7985AE47591D4527925EEE508927E415', '39CDEF5844454FC7930C1B3B90BA2413', 'FF5E2F218B32433B819C90AC72956B00', '331231E128A749C5988928F061950E87', 'BE6A561CA91B44D9AC0024E49726599E', 'A13FBD36ED714D1BB09FCB0E9AC96FC6', '27CDC6908C6346BEB585B450D5B7A660', '27964CEECBD34373AA18F5D701F40EAD', '6ED4C0CAEF26411EB012E9FAE09ABAB1', 'CE18A57126514D07B48F4F93113352C5', 'A6B8A7B41D61457B981A8D702829CC7A', '49EA92F3A2D441529FA93D3697E3F67B', 'C85FE436323F44BCBD72E0DD6261A83A', 'FF423195C7AE417B85D81D5AB426AEC3', 'D63C3F5DA30A400DAE2B76310436AB68', '4656FB00F5AF4E3D8ECDB6635B87BC9C', 'BFE0CF7A2DAD469EA4F5C93D6E13A53C', '41C0B84E1FBB4527A6D6C9DFC6121C98', '120DFEDCB2DB44DD9F903970D21BD9A1', 'B0815ECA19CF4C8EAB68A1DD594121EF', 'F66583A0ED6C4035BA695E37B8A75BD0', '3B13C91FC1714BE68CC7A78B81E3EE81', 'A667948E85174019B01C68ABBA094407', '8D5E168327A54A31BDE8067C02E47703', '349F4B3D200145CBAF01DE0A999EBAF8', '02CA8F57951349A29715EB12C2C1B0ED', 'DBAB5710A7F54D4CB0ABB4B606FAF84F', '74AECADF1904408581913D0BC425458A', '363FD2013B8B4BA08E751046B075F1A1', 'D26B3DDC44334D81AEC528DBEA7ADF99', '3DB261002DCB41A7A1BCCE0A142D832C', '6D9DF86129064E9BAE6E9869A9AA410E', '741DD7E068C849C786C42B023FBE1957', '2A1FBFBB44D2450185F90572C662F302', '307D25AA5E1A46FE8C28741CB1201562', '06D116305C87426D83D2E56202AFCC31', '02A2883DCC7D414FA01AF7EA00D12092', 'C61DA68749D54E7F92B56A75A245D39F', '5EE4E3B2B5DD4878AB902576CD2081D0');
Date: 2026-07-14 11:40:59 Duration: 2s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('9DC6D8D8DAA24C95BF77383DDBEDABED', 'EC0467A729FF43F8814CE52C5DD2571F', '26725026B16F41A58E34129FFA625444', '1B48AA0947E04C6093B28B70CC500A07', '19F69F6C5CDA4BB591EFD7B1C4CC6C73', 'AD5B83013B144B9F8AB9E59BC4297FF6', 'C332AAA98E3B446583CE02AA5FBE54D6', '230FC012DBAD49AEA19239510781B2C6', '680CA4BDF4BD432B89D98C1B8E0D1FC4', '424B3747C2BE4190BB81E0E2730BC0F3', '70D4F7AD17B1414DBF589F538F284F9F', '27A2FC0DEDD24137A88C4342B4B210FC', '8199FA34BFAE46409657B3459077DB3E', '77D3F57B76B74F1E85B8ED6E4B4BF4B3', '071537FFEE424EAEB860E283AB005DCC', '4EA83586685548DE8773FEC327348C88', '75A5AE126ABB46C18B307A19682F06FD', 'E5429C5151ED4E89B78DAC5252011221', 'A6165C6EB874407FADA9AEA841F551B0', 'CBA8FF69D6DE436D9C3D7DCA5B12C924', '920781ED04944284B1B0D81B4D235441', 'EF7AC5FBAA4E40BB8965041DA7714264', 'CE5C97A2BDEE4F54BF21AA842D4A50B4', 'D5C0F8668E7445F5A87308BFEA8D4345', 'CEAA89B2B46742D9B47434C82E641027', 'B20E75B03A88406992F87D4269B2C5DC', '03E420B0DBFF4225BF439895882D85FA', 'C2664C43F0D04C8EA15BA640CE9E6606', '2BF4616FC3D84992A751B09013A26FB3', 'D044B50EF66E48D98E4A09697D34BEC7', 'D84332F825B445AA8B707BF1B9D56917', 'C5EBD764F1D842AE86B44CF55AC4F41D', '8CE783A911C1459DA40547DE0552A6F5', '5679CA0E542B4155BE87598D12929356', 'E1D09614277E42778E2E49363DC43EAF', 'FAC436A5E6A24791BE8E3BACB867452E', 'C3A8E5BC514B4517BA00340A61FE5461', 'CEDA7D39E8244899BE7BC16B4086E0ED', 'CD32ED2D4E604152B22CAA2B287F081B', '6001159C30834525AC2008340E73D313', '8012BC1151584B5D99AD72BCFCD82FE9', '533F88556E624CDBB65EEADF0BD6DA97', '01679F0C338D4BA0BEBF97727BA22FBE', 'BCDAC102065B486D952C1273769B36B9', '7431E39B9CB34F4AAB83724BB49EE1AF', 'B468F635F1EE41F98203CEDF291141BB', '435C2C757E26405AB4DF32D536F0CD84', 'D9E3804CD84045098DB19C1F584C6F3F', 'A1BD8E5516AE4BC58B4B6496BC133A2E', '30F3E285A6714D2F87741427810C37D7');
Date: 2026-07-14 15:36:18 Duration: 2s57ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select shipmentin0_.M_InOut_ID as m_inout_1_803_0_, shipmentin0_.AD_Client_ID as ad_clien2_803_0_, shipmentin0_.AD_Org_ID as ad_org_i3_803_0_, ( select distinct (invl.c_invoice_id) from m_inoutline inoutl left join c_invoiceline invl on invl.m_inoutline_id = inoutl.m_inoutline_id where inoutl.m_inout_id = shipmentin0_.m_inout_id limit 1) as formula47_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = shipmentin0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula48_0_, ( select i.m_inout_id from m_inout i where i.m_inout_id = shipmentin0_.m_inout_id) as formula49_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = shipmentin0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popupinout = 'Y') > 0) as formula50_0_, ( select C_GETINVOICESTATUSFROMSHIPMENT (shipmentin0_.m_inout_id) from dual) as formula51_0_ from M_InOut shipmentin0_ where shipmentin0_.M_InOut_ID in ('5DD73FD9395B462B9F4B5206F5B745A6', '21A28B3DC40748C3A89F878AE86B91E6', '1B1235FA3A8F4351B4D7D9A47E365A64', '66E3079B59ED4C35A575BE994D646D82', '4D29F2357E5B4F78B0678334DA49884E', '4BCCDECDA5D44213BB3D596921F52C26', '17D02C8131F94ED8AAFD3777E51C7404', '6B09905C1EA34A199FED826C1ADF341B', '4B59EE590F6B46C8B94218B66B51E9CA', 'CB4090C1E27B4AF38CD3F3A23E401EAE', '07E58854A5464D479BB9B4E5B5AF9DD8', '35C950B969094019A6207F1A5CFA2CA5', '04B6548071B84C0DA0C4A73788F83A82', '5181D918674F46DB933EC737D219A9FE', '6E9744B2E89F43CA8A22D4A7DAD5C186', '09A9AD62C1344CC4BDFD9107E19938D9', '334DF0868F42478582DA85832EC981D4', 'C64F715C1B8941FD86BCCA9F883E2F16', '70C7F0DF45FE4231B80CA3446B9EA0EA', 'ECAF017AF63A42D2A3C1F309ADF75C33', '0196CB50B84C4FA08B8D3214255BF7E7', 'DBED690CA45043DDBD41D0EE516B66A1', '591FFBB512A84CC3B6E2785BBBC94797', '901932DDD31F4B02A498B862899A5ED7', 'EFC7A6A5C82248EFA7255F35995C17B8', '5D3C3368538544A187B2A64C8EAEC3D7', '4073719CF1774C1EB3120E0C9318A2B2', '698EF5F6345943BFA764735F4BAE8914', '9501F3F3FD2E4411B5A6F60BEB364215', '9C4AF243BB144E68A6793E8D51DDE30A', 'C7695484A7694F99BB058FBC699A02BB', 'CF506FC0564941E283F616C3C75EDFB6', '75B8F2F6263349A784C9671F12680D6F', 'F30E36C2EB024CF18F21616A2087FE69', '1A6C4046F0AB4FA2821D99415CE6A2EE', '9ABCFBE5D8AE4F8EB979FD35BA61116F', 'D14175A230FB4149965C0E11043362BE', '607E9EC0C4DC4218BFCF0C0E9A6B6501', '30A668F400BD4AF9A4C32C496D0B2710', 'F05DFAE567CD4C3587D3C94D333EC33A', '2BA7AF9028A74382A3B2AD95349E8389', 'DEF9164477EF425CAF431EFEE6882426', '961D6303AEDA4BD2A28354E33187E733', '6721DAFCB133498C850B57695BF6A45D', '58B6C1483E2540BBBD9EB7DFD8542290', '307AD061863A41EC9AE2C62F7C4C261E', 'F4EFD134230B427AA206C147B3EA5858', 'ABA48A487596418BBB803691DFAE4A1D', '19A501DD859844998CB67FA0D2879612', '092A91E40C7442F59B353ABF705107F5');
Date: 2026-07-14 11:45:52 Duration: 2s35ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 248 40m57s 1s81ms 19s79ms 9s907ms select * from m_inout_post0 (?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 06 47 7m49s 9s998ms 07 45 8m1s 10s691ms 08 29 4m9s 8s605ms 09 20 2m34s 7s735ms 10 27 4m34s 10s150ms 11 8 45s801ms 5s725ms 12 51 9m19s 10s970ms 13 19 3m36s 11s386ms 14 1 4s638ms 4s638ms 16 1 1s354ms 1s354ms [ User: tad - Total duration: 40m57s - Times executed: 248 ]
[ Application: openbravo - Total duration: 40m57s - Times executed: 248 ]
-
SELECT * FROM M_InOut_Post0 ('EB7C2E9B0A9547BB832522FF1C852F82');
Date: 2026-07-14 06:05:12 Duration: 19s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('7B99D0F285B148A291008C4AFF4057B3');
Date: 2026-07-14 10:16:30 Duration: 17s571ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('92B5FECDCD17411DB50A10F58D02A5BD');
Date: 2026-07-14 06:13:35 Duration: 17s385ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 210 19m13s 1s15ms 7s262ms 5s492ms select pickinglis0_.obwpl_pickinglist_id as obwpl_pi1_1081_0_, pickinglis0_.ad_client_id as ad_clien2_1081_0_, pickinglis0_.ad_org_id as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > ? then ? else ? end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) and prbat.docstatus <> ?) as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id limit ?) as formula58_0_, ( select case when count(*) > ? then ? else ? end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = ?) as formula59_0_, ( select case when count(?) > ? then ? else ? end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = ? and exists ( select ? from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = ?) and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from obwpl_pickinglist pickinglis0_ where pickinglis0_.obwpl_pickinglist_id in (...);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 06 66 5m38s 5s133ms 07 9 36s583ms 4s64ms 08 2 12s923ms 6s461ms 09 21 1m47s 5s117ms 10 6 37s925ms 6s320ms 11 19 1m58s 6s259ms 12 24 2m30s 6s283ms 13 16 1m11s 4s479ms 14 15 1m29s 5s976ms 16 4 23s385ms 5s846ms 19 22 2m9s 5s874ms 20 6 36s17ms 6s2ms [ User: tad - Total duration: 19m13s - Times executed: 210 ]
[ Application: openbravo - Total duration: 19m13s - Times executed: 210 ]
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('57700A47A00D463993B61FD396AF2033', '69BF013BBCB14B439CC1A7AF7315C646', '6E73782C72C444C0AB76A2D8364BD765', '835BCA9C0657450D8DBDA6C16C9463A8', 'D768041406F7463BB4FF274E4AF57589', 'DEBC4C5C99C848B9868463173AAAFD76', '00978F236D2A400E9AA8D94E4C67E8A1', '10E8D9B7808C4320AE9FB46DC3FFB082', '116FD960EBE74B0CA14C530267B75C8F', '223C64EE600642C2A9033C453B0A8B23', '32451D783D5E47D9852F34D556E7B969', '3F8C5D6A085945D6AC95EC154A2CB179', '4746B84C532B47DD9E324C3372A9D83C', '52BE534594AB4DA483BC0D3885859362', '602B29CBB91E4E0591C5F90E788DE1A6', '7FB5AD02C7CC4AB282B00D4782133FB1', 'C5EED39A761D407E809E89F7CC9B484E', 'C9AD6E6233F045D9A5DF367E18758189', '004D8F561837435AA53249685A2D3D0B', '07B336B6B44C4A2EAF11FD818E3C643A', '07F18255C9904ECEA6E0D0924F274B77', '0ABBCC11B63D47BBB228C798D0C8D0A9', '0E1D0DA96E194D12A0CDDDF072BB0C7D', '1FE6D3075C834E8997743F8AFCF85E4F', '293D13A4528B422F98F9559C38402128', '3CF70ED69CC54DFD8AC9494CD33006B5', '3E1D013390224FAA95BFAAD29FA8B420', '431BE2D328C44FA0BA3F3C5F992FD80C', '44D56EDBD76B473ABB14B60EB30D455D', '48D40C3D693D4226A7FFB0F227136031', '4B8FDCEB883B4B04B7898751B691222D', '50D21C55872F48BC8C21A2CE95B27536', '585762DC24574B5DA2213B1B58C72992', '654DF571FEC5412CB1242EEC27847009', '668653C1F66645F4AB2868636ADEE96B', '6AC533FAE050426D9A36628BC19075BF', '6F133754BE924535BD2C98A5961921DC', '80D166F087B147C69BB6E78F1035F74F', '9B8D64D88C984648BFD17F76BAAB48B7', '9EB14B53E6C14104888B351EF5E3660E', 'B329847CC46F40618A91A8E5E095E510', 'BCC7921430B04A3DAAD2B3D373D88B22', 'C2023A1336DA408E9A5E404337302259', 'C52915E7FEC247E497477F8E5C283A2C', 'C54F66A8EC73467D985AD3B02D28DD8E', 'DD9F359737914CAEB2AF7EF911A2EF8E', 'E15267B937F04B9B8231C1ECAF29082E', 'E24030F319B64C14B475B2CF23ADED6A', '005394FAEF204237BB3D7098D2591056', '01754857DF2E47CA9B28FDF918A135F7');
Date: 2026-07-14 09:06:20 Duration: 7s262ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('5D9F6E6AA5E742398B45143BDBDC98CA', '5F659817112742879A45407E524EAEE7', '5FE3EEC2A82149C5BBCD5562D71286C3', '5FF7CA8D9C4140F1BB75FA959DAFF0F1', '61B937EDDF6D43178623A464B914569A', '64B6D16D11424BA5980488B0A0B6DA8F', '687D9F6A82124B2891ABC63CE211735A', '69502BA7AC4346EBAE145909B5AA59A6', '6C4BFEB533D34D1C8CF38399EBC47B88', '6E29A0E2E5B044D39409890F31603871', '7378BFCFE83C4D9EB2EFF843A2359FCC', '7386509987E847D286015450B30F5594', '73FAE7FE15474D84BE0BABB61ED879F9', '744282EA415D49E8A34D70ADF06E63D0', '74D698E0135140B9A9DAD8492BC947DF', '75591D8699F447E78FC47AD966B3A68F', '76B352C36B6A450BA898C3FE9BBB73F2', '79A8792BA4C74DEDA6213E138FAA8E5D', '7B0E8DCDBE3A4B268447BB92F79A47F0', '7CE9A4FB122042CC94D0F7A4E827A304', '7E2375BDB9CE42F2BDB59177FA90B383', '7F04A7870B984BF1B34B3BEEB43027E8', '7F97D35530B1436BAB43B2452DD2E16A', '7FBC82FB84DA46FF9001DF6CC42C04F6', '7FC508B3B08F410DB141DC05DD78798A', '812944BA3ADC445BAC511F228555634E', '8171B31F66D54972AD03F377F300E6F7', '824F733598024D84A0344FF59D08A12A', '83BE903E71A149C690F825A5A2823EE7', '84A812DFE1F64574ADECA53D38831187', '84EFC1F1829C4A2B9581CB27221EFDD8', '854CE3925C6140E88C9C02D5E2E21A59', '867A96387B184761B44734B540FFD87D', '86A081CF9E83460899071F04FAE2402D', '86AEA2DF0F23455AB56482B79F7E35CA', '86F46B5C403442A6929C788A0CB86E08', '86FED2264CE140B3ADBD9CE10299A9BA', '87BED7A46B244842A03FC71FC375B461', '87FF476A72664319A8C9C396BEED1BF3', '893258C78B9B47EABE79D9BB12A0364C', '8B83028D8CDB424B942D20205F2FB8CE', '8C99D7DA096D435AB890EB4210BA3151', '8F885F3D12264B5198E4161D6F1DA6B9', '9033F78D35D04F5AA0171093BFF17DDF', '92600048906F4C64BCA266DA7015A456', '9333DCD8159F4FFFA07454173C50F4D1', '9386C6BAAA954057BBAAF57EF875BFEB', '943DA1949A68463ABED9425F5E81F271', '94C4AF7A222F402B937321BE6FA61AD3', '9769EC8C418445459F3CB0B3C2621880');
Date: 2026-07-14 06:16:20 Duration: 7s111ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('FF63095BFF9B4F6D99ADB360678B8C15', 'FD069F5934704B7DB2493B00D2867876', 'F85098242BBF4F589D347BDCF94A7C50', 'F56A5B860E774ABE9DFA7DA5BE70C62D', 'F216BBB5892B41AE813D35E8918E7E56', 'ECCA96E1F2014BF8AFDF0EE06B13E81D', 'E7C8D2D04FF34D69A8A96ABD68B9A708', 'E5D4253924E849388E914BEBF54979F2', 'E4CCF6412C484556A0C8020861021C34', 'D3B842372BF4492E90886C79438F9F5E', 'D0722CFEEC62452F9B360F79AA5CFDE7', 'C19B150B8F9B43AE91DC6527557739C3', 'ABD3309454AE449E9D465F2C1EC73506', '9BC0135E8733480DA51484BCBA481267', '8CD0E1EDE5CB4DB8A8A66A3A55C98DF9', '7A488573A97148A6A919DD9B5A097DB7', '666620F631B44AE8A7848D29977794E0', '6495D37F4B7047E1879F2721E4311020', '6217EE4C8E2449FF8F76D4FF7213F685', '603F625402AC4728B69F480949B86F7F', '5DD7D211EB7341ECB5020C9F96697F29', '5BB647DC43814EB2A71515A635B52042', '56985A7C30684E7CAB4490A538DABF1E', '44CB80CA1D914E5897B7B8E258A09E48', '3660D3A2668C4FDCAC35C18AE67DAA33', '343BC94439764312A9EDF8F6BB1B1C2C', '29B8BC7D1B61478B8CC248795780E598', '234C55B9B8C545B58A969D0CB571EB22', '1FD347B44B7640F3857890CFF4329512', '0E2726E470D44815B878C2BCB548B4AD', '067718F19B654228A4482B0F2F0F20B1', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FDAEE5296F9746BA854030D76737058F', 'FCAD41CA0C2542E6BA3FCC8A5199AA6F', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA013BF010E14DE5800767C55D3AB550', 'F8F0DA56076444C7A37EB4747B3DFF67', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7C5E4C18A6845D1A665C4E64F2AAF08', 'F5CBC3CA5B92479AB828A6E4CE2621FF', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'EF9B728F2E44476CA050799F6CC6E138', 'ECBA6B682C2C465C9D773CE9C48B001A', 'E813D96B592947AC9222270D4DFCB501', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E401EFDDBEBA437EBECF2F583657CE86', 'E2D41D6976C44D42A83214B886F99F92', 'E08000A1FB944F49AE2C72C2FCB708AE', 'D8A6B0E0B51F4ADA9A9C41A584CB2094');
Date: 2026-07-14 11:45:21 Duration: 7s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 185 6m4s 1s781ms 2s367ms 1s970ms select businesspa0_.c_bpartner_location_id as c_bpartn1_395_, businesspa0_.ad_client_id as ad_clien2_395_, businesspa0_.ad_org_id as ad_org_i3_395_, businesspa0_.isactive as isactive4_395_, businesspa0_.created as created5_395_, businesspa0_.createdby as createdb6_395_, businesspa0_.updated as updated7_395_, businesspa0_.updatedby as updatedb8_395_, businesspa0_.name as name9_395_, businesspa0_.isbillto as isbillt10_395_, businesspa0_.isshipto as isshipt11_395_, businesspa0_.ispayfrom as ispayfr12_395_, businesspa0_.isremitto as isremit13_395_, businesspa0_.phone as phone14_395_, businesspa0_.phone2 as phone15_395_, businesspa0_.fax as fax16_395_, businesspa0_.c_salesregion_id as c_sales17_395_, businesspa0_.c_bpartner_id as c_bpart18_395_, businesspa0_.c_location_id as c_locat19_395_, businesspa0_.istaxlocation as istaxlo20_395_, businesspa0_.upc as upc21_395_, businesspa0_.em_pbl_ad_language as em_pbl_22_395_, businesspa0_.em_prdp_language as em_prdp23_395_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgpc24_395_, businesspa0_.em_prscrm_billto as em_prsc25_395_, businesspa0_.em_prscrm_shipto as em_prsc26_395_, businesspa0_.em_prmag_mail as em_prma27_395_, businesspa0_.em_etabam_c_bp_bankaccount_id as em_etab28_395_, businesspa0_.em_fshedi_receiver_location_id as em_fshe29_395_, businesspa0_.em_ship_delivery_period_id as em_ship30_395_, businesspa0_.em_fshedi_buyer_location_id as em_fshe31_395_, businesspa0_.em_ship_delivery_charges as em_ship32_395_, businesspa0_.em_fshedi_ean as em_fshe33_395_, businesspa0_.em_bass_value as em_bass34_395_, businesspa0_.em_prrak_mail as em_prra35_395_, businesspa0_.em_bass_shipper_id as em_bass36_395_, businesspa0_.em_bass_freightcostrule as em_bass37_395_, businesspa0_.em_prmag_taxid as em_prma38_395_, businesspa0_.em_bass_bp_location_id as em_bass39_395_, businesspa0_.em_pramz_code as em_pram40_395_, businesspa0_.em_bass_bpclasification_id as em_bass41_395_, businesspa0_.em_bass_freight_id as em_bass42_395_, businesspa0_.em_prqc_valuation_conf_id as em_prqc43_395_, businesspa0_.em_bass_deliverynotes as em_bass44_395_, businesspa0_.em_spcsv_csvexport as em_spcs45_395_, businesspa0_.em_spcsv_csvmail as em_spcs46_395_, businesspa0_.em_spcsv_csvsendplace as em_spcs47_395_, businesspa0_.em_bass_classif_detail_id as em_bass48_395_ from c_bpartner_location businesspa0_ left outer join c_location location1_ on businesspa0_.c_location_id = location1_.c_location_id left outer join c_region region2_ on location1_.c_region_id = region2_.c_region_id left outer join c_country country3_ on location1_.c_country_id = country3_.c_country_id where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.phone), ?) || ?| | coalesce(to_char(businesspa0_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location1_.address1), ?) || ?| | coalesce(to_char(location1_.address2), ?) || ?| | coalesce(to_char(location1_.postal), ?) || ?| | coalesce(to_char(location1_.city), ?) || ?| | coalesce(to_char(region2_.name), ?) || ?| | coalesce(to_char(( select countrytrl4_.name from c_country_trl countrytrl4_ where countrytrl4_.c_country_id = country3_.c_country_id and countrytrl4_.ad_language = ?)), to_char(country3_.name), ?))), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order5_ inner join c_bpartner_location businesspa6_ on order5_.c_bpartner_location_id = businesspa6_.c_bpartner_location_id cross join c_doctype documentty7_ where order5_.c_doctypetarget_id = documentty7_.c_doctype_id and order5_.issotrx = ? and documentty7_.isreturn = ? and (documentty7_.docsubtypeso not like ?) and businesspa6_.c_bpartner_location_id = businesspa0_.c_bpartner_location_id and (order5_.ad_org_id in (...)) and (order5_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.phone, businesspa0_.phone2, location1_.address1, location1_.address2, location1_.postal, location1_.city, region2_.c_region_id, country3_.c_country_id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 09 27 53s46ms 1s964ms 10 19 37s563ms 1s977ms 11 28 55s769ms 1s991ms 12 34 1m7s 1s980ms 13 25 49s283ms 1s971ms 14 13 25s329ms 1s948ms 15 5 11s133ms 2s226ms 16 34 1m5s 1s915ms [ User: tad - Total duration: 6m4s - Times executed: 185 ]
[ Application: openbravo - Total duration: 6m4s - Times executed: 185 ]
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%60768%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:18 Duration: 2s367ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%607689706%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:19 Duration: 2s304ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%607689%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:18 Duration: 2s278ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 133 4m52s 1s944ms 3s177ms 2s201ms select bass_produ0_.bass_product_deposit_v_id as bass_pro1_344_0_, bass_produ0_.ad_client_id as ad_clien2_344_0_, bass_produ0_.ad_org_id as ad_org_i3_344_0_, bass_produ0_.isactive as isactive4_344_0_, bass_produ0_.created as created5_344_0_, bass_produ0_.createdby as createdb6_344_0_, bass_produ0_.updated as updated7_344_0_, bass_produ0_.updatedby as updatedb8_344_0_, bass_produ0_.type as type9_344_0_, bass_produ0_.m_product_id as m_produ10_344_0_, bass_produ0_.qty as qty11_344_0_, bass_produ0_.m_attributesetinstance_id as m_attri12_344_0_, bass_produ0_.m_locator_id as m_locat13_344_0_, bass_produ0_.m_warehouse_id as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.ad_orgmrp_id as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.fash_product_group_id as fash_pr18_344_0_, bass_produ0_.fash_collection_id as fash_co19_344_0_, bass_produ0_.c_campaign_id as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.bass_product_deposit_v_id = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 06 4 10s89ms 2s522ms 07 1 2s100ms 2s100ms 08 4 9s270ms 2s317ms 09 9 20s396ms 2s266ms 10 10 23s353ms 2s335ms 11 18 39s854ms 2s214ms 12 5 11s159ms 2s231ms 13 5 11s150ms 2s230ms 14 2 4s363ms 2s181ms 15 6 14s42ms 2s340ms 16 24 53s42ms 2s210ms 17 32 1m7s 2s94ms 19 13 26s918ms 2s70ms [ User: tad - Total duration: 4m52s - Times executed: 133 ]
[ Application: openbravo - Total duration: 4m52s - Times executed: 133 ]
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'reservationC3E6D24D8B6144BABD81268BAF2D7051D91EE4DD14D8455EBA4B8F7A0B9F30E74D984CB06A164ABBA50ABE9EA2088DDCFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 06:14:44 Duration: 3s177ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockCB1E6514995F44FF98A424ADD1EAF43B8869C9F42B3F4A98A0C2773C645974B6695C443ED6B44343B2E5311982455BE2FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 10:16:19 Duration: 3s115ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockF6BDDB689C5A4CEC97D22725F4177AEA5D9F333F0C064A139174580F848C9A79BFB2555FCD4A4ACA959A9E611019A3AFFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 16:05:58 Duration: 3s93ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 99 5m25s 3s42ms 3s582ms 3s291ms select sum(order0_.totallines) as col_0_0_ from c_order order0_ left outer join c_bpartner_location businesspa1_ on order0_.c_bpartner_location_id = businesspa1_.c_bpartner_location_id left outer join c_location location2_ on businesspa1_.c_location_id = location2_.c_location_id left outer join c_location location3_ on businesspa1_.c_location_id = location3_.c_location_id left outer join c_region region4_ on location3_.c_region_id = region4_.c_region_id left outer join c_location location5_ on businesspa1_.c_location_id = location5_.c_location_id left outer join c_country country6_ on location5_.c_country_id = country6_.c_country_id cross join c_doctype documentty9_ where order0_.c_doctypetarget_id = documentty9_.c_doctype_id and (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.phone), ?) || ?| | coalesce(to_char(businesspa1_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location2_.address1), ?) || ?| | coalesce(to_char(location2_.address2), ?) || ?| | coalesce(to_char(location2_.postal), ?) || ?| | coalesce(to_char(location2_.city), ?) || ?| | coalesce(to_char(region4_.name), ?) || ?| | coalesce(to_char(( select countrytrl7_.name from c_country_trl countrytrl7_ where countrytrl7_.c_country_id = location5_.c_country_id and countrytrl7_.ad_language = ?)), to_char(country6_.name), ?))), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty9_.isreturn = ? and (documentty9_.docsubtypeso not like ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 09 14 46s774ms 3s341ms 10 8 25s997ms 3s249ms 11 21 1m9s 3s326ms 12 20 1m6s 3s308ms 13 9 29s922ms 3s324ms 14 12 39s111ms 3s259ms 15 3 9s714ms 3s238ms 16 12 38s315ms 3s192ms [ User: tad - Total duration: 5m25s - Times executed: 99 ]
[ Application: openbravo - Total duration: 5m25s - Times executed: 99 ]
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%695506023%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 09:46:33 Duration: 3s582ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%646856872%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 11:40:24 Duration: 3s581ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%674220192%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 11:50:03 Duration: 3s560ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 76 8m21s 1s502ms 10s647ms 6s597ms select packing_co0_.obwpack_packingh_id as obwpack_1_1080_0_, packing_co0_.ad_client_id as ad_clien2_1080_0_, packing_co0_.ad_org_id as ad_org_i3_1080_0_, ( select coalesce(( case when exists ( select ? from prpp_box where prpp_box.obwpack_packingh_id = packing_co0_.obwpack_packingh_id) then ( select count(?) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.obwpack_packingh_id = packing_co0_.obwpack_packingh_id and prpp_box_type.isgroup <> ?) else ( select count(?) from obwpack_box ob where ob.obwpack_packingh_id = packing_co0_.obwpack_packingh_id) end), ?)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.obwpack_packingh_id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 09 31 3m41s 7s151ms 10 12 1m13s 6s83ms 11 6 38s659ms 6s443ms 12 4 21s310ms 5s327ms 13 4 20s204ms 5s51ms 14 8 57s271ms 7s158ms 15 2 18s171ms 9s85ms 16 4 20s613ms 5s153ms 17 5 30s475ms 6s95ms [ User: tad - Total duration: 8m21s - Times executed: 76 ]
[ Application: openbravo - Total duration: 8m21s - Times executed: 76 ]
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC', 'ECBA6B682C2C465C9D773CE9C48B001A', '45F5BB5EFAB74478AEAAA4E6AB642034', '5582F4BDEC4549398E0FF7D7BCF52B63', '7A8B5CB9F2614168B3E7FCAD5039F796', '13DC0B5ED33E456BBAD650BB7D2AE556', 'B3CC404E28744D4598BAE60897523857', '2E023DF03CA044C791ED10550AE8571D', '2413BD2F93D3451AA8E8F4484A9100D2', '302213D72FBD4D948F8B521EE7906443', '1E48F5D7F1B5436BACC40DC8A1FFA9DB', '11E4353A1F0949F68BA8F63E51CD3171', '979A0615763346FCB3A9A53C67190828', '82B7260C347545068F1415D4ECCBEDE1', '9B87E7FCEF264379B9E654F81D086B73', 'E401EFDDBEBA437EBECF2F583657CE86', '1215B1DE484D43959C5B1B09849356BA', '1A15D4AD9B374994943A6C9366CB3C23', '8207B8C0953348D6B3253330346F62EF');
Date: 2026-07-14 11:57:54 Duration: 10s647ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('579A4114A3B648EFB99874C45D3891B4', 'F8F0DA56076444C7A37EB4747B3DFF67', '645154C4852D49D79421CC886A40BF6A', 'E24DE7CD8B464112A0C71F1AAE910647', '7BD9134A471F441F9AF195BAB094F039', 'EE8B3869230943DABC826D0A253C9691', '5DD7D211EB7341ECB5020C9F96697F29', 'CFE2434AFAB644AFB4CA4A86764EBE72', '4C50CE6C5BA74FD4A70162514D5D2220', '1FD347B44B7640F3857890CFF4329512', '0D28E288E99B4971B9FBB2465A220FAB', 'C8DC08F8E7DE4AF7B8F13EE6D097FFF3', 'E1712B744FD64A72BBCDE24AC48D9D1E', '262BFD8A05794006BE919075DE648CFC', '84C325968EF844989E6DA7D2F838BB11', '9AB03B605A5B4FD0977B12FC7A7A9BBB', '4DD9237C2D7640DDBE2E4E15AC68D3E6', 'EA531FDFCE424DF3AA31410CDFE950A7', '2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC');
Date: 2026-07-14 17:47:17 Duration: 10s615ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('579A4114A3B648EFB99874C45D3891B4', 'F8F0DA56076444C7A37EB4747B3DFF67', '645154C4852D49D79421CC886A40BF6A', 'E24DE7CD8B464112A0C71F1AAE910647', '7BD9134A471F441F9AF195BAB094F039', 'EE8B3869230943DABC826D0A253C9691', '5DD7D211EB7341ECB5020C9F96697F29', 'CFE2434AFAB644AFB4CA4A86764EBE72', '4C50CE6C5BA74FD4A70162514D5D2220', '1FD347B44B7640F3857890CFF4329512', '0D28E288E99B4971B9FBB2465A220FAB', 'C8DC08F8E7DE4AF7B8F13EE6D097FFF3', 'E1712B744FD64A72BBCDE24AC48D9D1E', '262BFD8A05794006BE919075DE648CFC', '84C325968EF844989E6DA7D2F838BB11', '9AB03B605A5B4FD0977B12FC7A7A9BBB', '4DD9237C2D7640DDBE2E4E15AC68D3E6', 'EA531FDFCE424DF3AA31410CDFE950A7', '2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC');
Date: 2026-07-14 15:43:50 Duration: 10s583ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 42 1m21s 1s813ms 2s198ms 1s939ms select businesspa0_.c_bpartner_location_id as c_bpartn1_395_, businesspa0_.ad_client_id as ad_clien2_395_, businesspa0_.ad_org_id as ad_org_i3_395_, businesspa0_.isactive as isactive4_395_, businesspa0_.created as created5_395_, businesspa0_.createdby as createdb6_395_, businesspa0_.updated as updated7_395_, businesspa0_.updatedby as updatedb8_395_, businesspa0_.name as name9_395_, businesspa0_.isbillto as isbillt10_395_, businesspa0_.isshipto as isshipt11_395_, businesspa0_.ispayfrom as ispayfr12_395_, businesspa0_.isremitto as isremit13_395_, businesspa0_.phone as phone14_395_, businesspa0_.phone2 as phone15_395_, businesspa0_.fax as fax16_395_, businesspa0_.c_salesregion_id as c_sales17_395_, businesspa0_.c_bpartner_id as c_bpart18_395_, businesspa0_.c_location_id as c_locat19_395_, businesspa0_.istaxlocation as istaxlo20_395_, businesspa0_.upc as upc21_395_, businesspa0_.em_pbl_ad_language as em_pbl_22_395_, businesspa0_.em_prdp_language as em_prdp23_395_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgpc24_395_, businesspa0_.em_prscrm_billto as em_prsc25_395_, businesspa0_.em_prscrm_shipto as em_prsc26_395_, businesspa0_.em_prmag_mail as em_prma27_395_, businesspa0_.em_etabam_c_bp_bankaccount_id as em_etab28_395_, businesspa0_.em_fshedi_receiver_location_id as em_fshe29_395_, businesspa0_.em_ship_delivery_period_id as em_ship30_395_, businesspa0_.em_fshedi_buyer_location_id as em_fshe31_395_, businesspa0_.em_ship_delivery_charges as em_ship32_395_, businesspa0_.em_fshedi_ean as em_fshe33_395_, businesspa0_.em_bass_value as em_bass34_395_, businesspa0_.em_prrak_mail as em_prra35_395_, businesspa0_.em_bass_shipper_id as em_bass36_395_, businesspa0_.em_bass_freightcostrule as em_bass37_395_, businesspa0_.em_prmag_taxid as em_prma38_395_, businesspa0_.em_bass_bp_location_id as em_bass39_395_, businesspa0_.em_pramz_code as em_pram40_395_, businesspa0_.em_bass_bpclasification_id as em_bass41_395_, businesspa0_.em_bass_freight_id as em_bass42_395_, businesspa0_.em_prqc_valuation_conf_id as em_prqc43_395_, businesspa0_.em_bass_deliverynotes as em_bass44_395_, businesspa0_.em_spcsv_csvexport as em_spcs45_395_, businesspa0_.em_spcsv_csvmail as em_spcs46_395_, businesspa0_.em_spcsv_csvsendplace as em_spcs47_395_, businesspa0_.em_bass_classif_detail_id as em_bass48_395_ from c_bpartner_location businesspa0_ left outer join c_location location1_ on businesspa0_.c_location_id = location1_.c_location_id left outer join c_region region2_ on location1_.c_region_id = region2_.c_region_id left outer join c_country country3_ on location1_.c_country_id = country3_.c_country_id where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.phone), ?) || ?| | coalesce(to_char(businesspa0_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location1_.address1), ?) || ?| | coalesce(to_char(location1_.address2), ?) || ?| | coalesce(to_char(location1_.postal), ?) || ?| | coalesce(to_char(location1_.city), ?) || ?| | coalesce(to_char(region2_.name), ?) || ?| | coalesce(to_char(( select countrytrl4_.name from c_country_trl countrytrl4_ where countrytrl4_.c_country_id = country3_.c_country_id and countrytrl4_.ad_language = ?)), to_char(country3_.name), ?))), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order5_ inner join c_bpartner_location businesspa6_ on order5_.c_bpartner_location_id = businesspa6_.c_bpartner_location_id cross join c_doctype documentty7_ where order5_.c_doctypetarget_id = documentty7_.c_doctype_id and order5_.issotrx = ? and documentty7_.isreturn = ? and (documentty7_.docsubtypeso not like ?) and businesspa6_.c_bpartner_location_id = businesspa0_.c_bpartner_location_id and (order5_.ad_org_id in (...)) and (order5_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.phone, businesspa0_.phone2, location1_.address1, location1_.address2, location1_.postal, location1_.city, region2_.c_region_id, country3_.c_country_id limit ? offset ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 09 6 11s863ms 1s977ms 10 4 7s792ms 1s948ms 11 7 13s720ms 1s960ms 12 7 13s454ms 1s922ms 13 6 11s605ms 1s934ms 14 3 5s731ms 1s910ms 15 1 2s198ms 2s198ms 16 8 15s93ms 1s886ms [ User: tad - Total duration: 1m21s - Times executed: 42 ]
[ Application: openbravo - Total duration: 1m21s - Times executed: 42 ]
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%6076897%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '75' offset '38';
Date: 2026-07-14 15:36:19 Duration: 2s198ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%695506023%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '75' offset '38';
Date: 2026-07-14 09:46:27 Duration: 2s95ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%6834422%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '75' offset '38';
Date: 2026-07-14 10:49:17 Duration: 2s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 38 2m50s 4s102ms 4s938ms 4s487ms select order0_.c_order_id as c_order_1_467_, order0_.ad_client_id as ad_clien2_467_, order0_.ad_org_id as ad_org_i3_467_, order0_.isactive as isactive4_467_, order0_.created as created5_467_, order0_.createdby as createdb6_467_, order0_.updated as updated7_467_, order0_.updatedby as updatedb8_467_, order0_.issotrx as issotrx9_467_, order0_.documentno as documen10_467_, order0_.docstatus as docstat11_467_, order0_.docaction as docacti12_467_, order0_.processing as process13_467_, order0_.processed as process14_467_, order0_.c_doctype_id as c_docty15_467_, order0_.c_doctypetarget_id as c_docty16_467_, order0_.description as descrip17_467_, order0_.isdelivered as isdeliv18_467_, order0_.isinvoiced as isinvoi19_467_, order0_.isprinted as isprint20_467_, order0_.isselected as isselec21_467_, order0_.salesrep_id as salesre22_467_, order0_.dateordered as dateord23_467_, order0_.datepromised as datepro24_467_, order0_.dateprinted as datepri25_467_, order0_.dateacct as dateacc26_467_, order0_.c_bpartner_id as c_bpart27_467_, order0_.billto_id as billto_28_467_, order0_.c_bpartner_location_id as c_bpart29_467_, order0_.poreference as porefer30_467_, order0_.isdiscountprinted as isdisco31_467_, order0_.c_currency_id as c_curre32_467_, order0_.paymentrule as payment33_467_, order0_.c_paymentterm_id as c_payme34_467_, order0_.invoicerule as invoice35_467_, order0_.deliveryrule as deliver36_467_, order0_.freightcostrule as freight37_467_, order0_.freightamt as freight38_467_, order0_.deliveryviarule as deliver39_467_, order0_.m_shipper_id as m_shipp40_467_, order0_.c_charge_id as c_charg41_467_, order0_.chargeamt as chargea42_467_, order0_.priorityrule as priorit43_467_, order0_.totallines as totalli44_467_, order0_.grandtotal as grandto45_467_, order0_.m_warehouse_id as m_wareh46_467_, order0_.m_pricelist_id as m_price47_467_, order0_.istaxincluded as istaxin48_467_, order0_.c_campaign_id as c_campa49_467_, order0_.c_project_id as c_proje50_467_, order0_.c_activity_id as c_activ51_467_, order0_.posted as posted52_467_, order0_.ad_user_id as ad_user53_467_, order0_.copyfrom as copyfro54_467_, order0_.dropship_bpartner_id as dropshi55_467_, order0_.dropship_location_id as dropshi56_467_, order0_.dropship_user_id as dropshi57_467_, order0_.isselfservice as isselfs58_467_, order0_.ad_orgtrx_id as ad_orgt59_467_, order0_.user1_id as user60_467_, order0_.user2_id as user61_467_, order0_.deliverynotes as deliver62_467_, order0_.c_incoterms_id as c_incot63_467_, order0_.incotermsdescription as incoter64_467_, order0_.generatetemplate as generat65_467_, order0_.delivery_location_id as deliver66_467_, order0_.copyfrompo as copyfro67_467_, order0_.fin_paymentmethod_id as fin_pay68_467_, order0_.fin_payment_priority_id as fin_pay69_467_, order0_.rm_pickfromshipment as rm_pick70_467_, order0_.rm_receivematerials as rm_rece71_467_, order0_.em_obcma_c_poc_email_id as em_obcm72_467_, order0_.rm_createinvoice as rm_crea73_467_, order0_.c_return_reason_id as c_retur74_467_, order0_.rm_addorphanline as rm_addo75_467_, order0_.a_asset_id as a_asset76_467_, order0_.calculate_promotions as calcula77_467_, order0_.c_costcenter_id as c_costc78_467_, order0_.convertquotation as convert79_467_, order0_.c_reject_reason_id as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.quotation_id as quotati82_467_, order0_.so_res_status as so_res_83_467_, order0_.create_polines as create_84_467_, order0_.iscashvat as iscashv85_467_, order0_.em_obmfm_selectfreight as em_obmf86_467_, order0_.em_obmfm_delivery_period_id as em_obmf87_467_, order0_.rm_pickfromreceipt as rm_pick88_467_, order0_.cancelandreplace as cancela89_467_, order0_.em_advcrm_newactivity as em_advc90_467_, order0_.em_advmrp_isnotproducible as em_advm91_467_, order0_.em_aprm_addpayment as em_aprm92_467_, order0_.em_obmfm_delivery_charges as em_obmf93_467_, order0_.em_fash_datelimit as em_fash94_467_, order0_.em_obmfm_freight_id as em_obmf95_467_, order0_.em_obwpl_generatepicking as em_obwp96_467_, order0_.em_advcrm_opportunity_id as em_advc97_467_, order0_.em_fash_datevalue as em_fash98_467_, order0_.em_obmfm_weight as em_obmf99_467_, order0_.em_obwpl_isinpickinglist as em_obw100_467_, order0_.em_fash_sendbeforedate as em_fas101_467_, order0_.em_obwpl_readypl as em_obw102_467_, order0_.em_fash_order_type_id as em_fas103_467_, order0_.em_sgpcrm_securitygroups_id as em_sgp104_467_, order0_.em_obmfm_weight_uom_id as em_obm105_467_, order0_.em_advptc_financial_acct_id as em_adv106_467_, order0_.em_obmfm_set_weight as em_obm107_467_, order0_.em_advptc_bp_bankacct_id as em_adv108_467_, order0_.em_aeatsii_fecha_operacion as em_aea109_467_, order0_.confirmcancelandreplace as confir110_467_, order0_.em_advptc_percentage_dist as em_adv111_467_, order0_.em_aeatsii_descripcion_sii as em_aea112_467_, order0_.em_etabam_bankaccount_id as em_eta113_467_, order0_.em_etpr_remove_payment as em_etp114_467_, order0_.em_advptc_typedistribution as em_adv115_467_, order0_.em_advptc_payment_cond_id as em_adv116_467_, order0_.em_etvfac_reversed_invoice as em_etv117_467_, order0_.cancelledorder_id as cancel118_467_, order0_.em_etblkc_bulkcompletion as em_etb119_467_, order0_.em_fshedi_buyer_location_id as em_fsh120_467_, order0_.em_prmag2_grandtotal as em_prm121_467_, order0_.replacedorder_id as replac122_467_, order0_.iscancelled as iscanc123_467_, order0_.replacementorder_id as replac124_467_, order0_.em_prouti_order_stock as em_pro125_467_, order0_.em_etafdp_undoclose as em_eta126_467_, order0_.em_fash_servefrom as em_fas127_467_, order0_.em_prouti_pregenerate_minout as em_pro128_467_, order0_.em_etinter_interco_orig as em_eti129_467_, order0_.em_prouti_sotopo as em_pro130_467_, order0_.bpartner_extref as bpartn131_467_, order0_.em_bass_costfactor as em_bas132_467_, order0_.em_bass_isproform as em_bas133_467_, order0_.em_fshedi_dptocompra as em_fsh134_467_, order0_.em_prpp_generatepicking as em_prp135_467_, order0_.em_bass_observations as em_bas136_467_, order0_.em_fshedi_sucursal as em_fsh137_467_, order0_.em_bass_pickstock as em_bas138_467_, order0_.em_bass_pl_generatepicking as em_bas139_467_, order0_.em_ml_select_product as em_ml_140_467_, order0_.em_prscrm_suitedocid as em_prs141_467_, order0_.em_bass_rm_pickfromshipment as em_bas142_467_, order0_.em_bass_create_returnreceipt as em_bas143_467_, order0_.em_bass_freight_currency_id as em_bas144_467_, order0_.em_bass_area as em_bas145_467_, order0_.em_bass_plprocessing as em_bas146_467_, order0_.em_prrak_reference as em_prr147_467_, order0_.em_advcrm2_name as em_adv148_467_, order0_.em_prrak_void_order as em_prr149_467_, order0_.em_advcrm2_scene_id as em_adv150_467_, order0_.em_prsc_commissiontype as em_prs151_467_, order0_.em_advcrm2_discount_id as em_adv152_467_, order0_.em_prmag_reference as em_prm153_467_, order0_.em_prmag_void_order as em_prm154_467_, order0_.em_prouti_totalizations as em_pro155_467_, order0_.em_bass_deliverynotes as em_bas156_467_, order0_.em_prmeci_order_id as em_prm157_467_, order0_.em_prmeci_grandtotal as em_prm158_467_, order0_.em_bass_enablepricezero as em_bas159_467_, order0_.em_prmag_gift_wrap as em_prm160_467_, order0_.em_bass_change_bp as em_bas161_467_, order0_.em_pramz_orderid as em_pra162_467_, order0_.em_pramz_grandtotal as em_pra163_467_, order0_.em_prouti_reactiveorder as em_pro164_467_, order0_.em_prouti_grandtotalinitial as em_pro165_467_, order0_.em_prouti_totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.em_advcrm2_signature_image as em_adv168_467_, order0_.em_bass_partnerinvolved_id as em_bas169_467_, order0_.em_advcrm2_signature_name as em_adv170_467_, order0_.em_bass_maintincidents_id as em_bas171_467_, order0_.em_advcrm2_processing as em_adv172_467_, order0_.em_bass_requerecontrolquality as em_bas173_467_, order0_.em_bass_resolve_incidence as em_bas174_467_, order0_.em_bass_incidence_id as em_bas175_467_, order0_.em_pramz_marketplace as em_pra176_467_, order0_.em_prb2b_create_combinations as em_prb177_467_, order0_.em_prqc_generate_control as em_prq178_467_, order0_.em_advcrm2_sendmail as em_adv179_467_, order0_.em_prqc_processed as em_prq180_467_, order0_.em_advcrm2_errorsendmail as em_adv181_467_, order0_.em_bass_re_cj_quotation as em_bas182_467_, order0_.em_bass_inherit_quality_ctrl as em_bas183_467_, order0_.em_bass_qc_description as em_bas184_467_, order0_.em_bass_ap_cj_quotation as em_bas185_467_, order0_.em_advpro2_picked_ret_prodln as em_adv186_467_, order0_.em_bass_valuation_conf_id as em_bas187_467_, order0_.em_bass_prqcpriority as em_bas188_467_, order0_.em_pruti_ignoreminqty as em_pru189_467_, order0_.em_bass_calculateprices as em_bas190_467_, order0_.em_bass_registerorder as em_bas191_467_, order0_.em_bass_pricebyoutsrcpricelist as em_bas192_467_, order0_.em_prb2b_orderref as em_prb193_467_, order0_.em_bass_dateplanned as em_bas194_467_, order0_.em_prouti_order_id as em_pro195_467_, order0_.em_bass_pendingtoconfirm as em_bas196_467_, order0_.em_prmeci_deliverytype as em_prm197_467_, order0_.em_bass_requirepickup as em_bas198_467_, order0_.em_bass_isexportedpickup as em_bas199_467_, order0_.em_bass_numpackspickup as em_bas200_467_, order0_.em_bass_expected_recept_date as em_bas201_467_, order0_.em_bass_originincidence_id as em_bas202_467_, order0_.em_advshi_calculate_proposal as em_adv203_467_, order0_.em_prncx_num_recogida as em_prn204_467_, order0_.em_prncx_pickup_link as em_prn205_467_, order0_.em_prncx_ret_bultos as em_prn206_467_, order0_.em_prncx_get_recogida as em_prn207_467_, order0_.em_bass_outsrcpricelist as em_bas208_467_, order0_.em_prncx_ret_peso as em_prn209_467_, order0_.em_prncx_obs1 as em_prn210_467_, order0_.em_prncx_obs2 as em_prn211_467_, order0_.em_prncx_obs3 as em_prn212_467_, order0_.em_prouti_dateclosed as em_pro213_467_ from c_order order0_ left outer join c_bpartner_location businesspa1_ on order0_.c_bpartner_location_id = businesspa1_.c_bpartner_location_id left outer join c_location location2_ on businesspa1_.c_location_id = location2_.c_location_id left outer join c_location location3_ on businesspa1_.c_location_id = location3_.c_location_id left outer join c_region region4_ on location3_.c_region_id = region4_.c_region_id left outer join c_location location5_ on businesspa1_.c_location_id = location5_.c_location_id left outer join c_country country6_ on location5_.c_country_id = country6_.c_country_id cross join c_doctype documentty9_ where order0_.c_doctypetarget_id = documentty9_.c_doctype_id and (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.phone), ?) || ?| | coalesce(to_char(businesspa1_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location2_.address1), ?) || ?| | coalesce(to_char(location2_.address2), ?) || ?| | coalesce(to_char(location2_.postal), ?) || ?| | coalesce(to_char(location2_.city), ?) || ?| | coalesce(to_char(region4_.name), ?) || ?| | coalesce(to_char(( select countrytrl7_.name from c_country_trl countrytrl7_ where countrytrl7_.c_country_id = location5_.c_country_id and countrytrl7_.ad_language = ?)), to_char(country6_.name), ?))), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty9_.isreturn = ? and (documentty9_.docsubtypeso not like ?) 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 #11
Day Hour Count Duration Avg duration Jul 14 09 6 27s906ms 4s651ms 10 2 9s286ms 4s643ms 11 9 40s862ms 4s540ms 12 7 30s592ms 4s370ms 13 4 17s782ms 4s445ms 14 4 17s813ms 4s453ms 15 1 4s481ms 4s481ms 16 5 21s809ms 4s361ms [ User: tad - Total duration: 2m50s - Times executed: 38 ]
[ Application: openbravo - Total duration: 2m50s - Times executed: 38 ]
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%695506023%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 09:46:29 Duration: 4s938ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%683442273%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 10:49:20 Duration: 4s823ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%683442273%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 09:41:41 Duration: 4s795ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 38 52s448ms 1s151ms 1s758ms 1s380ms select order0_.c_order_id as c_order_1_467_, order0_.ad_client_id as ad_clien2_467_, order0_.ad_org_id as ad_org_i3_467_, order0_.isactive as isactive4_467_, order0_.created as created5_467_, order0_.createdby as createdb6_467_, order0_.updated as updated7_467_, order0_.updatedby as updatedb8_467_, order0_.issotrx as issotrx9_467_, order0_.documentno as documen10_467_, order0_.docstatus as docstat11_467_, order0_.docaction as docacti12_467_, order0_.processing as process13_467_, order0_.processed as process14_467_, order0_.c_doctype_id as c_docty15_467_, order0_.c_doctypetarget_id as c_docty16_467_, order0_.description as descrip17_467_, order0_.isdelivered as isdeliv18_467_, order0_.isinvoiced as isinvoi19_467_, order0_.isprinted as isprint20_467_, order0_.isselected as isselec21_467_, order0_.salesrep_id as salesre22_467_, order0_.dateordered as dateord23_467_, order0_.datepromised as datepro24_467_, order0_.dateprinted as datepri25_467_, order0_.dateacct as dateacc26_467_, order0_.c_bpartner_id as c_bpart27_467_, order0_.billto_id as billto_28_467_, order0_.c_bpartner_location_id as c_bpart29_467_, order0_.poreference as porefer30_467_, order0_.isdiscountprinted as isdisco31_467_, order0_.c_currency_id as c_curre32_467_, order0_.paymentrule as payment33_467_, order0_.c_paymentterm_id as c_payme34_467_, order0_.invoicerule as invoice35_467_, order0_.deliveryrule as deliver36_467_, order0_.freightcostrule as freight37_467_, order0_.freightamt as freight38_467_, order0_.deliveryviarule as deliver39_467_, order0_.m_shipper_id as m_shipp40_467_, order0_.c_charge_id as c_charg41_467_, order0_.chargeamt as chargea42_467_, order0_.priorityrule as priorit43_467_, order0_.totallines as totalli44_467_, order0_.grandtotal as grandto45_467_, order0_.m_warehouse_id as m_wareh46_467_, order0_.m_pricelist_id as m_price47_467_, order0_.istaxincluded as istaxin48_467_, order0_.c_campaign_id as c_campa49_467_, order0_.c_project_id as c_proje50_467_, order0_.c_activity_id as c_activ51_467_, order0_.posted as posted52_467_, order0_.ad_user_id as ad_user53_467_, order0_.copyfrom as copyfro54_467_, order0_.dropship_bpartner_id as dropshi55_467_, order0_.dropship_location_id as dropshi56_467_, order0_.dropship_user_id as dropshi57_467_, order0_.isselfservice as isselfs58_467_, order0_.ad_orgtrx_id as ad_orgt59_467_, order0_.user1_id as user60_467_, order0_.user2_id as user61_467_, order0_.deliverynotes as deliver62_467_, order0_.c_incoterms_id as c_incot63_467_, order0_.incotermsdescription as incoter64_467_, order0_.generatetemplate as generat65_467_, order0_.delivery_location_id as deliver66_467_, order0_.copyfrompo as copyfro67_467_, order0_.fin_paymentmethod_id as fin_pay68_467_, order0_.fin_payment_priority_id as fin_pay69_467_, order0_.rm_pickfromshipment as rm_pick70_467_, order0_.rm_receivematerials as rm_rece71_467_, order0_.em_obcma_c_poc_email_id as em_obcm72_467_, order0_.rm_createinvoice as rm_crea73_467_, order0_.c_return_reason_id as c_retur74_467_, order0_.rm_addorphanline as rm_addo75_467_, order0_.a_asset_id as a_asset76_467_, order0_.calculate_promotions as calcula77_467_, order0_.c_costcenter_id as c_costc78_467_, order0_.convertquotation as convert79_467_, order0_.c_reject_reason_id as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.quotation_id as quotati82_467_, order0_.so_res_status as so_res_83_467_, order0_.create_polines as create_84_467_, order0_.iscashvat as iscashv85_467_, order0_.em_obmfm_selectfreight as em_obmf86_467_, order0_.em_obmfm_delivery_period_id as em_obmf87_467_, order0_.rm_pickfromreceipt as rm_pick88_467_, order0_.cancelandreplace as cancela89_467_, order0_.em_advcrm_newactivity as em_advc90_467_, order0_.em_advmrp_isnotproducible as em_advm91_467_, order0_.em_aprm_addpayment as em_aprm92_467_, order0_.em_obmfm_delivery_charges as em_obmf93_467_, order0_.em_fash_datelimit as em_fash94_467_, order0_.em_obmfm_freight_id as em_obmf95_467_, order0_.em_obwpl_generatepicking as em_obwp96_467_, order0_.em_advcrm_opportunity_id as em_advc97_467_, order0_.em_fash_datevalue as em_fash98_467_, order0_.em_obmfm_weight as em_obmf99_467_, order0_.em_obwpl_isinpickinglist as em_obw100_467_, order0_.em_fash_sendbeforedate as em_fas101_467_, order0_.em_obwpl_readypl as em_obw102_467_, order0_.em_fash_order_type_id as em_fas103_467_, order0_.em_sgpcrm_securitygroups_id as em_sgp104_467_, order0_.em_obmfm_weight_uom_id as em_obm105_467_, order0_.em_advptc_financial_acct_id as em_adv106_467_, order0_.em_obmfm_set_weight as em_obm107_467_, order0_.em_advptc_bp_bankacct_id as em_adv108_467_, order0_.em_aeatsii_fecha_operacion as em_aea109_467_, order0_.confirmcancelandreplace as confir110_467_, order0_.em_advptc_percentage_dist as em_adv111_467_, order0_.em_aeatsii_descripcion_sii as em_aea112_467_, order0_.em_etabam_bankaccount_id as em_eta113_467_, order0_.em_etpr_remove_payment as em_etp114_467_, order0_.em_advptc_typedistribution as em_adv115_467_, order0_.em_advptc_payment_cond_id as em_adv116_467_, order0_.em_etvfac_reversed_invoice as em_etv117_467_, order0_.cancelledorder_id as cancel118_467_, order0_.em_etblkc_bulkcompletion as em_etb119_467_, order0_.em_fshedi_buyer_location_id as em_fsh120_467_, order0_.em_prmag2_grandtotal as em_prm121_467_, order0_.replacedorder_id as replac122_467_, order0_.iscancelled as iscanc123_467_, order0_.replacementorder_id as replac124_467_, order0_.em_prouti_order_stock as em_pro125_467_, order0_.em_etafdp_undoclose as em_eta126_467_, order0_.em_fash_servefrom as em_fas127_467_, order0_.em_prouti_pregenerate_minout as em_pro128_467_, order0_.em_etinter_interco_orig as em_eti129_467_, order0_.em_prouti_sotopo as em_pro130_467_, order0_.bpartner_extref as bpartn131_467_, order0_.em_bass_costfactor as em_bas132_467_, order0_.em_bass_isproform as em_bas133_467_, order0_.em_fshedi_dptocompra as em_fsh134_467_, order0_.em_prpp_generatepicking as em_prp135_467_, order0_.em_bass_observations as em_bas136_467_, order0_.em_fshedi_sucursal as em_fsh137_467_, order0_.em_bass_pickstock as em_bas138_467_, order0_.em_bass_pl_generatepicking as em_bas139_467_, order0_.em_ml_select_product as em_ml_140_467_, order0_.em_prscrm_suitedocid as em_prs141_467_, order0_.em_bass_rm_pickfromshipment as em_bas142_467_, order0_.em_bass_create_returnreceipt as em_bas143_467_, order0_.em_bass_freight_currency_id as em_bas144_467_, order0_.em_bass_area as em_bas145_467_, order0_.em_bass_plprocessing as em_bas146_467_, order0_.em_prrak_reference as em_prr147_467_, order0_.em_advcrm2_name as em_adv148_467_, order0_.em_prrak_void_order as em_prr149_467_, order0_.em_advcrm2_scene_id as em_adv150_467_, order0_.em_prsc_commissiontype as em_prs151_467_, order0_.em_advcrm2_discount_id as em_adv152_467_, order0_.em_prmag_reference as em_prm153_467_, order0_.em_prmag_void_order as em_prm154_467_, order0_.em_prouti_totalizations as em_pro155_467_, order0_.em_bass_deliverynotes as em_bas156_467_, order0_.em_prmeci_order_id as em_prm157_467_, order0_.em_prmeci_grandtotal as em_prm158_467_, order0_.em_bass_enablepricezero as em_bas159_467_, order0_.em_prmag_gift_wrap as em_prm160_467_, order0_.em_bass_change_bp as em_bas161_467_, order0_.em_pramz_orderid as em_pra162_467_, order0_.em_pramz_grandtotal as em_pra163_467_, order0_.em_prouti_reactiveorder as em_pro164_467_, order0_.em_prouti_grandtotalinitial as em_pro165_467_, order0_.em_prouti_totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.em_advcrm2_signature_image as em_adv168_467_, order0_.em_bass_partnerinvolved_id as em_bas169_467_, order0_.em_advcrm2_signature_name as em_adv170_467_, order0_.em_bass_maintincidents_id as em_bas171_467_, order0_.em_advcrm2_processing as em_adv172_467_, order0_.em_bass_requerecontrolquality as em_bas173_467_, order0_.em_bass_resolve_incidence as em_bas174_467_, order0_.em_bass_incidence_id as em_bas175_467_, order0_.em_pramz_marketplace as em_pra176_467_, order0_.em_prb2b_create_combinations as em_prb177_467_, order0_.em_prqc_generate_control as em_prq178_467_, order0_.em_advcrm2_sendmail as em_adv179_467_, order0_.em_prqc_processed as em_prq180_467_, order0_.em_advcrm2_errorsendmail as em_adv181_467_, order0_.em_bass_re_cj_quotation as em_bas182_467_, order0_.em_bass_inherit_quality_ctrl as em_bas183_467_, order0_.em_bass_qc_description as em_bas184_467_, order0_.em_bass_ap_cj_quotation as em_bas185_467_, order0_.em_advpro2_picked_ret_prodln as em_adv186_467_, order0_.em_bass_valuation_conf_id as em_bas187_467_, order0_.em_bass_prqcpriority as em_bas188_467_, order0_.em_pruti_ignoreminqty as em_pru189_467_, order0_.em_bass_calculateprices as em_bas190_467_, order0_.em_bass_registerorder as em_bas191_467_, order0_.em_bass_pricebyoutsrcpricelist as em_bas192_467_, order0_.em_prb2b_orderref as em_prb193_467_, order0_.em_bass_dateplanned as em_bas194_467_, order0_.em_prouti_order_id as em_pro195_467_, order0_.em_bass_pendingtoconfirm as em_bas196_467_, order0_.em_prmeci_deliverytype as em_prm197_467_, order0_.em_bass_requirepickup as em_bas198_467_, order0_.em_bass_isexportedpickup as em_bas199_467_, order0_.em_bass_numpackspickup as em_bas200_467_, order0_.em_bass_expected_recept_date as em_bas201_467_, order0_.em_bass_originincidence_id as em_bas202_467_, order0_.em_advshi_calculate_proposal as em_adv203_467_, order0_.em_prncx_num_recogida as em_prn204_467_, order0_.em_prncx_pickup_link as em_prn205_467_, order0_.em_prncx_ret_bultos as em_prn206_467_, order0_.em_prncx_get_recogida as em_prn207_467_, order0_.em_bass_outsrcpricelist as em_bas208_467_, order0_.em_prncx_ret_peso as em_prn209_467_, order0_.em_prncx_obs1 as em_prn210_467_, order0_.em_prncx_obs2 as em_prn211_467_, order0_.em_prncx_obs3 as em_prn212_467_, order0_.em_prouti_dateclosed as em_pro213_467_ from c_order order0_ where (upper((order0_.documentno || ?| | coalesce(to_char(order0_.dateordered), ?) || ?| | coalesce(to_char(order0_.grandtotal), ?))) like upper(?) escape ?) and (exists ( select ? from m_inout materialmg1_ inner join c_order order2_ on materialmg1_.c_order_id = order2_.c_order_id cross join c_doctype documentty3_ where materialmg1_.c_doctype_id = documentty3_.c_doctype_id and (materialmg1_.movementtype in (...)) and materialmg1_.islogistic = ? and documentty3_.isreturn = ? and order2_.c_order_id = order0_.c_order_id and (materialmg1_.ad_org_id in (...)) and (materialmg1_.ad_client_id in (...)))) order by order0_.documentno, order0_.dateordered, order0_.grandtotal limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 07 1 1s290ms 1s290ms 08 10 14s222ms 1s422ms 10 1 1s227ms 1s227ms 11 6 8s968ms 1s494ms 12 6 7s936ms 1s322ms 13 5 6s352ms 1s270ms 14 2 2s505ms 1s252ms 15 1 1s405ms 1s405ms 16 6 8s539ms 1s423ms [ User: tad - Total duration: 52s448ms - Times executed: 38 ]
[ Application: openbravo - Total duration: 52s448ms - Times executed: 38 ]
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ where (upper((order0_.DocumentNo || ' - ' || coalesce(to_char(order0_.DateOrdered), '') || ' - ' || coalesce(to_char(order0_.GrandTotal), ''))) like upper('%53291%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_Order order2_ on materialmg1_.C_Order_ID = order2_.C_Order_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('C-', 'C+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and order2_.C_Order_ID = order0_.C_Order_ID and (materialmg1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal limit '76';
Date: 2026-07-14 11:40:58 Duration: 1s758ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ where (upper((order0_.DocumentNo || ' - ' || coalesce(to_char(order0_.DateOrdered), '') || ' - ' || coalesce(to_char(order0_.GrandTotal), ''))) like upper('%53059%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_Order order2_ on materialmg1_.C_Order_ID = order2_.C_Order_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('C-', 'C+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and order2_.C_Order_ID = order0_.C_Order_ID and (materialmg1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal limit '76';
Date: 2026-07-14 11:38:20 Duration: 1s603ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ where (upper((order0_.DocumentNo || ' - ' || coalesce(to_char(order0_.DateOrdered), '') || ' - ' || coalesce(to_char(order0_.GrandTotal), ''))) like upper('%53291%%') escape '|') and (exists ( select 1 from M_InOut materialmg1_ inner join C_Order order2_ on materialmg1_.C_Order_ID = order2_.C_Order_ID cross join C_DocType documentty3_ where materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID and (materialmg1_.MovementType in ('C-', 'C+')) and materialmg1_.Islogistic = 'N' and documentty3_.IsReturn = 'N' and order2_.C_Order_ID = order0_.C_Order_ID and (materialmg1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal limit '76';
Date: 2026-07-14 11:41:00 Duration: 1s570ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 38 51s166ms 1s260ms 1s430ms 1s346ms select businesspa0_.c_bpartner_location_id as c_bpartn1_395_, businesspa0_.ad_client_id as ad_clien2_395_, businesspa0_.ad_org_id as ad_org_i3_395_, businesspa0_.isactive as isactive4_395_, businesspa0_.created as created5_395_, businesspa0_.createdby as createdb6_395_, businesspa0_.updated as updated7_395_, businesspa0_.updatedby as updatedb8_395_, businesspa0_.name as name9_395_, businesspa0_.isbillto as isbillt10_395_, businesspa0_.isshipto as isshipt11_395_, businesspa0_.ispayfrom as ispayfr12_395_, businesspa0_.isremitto as isremit13_395_, businesspa0_.phone as phone14_395_, businesspa0_.phone2 as phone15_395_, businesspa0_.fax as fax16_395_, businesspa0_.c_salesregion_id as c_sales17_395_, businesspa0_.c_bpartner_id as c_bpart18_395_, businesspa0_.c_location_id as c_locat19_395_, businesspa0_.istaxlocation as istaxlo20_395_, businesspa0_.upc as upc21_395_, businesspa0_.em_pbl_ad_language as em_pbl_22_395_, businesspa0_.em_prdp_language as em_prdp23_395_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgpc24_395_, businesspa0_.em_prscrm_billto as em_prsc25_395_, businesspa0_.em_prscrm_shipto as em_prsc26_395_, businesspa0_.em_prmag_mail as em_prma27_395_, businesspa0_.em_etabam_c_bp_bankaccount_id as em_etab28_395_, businesspa0_.em_fshedi_receiver_location_id as em_fshe29_395_, businesspa0_.em_ship_delivery_period_id as em_ship30_395_, businesspa0_.em_fshedi_buyer_location_id as em_fshe31_395_, businesspa0_.em_ship_delivery_charges as em_ship32_395_, businesspa0_.em_fshedi_ean as em_fshe33_395_, businesspa0_.em_bass_value as em_bass34_395_, businesspa0_.em_prrak_mail as em_prra35_395_, businesspa0_.em_bass_shipper_id as em_bass36_395_, businesspa0_.em_bass_freightcostrule as em_bass37_395_, businesspa0_.em_prmag_taxid as em_prma38_395_, businesspa0_.em_bass_bp_location_id as em_bass39_395_, businesspa0_.em_pramz_code as em_pram40_395_, businesspa0_.em_bass_bpclasification_id as em_bass41_395_, businesspa0_.em_bass_freight_id as em_bass42_395_, businesspa0_.em_prqc_valuation_conf_id as em_prqc43_395_, businesspa0_.em_bass_deliverynotes as em_bass44_395_, businesspa0_.em_spcsv_csvexport as em_spcs45_395_, businesspa0_.em_spcsv_csvmail as em_spcs46_395_, businesspa0_.em_spcsv_csvsendplace as em_spcs47_395_, businesspa0_.em_bass_classif_detail_id as em_bass48_395_ from c_bpartner_location businesspa0_ left outer join c_location location1_ on businesspa0_.c_location_id = location1_.c_location_id left outer join c_region region2_ on location1_.c_region_id = region2_.c_region_id left outer join c_country country3_ on location1_.c_country_id = country3_.c_country_id where exists ( select ? from c_order order4_ inner join c_bpartner_location businesspa5_ on order4_.c_bpartner_location_id = businesspa5_.c_bpartner_location_id where (upper((order4_.documentno || ?| | coalesce(to_char(order4_.dateordered), ?) || ?| | coalesce(to_char(order4_.grandtotal), ?))) like upper(?) escape ?) and businesspa5_.c_bpartner_location_id = businesspa0_.c_bpartner_location_id and (order4_.ad_org_id in (...)) and (order4_.ad_client_id in (...))) order by businesspa0_.name, businesspa0_.phone, businesspa0_.phone2, location1_.address1, location1_.address2, location1_.postal, location1_.city, region2_.c_region_id, country3_.c_country_id limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 09 6 8s273ms 1s378ms 10 4 5s431ms 1s357ms 11 6 8s210ms 1s368ms 12 5 6s541ms 1s308ms 13 7 9s360ms 1s337ms 14 2 2s683ms 1s341ms 15 1 1s317ms 1s317ms 16 7 9s348ms 1s335ms [ User: tad - Total duration: 51s166ms - Times executed: 38 ]
[ Application: openbravo - Total duration: 51s166ms - Times executed: 38 ]
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where exists ( select 1 from C_Order order4_ inner join C_BPartner_Location businesspa5_ on order4_.C_BPartner_Location_ID = businesspa5_.C_BPartner_Location_ID where (upper((order4_.DocumentNo || ' - ' || coalesce(to_char(order4_.DateOrdered), '') || ' - ' || coalesce(to_char(order4_.GrandTotal), ''))) like upper('%646856%') escape '|') and businesspa5_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order4_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order4_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 11:40:17 Duration: 1s430ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where exists ( select 1 from C_Order order4_ inner join C_BPartner_Location businesspa5_ on order4_.C_BPartner_Location_ID = businesspa5_.C_BPartner_Location_ID where (upper((order4_.DocumentNo || ' - ' || coalesce(to_char(order4_.DateOrdered), '') || ' - ' || coalesce(to_char(order4_.GrandTotal), ''))) like upper('%629354501%') escape '|') and businesspa5_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order4_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order4_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 16:45:42 Duration: 1s424ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where exists ( select 1 from C_Order order4_ inner join C_BPartner_Location businesspa5_ on order4_.C_BPartner_Location_ID = businesspa5_.C_BPartner_Location_ID where (upper((order4_.DocumentNo || ' - ' || coalesce(to_char(order4_.DateOrdered), '') || ' - ' || coalesce(to_char(order4_.GrandTotal), ''))) like upper('%6706220%') escape '|') and businesspa5_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order4_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order4_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 09:27:31 Duration: 1s423ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 32 58s505ms 1s41ms 5s78ms 1s828ms select ? as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std (?, c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ?| | ( select count(?) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = ?))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ?) from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit ?)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where ? = ? and pack.c_bpartner_id not in (...) and pack.obwpack_packingh_id in (...) and (type.isgroup is null or type.isgroup = ?) group by ?, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ?) from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) union all select ? as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() over ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ? || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(?) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = ? and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() over () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std (?, c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where ? = ? and pack.c_bpartner_id not in (...) and pack.obwpack_packingh_id in (...) and prpp_box_type.isgroup = ?) a left join prlab_num on ? >= prlab_num.num order by documentno, type, orderbox;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 06 1 2s863ms 2s863ms 07 4 10s300ms 2s575ms 08 5 7s646ms 1s529ms 09 4 5s612ms 1s403ms 10 1 1s700ms 1s700ms 11 6 10s227ms 1s704ms 12 3 5s570ms 1s856ms 13 6 9s956ms 1s659ms 14 2 4s626ms 2s313ms [ User: tad - Total duration: 58s505ms - Times executed: 32 ]
[ Application: openbravo - Total duration: 58s505ms - Times executed: 32 ]
-
select 'box' as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ' / ' || ( select count(1) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = 'N'))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit 1)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('1A15D4AD9B374994943A6C9366CB3C23') and (type.isgroup is null or type.isgroup = 'N') group by 1, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) UNION ALL select 'palet' as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() OVER ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ' / ' || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(1) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = 'Y' and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() OVER () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('1A15D4AD9B374994943A6C9366CB3C23') and prpp_box_type.isgroup = 'Y') a left join prlab_num on 4 >= prlab_num.num order by documentno, type, orderbox;
Date: 2026-07-14 07:21:29 Duration: 5s78ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select 'box' as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ' / ' || ( select count(1) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = 'N'))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit 1)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('4C50CE6C5BA74FD4A70162514D5D2220') and (type.isgroup is null or type.isgroup = 'N') group by 1, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) UNION ALL select 'palet' as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() OVER ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ' / ' || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(1) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = 'Y' and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() OVER () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('4C50CE6C5BA74FD4A70162514D5D2220') and prpp_box_type.isgroup = 'Y') a left join prlab_num on 4 >= prlab_num.num order by documentno, type, orderbox;
Date: 2026-07-14 13:03:45 Duration: 3s282ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select 'box' as type, pack.documentno as documentno, pack.packdate as packdate, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, to_char(box.boxno || ' / ' || ( select count(1) from prpp_box left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id where prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id and (prpp_box_type.isgroup is null or prpp_box_type.isgroup = 'N'))) as num, c_location_description (bploc.c_location_id) as address, box.weight as weight, m_inout.documentno as minout, m_inout.movementdate as dateinout, box.prpp_box_id, m_product.em_bass_concatdesc as product, sum(content.quantity) as qty, packbox.trackingno, packbox.em_fshedi_sscc as sscc, c_bpartner.c_bpartner_id, upper(bploc.name) as namelocation, to_char(palet.boxno) as numpalet, box.boxno as orderbox, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) as orderreference from obwpack_packingh pack left join prpp_box box on pack.obwpack_packingh_id = box.obwpack_packingh_id left join prpp_box palet on palet.prpp_box_id = box.parent_box_id left join m_inout on coalesce(box.m_inout_id, ( select in2.m_inout_id from m_inout in2 where in2.em_obwpack_packingh_id = pack.obwpack_packingh_id limit 1)) = m_inout.m_inout_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id left join prpp_box_product content on content.prpp_box_id = box.prpp_box_id left join m_product on content.m_product_id = m_product.m_product_id left join obwpack_box packbox on packbox.em_prpp_box_id = box.prpp_box_id left join prpp_box_type type on type.prpp_box_type_id = box.prpp_box_type_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('579A4114A3B648EFB99874C45D3891B4') and (type.isgroup is null or type.isgroup = 'N') group by 1, box.boxno, pack.documentno, pack.packdate, pack.c_bpartner_id, c_bpartner.name, pack.obwpack_packingh_id, bploc.c_location_id, box.weight, m_inout.documentno, c_bpartner.c_bpartner_id, m_inout.movementdate, box.prpp_box_id, m_product.em_bass_concatdesc, packbox.trackingno, packbox.em_fshedi_sscc, c_bpartner.c_bpartner_id, upper(bploc.name), palet.boxno, ( select string_agg(distinct o.poreference, ',') from c_order o left join c_orderline ol on ol.c_order_id = o.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.m_inout_id = m_inout.m_inout_id and o.poreference is not null) UNION ALL select 'palet' as type, a.docpack as documentno, null as packdate, a.partner as partner, to_char(row_number() OVER ()) as num, a.address as address, a.weight, a.docinout as minout, a.movementdate as dateinout, a.prpp_box_id, null as product, null as qty, a.trackingno, a.em_fshedi_sscc, a.c_bpartner_id as c_bpartner_id, null as namelocation, a.numpalet || ' / ' || a.totalpalets as numpalet, a.numpalet as orderbox, null as orderreference from ( select m_inout.documentno as docinout, prpp_box.prpp_box_id, ( select count(1) from prpp_box b left join prpp_box_type bt on bt.prpp_box_type_id = b.prpp_box_type_id where bt.isgroup = 'Y' and b.obwpack_packingh_id = pack.obwpack_packingh_id) as totalpalets, row_number() OVER () as numpalet, prpp_box.weight, pack.documentno as docpack, packbox.trackingno, m_inout.movementdate, packbox.em_fshedi_sscc, ad_column_identifier_std ('c_bpartner', c_bpartner.c_bpartner_id) as partner, c_location_description (bploc.c_location_id) as address, c_bpartner.c_bpartner_id from m_inout left join obwpack_packingh pack on pack.obwpack_packingh_id = m_inout.em_obwpack_packingh_id left join prpp_box on prpp_box.obwpack_packingh_id = pack.obwpack_packingh_id left join prpp_box_type on prpp_box_type.prpp_box_type_id = prpp_box.prpp_box_type_id left join obwpack_box packbox on packbox.em_prpp_box_id = prpp_box.prpp_box_id left join c_bpartner on pack.c_bpartner_id = c_bpartner.c_bpartner_id left join c_bpartner_location bploc on pack.c_bpartner_location_id = bploc.c_bpartner_location_id where 1 = 1 and pack.c_bpartner_id NOT IN ('ADEEB0F54FCB4ED5A8AD9AE459A71EFD', '18CE8D3659D04B73A22E9F4603DDEAC5', '4F357ACA6A244363B454D31C15A11F3A') and pack.obwpack_packingh_id in ('579A4114A3B648EFB99874C45D3891B4') and prpp_box_type.isgroup = 'Y') a left join prlab_num on 4 >= prlab_num.num order by documentno, type, orderbox;
Date: 2026-07-14 14:08:09 Duration: 3s122ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 29 41s227ms 1s324ms 1s614ms 1s421ms delete from c_orderline where c_orderline_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 14 09 1 1s392ms 1s392ms 10 2 2s932ms 1s466ms 11 3 4s488ms 1s496ms 12 2 2s876ms 1s438ms 13 1 1s413ms 1s413ms 15 3 4s292ms 1s430ms 16 2 2s878ms 1s439ms 17 10 13s771ms 1s377ms 18 5 7s180ms 1s436ms [ User: tad - Total duration: 41s227ms - Times executed: 29 ]
[ Application: openbravo - Total duration: 41s227ms - Times executed: 29 ]
-
delete from C_OrderLine where C_OrderLine_ID = '639DA6698D2940349FF507230DABB158';
Date: 2026-07-14 11:35:29 Duration: 1s614ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
delete from C_OrderLine where C_OrderLine_ID = '2A3246C333C04CEFA337A92416D4F4D7';
Date: 2026-07-14 17:25:58 Duration: 1s565ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
delete from C_OrderLine where C_OrderLine_ID = 'CDB4E05442944633A0BAD182C0693790';
Date: 2026-07-14 18:26:02 Duration: 1s554ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 20 21s458ms 1s6ms 1s156ms 1s72ms select invoice0_.c_invoice_id as c_invoic1_451_, invoice0_.ad_client_id as ad_clien2_451_, invoice0_.ad_org_id as ad_org_i3_451_, invoice0_.isactive as isactive4_451_, invoice0_.created as created5_451_, invoice0_.createdby as createdb6_451_, invoice0_.updated as updated7_451_, invoice0_.updatedby as updatedb8_451_, invoice0_.issotrx as issotrx9_451_, invoice0_.documentno as documen10_451_, invoice0_.docstatus as docstat11_451_, invoice0_.docaction as docacti12_451_, invoice0_.processing as process13_451_, invoice0_.processed as process14_451_, invoice0_.posted as posted15_451_, invoice0_.c_doctype_id as c_docty16_451_, invoice0_.c_doctypetarget_id as c_docty17_451_, invoice0_.c_order_id as c_order18_451_, invoice0_.description as descrip19_451_, invoice0_.isprinted as isprint20_451_, invoice0_.salesrep_id as salesre21_451_, invoice0_.dateinvoiced as dateinv22_451_, invoice0_.dateprinted as datepri23_451_, invoice0_.dateacct as dateacc24_451_, invoice0_.c_bpartner_id as c_bpart25_451_, invoice0_.c_bpartner_location_id as c_bpart26_451_, invoice0_.poreference as porefer27_451_, invoice0_.isdiscountprinted as isdisco28_451_, invoice0_.dateordered as dateord29_451_, invoice0_.c_currency_id as c_curre30_451_, invoice0_.c_paymentterm_id as c_payme31_451_, invoice0_.c_charge_id as c_charg32_451_, invoice0_.chargeamt as chargea33_451_, invoice0_.totallines as totalli34_451_, invoice0_.grandtotal as grandto35_451_, invoice0_.m_pricelist_id as m_price36_451_, invoice0_.istaxincluded as istaxin37_451_, invoice0_.c_campaign_id as c_campa38_451_, invoice0_.c_project_id as c_proje39_451_, invoice0_.c_activity_id as c_activ40_451_, invoice0_.createfrom as createf41_451_, invoice0_.generateto as generat42_451_, invoice0_.ad_user_id as ad_user43_451_, invoice0_.copyfrom as copyfro44_451_, invoice0_.isselfservice as isselfs45_451_, invoice0_.ad_orgtrx_id as ad_orgt46_451_, invoice0_.user1_id as user47_451_, invoice0_.user2_id as user48_451_, invoice0_.withholdingamount as withhol49_451_, invoice0_.taxdate as taxdate50_451_, invoice0_.c_withholding_id as c_withh51_451_, invoice0_.ispaid as ispaid52_451_, invoice0_.em_einv_generated as em_einv53_451_, invoice0_.totalpaid as totalpa54_451_, invoice0_.em_einv_sent as em_einv55_451_, invoice0_.outstandingamt as outstan56_451_, invoice0_.daystilldue as daystil57_451_, invoice0_.dueamt as dueamt58_451_, invoice0_.lastcalculatedondate as lastcal59_451_, invoice0_.fin_paymentmethod_id as fin_pay60_451_, invoice0_.fin_payment_priority_id as fin_pay61_451_, invoice0_.finalsettlement as finalse62_451_, invoice0_.daysoutstanding as daysout63_451_, invoice0_.percentageoverdue as percent64_451_, invoice0_.c_costcenter_id as c_costc65_451_, invoice0_.calculate_promotions as calcula66_451_, invoice0_.a_asset_id as a_asset67_451_, invoice0_.em_aprm_addpayment as em_aprm68_451_, invoice0_.iscashvat as iscashv69_451_, invoice0_.em_aprm_processinvoice as em_aprm70_451_, invoice0_.em_obcma_c_poc_email_id as em_obcm71_451_, invoice0_.prepaymentamt as prepaym72_451_, invoice0_.createfromorders as createf73_451_, invoice0_.createfrominouts as createf74_451_, invoice0_.em_advptc_financial_acct_id as em_advp75_451_, invoice0_.em_advcrm_newactivity as em_advc76_451_, invoice0_.em_advptc_bp_bankacct_id as em_advp77_451_, invoice0_.paidamtatinvoicing as paidamt78_451_, invoice0_.em_fshedi_type as em_fshe79_451_, invoice0_.bpartner_extref as bpartne80_451_, invoice0_.em_fshedi_function as em_fshe81_451_, invoice0_.em_sgpcrm_securitygroups_id as em_sgpc82_451_, invoice0_.em_aeatsii_send as em_aeat83_451_, invoice0_.em_etblkp_accountingstatus as em_etbl84_451_, invoice0_.em_aeatsii_issent as em_aeat85_451_, invoice0_.em_etabam_bankaccount_id as em_etab86_451_, invoice0_.em_etafdp_unvoid as em_etaf87_451_, invoice0_.em_etblkp_bulkposting as em_etbl88_451_, invoice0_.em_etpr_remove_payment as em_etpr89_451_, invoice0_.em_fshedi_processed as em_fshe90_451_, invoice0_.em_prsc_iscommissionable as em_prsc91_451_, invoice0_.em_aeatsii_fecha_operacion as em_aeat92_451_, invoice0_.em_etblkc_bulkcompletion as em_etbl93_451_, invoice0_.em_aeatsii_clave_tipo as em_aeat94_451_, invoice0_.em_etinter_interco_orig as em_etin95_451_, invoice0_.em_aeatsii_motivo_rectif as em_aeat96_451_, invoice0_.em_aeatsii_clave_tipo_fc as em_aeat97_451_, invoice0_.em_bass_observations as em_bass98_451_, invoice0_.em_ml_select_product as em_ml_s99_451_, invoice0_.em_tbai_qrcode as em_tba100_451_, invoice0_.em_aeatsii_tipo_rectif as em_aea101_451_, invoice0_.em_tbai_url as em_tba102_451_, invoice0_.em_aeatsii_dua as em_aea103_451_, invoice0_.em_tbai_xmlgenerator as em_tba104_451_, invoice0_.em_aeatsii_fecha_dua as em_aea105_451_, invoice0_.em_tbai_signaturevalue as em_tba106_451_, invoice0_.em_advptc_payment_cond_id as em_adv107_451_, invoice0_.em_aeatsii_estado as em_aea108_451_, invoice0_.em_prscrm_suitedocid as em_prs109_451_, invoice0_.em_tbai_sequence as em_tba110_451_, invoice0_.em_aeatsii_error_registral as em_aea111_451_, invoice0_.em_bass_special_paymentplan as em_bas112_451_, invoice0_.em_prsc_commissiontype as em_prs113_451_, invoice0_.em_tbai_idtbai as em_tba114_451_, invoice0_.em_aeatsii_modif as em_aea115_451_, invoice0_.em_etvfac_date_issue as em_etv116_451_, invoice0_.em_prsc_allowcommission as em_prs117_451_, invoice0_.em_tbai_reverseinvoicecode as em_tba118_451_, invoice0_.em_aeatsii_modified as em_aea119_451_, invoice0_.em_etvfac_issue as em_etv120_451_, invoice0_.em_tbai_issent as em_tba121_451_, invoice0_.em_aeatsii_description_id as em_aea122_451_, invoice0_.em_etvfac_issue_description as em_etv123_451_, invoice0_.em_tbai_reverseinvoicetype as em_tba124_451_, invoice0_.em_aeatsii_descripcion_sii as em_aea125_451_, invoice0_.em_tbai_isreverseinvoice as em_tba126_451_, invoice0_.em_advpro2_create_from_outs as em_adv127_451_, invoice0_.em_aeatsii_fecha_reg_cont as em_aea128_451_, invoice0_.em_tbai_invoiceseq as em_tba129_451_, invoice0_.em_aeatsii_dup as em_aea130_451_, invoice0_.em_tbai_invoicenum as em_tba131_451_, invoice0_.em_aeatsii_error_code as em_aea132_451_, invoice0_.em_etvfac_bp_name_copy as em_etv133_451_, invoice0_.em_etvfac_rect_create as em_etv134_451_, invoice0_.em_aeatsii_error_msg as em_aea135_451_, invoice0_.em_etcopag_cop_feedback as em_etc136_451_, invoice0_.em_etvfac_bp_taxid_copy as em_etv137_451_, invoice0_.em_etvfac_is_gen_manual as em_etv138_451_, invoice0_.em_aeatsii_unsubscribe as em_aea139_451_, invoice0_.em_etvfac_contact_name_copy as em_etv140_451_, invoice0_.em_aeatsii_pur_description_id as em_aea141_451_, invoice0_.em_etvfac_address1_copy as em_etv142_451_, invoice0_.em_etvfac_postal_copy as em_etv143_451_, invoice0_.em_fash_datevalue as em_fas144_451_, invoice0_.em_aeatsii_multi_dua as em_aea145_451_, invoice0_.em_etvfac_city_copy as em_etv146_451_, invoice0_.em_aeatsii_ejercicio as em_aea147_451_, invoice0_.em_etvfac_region_copy as em_etv148_451_, invoice0_.em_aeatsii_periodo as em_aea149_451_, invoice0_.em_etvfac_country_copy as em_etv150_451_, invoice0_.em_aeatsii_autofactura as em_aea151_451_, invoice0_.em_etvfac_phone_copy as em_etv152_451_, invoice0_.em_aeatsii_invoice_id as em_aea153_451_, invoice0_.em_etvfac_fax_copy as em_etv154_451_, invoice0_.em_aeatsii_insiidate as em_aea155_451_, invoice0_.em_etvfac_org_name_copy as em_etv156_451_, invoice0_.em_aeatsii_cause_exemption_id as em_aea157_451_, invoice0_.em_etvfac_org_taxid_copy as em_etv158_451_, invoice0_.em_etvfac_org_location_copy as em_etv159_451_, invoice0_.em_prclf_createlinesfrom as em_prc160_451_, invoice0_.em_aeatsii_isauthorization as em_aea161_451_, invoice0_.em_aeatsii_authorizationno as em_aea162_451_, invoice0_.em_etvfac_invoice_status as em_etv163_451_, invoice0_.em_etvfac_senttoverifac as em_etv164_451_, invoice0_.em_etvfac_inv_type as em_etv165_451_, invoice0_.em_etvfac_invnoidart61d as em_etv166_451_, invoice0_.em_prapi_isadvpaymentinvoice as em_pra167_451_, invoice0_.em_etvfac_verifac_desc as em_etv168_451_, invoice0_.em_prapi_fullycompensated as em_pra169_451_, invoice0_.em_etvfac_corrected_inv as em_etv170_451_, invoice0_.em_etvfac_date_operation as em_etv171_451_, invoice0_.em_prapi_amtpendingcomp as em_pra172_451_, invoice0_.em_etvfac_reverseinvtype as em_etv173_451_, invoice0_.em_priuti_createpurchinv as em_pri174_451_, invoice0_.em_priuti_generated as em_pri175_451_, invoice0_.em_priuti_date_complete as em_pri176_451_, invoice0_.em_tbai_issue_date as em_tba177_451_, invoice0_.em_priuti_user_complete_id as em_pri178_451_, invoice0_.em_priuti_status_of_review as em_pri179_451_, invoice0_.em_etvfac_external_ref as em_etv180_451_, invoice0_.em_priuti_validate as em_pri181_451_, invoice0_.em_priuti_start_review as em_pri182_451_, invoice0_.em_prsii_changeperiod as em_prs183_451_, invoice0_.em_etsg_is_f3 as em_ets184_451_, invoice0_.em_etvfac_hash as em_etv185_451_, invoice0_.em_prsii_changeperiodlog as em_prs186_451_, invoice0_.em_etsg_date_operation as em_ets187_451_, invoice0_.em_tbai_date_operation as em_tba188_451_, invoice0_.em_etvfac_issubsanation as em_etv189_451_, invoice0_.em_etvfac_void as em_etv190_451_, invoice0_.em_tbai_voidxmlgenerator as em_tba191_451_, invoice0_.em_priuti_delete_payment_sch as em_pri192_451_, invoice0_.em_priuti_sch_inv_log as em_pri193_451_, invoice0_.em_priuti_addlines_btn as em_pri194_451_, invoice0_.em_pruti_notsendinvoice as em_pru195_451_, invoice0_.em_etvfac_simpinvart7273 as em_etv196_451_, invoice0_.em_aeatsii_hash as em_aea197_451_, invoice0_.em_aeatsii_date_issue as em_aea198_451_, invoice0_.em_etvfac_qr_url as em_etv199_451_, invoice0_.em_etvfac_issued_externally as em_etv200_451_, invoice0_.em_fshedi_dptocompra as em_fsh201_451_, invoice0_.em_fshedi_sucursal as em_fsh202_451_ from c_invoice invoice0_ where invoice0_.issotrx = ? and invoice0_.docstatus <> ? 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 #16
Day Hour Count Duration Avg duration Jul 14 08 4 4s221ms 1s55ms 09 4 4s280ms 1s70ms 10 5 5s494ms 1s98ms 11 2 2s187ms 1s93ms 14 1 1s21ms 1s21ms 16 4 4s253ms 1s63ms [ User: tad - Total duration: 21s458ms - Times executed: 20 ]
[ Application: openbravo - Total duration: 21s458ms - Times executed: 20 ]
-
select invoice0_.C_Invoice_ID as c_invoic1_451_, invoice0_.AD_Client_ID as ad_clien2_451_, invoice0_.AD_Org_ID as ad_org_i3_451_, invoice0_.IsActive as isactive4_451_, invoice0_.Created as created5_451_, invoice0_.CreatedBy as createdb6_451_, invoice0_.Updated as updated7_451_, invoice0_.UpdatedBy as updatedb8_451_, invoice0_.IsSOTrx as issotrx9_451_, invoice0_.DocumentNo as documen10_451_, invoice0_.DocStatus as docstat11_451_, invoice0_.DocAction as docacti12_451_, invoice0_.Processing as process13_451_, invoice0_.Processed as process14_451_, invoice0_.Posted as posted15_451_, invoice0_.C_DocType_ID as c_docty16_451_, invoice0_.C_DocTypeTarget_ID as c_docty17_451_, invoice0_.C_Order_ID as c_order18_451_, invoice0_.Description as descrip19_451_, invoice0_.IsPrinted as isprint20_451_, invoice0_.SalesRep_ID as salesre21_451_, invoice0_.DateInvoiced as dateinv22_451_, invoice0_.DatePrinted as datepri23_451_, invoice0_.DateAcct as dateacc24_451_, invoice0_.C_BPartner_ID as c_bpart25_451_, invoice0_.C_BPartner_Location_ID as c_bpart26_451_, invoice0_.POReference as porefer27_451_, invoice0_.IsDiscountPrinted as isdisco28_451_, invoice0_.DateOrdered as dateord29_451_, invoice0_.C_Currency_ID as c_curre30_451_, invoice0_.C_PaymentTerm_ID as c_payme31_451_, invoice0_.C_Charge_ID as c_charg32_451_, invoice0_.ChargeAmt as chargea33_451_, invoice0_.TotalLines as totalli34_451_, invoice0_.GrandTotal as grandto35_451_, invoice0_.M_PriceList_ID as m_price36_451_, invoice0_.IsTaxIncluded as istaxin37_451_, invoice0_.C_Campaign_ID as c_campa38_451_, invoice0_.C_Project_ID as c_proje39_451_, invoice0_.C_Activity_ID as c_activ40_451_, invoice0_.CreateFrom as createf41_451_, invoice0_.GenerateTo as generat42_451_, invoice0_.AD_User_ID as ad_user43_451_, invoice0_.CopyFrom as copyfro44_451_, invoice0_.IsSelfService as isselfs45_451_, invoice0_.AD_OrgTrx_ID as ad_orgt46_451_, invoice0_.User1_ID as user47_451_, invoice0_.User2_ID as user48_451_, invoice0_.Withholdingamount as withhol49_451_, invoice0_.Taxdate as taxdate50_451_, invoice0_.C_Withholding_ID as c_withh51_451_, invoice0_.Ispaid as ispaid52_451_, invoice0_.EM_Einv_Generated as em_einv53_451_, invoice0_.Totalpaid as totalpa54_451_, invoice0_.EM_Einv_Sent as em_einv55_451_, invoice0_.OutstandingAmt as outstan56_451_, invoice0_.DaysTillDue as daystil57_451_, invoice0_.DueAmt as dueamt58_451_, invoice0_.LastCalculatedOnDate as lastcal59_451_, invoice0_.FIN_Paymentmethod_ID as fin_pay60_451_, invoice0_.FIN_Payment_Priority_ID as fin_pay61_451_, invoice0_.Finalsettlement as finalse62_451_, invoice0_.Daysoutstanding as daysout63_451_, invoice0_.Percentageoverdue as percent64_451_, invoice0_.C_Costcenter_ID as c_costc65_451_, invoice0_.Calculate_Promotions as calcula66_451_, invoice0_.A_Asset_ID as a_asset67_451_, invoice0_.EM_APRM_Addpayment as em_aprm68_451_, invoice0_.Iscashvat as iscashv69_451_, invoice0_.EM_APRM_Processinvoice as em_aprm70_451_, invoice0_.EM_Obcma_C_Poc_Email_ID as em_obcm71_451_, invoice0_.Prepaymentamt as prepaym72_451_, invoice0_.Createfromorders as createf73_451_, invoice0_.Createfrominouts as createf74_451_, invoice0_.EM_Advptc_Financial_Acct_ID as em_advp75_451_, invoice0_.EM_Advcrm_Newactivity as em_advc76_451_, invoice0_.EM_Advptc_Bp_Bankacct_ID as em_advp77_451_, invoice0_.Paidamtatinvoicing as paidamt78_451_, invoice0_.EM_Fshedi_Type as em_fshe79_451_, invoice0_.BPartner_ExtRef as bpartne80_451_, invoice0_.EM_Fshedi_Function as em_fshe81_451_, invoice0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc82_451_, invoice0_.EM_Aeatsii_Send as em_aeat83_451_, invoice0_.EM_Etblkp_Accountingstatus as em_etbl84_451_, invoice0_.EM_Aeatsii_Issent as em_aeat85_451_, invoice0_.EM_Etabam_Bankaccount_ID as em_etab86_451_, invoice0_.EM_Etafdp_Unvoid as em_etaf87_451_, invoice0_.EM_Etblkp_Bulkposting as em_etbl88_451_, invoice0_.EM_Etpr_Remove_Payment as em_etpr89_451_, invoice0_.EM_Fshedi_Processed as em_fshe90_451_, invoice0_.EM_Prsc_Iscommissionable as em_prsc91_451_, invoice0_.EM_Aeatsii_Fecha_Operacion as em_aeat92_451_, invoice0_.EM_Etblkc_Bulkcompletion as em_etbl93_451_, invoice0_.EM_Aeatsii_Clave_Tipo as em_aeat94_451_, invoice0_.EM_Etinter_Interco_Orig as em_etin95_451_, invoice0_.EM_Aeatsii_Motivo_Rectif as em_aeat96_451_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as em_aeat97_451_, invoice0_.EM_Bass_Observations as em_bass98_451_, invoice0_.EM_Ml_Select_Product as em_ml_s99_451_, invoice0_.em_tbai_qrcode as em_tba100_451_, invoice0_.EM_Aeatsii_Tipo_Rectif as em_aea101_451_, invoice0_.EM_Tbai_Url as em_tba102_451_, invoice0_.EM_Aeatsii_Dua as em_aea103_451_, invoice0_.EM_Tbai_Xmlgenerator as em_tba104_451_, invoice0_.EM_Aeatsii_Fecha_Dua as em_aea105_451_, invoice0_.EM_Tbai_Signaturevalue as em_tba106_451_, invoice0_.EM_Advptc_Payment_Cond_ID as em_adv107_451_, invoice0_.EM_Aeatsii_Estado as em_aea108_451_, invoice0_.EM_Prscrm_Suitedocid as em_prs109_451_, invoice0_.EM_Tbai_Sequence as em_tba110_451_, invoice0_.EM_Aeatsii_Error_Registral as em_aea111_451_, invoice0_.EM_Bass_Special_Paymentplan as em_bas112_451_, invoice0_.EM_Prsc_Commissiontype as em_prs113_451_, invoice0_.EM_Tbai_Idtbai as em_tba114_451_, invoice0_.EM_Aeatsii_Modif as em_aea115_451_, invoice0_.EM_Etvfac_Date_Issue as em_etv116_451_, invoice0_.EM_Prsc_Allowcommission as em_prs117_451_, invoice0_.EM_Tbai_Reverseinvoicecode as em_tba118_451_, invoice0_.EM_Aeatsii_Modified as em_aea119_451_, invoice0_.EM_Etvfac_Issue as em_etv120_451_, invoice0_.EM_Tbai_Issent as em_tba121_451_, invoice0_.EM_Aeatsii_Description_ID as em_aea122_451_, invoice0_.EM_Etvfac_Issue_Description as em_etv123_451_, invoice0_.EM_Tbai_Reverseinvoicetype as em_tba124_451_, invoice0_.EM_Aeatsii_Descripcion_Sii as em_aea125_451_, invoice0_.EM_Tbai_Isreverseinvoice as em_tba126_451_, invoice0_.EM_Advpro2_Create_From_Outs as em_adv127_451_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as em_aea128_451_, invoice0_.EM_Tbai_Invoiceseq as em_tba129_451_, invoice0_.EM_Aeatsii_Dup as em_aea130_451_, invoice0_.EM_Tbai_Invoicenum as em_tba131_451_, invoice0_.EM_Aeatsii_Error_Code as em_aea132_451_, invoice0_.EM_Etvfac_Bp_Name_Copy as em_etv133_451_, invoice0_.EM_Etvfac_Rect_Create as em_etv134_451_, invoice0_.EM_Aeatsii_Error_Msg as em_aea135_451_, invoice0_.EM_Etcopag_Cop_Feedback as em_etc136_451_, invoice0_.EM_Etvfac_Bp_Taxid_Copy as em_etv137_451_, invoice0_.EM_Etvfac_Is_Gen_Manual as em_etv138_451_, invoice0_.EM_Aeatsii_Unsubscribe as em_aea139_451_, invoice0_.EM_Etvfac_Contact_Name_Copy as em_etv140_451_, invoice0_.EM_Aeatsii_Pur_Description_ID as em_aea141_451_, invoice0_.EM_Etvfac_Address1_Copy as em_etv142_451_, invoice0_.EM_Etvfac_Postal_Copy as em_etv143_451_, invoice0_.EM_Fash_Datevalue as em_fas144_451_, invoice0_.EM_Aeatsii_Multi_Dua as em_aea145_451_, invoice0_.EM_Etvfac_City_Copy as em_etv146_451_, invoice0_.EM_Aeatsii_Ejercicio as em_aea147_451_, invoice0_.EM_Etvfac_Region_Copy as em_etv148_451_, invoice0_.EM_Aeatsii_Periodo as em_aea149_451_, invoice0_.EM_Etvfac_Country_Copy as em_etv150_451_, invoice0_.EM_Aeatsii_Autofactura as em_aea151_451_, invoice0_.EM_Etvfac_Phone_Copy as em_etv152_451_, invoice0_.EM_Aeatsii_Invoice_ID as em_aea153_451_, invoice0_.EM_Etvfac_Fax_Copy as em_etv154_451_, invoice0_.EM_Aeatsii_Insiidate as em_aea155_451_, invoice0_.EM_Etvfac_Org_Name_Copy as em_etv156_451_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as em_aea157_451_, invoice0_.EM_Etvfac_Org_Taxid_Copy as em_etv158_451_, invoice0_.EM_Etvfac_Org_Location_Copy as em_etv159_451_, invoice0_.EM_Prclf_Createlinesfrom as em_prc160_451_, invoice0_.EM_Aeatsii_Isauthorization as em_aea161_451_, invoice0_.EM_Aeatsii_Authorizationno as em_aea162_451_, invoice0_.EM_Etvfac_Invoice_Status as em_etv163_451_, invoice0_.EM_Etvfac_Senttoverifac as em_etv164_451_, invoice0_.EM_Etvfac_Inv_Type as em_etv165_451_, invoice0_.EM_Etvfac_Invnoidart61d as em_etv166_451_, invoice0_.EM_Prapi_Isadvpaymentinvoice as em_pra167_451_, invoice0_.EM_Etvfac_Verifac_Desc as em_etv168_451_, invoice0_.EM_Prapi_Fullycompensated as em_pra169_451_, invoice0_.EM_Etvfac_Corrected_Inv as em_etv170_451_, invoice0_.EM_Etvfac_Date_Operation as em_etv171_451_, invoice0_.EM_Prapi_Amtpendingcomp as em_pra172_451_, invoice0_.EM_Etvfac_Reverseinvtype as em_etv173_451_, invoice0_.EM_Priuti_Createpurchinv as em_pri174_451_, invoice0_.EM_Priuti_Generated as em_pri175_451_, invoice0_.EM_Priuti_Date_Complete as em_pri176_451_, invoice0_.EM_Tbai_Issue_Date as em_tba177_451_, invoice0_.EM_Priuti_User_Complete_ID as em_pri178_451_, invoice0_.EM_Priuti_Status_Of_Review as em_pri179_451_, invoice0_.EM_Etvfac_External_Ref as em_etv180_451_, invoice0_.EM_Priuti_Validate as em_pri181_451_, invoice0_.EM_Priuti_Start_Review as em_pri182_451_, invoice0_.EM_Prsii_Changeperiod as em_prs183_451_, invoice0_.EM_Etsg_Is_F3 as em_ets184_451_, invoice0_.EM_Etvfac_Hash as em_etv185_451_, invoice0_.EM_Prsii_Changeperiodlog as em_prs186_451_, invoice0_.EM_Etsg_Date_Operation as em_ets187_451_, invoice0_.EM_Tbai_Date_Operation as em_tba188_451_, invoice0_.EM_Etvfac_Issubsanation as em_etv189_451_, invoice0_.EM_Etvfac_Void as em_etv190_451_, invoice0_.EM_Tbai_Voidxmlgenerator as em_tba191_451_, invoice0_.EM_Priuti_Delete_Payment_Sch as em_pri192_451_, invoice0_.EM_Priuti_Sch_Inv_Log as em_pri193_451_, invoice0_.EM_Priuti_Addlines_Btn as em_pri194_451_, invoice0_.EM_Pruti_Notsendinvoice as em_pru195_451_, invoice0_.EM_Etvfac_Simpinvart7273 as em_etv196_451_, invoice0_.EM_Aeatsii_Hash as em_aea197_451_, invoice0_.EM_Aeatsii_Date_Issue as em_aea198_451_, invoice0_.EM_Etvfac_Qr_Url as em_etv199_451_, invoice0_.EM_Etvfac_Issued_Externally as em_etv200_451_, invoice0_.EM_Fshedi_Dptocompra as em_fsh201_451_, invoice0_.EM_Fshedi_Sucursal as em_fsh202_451_ from C_Invoice invoice0_ where invoice0_.IsSOTrx = 'Y' and invoice0_.DocStatus <> 'TEMP' and (invoice0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (invoice0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by invoice0_.DateInvoiced desc, invoice0_.C_Invoice_ID desc limit '101';
Date: 2026-07-14 10:32:21 Duration: 1s156ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as c_invoic1_451_, invoice0_.AD_Client_ID as ad_clien2_451_, invoice0_.AD_Org_ID as ad_org_i3_451_, invoice0_.IsActive as isactive4_451_, invoice0_.Created as created5_451_, invoice0_.CreatedBy as createdb6_451_, invoice0_.Updated as updated7_451_, invoice0_.UpdatedBy as updatedb8_451_, invoice0_.IsSOTrx as issotrx9_451_, invoice0_.DocumentNo as documen10_451_, invoice0_.DocStatus as docstat11_451_, invoice0_.DocAction as docacti12_451_, invoice0_.Processing as process13_451_, invoice0_.Processed as process14_451_, invoice0_.Posted as posted15_451_, invoice0_.C_DocType_ID as c_docty16_451_, invoice0_.C_DocTypeTarget_ID as c_docty17_451_, invoice0_.C_Order_ID as c_order18_451_, invoice0_.Description as descrip19_451_, invoice0_.IsPrinted as isprint20_451_, invoice0_.SalesRep_ID as salesre21_451_, invoice0_.DateInvoiced as dateinv22_451_, invoice0_.DatePrinted as datepri23_451_, invoice0_.DateAcct as dateacc24_451_, invoice0_.C_BPartner_ID as c_bpart25_451_, invoice0_.C_BPartner_Location_ID as c_bpart26_451_, invoice0_.POReference as porefer27_451_, invoice0_.IsDiscountPrinted as isdisco28_451_, invoice0_.DateOrdered as dateord29_451_, invoice0_.C_Currency_ID as c_curre30_451_, invoice0_.C_PaymentTerm_ID as c_payme31_451_, invoice0_.C_Charge_ID as c_charg32_451_, invoice0_.ChargeAmt as chargea33_451_, invoice0_.TotalLines as totalli34_451_, invoice0_.GrandTotal as grandto35_451_, invoice0_.M_PriceList_ID as m_price36_451_, invoice0_.IsTaxIncluded as istaxin37_451_, invoice0_.C_Campaign_ID as c_campa38_451_, invoice0_.C_Project_ID as c_proje39_451_, invoice0_.C_Activity_ID as c_activ40_451_, invoice0_.CreateFrom as createf41_451_, invoice0_.GenerateTo as generat42_451_, invoice0_.AD_User_ID as ad_user43_451_, invoice0_.CopyFrom as copyfro44_451_, invoice0_.IsSelfService as isselfs45_451_, invoice0_.AD_OrgTrx_ID as ad_orgt46_451_, invoice0_.User1_ID as user47_451_, invoice0_.User2_ID as user48_451_, invoice0_.Withholdingamount as withhol49_451_, invoice0_.Taxdate as taxdate50_451_, invoice0_.C_Withholding_ID as c_withh51_451_, invoice0_.Ispaid as ispaid52_451_, invoice0_.EM_Einv_Generated as em_einv53_451_, invoice0_.Totalpaid as totalpa54_451_, invoice0_.EM_Einv_Sent as em_einv55_451_, invoice0_.OutstandingAmt as outstan56_451_, invoice0_.DaysTillDue as daystil57_451_, invoice0_.DueAmt as dueamt58_451_, invoice0_.LastCalculatedOnDate as lastcal59_451_, invoice0_.FIN_Paymentmethod_ID as fin_pay60_451_, invoice0_.FIN_Payment_Priority_ID as fin_pay61_451_, invoice0_.Finalsettlement as finalse62_451_, invoice0_.Daysoutstanding as daysout63_451_, invoice0_.Percentageoverdue as percent64_451_, invoice0_.C_Costcenter_ID as c_costc65_451_, invoice0_.Calculate_Promotions as calcula66_451_, invoice0_.A_Asset_ID as a_asset67_451_, invoice0_.EM_APRM_Addpayment as em_aprm68_451_, invoice0_.Iscashvat as iscashv69_451_, invoice0_.EM_APRM_Processinvoice as em_aprm70_451_, invoice0_.EM_Obcma_C_Poc_Email_ID as em_obcm71_451_, invoice0_.Prepaymentamt as prepaym72_451_, invoice0_.Createfromorders as createf73_451_, invoice0_.Createfrominouts as createf74_451_, invoice0_.EM_Advptc_Financial_Acct_ID as em_advp75_451_, invoice0_.EM_Advcrm_Newactivity as em_advc76_451_, invoice0_.EM_Advptc_Bp_Bankacct_ID as em_advp77_451_, invoice0_.Paidamtatinvoicing as paidamt78_451_, invoice0_.EM_Fshedi_Type as em_fshe79_451_, invoice0_.BPartner_ExtRef as bpartne80_451_, invoice0_.EM_Fshedi_Function as em_fshe81_451_, invoice0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc82_451_, invoice0_.EM_Aeatsii_Send as em_aeat83_451_, invoice0_.EM_Etblkp_Accountingstatus as em_etbl84_451_, invoice0_.EM_Aeatsii_Issent as em_aeat85_451_, invoice0_.EM_Etabam_Bankaccount_ID as em_etab86_451_, invoice0_.EM_Etafdp_Unvoid as em_etaf87_451_, invoice0_.EM_Etblkp_Bulkposting as em_etbl88_451_, invoice0_.EM_Etpr_Remove_Payment as em_etpr89_451_, invoice0_.EM_Fshedi_Processed as em_fshe90_451_, invoice0_.EM_Prsc_Iscommissionable as em_prsc91_451_, invoice0_.EM_Aeatsii_Fecha_Operacion as em_aeat92_451_, invoice0_.EM_Etblkc_Bulkcompletion as em_etbl93_451_, invoice0_.EM_Aeatsii_Clave_Tipo as em_aeat94_451_, invoice0_.EM_Etinter_Interco_Orig as em_etin95_451_, invoice0_.EM_Aeatsii_Motivo_Rectif as em_aeat96_451_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as em_aeat97_451_, invoice0_.EM_Bass_Observations as em_bass98_451_, invoice0_.EM_Ml_Select_Product as em_ml_s99_451_, invoice0_.em_tbai_qrcode as em_tba100_451_, invoice0_.EM_Aeatsii_Tipo_Rectif as em_aea101_451_, invoice0_.EM_Tbai_Url as em_tba102_451_, invoice0_.EM_Aeatsii_Dua as em_aea103_451_, invoice0_.EM_Tbai_Xmlgenerator as em_tba104_451_, invoice0_.EM_Aeatsii_Fecha_Dua as em_aea105_451_, invoice0_.EM_Tbai_Signaturevalue as em_tba106_451_, invoice0_.EM_Advptc_Payment_Cond_ID as em_adv107_451_, invoice0_.EM_Aeatsii_Estado as em_aea108_451_, invoice0_.EM_Prscrm_Suitedocid as em_prs109_451_, invoice0_.EM_Tbai_Sequence as em_tba110_451_, invoice0_.EM_Aeatsii_Error_Registral as em_aea111_451_, invoice0_.EM_Bass_Special_Paymentplan as em_bas112_451_, invoice0_.EM_Prsc_Commissiontype as em_prs113_451_, invoice0_.EM_Tbai_Idtbai as em_tba114_451_, invoice0_.EM_Aeatsii_Modif as em_aea115_451_, invoice0_.EM_Etvfac_Date_Issue as em_etv116_451_, invoice0_.EM_Prsc_Allowcommission as em_prs117_451_, invoice0_.EM_Tbai_Reverseinvoicecode as em_tba118_451_, invoice0_.EM_Aeatsii_Modified as em_aea119_451_, invoice0_.EM_Etvfac_Issue as em_etv120_451_, invoice0_.EM_Tbai_Issent as em_tba121_451_, invoice0_.EM_Aeatsii_Description_ID as em_aea122_451_, invoice0_.EM_Etvfac_Issue_Description as em_etv123_451_, invoice0_.EM_Tbai_Reverseinvoicetype as em_tba124_451_, invoice0_.EM_Aeatsii_Descripcion_Sii as em_aea125_451_, invoice0_.EM_Tbai_Isreverseinvoice as em_tba126_451_, invoice0_.EM_Advpro2_Create_From_Outs as em_adv127_451_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as em_aea128_451_, invoice0_.EM_Tbai_Invoiceseq as em_tba129_451_, invoice0_.EM_Aeatsii_Dup as em_aea130_451_, invoice0_.EM_Tbai_Invoicenum as em_tba131_451_, invoice0_.EM_Aeatsii_Error_Code as em_aea132_451_, invoice0_.EM_Etvfac_Bp_Name_Copy as em_etv133_451_, invoice0_.EM_Etvfac_Rect_Create as em_etv134_451_, invoice0_.EM_Aeatsii_Error_Msg as em_aea135_451_, invoice0_.EM_Etcopag_Cop_Feedback as em_etc136_451_, invoice0_.EM_Etvfac_Bp_Taxid_Copy as em_etv137_451_, invoice0_.EM_Etvfac_Is_Gen_Manual as em_etv138_451_, invoice0_.EM_Aeatsii_Unsubscribe as em_aea139_451_, invoice0_.EM_Etvfac_Contact_Name_Copy as em_etv140_451_, invoice0_.EM_Aeatsii_Pur_Description_ID as em_aea141_451_, invoice0_.EM_Etvfac_Address1_Copy as em_etv142_451_, invoice0_.EM_Etvfac_Postal_Copy as em_etv143_451_, invoice0_.EM_Fash_Datevalue as em_fas144_451_, invoice0_.EM_Aeatsii_Multi_Dua as em_aea145_451_, invoice0_.EM_Etvfac_City_Copy as em_etv146_451_, invoice0_.EM_Aeatsii_Ejercicio as em_aea147_451_, invoice0_.EM_Etvfac_Region_Copy as em_etv148_451_, invoice0_.EM_Aeatsii_Periodo as em_aea149_451_, invoice0_.EM_Etvfac_Country_Copy as em_etv150_451_, invoice0_.EM_Aeatsii_Autofactura as em_aea151_451_, invoice0_.EM_Etvfac_Phone_Copy as em_etv152_451_, invoice0_.EM_Aeatsii_Invoice_ID as em_aea153_451_, invoice0_.EM_Etvfac_Fax_Copy as em_etv154_451_, invoice0_.EM_Aeatsii_Insiidate as em_aea155_451_, invoice0_.EM_Etvfac_Org_Name_Copy as em_etv156_451_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as em_aea157_451_, invoice0_.EM_Etvfac_Org_Taxid_Copy as em_etv158_451_, invoice0_.EM_Etvfac_Org_Location_Copy as em_etv159_451_, invoice0_.EM_Prclf_Createlinesfrom as em_prc160_451_, invoice0_.EM_Aeatsii_Isauthorization as em_aea161_451_, invoice0_.EM_Aeatsii_Authorizationno as em_aea162_451_, invoice0_.EM_Etvfac_Invoice_Status as em_etv163_451_, invoice0_.EM_Etvfac_Senttoverifac as em_etv164_451_, invoice0_.EM_Etvfac_Inv_Type as em_etv165_451_, invoice0_.EM_Etvfac_Invnoidart61d as em_etv166_451_, invoice0_.EM_Prapi_Isadvpaymentinvoice as em_pra167_451_, invoice0_.EM_Etvfac_Verifac_Desc as em_etv168_451_, invoice0_.EM_Prapi_Fullycompensated as em_pra169_451_, invoice0_.EM_Etvfac_Corrected_Inv as em_etv170_451_, invoice0_.EM_Etvfac_Date_Operation as em_etv171_451_, invoice0_.EM_Prapi_Amtpendingcomp as em_pra172_451_, invoice0_.EM_Etvfac_Reverseinvtype as em_etv173_451_, invoice0_.EM_Priuti_Createpurchinv as em_pri174_451_, invoice0_.EM_Priuti_Generated as em_pri175_451_, invoice0_.EM_Priuti_Date_Complete as em_pri176_451_, invoice0_.EM_Tbai_Issue_Date as em_tba177_451_, invoice0_.EM_Priuti_User_Complete_ID as em_pri178_451_, invoice0_.EM_Priuti_Status_Of_Review as em_pri179_451_, invoice0_.EM_Etvfac_External_Ref as em_etv180_451_, invoice0_.EM_Priuti_Validate as em_pri181_451_, invoice0_.EM_Priuti_Start_Review as em_pri182_451_, invoice0_.EM_Prsii_Changeperiod as em_prs183_451_, invoice0_.EM_Etsg_Is_F3 as em_ets184_451_, invoice0_.EM_Etvfac_Hash as em_etv185_451_, invoice0_.EM_Prsii_Changeperiodlog as em_prs186_451_, invoice0_.EM_Etsg_Date_Operation as em_ets187_451_, invoice0_.EM_Tbai_Date_Operation as em_tba188_451_, invoice0_.EM_Etvfac_Issubsanation as em_etv189_451_, invoice0_.EM_Etvfac_Void as em_etv190_451_, invoice0_.EM_Tbai_Voidxmlgenerator as em_tba191_451_, invoice0_.EM_Priuti_Delete_Payment_Sch as em_pri192_451_, invoice0_.EM_Priuti_Sch_Inv_Log as em_pri193_451_, invoice0_.EM_Priuti_Addlines_Btn as em_pri194_451_, invoice0_.EM_Pruti_Notsendinvoice as em_pru195_451_, invoice0_.EM_Etvfac_Simpinvart7273 as em_etv196_451_, invoice0_.EM_Aeatsii_Hash as em_aea197_451_, invoice0_.EM_Aeatsii_Date_Issue as em_aea198_451_, invoice0_.EM_Etvfac_Qr_Url as em_etv199_451_, invoice0_.EM_Etvfac_Issued_Externally as em_etv200_451_, invoice0_.EM_Fshedi_Dptocompra as em_fsh201_451_, invoice0_.EM_Fshedi_Sucursal as em_fsh202_451_ from C_Invoice invoice0_ where invoice0_.IsSOTrx = 'Y' and invoice0_.DocStatus <> 'TEMP' and (invoice0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (invoice0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by invoice0_.DateInvoiced desc, invoice0_.C_Invoice_ID desc limit '101';
Date: 2026-07-14 10:40:11 Duration: 1s145ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select invoice0_.C_Invoice_ID as c_invoic1_451_, invoice0_.AD_Client_ID as ad_clien2_451_, invoice0_.AD_Org_ID as ad_org_i3_451_, invoice0_.IsActive as isactive4_451_, invoice0_.Created as created5_451_, invoice0_.CreatedBy as createdb6_451_, invoice0_.Updated as updated7_451_, invoice0_.UpdatedBy as updatedb8_451_, invoice0_.IsSOTrx as issotrx9_451_, invoice0_.DocumentNo as documen10_451_, invoice0_.DocStatus as docstat11_451_, invoice0_.DocAction as docacti12_451_, invoice0_.Processing as process13_451_, invoice0_.Processed as process14_451_, invoice0_.Posted as posted15_451_, invoice0_.C_DocType_ID as c_docty16_451_, invoice0_.C_DocTypeTarget_ID as c_docty17_451_, invoice0_.C_Order_ID as c_order18_451_, invoice0_.Description as descrip19_451_, invoice0_.IsPrinted as isprint20_451_, invoice0_.SalesRep_ID as salesre21_451_, invoice0_.DateInvoiced as dateinv22_451_, invoice0_.DatePrinted as datepri23_451_, invoice0_.DateAcct as dateacc24_451_, invoice0_.C_BPartner_ID as c_bpart25_451_, invoice0_.C_BPartner_Location_ID as c_bpart26_451_, invoice0_.POReference as porefer27_451_, invoice0_.IsDiscountPrinted as isdisco28_451_, invoice0_.DateOrdered as dateord29_451_, invoice0_.C_Currency_ID as c_curre30_451_, invoice0_.C_PaymentTerm_ID as c_payme31_451_, invoice0_.C_Charge_ID as c_charg32_451_, invoice0_.ChargeAmt as chargea33_451_, invoice0_.TotalLines as totalli34_451_, invoice0_.GrandTotal as grandto35_451_, invoice0_.M_PriceList_ID as m_price36_451_, invoice0_.IsTaxIncluded as istaxin37_451_, invoice0_.C_Campaign_ID as c_campa38_451_, invoice0_.C_Project_ID as c_proje39_451_, invoice0_.C_Activity_ID as c_activ40_451_, invoice0_.CreateFrom as createf41_451_, invoice0_.GenerateTo as generat42_451_, invoice0_.AD_User_ID as ad_user43_451_, invoice0_.CopyFrom as copyfro44_451_, invoice0_.IsSelfService as isselfs45_451_, invoice0_.AD_OrgTrx_ID as ad_orgt46_451_, invoice0_.User1_ID as user47_451_, invoice0_.User2_ID as user48_451_, invoice0_.Withholdingamount as withhol49_451_, invoice0_.Taxdate as taxdate50_451_, invoice0_.C_Withholding_ID as c_withh51_451_, invoice0_.Ispaid as ispaid52_451_, invoice0_.EM_Einv_Generated as em_einv53_451_, invoice0_.Totalpaid as totalpa54_451_, invoice0_.EM_Einv_Sent as em_einv55_451_, invoice0_.OutstandingAmt as outstan56_451_, invoice0_.DaysTillDue as daystil57_451_, invoice0_.DueAmt as dueamt58_451_, invoice0_.LastCalculatedOnDate as lastcal59_451_, invoice0_.FIN_Paymentmethod_ID as fin_pay60_451_, invoice0_.FIN_Payment_Priority_ID as fin_pay61_451_, invoice0_.Finalsettlement as finalse62_451_, invoice0_.Daysoutstanding as daysout63_451_, invoice0_.Percentageoverdue as percent64_451_, invoice0_.C_Costcenter_ID as c_costc65_451_, invoice0_.Calculate_Promotions as calcula66_451_, invoice0_.A_Asset_ID as a_asset67_451_, invoice0_.EM_APRM_Addpayment as em_aprm68_451_, invoice0_.Iscashvat as iscashv69_451_, invoice0_.EM_APRM_Processinvoice as em_aprm70_451_, invoice0_.EM_Obcma_C_Poc_Email_ID as em_obcm71_451_, invoice0_.Prepaymentamt as prepaym72_451_, invoice0_.Createfromorders as createf73_451_, invoice0_.Createfrominouts as createf74_451_, invoice0_.EM_Advptc_Financial_Acct_ID as em_advp75_451_, invoice0_.EM_Advcrm_Newactivity as em_advc76_451_, invoice0_.EM_Advptc_Bp_Bankacct_ID as em_advp77_451_, invoice0_.Paidamtatinvoicing as paidamt78_451_, invoice0_.EM_Fshedi_Type as em_fshe79_451_, invoice0_.BPartner_ExtRef as bpartne80_451_, invoice0_.EM_Fshedi_Function as em_fshe81_451_, invoice0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc82_451_, invoice0_.EM_Aeatsii_Send as em_aeat83_451_, invoice0_.EM_Etblkp_Accountingstatus as em_etbl84_451_, invoice0_.EM_Aeatsii_Issent as em_aeat85_451_, invoice0_.EM_Etabam_Bankaccount_ID as em_etab86_451_, invoice0_.EM_Etafdp_Unvoid as em_etaf87_451_, invoice0_.EM_Etblkp_Bulkposting as em_etbl88_451_, invoice0_.EM_Etpr_Remove_Payment as em_etpr89_451_, invoice0_.EM_Fshedi_Processed as em_fshe90_451_, invoice0_.EM_Prsc_Iscommissionable as em_prsc91_451_, invoice0_.EM_Aeatsii_Fecha_Operacion as em_aeat92_451_, invoice0_.EM_Etblkc_Bulkcompletion as em_etbl93_451_, invoice0_.EM_Aeatsii_Clave_Tipo as em_aeat94_451_, invoice0_.EM_Etinter_Interco_Orig as em_etin95_451_, invoice0_.EM_Aeatsii_Motivo_Rectif as em_aeat96_451_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as em_aeat97_451_, invoice0_.EM_Bass_Observations as em_bass98_451_, invoice0_.EM_Ml_Select_Product as em_ml_s99_451_, invoice0_.em_tbai_qrcode as em_tba100_451_, invoice0_.EM_Aeatsii_Tipo_Rectif as em_aea101_451_, invoice0_.EM_Tbai_Url as em_tba102_451_, invoice0_.EM_Aeatsii_Dua as em_aea103_451_, invoice0_.EM_Tbai_Xmlgenerator as em_tba104_451_, invoice0_.EM_Aeatsii_Fecha_Dua as em_aea105_451_, invoice0_.EM_Tbai_Signaturevalue as em_tba106_451_, invoice0_.EM_Advptc_Payment_Cond_ID as em_adv107_451_, invoice0_.EM_Aeatsii_Estado as em_aea108_451_, invoice0_.EM_Prscrm_Suitedocid as em_prs109_451_, invoice0_.EM_Tbai_Sequence as em_tba110_451_, invoice0_.EM_Aeatsii_Error_Registral as em_aea111_451_, invoice0_.EM_Bass_Special_Paymentplan as em_bas112_451_, invoice0_.EM_Prsc_Commissiontype as em_prs113_451_, invoice0_.EM_Tbai_Idtbai as em_tba114_451_, invoice0_.EM_Aeatsii_Modif as em_aea115_451_, invoice0_.EM_Etvfac_Date_Issue as em_etv116_451_, invoice0_.EM_Prsc_Allowcommission as em_prs117_451_, invoice0_.EM_Tbai_Reverseinvoicecode as em_tba118_451_, invoice0_.EM_Aeatsii_Modified as em_aea119_451_, invoice0_.EM_Etvfac_Issue as em_etv120_451_, invoice0_.EM_Tbai_Issent as em_tba121_451_, invoice0_.EM_Aeatsii_Description_ID as em_aea122_451_, invoice0_.EM_Etvfac_Issue_Description as em_etv123_451_, invoice0_.EM_Tbai_Reverseinvoicetype as em_tba124_451_, invoice0_.EM_Aeatsii_Descripcion_Sii as em_aea125_451_, invoice0_.EM_Tbai_Isreverseinvoice as em_tba126_451_, invoice0_.EM_Advpro2_Create_From_Outs as em_adv127_451_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as em_aea128_451_, invoice0_.EM_Tbai_Invoiceseq as em_tba129_451_, invoice0_.EM_Aeatsii_Dup as em_aea130_451_, invoice0_.EM_Tbai_Invoicenum as em_tba131_451_, invoice0_.EM_Aeatsii_Error_Code as em_aea132_451_, invoice0_.EM_Etvfac_Bp_Name_Copy as em_etv133_451_, invoice0_.EM_Etvfac_Rect_Create as em_etv134_451_, invoice0_.EM_Aeatsii_Error_Msg as em_aea135_451_, invoice0_.EM_Etcopag_Cop_Feedback as em_etc136_451_, invoice0_.EM_Etvfac_Bp_Taxid_Copy as em_etv137_451_, invoice0_.EM_Etvfac_Is_Gen_Manual as em_etv138_451_, invoice0_.EM_Aeatsii_Unsubscribe as em_aea139_451_, invoice0_.EM_Etvfac_Contact_Name_Copy as em_etv140_451_, invoice0_.EM_Aeatsii_Pur_Description_ID as em_aea141_451_, invoice0_.EM_Etvfac_Address1_Copy as em_etv142_451_, invoice0_.EM_Etvfac_Postal_Copy as em_etv143_451_, invoice0_.EM_Fash_Datevalue as em_fas144_451_, invoice0_.EM_Aeatsii_Multi_Dua as em_aea145_451_, invoice0_.EM_Etvfac_City_Copy as em_etv146_451_, invoice0_.EM_Aeatsii_Ejercicio as em_aea147_451_, invoice0_.EM_Etvfac_Region_Copy as em_etv148_451_, invoice0_.EM_Aeatsii_Periodo as em_aea149_451_, invoice0_.EM_Etvfac_Country_Copy as em_etv150_451_, invoice0_.EM_Aeatsii_Autofactura as em_aea151_451_, invoice0_.EM_Etvfac_Phone_Copy as em_etv152_451_, invoice0_.EM_Aeatsii_Invoice_ID as em_aea153_451_, invoice0_.EM_Etvfac_Fax_Copy as em_etv154_451_, invoice0_.EM_Aeatsii_Insiidate as em_aea155_451_, invoice0_.EM_Etvfac_Org_Name_Copy as em_etv156_451_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as em_aea157_451_, invoice0_.EM_Etvfac_Org_Taxid_Copy as em_etv158_451_, invoice0_.EM_Etvfac_Org_Location_Copy as em_etv159_451_, invoice0_.EM_Prclf_Createlinesfrom as em_prc160_451_, invoice0_.EM_Aeatsii_Isauthorization as em_aea161_451_, invoice0_.EM_Aeatsii_Authorizationno as em_aea162_451_, invoice0_.EM_Etvfac_Invoice_Status as em_etv163_451_, invoice0_.EM_Etvfac_Senttoverifac as em_etv164_451_, invoice0_.EM_Etvfac_Inv_Type as em_etv165_451_, invoice0_.EM_Etvfac_Invnoidart61d as em_etv166_451_, invoice0_.EM_Prapi_Isadvpaymentinvoice as em_pra167_451_, invoice0_.EM_Etvfac_Verifac_Desc as em_etv168_451_, invoice0_.EM_Prapi_Fullycompensated as em_pra169_451_, invoice0_.EM_Etvfac_Corrected_Inv as em_etv170_451_, invoice0_.EM_Etvfac_Date_Operation as em_etv171_451_, invoice0_.EM_Prapi_Amtpendingcomp as em_pra172_451_, invoice0_.EM_Etvfac_Reverseinvtype as em_etv173_451_, invoice0_.EM_Priuti_Createpurchinv as em_pri174_451_, invoice0_.EM_Priuti_Generated as em_pri175_451_, invoice0_.EM_Priuti_Date_Complete as em_pri176_451_, invoice0_.EM_Tbai_Issue_Date as em_tba177_451_, invoice0_.EM_Priuti_User_Complete_ID as em_pri178_451_, invoice0_.EM_Priuti_Status_Of_Review as em_pri179_451_, invoice0_.EM_Etvfac_External_Ref as em_etv180_451_, invoice0_.EM_Priuti_Validate as em_pri181_451_, invoice0_.EM_Priuti_Start_Review as em_pri182_451_, invoice0_.EM_Prsii_Changeperiod as em_prs183_451_, invoice0_.EM_Etsg_Is_F3 as em_ets184_451_, invoice0_.EM_Etvfac_Hash as em_etv185_451_, invoice0_.EM_Prsii_Changeperiodlog as em_prs186_451_, invoice0_.EM_Etsg_Date_Operation as em_ets187_451_, invoice0_.EM_Tbai_Date_Operation as em_tba188_451_, invoice0_.EM_Etvfac_Issubsanation as em_etv189_451_, invoice0_.EM_Etvfac_Void as em_etv190_451_, invoice0_.EM_Tbai_Voidxmlgenerator as em_tba191_451_, invoice0_.EM_Priuti_Delete_Payment_Sch as em_pri192_451_, invoice0_.EM_Priuti_Sch_Inv_Log as em_pri193_451_, invoice0_.EM_Priuti_Addlines_Btn as em_pri194_451_, invoice0_.EM_Pruti_Notsendinvoice as em_pru195_451_, invoice0_.EM_Etvfac_Simpinvart7273 as em_etv196_451_, invoice0_.EM_Aeatsii_Hash as em_aea197_451_, invoice0_.EM_Aeatsii_Date_Issue as em_aea198_451_, invoice0_.EM_Etvfac_Qr_Url as em_etv199_451_, invoice0_.EM_Etvfac_Issued_Externally as em_etv200_451_, invoice0_.EM_Fshedi_Dptocompra as em_fsh201_451_, invoice0_.EM_Fshedi_Sucursal as em_fsh202_451_ from C_Invoice invoice0_ where invoice0_.IsSOTrx = 'Y' and invoice0_.DocStatus <> 'TEMP' and (invoice0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (invoice0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by invoice0_.DateInvoiced desc, invoice0_.C_Invoice_ID desc limit '101';
Date: 2026-07-14 09:30:11 Duration: 1s134ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 19 34s400ms 1s229ms 2s372ms 1s810ms select businesspa0_.c_bpartner_id as c_bpartn1_392_, businesspa0_.ad_client_id as ad_clien2_392_, businesspa0_.ad_org_id as ad_org_i3_392_, businesspa0_.isactive as isactive4_392_, businesspa0_.created as created5_392_, businesspa0_.createdby as createdb6_392_, businesspa0_.updated as updated7_392_, businesspa0_.updatedby as updatedb8_392_, businesspa0_.value as value9_392_, businesspa0_.name as name10_392_, businesspa0_.name2 as name11_392_, businesspa0_.description as descrip12_392_, businesspa0_.issummary as issumma13_392_, businesspa0_.c_bp_group_id as c_bp_gr14_392_, businesspa0_.isonetime as isoneti15_392_, businesspa0_.isprospect as isprosp16_392_, businesspa0_.isvendor as isvendo17_392_, businesspa0_.iscustomer as iscusto18_392_, businesspa0_.isemployee as isemplo19_392_, businesspa0_.issalesrep as issales20_392_, businesspa0_.referenceno as referen21_392_, businesspa0_.duns as duns22_392_, businesspa0_.url as url23_392_, businesspa0_.ad_language as ad_lang24_392_, businesspa0_.taxid as taxid25_392_, businesspa0_.istaxexempt as istaxex26_392_, businesspa0_.c_invoiceschedule_id as c_invoi27_392_, businesspa0_.rating as rating28_392_, businesspa0_.salesvolume as salesvo29_392_, businesspa0_.numberemployees as numbere30_392_, businesspa0_.naics as naics31_392_, businesspa0_.firstsale as firstsa32_392_, businesspa0_.acqusitioncost as acqusit33_392_, businesspa0_.potentiallifetimevalue as potenti34_392_, businesspa0_.actuallifetimevalue as actuall35_392_, businesspa0_.shareofcustomer as shareof36_392_, businesspa0_.paymentrule as payment37_392_, businesspa0_.so_creditlimit as so_cred38_392_, businesspa0_.so_creditused as so_cred39_392_, businesspa0_.c_paymentterm_id as c_payme40_392_, businesspa0_.m_pricelist_id as m_price41_392_, businesspa0_.isdiscountprinted as isdisco42_392_, businesspa0_.so_description as so_desc43_392_, businesspa0_.poreference as porefer44_392_, businesspa0_.paymentrulepo as payment45_392_, businesspa0_.po_pricelist_id as po_pric46_392_, businesspa0_.po_paymentterm_id as po_paym47_392_, businesspa0_.documentcopies as documen48_392_, businesspa0_.c_greeting_id as c_greet49_392_, businesspa0_.invoicerule as invoice50_392_, businesspa0_.deliveryrule as deliver51_392_, businesspa0_.deliveryviarule as deliver52_392_, businesspa0_.salesrep_id as salesre53_392_, businesspa0_.bpartner_parent_id as bpartne54_392_, businesspa0_.socreditstatus as socredi55_392_, businesspa0_.ad_forced_org_id as ad_forc56_392_, businesspa0_.showpriceinorder as showpri57_392_, businesspa0_.invoicegrouping as invoice58_392_, businesspa0_.fixmonthday as fixmont59_392_, businesspa0_.fixmonthday2 as fixmont60_392_, businesspa0_.fixmonthday3 as fixmont61_392_, businesspa0_.isworker as isworke62_392_, businesspa0_.upc as upc63_392_, businesspa0_.c_salary_category_id as c_salar64_392_, businesspa0_.invoice_printformat as invoice65_392_, businesspa0_.last_days as last_da66_392_, businesspa0_.po_bankaccount_id as po_bank67_392_, businesspa0_.po_bp_taxcategory_id as po_bp_t68_392_, businesspa0_.po_fixmonthday as po_fixm69_392_, businesspa0_.po_fixmonthday2 as po_fixm70_392_, businesspa0_.po_fixmonthday3 as po_fixm71_392_, businesspa0_.so_bankaccount_id as so_bank72_392_, businesspa0_.so_bp_taxcategory_id as so_bp_t73_392_, businesspa0_.fiscalcode as fiscalc74_392_, businesspa0_.isofiscalcode as isofisc75_392_, businesspa0_.em_einv_einvoice as em_einv76_392_, businesspa0_.po_c_incoterms_id as po_c_in77_392_, businesspa0_.em_einv_format_id as em_einv78_392_, businesspa0_.so_c_incoterms_id as so_c_in79_392_, businesspa0_.em_einv_platform_id as em_einv80_392_, businesspa0_.fin_paymentmethod_id as fin_pay81_392_, businesspa0_.em_einv_email as em_einv82_392_, businesspa0_.po_paymentmethod_id as po_paym83_392_, businesspa0_.fin_financial_account_id as fin_fin84_392_, businesspa0_.em_einv_deliverymode as em_einv85_392_, businesspa0_.po_financial_account_id as po_fina86_392_, businesspa0_.customer_blocking as custome87_392_, businesspa0_.vendor_blocking as vendor_88_392_, businesspa0_.so_payment_blocking as so_paym89_392_, businesspa0_.po_payment_blocking as po_paym90_392_, businesspa0_.so_invoice_blocking as so_invo91_392_, businesspa0_.po_invoice_blocking as po_invo92_392_, businesspa0_.so_order_blocking as so_orde93_392_, businesspa0_.po_order_blocking as po_orde94_392_, businesspa0_.so_goods_blocking as so_good95_392_, businesspa0_.po_goods_blocking as po_good96_392_, businesspa0_.iscashvat as iscashv97_392_, businesspa0_.em_advcrm_newactivity as em_advc98_392_, businesspa0_.update_currency as update_99_392_, businesspa0_.bp_currency_id as bp_cur100_392_, businesspa0_.em_fshedi_ean_destination as em_fsh101_392_, businesspa0_.birthplace as birthp102_392_, businesspa0_.em_fshedi_enable_orders as em_fsh103_392_, businesspa0_.birthday as birthd104_392_, businesspa0_.em_advpro2_workshop as em_adv105_392_, businesspa0_.em_fshedi_enable_statistics as em_fsh106_392_, businesspa0_.em_fshins_show_risks as em_fsh107_392_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgp108_392_, businesspa0_.em_advpro2_outsrcplist_id as em_adv109_392_, businesspa0_.em_fshedi_enable_shipments as em_fsh110_392_, businesspa0_.is_customer_consent as is_cus111_392_, businesspa0_.em_advpro2_createrescap as em_adv112_392_, businesspa0_.em_advptc_bp_bank_account_id as em_adv113_392_, businesspa0_.em_fshedi_enable_invoices as em_fsh114_392_, businesspa0_.em_fshedi_customer_price as em_fsh115_392_, businesspa0_.em_obsepad_mandate_identifier as em_obs116_392_, businesspa0_.em_fshedi_order_lenght as em_fsh117_392_, businesspa0_.em_obsepad_mandate_date as em_obs118_392_, businesspa0_.em_fshedi_use_ean as em_fsh119_392_, businesspa0_.em_fshedi_reference_field as em_fsh120_392_, businesspa0_.em_aeatsii_rep_taxid as em_aea121_392_, businesspa0_.em_fshedi_posinit_ref_field as em_fsh122_392_, businesspa0_.em_aeatsii_menor as em_aea123_392_, businesspa0_.em_fshedi_chars_ref_field as em_fsh124_392_, businesspa0_.em_pruti_addbp as em_pru125_392_, businesspa0_.em_pruti_unlock_date as em_pru126_392_, businesspa0_.em_pruti_unlock_order_date as em_pru127_392_, businesspa0_.em_pruti_annexes_bp_so_id as em_pru128_392_, businesspa0_.em_pruti_annexes_bp_po_id as em_pru129_392_, businesspa0_.em_aeatsii_defaultsiikey as em_aea130_392_, businesspa0_.em_advshi_priority as em_adv131_392_, businesspa0_.em_aeatsii_siikeylist as em_aea132_392_, businesspa0_.em_rrhh_exemployee as em_rrh133_392_, businesspa0_.em_rrhh_candidate as em_rrh134_392_, businesspa0_.em_advcrm2_confirming_mail as em_adv135_392_, businesspa0_.em_rrhh_holidays_supervisor as em_rrh136_392_, businesspa0_.em_prsii_clave_tipo_proveedor as em_prs137_392_, businesspa0_.em_tbai_issimplifiedinv as em_tba138_392_, businesspa0_.em_prsii_clave_tipo_cliente as em_prs139_392_, businesspa0_.em_bass_holding_id as em_bas140_392_, businesspa0_.em_obwpl_bp_block_pickinglist as em_obw141_392_, businesspa0_.em_bass_workshoptype as em_bas142_392_, businesspa0_.em_rrhh_mainworkstation_id as em_rrh143_392_, businesspa0_.em_bass_bpclasification_id as em_bas144_392_, businesspa0_.em_rrhh_bp_transfer_code as em_rrh145_392_, businesspa0_.em_bass_seqno as em_bas146_392_, businesspa0_.em_bass_c_location_id as em_bas147_392_, businesspa0_.em_bass_region as em_bas148_392_, businesspa0_.em_bass_city as em_bas149_392_, businesspa0_.em_bass_printinoutsummary as em_bas150_392_, businesspa0_.em_bass_printinoutsummaryval as em_bas151_392_, businesspa0_.em_bass_requerecontrolquality as em_bas152_392_, businesspa0_.em_bass_lastmailsatisfact as em_bas153_392_, businesspa0_.em_bass_generaterfid as em_bas154_392_, businesspa0_.em_bass_pricebyadvpro2plist as em_bas155_392_, businesspa0_.em_bass_country_id as em_bas156_392_, businesspa0_.em_prqc_valuation_conf_id as em_prq157_392_, businesspa0_.em_advpro2_generate_capacity as em_adv158_392_, businesspa0_.em_pruti_cus_block_reason_id as em_pru159_392_, businesspa0_.em_pruti_notsendinvoice as em_pru160_392_, businesspa0_.em_pramz_code as em_pra161_392_, businesspa0_.em_pruti_showpriceingoods as em_pru162_392_, businesspa0_.em_bass_bporigin as em_bas163_392_, businesspa0_.em_bass_transit_days as em_bas164_392_, businesspa0_.em_prscrm_uploadloc_asaccount as em_prs165_392_, businesspa0_.em_bass_closedocs_tolerance as em_bas166_392_, businesspa0_.em_bass_hybrid as em_bas167_392_, businesspa0_.em_bass_cs_agent_id as em_bas168_392_, businesspa0_.em_bass_shipping_tolerance as em_bas169_392_, businesspa0_.em_obtik_tax_id_key as em_obt170_392_, businesspa0_.em_prcex_glitem_id as em_prc171_392_, businesspa0_.em_prma_update_bprecords as em_prm172_392_ from c_bpartner businesspa0_ where exists ( select ? from c_order order1_ inner join c_bpartner businesspa2_ on order1_.c_bpartner_id = businesspa2_.c_bpartner_id where (upper((order1_.documentno || ?| | coalesce(to_char(order1_.dateordered), ?) || ?| | coalesce(to_char(order1_.grandtotal), ?))) like upper(?) escape ?) and businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id and (order1_.ad_org_id in (...)) and (order1_.ad_client_id in (...))) order by businesspa0_.name, businesspa0_.name2 limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 14 09 3 6s671ms 2s223ms 12 3 4s639ms 1s546ms 13 2 3s555ms 1s777ms 15 3 5s548ms 1s849ms 16 4 6s981ms 1s745ms 19 3 5s566ms 1s855ms 20 1 1s438ms 1s438ms [ User: tad - Total duration: 34s400ms - Times executed: 19 ]
[ Application: openbravo - Total duration: 34s400ms - Times executed: 19 ]
-
select businesspa0_.C_BPartner_ID as c_bpartn1_392_, businesspa0_.AD_Client_ID as ad_clien2_392_, businesspa0_.AD_Org_ID as ad_org_i3_392_, businesspa0_.IsActive as isactive4_392_, businesspa0_.Created as created5_392_, businesspa0_.CreatedBy as createdb6_392_, businesspa0_.Updated as updated7_392_, businesspa0_.UpdatedBy as updatedb8_392_, businesspa0_.Value as value9_392_, businesspa0_.Name as name10_392_, businesspa0_.Name2 as name11_392_, businesspa0_.Description as descrip12_392_, businesspa0_.IsSummary as issumma13_392_, businesspa0_.C_BP_Group_ID as c_bp_gr14_392_, businesspa0_.IsOneTime as isoneti15_392_, businesspa0_.IsProspect as isprosp16_392_, businesspa0_.IsVendor as isvendo17_392_, businesspa0_.IsCustomer as iscusto18_392_, businesspa0_.IsEmployee as isemplo19_392_, businesspa0_.IsSalesRep as issales20_392_, businesspa0_.ReferenceNo as referen21_392_, businesspa0_.DUNS as duns22_392_, businesspa0_.URL as url23_392_, businesspa0_.AD_Language as ad_lang24_392_, businesspa0_.TaxID as taxid25_392_, businesspa0_.IsTaxExempt as istaxex26_392_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_392_, businesspa0_.Rating as rating28_392_, businesspa0_.SalesVolume as salesvo29_392_, businesspa0_.NumberEmployees as numbere30_392_, businesspa0_.NAICS as naics31_392_, businesspa0_.FirstSale as firstsa32_392_, businesspa0_.AcqusitionCost as acqusit33_392_, businesspa0_.PotentialLifeTimeValue as potenti34_392_, businesspa0_.ActualLifeTimeValue as actuall35_392_, businesspa0_.ShareOfCustomer as shareof36_392_, businesspa0_.PaymentRule as payment37_392_, businesspa0_.SO_CreditLimit as so_cred38_392_, businesspa0_.SO_CreditUsed as so_cred39_392_, businesspa0_.C_PaymentTerm_ID as c_payme40_392_, businesspa0_.M_PriceList_ID as m_price41_392_, businesspa0_.IsDiscountPrinted as isdisco42_392_, businesspa0_.SO_Description as so_desc43_392_, businesspa0_.POReference as porefer44_392_, businesspa0_.PaymentRulePO as payment45_392_, businesspa0_.PO_PriceList_ID as po_pric46_392_, businesspa0_.PO_PaymentTerm_ID as po_paym47_392_, businesspa0_.DocumentCopies as documen48_392_, businesspa0_.C_Greeting_ID as c_greet49_392_, businesspa0_.InvoiceRule as invoice50_392_, businesspa0_.DeliveryRule as deliver51_392_, businesspa0_.DeliveryViaRule as deliver52_392_, businesspa0_.SalesRep_ID as salesre53_392_, businesspa0_.BPartner_Parent_ID as bpartne54_392_, businesspa0_.SOCreditStatus as socredi55_392_, businesspa0_.AD_Forced_Org_ID as ad_forc56_392_, businesspa0_.ShowPriceInOrder as showpri57_392_, businesspa0_.Invoicegrouping as invoice58_392_, businesspa0_.FixMonthDay as fixmont59_392_, businesspa0_.FixMonthDay2 as fixmont60_392_, businesspa0_.Fixmonthday3 as fixmont61_392_, businesspa0_.Isworker as isworke62_392_, businesspa0_.UPC as upc63_392_, businesspa0_.C_Salary_Category_ID as c_salar64_392_, businesspa0_.Invoice_Printformat as invoice65_392_, businesspa0_.Last_Days as last_da66_392_, businesspa0_.PO_Bankaccount_ID as po_bank67_392_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_392_, businesspa0_.PO_Fixmonthday as po_fixm69_392_, businesspa0_.PO_Fixmonthday2 as po_fixm70_392_, businesspa0_.PO_Fixmonthday3 as po_fixm71_392_, businesspa0_.SO_Bankaccount_ID as so_bank72_392_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_392_, businesspa0_.Fiscalcode as fiscalc74_392_, businesspa0_.Isofiscalcode as isofisc75_392_, businesspa0_.EM_Einv_Einvoice as em_einv76_392_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_392_, businesspa0_.EM_Einv_Format_Id as em_einv78_392_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_392_, businesspa0_.EM_Einv_Platform_Id as em_einv80_392_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_392_, businesspa0_.EM_Einv_Email as em_einv82_392_, businesspa0_.PO_Paymentmethod_ID as po_paym83_392_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_392_, businesspa0_.EM_Einv_Deliverymode as em_einv85_392_, businesspa0_.PO_Financial_Account_ID as po_fina86_392_, businesspa0_.Customer_Blocking as custome87_392_, businesspa0_.Vendor_Blocking as vendor_88_392_, businesspa0_.SO_Payment_Blocking as so_paym89_392_, businesspa0_.PO_Payment_Blocking as po_paym90_392_, businesspa0_.SO_Invoice_Blocking as so_invo91_392_, businesspa0_.PO_Invoice_Blocking as po_invo92_392_, businesspa0_.SO_Order_Blocking as so_orde93_392_, businesspa0_.PO_Order_Blocking as po_orde94_392_, businesspa0_.SO_Goods_Blocking as so_good95_392_, businesspa0_.PO_Goods_Blocking as po_good96_392_, businesspa0_.Iscashvat as iscashv97_392_, businesspa0_.EM_Advcrm_Newactivity as em_advc98_392_, businesspa0_.Update_Currency as update_99_392_, businesspa0_.BP_Currency_ID as bp_cur100_392_, businesspa0_.EM_Fshedi_Ean_Destination as em_fsh101_392_, businesspa0_.Birthplace as birthp102_392_, businesspa0_.EM_Fshedi_Enable_Orders as em_fsh103_392_, businesspa0_.Birthday as birthd104_392_, businesspa0_.EM_Advpro2_Workshop as em_adv105_392_, businesspa0_.EM_Fshedi_Enable_Statistics as em_fsh106_392_, businesspa0_.EM_Fshins_Show_Risks as em_fsh107_392_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgp108_392_, businesspa0_.em_advpro2_outsrcplist_id as em_adv109_392_, businesspa0_.EM_Fshedi_Enable_Shipments as em_fsh110_392_, businesspa0_.Is_Customer_Consent as is_cus111_392_, businesspa0_.EM_Advpro2_Createrescap as em_adv112_392_, businesspa0_.EM_Advptc_Bp_Bank_Account_ID as em_adv113_392_, businesspa0_.EM_Fshedi_Enable_Invoices as em_fsh114_392_, businesspa0_.EM_Fshedi_Customer_Price as em_fsh115_392_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs116_392_, businesspa0_.EM_Fshedi_Order_Lenght as em_fsh117_392_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs118_392_, businesspa0_.EM_Fshedi_Use_Ean as em_fsh119_392_, businesspa0_.EM_Fshedi_Reference_Field as em_fsh120_392_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea121_392_, businesspa0_.EM_Fshedi_Posinit_Ref_Field as em_fsh122_392_, businesspa0_.EM_Aeatsii_Menor as em_aea123_392_, businesspa0_.EM_Fshedi_Chars_Ref_Field as em_fsh124_392_, businesspa0_.EM_Pruti_Addbp as em_pru125_392_, businesspa0_.EM_Pruti_Unlock_Date as em_pru126_392_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru127_392_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru128_392_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru129_392_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea130_392_, businesspa0_.EM_Advshi_Priority as em_adv131_392_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea132_392_, businesspa0_.EM_Rrhh_Exemployee as em_rrh133_392_, businesspa0_.EM_Rrhh_Candidate as em_rrh134_392_, businesspa0_.EM_Advcrm2_Confirming_Mail as em_adv135_392_, businesspa0_.EM_Rrhh_Holidays_Supervisor as em_rrh136_392_, businesspa0_.EM_Prsii_Clave_Tipo_Proveedor as em_prs137_392_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba138_392_, businesspa0_.EM_Prsii_Clave_Tipo_Cliente as em_prs139_392_, businesspa0_.EM_Bass_Holding_ID as em_bas140_392_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist as em_obw141_392_, businesspa0_.EM_Bass_Workshoptype as em_bas142_392_, businesspa0_.EM_Rrhh_Mainworkstation_ID as em_rrh143_392_, businesspa0_.EM_Bass_Bpclasification_ID as em_bas144_392_, businesspa0_.EM_Rrhh_Bp_Transfer_Code as em_rrh145_392_, businesspa0_.EM_Bass_Seqno as em_bas146_392_, businesspa0_.EM_Bass_C_Location_ID as em_bas147_392_, businesspa0_.EM_Bass_Region as em_bas148_392_, businesspa0_.EM_Bass_City as em_bas149_392_, businesspa0_.EM_Bass_Printinoutsummary as em_bas150_392_, businesspa0_.EM_Bass_Printinoutsummaryval as em_bas151_392_, businesspa0_.EM_Bass_Requerecontrolquality as em_bas152_392_, businesspa0_.EM_Bass_Lastmailsatisfact as em_bas153_392_, businesspa0_.EM_Bass_Generaterfid as em_bas154_392_, businesspa0_.EM_Bass_Pricebyadvpro2plist as em_bas155_392_, businesspa0_.EM_Bass_Country_ID as em_bas156_392_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prq157_392_, businesspa0_.EM_Advpro2_Generate_Capacity as em_adv158_392_, businesspa0_.em_pruti_cus_block_reason_id as em_pru159_392_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru160_392_, businesspa0_.EM_Pramz_Code as em_pra161_392_, businesspa0_.EM_Pruti_Showpriceingoods as em_pru162_392_, businesspa0_.EM_Bass_Bporigin as em_bas163_392_, businesspa0_.EM_Bass_Transit_Days as em_bas164_392_, businesspa0_.EM_Prscrm_Uploadloc_Asaccount as em_prs165_392_, businesspa0_.EM_Bass_Closedocs_Tolerance as em_bas166_392_, businesspa0_.EM_Bass_Hybrid as em_bas167_392_, businesspa0_.EM_Bass_Cs_Agent_ID as em_bas168_392_, businesspa0_.EM_Bass_Shipping_Tolerance as em_bas169_392_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt170_392_, businesspa0_.Em_Prcex_Glitem_Id as em_prc171_392_, businesspa0_.em_prma_update_BpRecords as em_prm172_392_ from C_BPartner businesspa0_ where exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID where (upper((order1_.DocumentNo || ' - ' || coalesce(to_char(order1_.DateOrdered), '') || ' - ' || coalesce(to_char(order1_.GrandTotal), ''))) like upper('%iluni%') escape '|') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by businesspa0_.Name, businesspa0_.Name2 limit '76';
Date: 2026-07-14 16:36:03 Duration: 2s372ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_392_, businesspa0_.AD_Client_ID as ad_clien2_392_, businesspa0_.AD_Org_ID as ad_org_i3_392_, businesspa0_.IsActive as isactive4_392_, businesspa0_.Created as created5_392_, businesspa0_.CreatedBy as createdb6_392_, businesspa0_.Updated as updated7_392_, businesspa0_.UpdatedBy as updatedb8_392_, businesspa0_.Value as value9_392_, businesspa0_.Name as name10_392_, businesspa0_.Name2 as name11_392_, businesspa0_.Description as descrip12_392_, businesspa0_.IsSummary as issumma13_392_, businesspa0_.C_BP_Group_ID as c_bp_gr14_392_, businesspa0_.IsOneTime as isoneti15_392_, businesspa0_.IsProspect as isprosp16_392_, businesspa0_.IsVendor as isvendo17_392_, businesspa0_.IsCustomer as iscusto18_392_, businesspa0_.IsEmployee as isemplo19_392_, businesspa0_.IsSalesRep as issales20_392_, businesspa0_.ReferenceNo as referen21_392_, businesspa0_.DUNS as duns22_392_, businesspa0_.URL as url23_392_, businesspa0_.AD_Language as ad_lang24_392_, businesspa0_.TaxID as taxid25_392_, businesspa0_.IsTaxExempt as istaxex26_392_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_392_, businesspa0_.Rating as rating28_392_, businesspa0_.SalesVolume as salesvo29_392_, businesspa0_.NumberEmployees as numbere30_392_, businesspa0_.NAICS as naics31_392_, businesspa0_.FirstSale as firstsa32_392_, businesspa0_.AcqusitionCost as acqusit33_392_, businesspa0_.PotentialLifeTimeValue as potenti34_392_, businesspa0_.ActualLifeTimeValue as actuall35_392_, businesspa0_.ShareOfCustomer as shareof36_392_, businesspa0_.PaymentRule as payment37_392_, businesspa0_.SO_CreditLimit as so_cred38_392_, businesspa0_.SO_CreditUsed as so_cred39_392_, businesspa0_.C_PaymentTerm_ID as c_payme40_392_, businesspa0_.M_PriceList_ID as m_price41_392_, businesspa0_.IsDiscountPrinted as isdisco42_392_, businesspa0_.SO_Description as so_desc43_392_, businesspa0_.POReference as porefer44_392_, businesspa0_.PaymentRulePO as payment45_392_, businesspa0_.PO_PriceList_ID as po_pric46_392_, businesspa0_.PO_PaymentTerm_ID as po_paym47_392_, businesspa0_.DocumentCopies as documen48_392_, businesspa0_.C_Greeting_ID as c_greet49_392_, businesspa0_.InvoiceRule as invoice50_392_, businesspa0_.DeliveryRule as deliver51_392_, businesspa0_.DeliveryViaRule as deliver52_392_, businesspa0_.SalesRep_ID as salesre53_392_, businesspa0_.BPartner_Parent_ID as bpartne54_392_, businesspa0_.SOCreditStatus as socredi55_392_, businesspa0_.AD_Forced_Org_ID as ad_forc56_392_, businesspa0_.ShowPriceInOrder as showpri57_392_, businesspa0_.Invoicegrouping as invoice58_392_, businesspa0_.FixMonthDay as fixmont59_392_, businesspa0_.FixMonthDay2 as fixmont60_392_, businesspa0_.Fixmonthday3 as fixmont61_392_, businesspa0_.Isworker as isworke62_392_, businesspa0_.UPC as upc63_392_, businesspa0_.C_Salary_Category_ID as c_salar64_392_, businesspa0_.Invoice_Printformat as invoice65_392_, businesspa0_.Last_Days as last_da66_392_, businesspa0_.PO_Bankaccount_ID as po_bank67_392_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_392_, businesspa0_.PO_Fixmonthday as po_fixm69_392_, businesspa0_.PO_Fixmonthday2 as po_fixm70_392_, businesspa0_.PO_Fixmonthday3 as po_fixm71_392_, businesspa0_.SO_Bankaccount_ID as so_bank72_392_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_392_, businesspa0_.Fiscalcode as fiscalc74_392_, businesspa0_.Isofiscalcode as isofisc75_392_, businesspa0_.EM_Einv_Einvoice as em_einv76_392_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_392_, businesspa0_.EM_Einv_Format_Id as em_einv78_392_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_392_, businesspa0_.EM_Einv_Platform_Id as em_einv80_392_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_392_, businesspa0_.EM_Einv_Email as em_einv82_392_, businesspa0_.PO_Paymentmethod_ID as po_paym83_392_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_392_, businesspa0_.EM_Einv_Deliverymode as em_einv85_392_, businesspa0_.PO_Financial_Account_ID as po_fina86_392_, businesspa0_.Customer_Blocking as custome87_392_, businesspa0_.Vendor_Blocking as vendor_88_392_, businesspa0_.SO_Payment_Blocking as so_paym89_392_, businesspa0_.PO_Payment_Blocking as po_paym90_392_, businesspa0_.SO_Invoice_Blocking as so_invo91_392_, businesspa0_.PO_Invoice_Blocking as po_invo92_392_, businesspa0_.SO_Order_Blocking as so_orde93_392_, businesspa0_.PO_Order_Blocking as po_orde94_392_, businesspa0_.SO_Goods_Blocking as so_good95_392_, businesspa0_.PO_Goods_Blocking as po_good96_392_, businesspa0_.Iscashvat as iscashv97_392_, businesspa0_.EM_Advcrm_Newactivity as em_advc98_392_, businesspa0_.Update_Currency as update_99_392_, businesspa0_.BP_Currency_ID as bp_cur100_392_, businesspa0_.EM_Fshedi_Ean_Destination as em_fsh101_392_, businesspa0_.Birthplace as birthp102_392_, businesspa0_.EM_Fshedi_Enable_Orders as em_fsh103_392_, businesspa0_.Birthday as birthd104_392_, businesspa0_.EM_Advpro2_Workshop as em_adv105_392_, businesspa0_.EM_Fshedi_Enable_Statistics as em_fsh106_392_, businesspa0_.EM_Fshins_Show_Risks as em_fsh107_392_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgp108_392_, businesspa0_.em_advpro2_outsrcplist_id as em_adv109_392_, businesspa0_.EM_Fshedi_Enable_Shipments as em_fsh110_392_, businesspa0_.Is_Customer_Consent as is_cus111_392_, businesspa0_.EM_Advpro2_Createrescap as em_adv112_392_, businesspa0_.EM_Advptc_Bp_Bank_Account_ID as em_adv113_392_, businesspa0_.EM_Fshedi_Enable_Invoices as em_fsh114_392_, businesspa0_.EM_Fshedi_Customer_Price as em_fsh115_392_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs116_392_, businesspa0_.EM_Fshedi_Order_Lenght as em_fsh117_392_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs118_392_, businesspa0_.EM_Fshedi_Use_Ean as em_fsh119_392_, businesspa0_.EM_Fshedi_Reference_Field as em_fsh120_392_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea121_392_, businesspa0_.EM_Fshedi_Posinit_Ref_Field as em_fsh122_392_, businesspa0_.EM_Aeatsii_Menor as em_aea123_392_, businesspa0_.EM_Fshedi_Chars_Ref_Field as em_fsh124_392_, businesspa0_.EM_Pruti_Addbp as em_pru125_392_, businesspa0_.EM_Pruti_Unlock_Date as em_pru126_392_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru127_392_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru128_392_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru129_392_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea130_392_, businesspa0_.EM_Advshi_Priority as em_adv131_392_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea132_392_, businesspa0_.EM_Rrhh_Exemployee as em_rrh133_392_, businesspa0_.EM_Rrhh_Candidate as em_rrh134_392_, businesspa0_.EM_Advcrm2_Confirming_Mail as em_adv135_392_, businesspa0_.EM_Rrhh_Holidays_Supervisor as em_rrh136_392_, businesspa0_.EM_Prsii_Clave_Tipo_Proveedor as em_prs137_392_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba138_392_, businesspa0_.EM_Prsii_Clave_Tipo_Cliente as em_prs139_392_, businesspa0_.EM_Bass_Holding_ID as em_bas140_392_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist as em_obw141_392_, businesspa0_.EM_Bass_Workshoptype as em_bas142_392_, businesspa0_.EM_Rrhh_Mainworkstation_ID as em_rrh143_392_, businesspa0_.EM_Bass_Bpclasification_ID as em_bas144_392_, businesspa0_.EM_Rrhh_Bp_Transfer_Code as em_rrh145_392_, businesspa0_.EM_Bass_Seqno as em_bas146_392_, businesspa0_.EM_Bass_C_Location_ID as em_bas147_392_, businesspa0_.EM_Bass_Region as em_bas148_392_, businesspa0_.EM_Bass_City as em_bas149_392_, businesspa0_.EM_Bass_Printinoutsummary as em_bas150_392_, businesspa0_.EM_Bass_Printinoutsummaryval as em_bas151_392_, businesspa0_.EM_Bass_Requerecontrolquality as em_bas152_392_, businesspa0_.EM_Bass_Lastmailsatisfact as em_bas153_392_, businesspa0_.EM_Bass_Generaterfid as em_bas154_392_, businesspa0_.EM_Bass_Pricebyadvpro2plist as em_bas155_392_, businesspa0_.EM_Bass_Country_ID as em_bas156_392_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prq157_392_, businesspa0_.EM_Advpro2_Generate_Capacity as em_adv158_392_, businesspa0_.em_pruti_cus_block_reason_id as em_pru159_392_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru160_392_, businesspa0_.EM_Pramz_Code as em_pra161_392_, businesspa0_.EM_Pruti_Showpriceingoods as em_pru162_392_, businesspa0_.EM_Bass_Bporigin as em_bas163_392_, businesspa0_.EM_Bass_Transit_Days as em_bas164_392_, businesspa0_.EM_Prscrm_Uploadloc_Asaccount as em_prs165_392_, businesspa0_.EM_Bass_Closedocs_Tolerance as em_bas166_392_, businesspa0_.EM_Bass_Hybrid as em_bas167_392_, businesspa0_.EM_Bass_Cs_Agent_ID as em_bas168_392_, businesspa0_.EM_Bass_Shipping_Tolerance as em_bas169_392_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt170_392_, businesspa0_.Em_Prcex_Glitem_Id as em_prc171_392_, businesspa0_.em_prma_update_BpRecords as em_prm172_392_ from C_BPartner businesspa0_ where exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID where (upper((order1_.DocumentNo || ' - ' || coalesce(to_char(order1_.DateOrdered), '') || ' - ' || coalesce(to_char(order1_.GrandTotal), ''))) like upper('%cotco%') escape '|') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by businesspa0_.Name, businesspa0_.Name2 limit '76';
Date: 2026-07-14 09:54:25 Duration: 2s292ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_ID as c_bpartn1_392_, businesspa0_.AD_Client_ID as ad_clien2_392_, businesspa0_.AD_Org_ID as ad_org_i3_392_, businesspa0_.IsActive as isactive4_392_, businesspa0_.Created as created5_392_, businesspa0_.CreatedBy as createdb6_392_, businesspa0_.Updated as updated7_392_, businesspa0_.UpdatedBy as updatedb8_392_, businesspa0_.Value as value9_392_, businesspa0_.Name as name10_392_, businesspa0_.Name2 as name11_392_, businesspa0_.Description as descrip12_392_, businesspa0_.IsSummary as issumma13_392_, businesspa0_.C_BP_Group_ID as c_bp_gr14_392_, businesspa0_.IsOneTime as isoneti15_392_, businesspa0_.IsProspect as isprosp16_392_, businesspa0_.IsVendor as isvendo17_392_, businesspa0_.IsCustomer as iscusto18_392_, businesspa0_.IsEmployee as isemplo19_392_, businesspa0_.IsSalesRep as issales20_392_, businesspa0_.ReferenceNo as referen21_392_, businesspa0_.DUNS as duns22_392_, businesspa0_.URL as url23_392_, businesspa0_.AD_Language as ad_lang24_392_, businesspa0_.TaxID as taxid25_392_, businesspa0_.IsTaxExempt as istaxex26_392_, businesspa0_.C_InvoiceSchedule_ID as c_invoi27_392_, businesspa0_.Rating as rating28_392_, businesspa0_.SalesVolume as salesvo29_392_, businesspa0_.NumberEmployees as numbere30_392_, businesspa0_.NAICS as naics31_392_, businesspa0_.FirstSale as firstsa32_392_, businesspa0_.AcqusitionCost as acqusit33_392_, businesspa0_.PotentialLifeTimeValue as potenti34_392_, businesspa0_.ActualLifeTimeValue as actuall35_392_, businesspa0_.ShareOfCustomer as shareof36_392_, businesspa0_.PaymentRule as payment37_392_, businesspa0_.SO_CreditLimit as so_cred38_392_, businesspa0_.SO_CreditUsed as so_cred39_392_, businesspa0_.C_PaymentTerm_ID as c_payme40_392_, businesspa0_.M_PriceList_ID as m_price41_392_, businesspa0_.IsDiscountPrinted as isdisco42_392_, businesspa0_.SO_Description as so_desc43_392_, businesspa0_.POReference as porefer44_392_, businesspa0_.PaymentRulePO as payment45_392_, businesspa0_.PO_PriceList_ID as po_pric46_392_, businesspa0_.PO_PaymentTerm_ID as po_paym47_392_, businesspa0_.DocumentCopies as documen48_392_, businesspa0_.C_Greeting_ID as c_greet49_392_, businesspa0_.InvoiceRule as invoice50_392_, businesspa0_.DeliveryRule as deliver51_392_, businesspa0_.DeliveryViaRule as deliver52_392_, businesspa0_.SalesRep_ID as salesre53_392_, businesspa0_.BPartner_Parent_ID as bpartne54_392_, businesspa0_.SOCreditStatus as socredi55_392_, businesspa0_.AD_Forced_Org_ID as ad_forc56_392_, businesspa0_.ShowPriceInOrder as showpri57_392_, businesspa0_.Invoicegrouping as invoice58_392_, businesspa0_.FixMonthDay as fixmont59_392_, businesspa0_.FixMonthDay2 as fixmont60_392_, businesspa0_.Fixmonthday3 as fixmont61_392_, businesspa0_.Isworker as isworke62_392_, businesspa0_.UPC as upc63_392_, businesspa0_.C_Salary_Category_ID as c_salar64_392_, businesspa0_.Invoice_Printformat as invoice65_392_, businesspa0_.Last_Days as last_da66_392_, businesspa0_.PO_Bankaccount_ID as po_bank67_392_, businesspa0_.PO_BP_TaxCategory_ID as po_bp_t68_392_, businesspa0_.PO_Fixmonthday as po_fixm69_392_, businesspa0_.PO_Fixmonthday2 as po_fixm70_392_, businesspa0_.PO_Fixmonthday3 as po_fixm71_392_, businesspa0_.SO_Bankaccount_ID as so_bank72_392_, businesspa0_.SO_Bp_Taxcategory_ID as so_bp_t73_392_, businesspa0_.Fiscalcode as fiscalc74_392_, businesspa0_.Isofiscalcode as isofisc75_392_, businesspa0_.EM_Einv_Einvoice as em_einv76_392_, businesspa0_.PO_C_Incoterms_ID as po_c_in77_392_, businesspa0_.EM_Einv_Format_Id as em_einv78_392_, businesspa0_.SO_C_Incoterms_ID as so_c_in79_392_, businesspa0_.EM_Einv_Platform_Id as em_einv80_392_, businesspa0_.FIN_Paymentmethod_ID as fin_pay81_392_, businesspa0_.EM_Einv_Email as em_einv82_392_, businesspa0_.PO_Paymentmethod_ID as po_paym83_392_, businesspa0_.FIN_Financial_Account_ID as fin_fin84_392_, businesspa0_.EM_Einv_Deliverymode as em_einv85_392_, businesspa0_.PO_Financial_Account_ID as po_fina86_392_, businesspa0_.Customer_Blocking as custome87_392_, businesspa0_.Vendor_Blocking as vendor_88_392_, businesspa0_.SO_Payment_Blocking as so_paym89_392_, businesspa0_.PO_Payment_Blocking as po_paym90_392_, businesspa0_.SO_Invoice_Blocking as so_invo91_392_, businesspa0_.PO_Invoice_Blocking as po_invo92_392_, businesspa0_.SO_Order_Blocking as so_orde93_392_, businesspa0_.PO_Order_Blocking as po_orde94_392_, businesspa0_.SO_Goods_Blocking as so_good95_392_, businesspa0_.PO_Goods_Blocking as po_good96_392_, businesspa0_.Iscashvat as iscashv97_392_, businesspa0_.EM_Advcrm_Newactivity as em_advc98_392_, businesspa0_.Update_Currency as update_99_392_, businesspa0_.BP_Currency_ID as bp_cur100_392_, businesspa0_.EM_Fshedi_Ean_Destination as em_fsh101_392_, businesspa0_.Birthplace as birthp102_392_, businesspa0_.EM_Fshedi_Enable_Orders as em_fsh103_392_, businesspa0_.Birthday as birthd104_392_, businesspa0_.EM_Advpro2_Workshop as em_adv105_392_, businesspa0_.EM_Fshedi_Enable_Statistics as em_fsh106_392_, businesspa0_.EM_Fshins_Show_Risks as em_fsh107_392_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgp108_392_, businesspa0_.em_advpro2_outsrcplist_id as em_adv109_392_, businesspa0_.EM_Fshedi_Enable_Shipments as em_fsh110_392_, businesspa0_.Is_Customer_Consent as is_cus111_392_, businesspa0_.EM_Advpro2_Createrescap as em_adv112_392_, businesspa0_.EM_Advptc_Bp_Bank_Account_ID as em_adv113_392_, businesspa0_.EM_Fshedi_Enable_Invoices as em_fsh114_392_, businesspa0_.EM_Fshedi_Customer_Price as em_fsh115_392_, businesspa0_.EM_Obsepad_Mandate_Identifier as em_obs116_392_, businesspa0_.EM_Fshedi_Order_Lenght as em_fsh117_392_, businesspa0_.EM_Obsepad_Mandate_Date as em_obs118_392_, businesspa0_.EM_Fshedi_Use_Ean as em_fsh119_392_, businesspa0_.EM_Fshedi_Reference_Field as em_fsh120_392_, businesspa0_.EM_Aeatsii_Rep_Taxid as em_aea121_392_, businesspa0_.EM_Fshedi_Posinit_Ref_Field as em_fsh122_392_, businesspa0_.EM_Aeatsii_Menor as em_aea123_392_, businesspa0_.EM_Fshedi_Chars_Ref_Field as em_fsh124_392_, businesspa0_.EM_Pruti_Addbp as em_pru125_392_, businesspa0_.EM_Pruti_Unlock_Date as em_pru126_392_, businesspa0_.EM_Pruti_Unlock_Order_Date as em_pru127_392_, businesspa0_.EM_Pruti_Annexes_Bp_So_ID as em_pru128_392_, businesspa0_.EM_Pruti_Annexes_Bp_Po_ID as em_pru129_392_, businesspa0_.EM_Aeatsii_Defaultsiikey as em_aea130_392_, businesspa0_.EM_Advshi_Priority as em_adv131_392_, businesspa0_.EM_Aeatsii_Siikeylist as em_aea132_392_, businesspa0_.EM_Rrhh_Exemployee as em_rrh133_392_, businesspa0_.EM_Rrhh_Candidate as em_rrh134_392_, businesspa0_.EM_Advcrm2_Confirming_Mail as em_adv135_392_, businesspa0_.EM_Rrhh_Holidays_Supervisor as em_rrh136_392_, businesspa0_.EM_Prsii_Clave_Tipo_Proveedor as em_prs137_392_, businesspa0_.EM_Tbai_Issimplifiedinv as em_tba138_392_, businesspa0_.EM_Prsii_Clave_Tipo_Cliente as em_prs139_392_, businesspa0_.EM_Bass_Holding_ID as em_bas140_392_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist as em_obw141_392_, businesspa0_.EM_Bass_Workshoptype as em_bas142_392_, businesspa0_.EM_Rrhh_Mainworkstation_ID as em_rrh143_392_, businesspa0_.EM_Bass_Bpclasification_ID as em_bas144_392_, businesspa0_.EM_Rrhh_Bp_Transfer_Code as em_rrh145_392_, businesspa0_.EM_Bass_Seqno as em_bas146_392_, businesspa0_.EM_Bass_C_Location_ID as em_bas147_392_, businesspa0_.EM_Bass_Region as em_bas148_392_, businesspa0_.EM_Bass_City as em_bas149_392_, businesspa0_.EM_Bass_Printinoutsummary as em_bas150_392_, businesspa0_.EM_Bass_Printinoutsummaryval as em_bas151_392_, businesspa0_.EM_Bass_Requerecontrolquality as em_bas152_392_, businesspa0_.EM_Bass_Lastmailsatisfact as em_bas153_392_, businesspa0_.EM_Bass_Generaterfid as em_bas154_392_, businesspa0_.EM_Bass_Pricebyadvpro2plist as em_bas155_392_, businesspa0_.EM_Bass_Country_ID as em_bas156_392_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prq157_392_, businesspa0_.EM_Advpro2_Generate_Capacity as em_adv158_392_, businesspa0_.em_pruti_cus_block_reason_id as em_pru159_392_, businesspa0_.EM_Pruti_Notsendinvoice as em_pru160_392_, businesspa0_.EM_Pramz_Code as em_pra161_392_, businesspa0_.EM_Pruti_Showpriceingoods as em_pru162_392_, businesspa0_.EM_Bass_Bporigin as em_bas163_392_, businesspa0_.EM_Bass_Transit_Days as em_bas164_392_, businesspa0_.EM_Prscrm_Uploadloc_Asaccount as em_prs165_392_, businesspa0_.EM_Bass_Closedocs_Tolerance as em_bas166_392_, businesspa0_.EM_Bass_Hybrid as em_bas167_392_, businesspa0_.EM_Bass_Cs_Agent_ID as em_bas168_392_, businesspa0_.EM_Bass_Shipping_Tolerance as em_bas169_392_, businesspa0_.EM_OBTIK_Tax_ID_Key as em_obt170_392_, businesspa0_.Em_Prcex_Glitem_Id as em_prc171_392_, businesspa0_.em_prma_update_BpRecords as em_prm172_392_ from C_BPartner businesspa0_ where exists ( select 1 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID where (upper((order1_.DocumentNo || ' - ' || coalesce(to_char(order1_.DateOrdered), '') || ' - ' || coalesce(to_char(order1_.GrandTotal), ''))) like upper('%hannah%%') escape '|') and businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by businesspa0_.Name, businesspa0_.Name2 limit '76';
Date: 2026-07-14 13:28:02 Duration: 2s289ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 18 1m39s 1s343ms 12s1ms 5s514ms select * from ad_sequence_doc (?, ?, ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 14 06 7 32s390ms 4s627ms 07 5 29s600ms 5s920ms 08 1 2s529ms 2s529ms 10 1 10s796ms 10s796ms 12 3 16s337ms 5s445ms 13 1 7s613ms 7s613ms [ User: tad - Total duration: 1m39s - Times executed: 18 ]
[ Application: openbravo - Total duration: 1m39s - Times executed: 18 ]
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 12:05:23 Duration: 12s1ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 10:33:45 Duration: 10s796ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 07:37:01 Duration: 9s511ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 18 23s739ms 1s267ms 1s409ms 1s318ms select materialmg0_.m_inout_id as m_inout_1_803_, materialmg0_.ad_client_id as ad_clien2_803_, materialmg0_.ad_org_id as ad_org_i3_803_, materialmg0_.isactive as isactive4_803_, materialmg0_.created as created5_803_, materialmg0_.createdby as createdb6_803_, materialmg0_.updated as updated7_803_, materialmg0_.updatedby as updatedb8_803_, materialmg0_.issotrx as issotrx9_803_, materialmg0_.documentno as documen10_803_, materialmg0_.docaction as docacti11_803_, materialmg0_.docstatus as docstat12_803_, materialmg0_.posted as posted13_803_, materialmg0_.processing as process14_803_, materialmg0_.processed as process15_803_, materialmg0_.c_doctype_id as c_docty16_803_, materialmg0_.description as descrip17_803_, materialmg0_.c_order_id as c_order18_803_, materialmg0_.dateordered as dateord19_803_, materialmg0_.isprinted as isprint20_803_, materialmg0_.movementtype as movemen21_803_, materialmg0_.movementdate as movemen22_803_, materialmg0_.dateacct as dateacc23_803_, materialmg0_.c_bpartner_id as c_bpart24_803_, materialmg0_.c_bpartner_location_id as c_bpart25_803_, materialmg0_.m_warehouse_id as m_wareh26_803_, materialmg0_.poreference as porefer27_803_, materialmg0_.deliveryrule as deliver28_803_, materialmg0_.freightcostrule as freight29_803_, materialmg0_.freightamt as freight30_803_, materialmg0_.deliveryviarule as deliver31_803_, materialmg0_.m_shipper_id as m_shipp32_803_, materialmg0_.c_charge_id as c_charg33_803_, materialmg0_.chargeamt as chargea34_803_, materialmg0_.priorityrule as priorit35_803_, materialmg0_.dateprinted as datepri36_803_, materialmg0_.c_invoice_id as c_invoi37_803_, materialmg0_.createfrom as createf38_803_, materialmg0_.generateto as generat39_803_, materialmg0_.ad_user_id as ad_user40_803_, materialmg0_.salesrep_id as salesre41_803_, materialmg0_.nopackages as nopacka42_803_, materialmg0_.pickdate as pickdat43_803_, materialmg0_.shipdate as shipdat44_803_, materialmg0_.trackingno as trackin45_803_, materialmg0_.ad_orgtrx_id as ad_orgt46_803_, materialmg0_.c_project_id as c_proje47_803_, materialmg0_.c_campaign_id as c_campa48_803_, materialmg0_.c_activity_id as c_activ49_803_, materialmg0_.user1_id as user50_803_, materialmg0_.user2_id as user51_803_, materialmg0_.updatelines as updatel52_803_, materialmg0_.islogistic as islogis53_803_, materialmg0_.calculate_freight as calcula54_803_, materialmg0_.delivery_location_id as deliver55_803_, materialmg0_.m_freightcategory_id as m_freig56_803_, materialmg0_.freight_currency_id as freight57_803_, materialmg0_.rm_receipt_pickedit as rm_rece58_803_, materialmg0_.rm_shipment_pickedit as rm_ship59_803_, materialmg0_.em_obcma_c_poc_email_id as em_obcm60_803_, materialmg0_.m_condition_goods_id as m_condi61_803_, materialmg0_.a_asset_id as a_asset62_803_, materialmg0_.c_costcenter_id as c_costc63_803_, materialmg0_.process_goods_java as process64_803_, materialmg0_.isnettingshipment as isnetti65_803_, materialmg0_.iscompletelyinvoiced as iscompl66_803_, materialmg0_.em_fshedi_type as em_fshe67_803_, materialmg0_.em_obmfm_freight_id as em_obmf68_803_, materialmg0_.em_obwpack_packing as em_obwp69_803_, materialmg0_.em_sgpcrm_securitygroups_id as em_sgpc70_803_, materialmg0_.em_fshedi_function as em_fshe71_803_, materialmg0_.em_obmfm_delivery_charges as em_obmf72_803_, materialmg0_.em_obwpack_packingh_id as em_obwp73_803_, materialmg0_.invoicefromshipment as invoice74_803_, materialmg0_.em_fshedi_freight as em_fshe75_803_, materialmg0_.em_obwpack_processed as em_obwp76_803_, materialmg0_.bpartner_extref as bpartne77_803_, materialmg0_.em_etblkp_accountingstatus as em_etbl78_803_, materialmg0_.em_fshedi_identif as em_fshe79_803_, materialmg0_.em_obwpack_reactivated as em_obwp80_803_, materialmg0_.em_etblkp_bulkposting as em_etbl81_803_, materialmg0_.em_fshedi_packing_cost as em_fshe82_803_, materialmg0_.em_fshedi_collection as em_fshe83_803_, materialmg0_.em_obwpack_packingrequired as em_obwp84_803_, materialmg0_.em_fshedi_ship_type as em_fshe85_803_, materialmg0_.em_pruti_total_amt_tax as em_prut86_803_, materialmg0_.em_etblkc_bulkcompletion as em_etbl87_803_, materialmg0_.em_obmfm_deliverynotes as em_obmf88_803_, materialmg0_.em_obeuci_ship as em_obeu89_803_, materialmg0_.em_prlog_isexported as em_prlo90_803_, materialmg0_.em_fshedi_processed as em_fshe91_803_, materialmg0_.em_bass_observations as em_bass92_803_, materialmg0_.em_bass_deliverydate as em_bass93_803_, materialmg0_.em_bass_c_return_reason_id as em_bass94_803_, materialmg0_.em_bass_urgent as em_bass95_803_, materialmg0_.em_bass_skip_freight as em_bass96_803_, materialmg0_.em_bass_descriptionpl_tmp as em_bass97_803_, materialmg0_.em_prlog_peso as em_prlo98_803_, materialmg0_.em_bass_descriptionpl as em_bass99_803_, materialmg0_.em_prlog_volumen as em_prl100_803_, materialmg0_.em_bass_tags_printed as em_bas101_803_, materialmg0_.em_bass_modifydate as em_bas102_803_, materialmg0_.em_bass_uploadpending as em_bas103_803_, materialmg0_.em_prqc_generate_control as em_prq104_803_, materialmg0_.em_pramz_disable_trackerror as em_pra105_803_, materialmg0_.em_prqc_processed as em_prq106_803_, materialmg0_.em_bass_valuation_conf_id as em_bas107_803_, materialmg0_.em_pramz_status as em_pra108_803_, materialmg0_.em_bass_prqcpriority as em_bas109_803_, materialmg0_.em_pruti_showpriceingoods as em_pru110_803_, materialmg0_.em_bass_qc_movement_created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.em_pruti_createfrom as em_pru114_803_ from m_inout materialmg0_ left outer join c_order order1_ on materialmg0_.c_order_id = order1_.c_order_id cross join c_doctype documentty2_ where materialmg0_.c_doctype_id = documentty2_.c_doctype_id and (materialmg0_.movementtype in (...)) and materialmg0_.islogistic = ? and documentty2_.isreturn = ? and (materialmg0_.ad_org_id in (...)) and (materialmg0_.ad_client_id in (...)) order by order1_.documentno, order1_.dateordered, order1_.grandtotal, materialmg0_.m_inout_id limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 14 07 2 2s649ms 1s324ms 08 2 2s702ms 1s351ms 09 1 1s284ms 1s284ms 11 5 6s645ms 1s329ms 12 2 2s615ms 1s307ms 13 3 3s960ms 1s320ms 16 3 3s882ms 1s294ms [ User: tad - Total duration: 23s739ms - Times executed: 18 ]
[ Application: openbravo - Total duration: 23s739ms - Times executed: 18 ]
-
select materialmg0_.M_InOut_ID as m_inout_1_803_, materialmg0_.AD_Client_ID as ad_clien2_803_, materialmg0_.AD_Org_ID as ad_org_i3_803_, materialmg0_.IsActive as isactive4_803_, materialmg0_.Created as created5_803_, materialmg0_.CreatedBy as createdb6_803_, materialmg0_.Updated as updated7_803_, materialmg0_.UpdatedBy as updatedb8_803_, materialmg0_.IsSOTrx as issotrx9_803_, materialmg0_.DocumentNo as documen10_803_, materialmg0_.DocAction as docacti11_803_, materialmg0_.DocStatus as docstat12_803_, materialmg0_.Posted as posted13_803_, materialmg0_.Processing as process14_803_, materialmg0_.Processed as process15_803_, materialmg0_.C_DocType_ID as c_docty16_803_, materialmg0_.Description as descrip17_803_, materialmg0_.C_Order_ID as c_order18_803_, materialmg0_.DateOrdered as dateord19_803_, materialmg0_.IsPrinted as isprint20_803_, materialmg0_.MovementType as movemen21_803_, materialmg0_.MovementDate as movemen22_803_, materialmg0_.DateAcct as dateacc23_803_, materialmg0_.C_BPartner_ID as c_bpart24_803_, materialmg0_.C_BPartner_Location_ID as c_bpart25_803_, materialmg0_.M_Warehouse_ID as m_wareh26_803_, materialmg0_.POReference as porefer27_803_, materialmg0_.DeliveryRule as deliver28_803_, materialmg0_.FreightCostRule as freight29_803_, materialmg0_.FreightAmt as freight30_803_, materialmg0_.DeliveryViaRule as deliver31_803_, materialmg0_.M_Shipper_ID as m_shipp32_803_, materialmg0_.C_Charge_ID as c_charg33_803_, materialmg0_.ChargeAmt as chargea34_803_, materialmg0_.PriorityRule as priorit35_803_, materialmg0_.DatePrinted as datepri36_803_, materialmg0_.C_Invoice_ID as c_invoi37_803_, materialmg0_.CreateFrom as createf38_803_, materialmg0_.GenerateTo as generat39_803_, materialmg0_.AD_User_ID as ad_user40_803_, materialmg0_.SalesRep_ID as salesre41_803_, materialmg0_.NoPackages as nopacka42_803_, materialmg0_.PickDate as pickdat43_803_, materialmg0_.ShipDate as shipdat44_803_, materialmg0_.TrackingNo as trackin45_803_, materialmg0_.AD_OrgTrx_ID as ad_orgt46_803_, materialmg0_.C_Project_ID as c_proje47_803_, materialmg0_.C_Campaign_ID as c_campa48_803_, materialmg0_.C_Activity_ID as c_activ49_803_, materialmg0_.User1_ID as user50_803_, materialmg0_.User2_ID as user51_803_, materialmg0_.UpdateLines as updatel52_803_, materialmg0_.Islogistic as islogis53_803_, materialmg0_.Calculate_Freight as calcula54_803_, materialmg0_.Delivery_Location_ID as deliver55_803_, materialmg0_.M_FreightCategory_ID as m_freig56_803_, materialmg0_.Freight_Currency_ID as freight57_803_, materialmg0_.RM_Receipt_PickEdit as rm_rece58_803_, materialmg0_.RM_Shipment_Pickedit as rm_ship59_803_, materialmg0_.EM_Obcma_C_Poc_Email_ID as em_obcm60_803_, materialmg0_.M_Condition_Goods_ID as m_condi61_803_, materialmg0_.A_Asset_ID as a_asset62_803_, materialmg0_.C_Costcenter_ID as c_costc63_803_, materialmg0_.Process_Goods_Java as process64_803_, materialmg0_.Isnettingshipment as isnetti65_803_, materialmg0_.Iscompletelyinvoiced as iscompl66_803_, materialmg0_.EM_Fshedi_Type as em_fshe67_803_, materialmg0_.EM_OBMFM_Freight_ID as em_obmf68_803_, materialmg0_.EM_Obwpack_Packing as em_obwp69_803_, materialmg0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc70_803_, materialmg0_.EM_Fshedi_Function as em_fshe71_803_, materialmg0_.EM_OBMFM_Delivery_Charges as em_obmf72_803_, materialmg0_.EM_Obwpack_Packingh_ID as em_obwp73_803_, materialmg0_.Invoicefromshipment as invoice74_803_, materialmg0_.EM_Fshedi_Freight as em_fshe75_803_, materialmg0_.EM_Obwpack_Processed as em_obwp76_803_, materialmg0_.Bpartner_Extref as bpartne77_803_, materialmg0_.EM_Etblkp_Accountingstatus as em_etbl78_803_, materialmg0_.EM_Fshedi_Identif as em_fshe79_803_, materialmg0_.EM_Obwpack_Reactivated as em_obwp80_803_, materialmg0_.EM_Etblkp_Bulkposting as em_etbl81_803_, materialmg0_.EM_Fshedi_Packing_Cost as em_fshe82_803_, materialmg0_.EM_Fshedi_Collection as em_fshe83_803_, materialmg0_.EM_Obwpack_Packingrequired as em_obwp84_803_, materialmg0_.EM_Fshedi_Ship_Type as em_fshe85_803_, materialmg0_.EM_Pruti_Total_Amt_Tax as em_prut86_803_, materialmg0_.EM_Etblkc_Bulkcompletion as em_etbl87_803_, materialmg0_.EM_OBMFM_Deliverynotes as em_obmf88_803_, materialmg0_.EM_OBEUCI_Ship as em_obeu89_803_, materialmg0_.EM_Prlog_Isexported as em_prlo90_803_, materialmg0_.EM_Fshedi_Processed as em_fshe91_803_, materialmg0_.EM_Bass_Observations as em_bass92_803_, materialmg0_.EM_Bass_Deliverydate as em_bass93_803_, materialmg0_.EM_Bass_C_Return_Reason_ID as em_bass94_803_, materialmg0_.EM_Bass_Urgent as em_bass95_803_, materialmg0_.EM_Bass_Skip_Freight as em_bass96_803_, materialmg0_.EM_Bass_Descriptionpl_Tmp as em_bass97_803_, materialmg0_.EM_Prlog_Peso as em_prlo98_803_, materialmg0_.EM_Bass_Descriptionpl as em_bass99_803_, materialmg0_.EM_Prlog_Volumen as em_prl100_803_, materialmg0_.EM_Bass_Tags_Printed as em_bas101_803_, materialmg0_.EM_Bass_Modifydate as em_bas102_803_, materialmg0_.EM_Bass_Uploadpending as em_bas103_803_, materialmg0_.EM_Prqc_Generate_Control as em_prq104_803_, materialmg0_.EM_Pramz_Disable_Trackerror as em_pra105_803_, materialmg0_.EM_Prqc_Processed as em_prq106_803_, materialmg0_.EM_Bass_Valuation_Conf_ID as em_bas107_803_, materialmg0_.EM_Pramz_Status as em_pra108_803_, materialmg0_.EM_Bass_Prqcpriority as em_bas109_803_, materialmg0_.EM_Pruti_Showpriceingoods as em_pru110_803_, materialmg0_.EM_Bass_Qc_Movement_Created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.EM_Pruti_Createfrom as em_pru114_803_ from M_InOut materialmg0_ left outer join C_Order order1_ on materialmg0_.C_Order_ID = order1_.C_Order_ID cross join C_DocType documentty2_ where materialmg0_.C_DocType_ID = documentty2_.C_DocType_ID and (materialmg0_.MovementType in ('C-', 'C+')) and materialmg0_.Islogistic = 'N' and documentty2_.IsReturn = 'N' and (materialmg0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order1_.DocumentNo, order1_.DateOrdered, order1_.GrandTotal, materialmg0_.M_InOut_ID limit '101';
Date: 2026-07-14 08:15:01 Duration: 1s409ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select materialmg0_.M_InOut_ID as m_inout_1_803_, materialmg0_.AD_Client_ID as ad_clien2_803_, materialmg0_.AD_Org_ID as ad_org_i3_803_, materialmg0_.IsActive as isactive4_803_, materialmg0_.Created as created5_803_, materialmg0_.CreatedBy as createdb6_803_, materialmg0_.Updated as updated7_803_, materialmg0_.UpdatedBy as updatedb8_803_, materialmg0_.IsSOTrx as issotrx9_803_, materialmg0_.DocumentNo as documen10_803_, materialmg0_.DocAction as docacti11_803_, materialmg0_.DocStatus as docstat12_803_, materialmg0_.Posted as posted13_803_, materialmg0_.Processing as process14_803_, materialmg0_.Processed as process15_803_, materialmg0_.C_DocType_ID as c_docty16_803_, materialmg0_.Description as descrip17_803_, materialmg0_.C_Order_ID as c_order18_803_, materialmg0_.DateOrdered as dateord19_803_, materialmg0_.IsPrinted as isprint20_803_, materialmg0_.MovementType as movemen21_803_, materialmg0_.MovementDate as movemen22_803_, materialmg0_.DateAcct as dateacc23_803_, materialmg0_.C_BPartner_ID as c_bpart24_803_, materialmg0_.C_BPartner_Location_ID as c_bpart25_803_, materialmg0_.M_Warehouse_ID as m_wareh26_803_, materialmg0_.POReference as porefer27_803_, materialmg0_.DeliveryRule as deliver28_803_, materialmg0_.FreightCostRule as freight29_803_, materialmg0_.FreightAmt as freight30_803_, materialmg0_.DeliveryViaRule as deliver31_803_, materialmg0_.M_Shipper_ID as m_shipp32_803_, materialmg0_.C_Charge_ID as c_charg33_803_, materialmg0_.ChargeAmt as chargea34_803_, materialmg0_.PriorityRule as priorit35_803_, materialmg0_.DatePrinted as datepri36_803_, materialmg0_.C_Invoice_ID as c_invoi37_803_, materialmg0_.CreateFrom as createf38_803_, materialmg0_.GenerateTo as generat39_803_, materialmg0_.AD_User_ID as ad_user40_803_, materialmg0_.SalesRep_ID as salesre41_803_, materialmg0_.NoPackages as nopacka42_803_, materialmg0_.PickDate as pickdat43_803_, materialmg0_.ShipDate as shipdat44_803_, materialmg0_.TrackingNo as trackin45_803_, materialmg0_.AD_OrgTrx_ID as ad_orgt46_803_, materialmg0_.C_Project_ID as c_proje47_803_, materialmg0_.C_Campaign_ID as c_campa48_803_, materialmg0_.C_Activity_ID as c_activ49_803_, materialmg0_.User1_ID as user50_803_, materialmg0_.User2_ID as user51_803_, materialmg0_.UpdateLines as updatel52_803_, materialmg0_.Islogistic as islogis53_803_, materialmg0_.Calculate_Freight as calcula54_803_, materialmg0_.Delivery_Location_ID as deliver55_803_, materialmg0_.M_FreightCategory_ID as m_freig56_803_, materialmg0_.Freight_Currency_ID as freight57_803_, materialmg0_.RM_Receipt_PickEdit as rm_rece58_803_, materialmg0_.RM_Shipment_Pickedit as rm_ship59_803_, materialmg0_.EM_Obcma_C_Poc_Email_ID as em_obcm60_803_, materialmg0_.M_Condition_Goods_ID as m_condi61_803_, materialmg0_.A_Asset_ID as a_asset62_803_, materialmg0_.C_Costcenter_ID as c_costc63_803_, materialmg0_.Process_Goods_Java as process64_803_, materialmg0_.Isnettingshipment as isnetti65_803_, materialmg0_.Iscompletelyinvoiced as iscompl66_803_, materialmg0_.EM_Fshedi_Type as em_fshe67_803_, materialmg0_.EM_OBMFM_Freight_ID as em_obmf68_803_, materialmg0_.EM_Obwpack_Packing as em_obwp69_803_, materialmg0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc70_803_, materialmg0_.EM_Fshedi_Function as em_fshe71_803_, materialmg0_.EM_OBMFM_Delivery_Charges as em_obmf72_803_, materialmg0_.EM_Obwpack_Packingh_ID as em_obwp73_803_, materialmg0_.Invoicefromshipment as invoice74_803_, materialmg0_.EM_Fshedi_Freight as em_fshe75_803_, materialmg0_.EM_Obwpack_Processed as em_obwp76_803_, materialmg0_.Bpartner_Extref as bpartne77_803_, materialmg0_.EM_Etblkp_Accountingstatus as em_etbl78_803_, materialmg0_.EM_Fshedi_Identif as em_fshe79_803_, materialmg0_.EM_Obwpack_Reactivated as em_obwp80_803_, materialmg0_.EM_Etblkp_Bulkposting as em_etbl81_803_, materialmg0_.EM_Fshedi_Packing_Cost as em_fshe82_803_, materialmg0_.EM_Fshedi_Collection as em_fshe83_803_, materialmg0_.EM_Obwpack_Packingrequired as em_obwp84_803_, materialmg0_.EM_Fshedi_Ship_Type as em_fshe85_803_, materialmg0_.EM_Pruti_Total_Amt_Tax as em_prut86_803_, materialmg0_.EM_Etblkc_Bulkcompletion as em_etbl87_803_, materialmg0_.EM_OBMFM_Deliverynotes as em_obmf88_803_, materialmg0_.EM_OBEUCI_Ship as em_obeu89_803_, materialmg0_.EM_Prlog_Isexported as em_prlo90_803_, materialmg0_.EM_Fshedi_Processed as em_fshe91_803_, materialmg0_.EM_Bass_Observations as em_bass92_803_, materialmg0_.EM_Bass_Deliverydate as em_bass93_803_, materialmg0_.EM_Bass_C_Return_Reason_ID as em_bass94_803_, materialmg0_.EM_Bass_Urgent as em_bass95_803_, materialmg0_.EM_Bass_Skip_Freight as em_bass96_803_, materialmg0_.EM_Bass_Descriptionpl_Tmp as em_bass97_803_, materialmg0_.EM_Prlog_Peso as em_prlo98_803_, materialmg0_.EM_Bass_Descriptionpl as em_bass99_803_, materialmg0_.EM_Prlog_Volumen as em_prl100_803_, materialmg0_.EM_Bass_Tags_Printed as em_bas101_803_, materialmg0_.EM_Bass_Modifydate as em_bas102_803_, materialmg0_.EM_Bass_Uploadpending as em_bas103_803_, materialmg0_.EM_Prqc_Generate_Control as em_prq104_803_, materialmg0_.EM_Pramz_Disable_Trackerror as em_pra105_803_, materialmg0_.EM_Prqc_Processed as em_prq106_803_, materialmg0_.EM_Bass_Valuation_Conf_ID as em_bas107_803_, materialmg0_.EM_Pramz_Status as em_pra108_803_, materialmg0_.EM_Bass_Prqcpriority as em_bas109_803_, materialmg0_.EM_Pruti_Showpriceingoods as em_pru110_803_, materialmg0_.EM_Bass_Qc_Movement_Created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.EM_Pruti_Createfrom as em_pru114_803_ from M_InOut materialmg0_ left outer join C_Order order1_ on materialmg0_.C_Order_ID = order1_.C_Order_ID cross join C_DocType documentty2_ where materialmg0_.C_DocType_ID = documentty2_.C_DocType_ID and (materialmg0_.MovementType in ('C-', 'C+')) and materialmg0_.Islogistic = 'N' and documentty2_.IsReturn = 'N' and (materialmg0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order1_.DocumentNo, order1_.DateOrdered, order1_.GrandTotal, materialmg0_.M_InOut_ID limit '101';
Date: 2026-07-14 11:40:20 Duration: 1s398ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select materialmg0_.M_InOut_ID as m_inout_1_803_, materialmg0_.AD_Client_ID as ad_clien2_803_, materialmg0_.AD_Org_ID as ad_org_i3_803_, materialmg0_.IsActive as isactive4_803_, materialmg0_.Created as created5_803_, materialmg0_.CreatedBy as createdb6_803_, materialmg0_.Updated as updated7_803_, materialmg0_.UpdatedBy as updatedb8_803_, materialmg0_.IsSOTrx as issotrx9_803_, materialmg0_.DocumentNo as documen10_803_, materialmg0_.DocAction as docacti11_803_, materialmg0_.DocStatus as docstat12_803_, materialmg0_.Posted as posted13_803_, materialmg0_.Processing as process14_803_, materialmg0_.Processed as process15_803_, materialmg0_.C_DocType_ID as c_docty16_803_, materialmg0_.Description as descrip17_803_, materialmg0_.C_Order_ID as c_order18_803_, materialmg0_.DateOrdered as dateord19_803_, materialmg0_.IsPrinted as isprint20_803_, materialmg0_.MovementType as movemen21_803_, materialmg0_.MovementDate as movemen22_803_, materialmg0_.DateAcct as dateacc23_803_, materialmg0_.C_BPartner_ID as c_bpart24_803_, materialmg0_.C_BPartner_Location_ID as c_bpart25_803_, materialmg0_.M_Warehouse_ID as m_wareh26_803_, materialmg0_.POReference as porefer27_803_, materialmg0_.DeliveryRule as deliver28_803_, materialmg0_.FreightCostRule as freight29_803_, materialmg0_.FreightAmt as freight30_803_, materialmg0_.DeliveryViaRule as deliver31_803_, materialmg0_.M_Shipper_ID as m_shipp32_803_, materialmg0_.C_Charge_ID as c_charg33_803_, materialmg0_.ChargeAmt as chargea34_803_, materialmg0_.PriorityRule as priorit35_803_, materialmg0_.DatePrinted as datepri36_803_, materialmg0_.C_Invoice_ID as c_invoi37_803_, materialmg0_.CreateFrom as createf38_803_, materialmg0_.GenerateTo as generat39_803_, materialmg0_.AD_User_ID as ad_user40_803_, materialmg0_.SalesRep_ID as salesre41_803_, materialmg0_.NoPackages as nopacka42_803_, materialmg0_.PickDate as pickdat43_803_, materialmg0_.ShipDate as shipdat44_803_, materialmg0_.TrackingNo as trackin45_803_, materialmg0_.AD_OrgTrx_ID as ad_orgt46_803_, materialmg0_.C_Project_ID as c_proje47_803_, materialmg0_.C_Campaign_ID as c_campa48_803_, materialmg0_.C_Activity_ID as c_activ49_803_, materialmg0_.User1_ID as user50_803_, materialmg0_.User2_ID as user51_803_, materialmg0_.UpdateLines as updatel52_803_, materialmg0_.Islogistic as islogis53_803_, materialmg0_.Calculate_Freight as calcula54_803_, materialmg0_.Delivery_Location_ID as deliver55_803_, materialmg0_.M_FreightCategory_ID as m_freig56_803_, materialmg0_.Freight_Currency_ID as freight57_803_, materialmg0_.RM_Receipt_PickEdit as rm_rece58_803_, materialmg0_.RM_Shipment_Pickedit as rm_ship59_803_, materialmg0_.EM_Obcma_C_Poc_Email_ID as em_obcm60_803_, materialmg0_.M_Condition_Goods_ID as m_condi61_803_, materialmg0_.A_Asset_ID as a_asset62_803_, materialmg0_.C_Costcenter_ID as c_costc63_803_, materialmg0_.Process_Goods_Java as process64_803_, materialmg0_.Isnettingshipment as isnetti65_803_, materialmg0_.Iscompletelyinvoiced as iscompl66_803_, materialmg0_.EM_Fshedi_Type as em_fshe67_803_, materialmg0_.EM_OBMFM_Freight_ID as em_obmf68_803_, materialmg0_.EM_Obwpack_Packing as em_obwp69_803_, materialmg0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc70_803_, materialmg0_.EM_Fshedi_Function as em_fshe71_803_, materialmg0_.EM_OBMFM_Delivery_Charges as em_obmf72_803_, materialmg0_.EM_Obwpack_Packingh_ID as em_obwp73_803_, materialmg0_.Invoicefromshipment as invoice74_803_, materialmg0_.EM_Fshedi_Freight as em_fshe75_803_, materialmg0_.EM_Obwpack_Processed as em_obwp76_803_, materialmg0_.Bpartner_Extref as bpartne77_803_, materialmg0_.EM_Etblkp_Accountingstatus as em_etbl78_803_, materialmg0_.EM_Fshedi_Identif as em_fshe79_803_, materialmg0_.EM_Obwpack_Reactivated as em_obwp80_803_, materialmg0_.EM_Etblkp_Bulkposting as em_etbl81_803_, materialmg0_.EM_Fshedi_Packing_Cost as em_fshe82_803_, materialmg0_.EM_Fshedi_Collection as em_fshe83_803_, materialmg0_.EM_Obwpack_Packingrequired as em_obwp84_803_, materialmg0_.EM_Fshedi_Ship_Type as em_fshe85_803_, materialmg0_.EM_Pruti_Total_Amt_Tax as em_prut86_803_, materialmg0_.EM_Etblkc_Bulkcompletion as em_etbl87_803_, materialmg0_.EM_OBMFM_Deliverynotes as em_obmf88_803_, materialmg0_.EM_OBEUCI_Ship as em_obeu89_803_, materialmg0_.EM_Prlog_Isexported as em_prlo90_803_, materialmg0_.EM_Fshedi_Processed as em_fshe91_803_, materialmg0_.EM_Bass_Observations as em_bass92_803_, materialmg0_.EM_Bass_Deliverydate as em_bass93_803_, materialmg0_.EM_Bass_C_Return_Reason_ID as em_bass94_803_, materialmg0_.EM_Bass_Urgent as em_bass95_803_, materialmg0_.EM_Bass_Skip_Freight as em_bass96_803_, materialmg0_.EM_Bass_Descriptionpl_Tmp as em_bass97_803_, materialmg0_.EM_Prlog_Peso as em_prlo98_803_, materialmg0_.EM_Bass_Descriptionpl as em_bass99_803_, materialmg0_.EM_Prlog_Volumen as em_prl100_803_, materialmg0_.EM_Bass_Tags_Printed as em_bas101_803_, materialmg0_.EM_Bass_Modifydate as em_bas102_803_, materialmg0_.EM_Bass_Uploadpending as em_bas103_803_, materialmg0_.EM_Prqc_Generate_Control as em_prq104_803_, materialmg0_.EM_Pramz_Disable_Trackerror as em_pra105_803_, materialmg0_.EM_Prqc_Processed as em_prq106_803_, materialmg0_.EM_Bass_Valuation_Conf_ID as em_bas107_803_, materialmg0_.EM_Pramz_Status as em_pra108_803_, materialmg0_.EM_Bass_Prqcpriority as em_bas109_803_, materialmg0_.EM_Pruti_Showpriceingoods as em_pru110_803_, materialmg0_.EM_Bass_Qc_Movement_Created as em_bas111_803_, materialmg0_.em_fshpie_piece_manage as em_fsh112_803_, materialmg0_.em_prlab_desc as em_prl113_803_, materialmg0_.EM_Pruti_Createfrom as em_pru114_803_ from M_InOut materialmg0_ left outer join C_Order order1_ on materialmg0_.C_Order_ID = order1_.C_Order_ID cross join C_DocType documentty2_ where materialmg0_.C_DocType_ID = documentty2_.C_DocType_ID and (materialmg0_.MovementType in ('C-', 'C+')) and materialmg0_.Islogistic = 'N' and documentty2_.IsReturn = 'N' and (materialmg0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (materialmg0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order1_.DocumentNo, order1_.DateOrdered, order1_.GrandTotal, materialmg0_.M_InOut_ID limit '101';
Date: 2026-07-14 07:18:58 Duration: 1s358ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 15 18s930ms 1s92ms 1s474ms 1s262ms select order0_.c_order_id as c_order_1_467_, order0_.ad_client_id as ad_clien2_467_, order0_.ad_org_id as ad_org_i3_467_, order0_.isactive as isactive4_467_, order0_.created as created5_467_, order0_.createdby as createdb6_467_, order0_.updated as updated7_467_, order0_.updatedby as updatedb8_467_, order0_.issotrx as issotrx9_467_, order0_.documentno as documen10_467_, order0_.docstatus as docstat11_467_, order0_.docaction as docacti12_467_, order0_.processing as process13_467_, order0_.processed as process14_467_, order0_.c_doctype_id as c_docty15_467_, order0_.c_doctypetarget_id as c_docty16_467_, order0_.description as descrip17_467_, order0_.isdelivered as isdeliv18_467_, order0_.isinvoiced as isinvoi19_467_, order0_.isprinted as isprint20_467_, order0_.isselected as isselec21_467_, order0_.salesrep_id as salesre22_467_, order0_.dateordered as dateord23_467_, order0_.datepromised as datepro24_467_, order0_.dateprinted as datepri25_467_, order0_.dateacct as dateacc26_467_, order0_.c_bpartner_id as c_bpart27_467_, order0_.billto_id as billto_28_467_, order0_.c_bpartner_location_id as c_bpart29_467_, order0_.poreference as porefer30_467_, order0_.isdiscountprinted as isdisco31_467_, order0_.c_currency_id as c_curre32_467_, order0_.paymentrule as payment33_467_, order0_.c_paymentterm_id as c_payme34_467_, order0_.invoicerule as invoice35_467_, order0_.deliveryrule as deliver36_467_, order0_.freightcostrule as freight37_467_, order0_.freightamt as freight38_467_, order0_.deliveryviarule as deliver39_467_, order0_.m_shipper_id as m_shipp40_467_, order0_.c_charge_id as c_charg41_467_, order0_.chargeamt as chargea42_467_, order0_.priorityrule as priorit43_467_, order0_.totallines as totalli44_467_, order0_.grandtotal as grandto45_467_, order0_.m_warehouse_id as m_wareh46_467_, order0_.m_pricelist_id as m_price47_467_, order0_.istaxincluded as istaxin48_467_, order0_.c_campaign_id as c_campa49_467_, order0_.c_project_id as c_proje50_467_, order0_.c_activity_id as c_activ51_467_, order0_.posted as posted52_467_, order0_.ad_user_id as ad_user53_467_, order0_.copyfrom as copyfro54_467_, order0_.dropship_bpartner_id as dropshi55_467_, order0_.dropship_location_id as dropshi56_467_, order0_.dropship_user_id as dropshi57_467_, order0_.isselfservice as isselfs58_467_, order0_.ad_orgtrx_id as ad_orgt59_467_, order0_.user1_id as user60_467_, order0_.user2_id as user61_467_, order0_.deliverynotes as deliver62_467_, order0_.c_incoterms_id as c_incot63_467_, order0_.incotermsdescription as incoter64_467_, order0_.generatetemplate as generat65_467_, order0_.delivery_location_id as deliver66_467_, order0_.copyfrompo as copyfro67_467_, order0_.fin_paymentmethod_id as fin_pay68_467_, order0_.fin_payment_priority_id as fin_pay69_467_, order0_.rm_pickfromshipment as rm_pick70_467_, order0_.rm_receivematerials as rm_rece71_467_, order0_.em_obcma_c_poc_email_id as em_obcm72_467_, order0_.rm_createinvoice as rm_crea73_467_, order0_.c_return_reason_id as c_retur74_467_, order0_.rm_addorphanline as rm_addo75_467_, order0_.a_asset_id as a_asset76_467_, order0_.calculate_promotions as calcula77_467_, order0_.c_costcenter_id as c_costc78_467_, order0_.convertquotation as convert79_467_, order0_.c_reject_reason_id as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.quotation_id as quotati82_467_, order0_.so_res_status as so_res_83_467_, order0_.create_polines as create_84_467_, order0_.iscashvat as iscashv85_467_, order0_.em_obmfm_selectfreight as em_obmf86_467_, order0_.em_obmfm_delivery_period_id as em_obmf87_467_, order0_.rm_pickfromreceipt as rm_pick88_467_, order0_.cancelandreplace as cancela89_467_, order0_.em_advcrm_newactivity as em_advc90_467_, order0_.em_advmrp_isnotproducible as em_advm91_467_, order0_.em_aprm_addpayment as em_aprm92_467_, order0_.em_obmfm_delivery_charges as em_obmf93_467_, order0_.em_fash_datelimit as em_fash94_467_, order0_.em_obmfm_freight_id as em_obmf95_467_, order0_.em_obwpl_generatepicking as em_obwp96_467_, order0_.em_advcrm_opportunity_id as em_advc97_467_, order0_.em_fash_datevalue as em_fash98_467_, order0_.em_obmfm_weight as em_obmf99_467_, order0_.em_obwpl_isinpickinglist as em_obw100_467_, order0_.em_fash_sendbeforedate as em_fas101_467_, order0_.em_obwpl_readypl as em_obw102_467_, order0_.em_fash_order_type_id as em_fas103_467_, order0_.em_sgpcrm_securitygroups_id as em_sgp104_467_, order0_.em_obmfm_weight_uom_id as em_obm105_467_, order0_.em_advptc_financial_acct_id as em_adv106_467_, order0_.em_obmfm_set_weight as em_obm107_467_, order0_.em_advptc_bp_bankacct_id as em_adv108_467_, order0_.em_aeatsii_fecha_operacion as em_aea109_467_, order0_.confirmcancelandreplace as confir110_467_, order0_.em_advptc_percentage_dist as em_adv111_467_, order0_.em_aeatsii_descripcion_sii as em_aea112_467_, order0_.em_etabam_bankaccount_id as em_eta113_467_, order0_.em_etpr_remove_payment as em_etp114_467_, order0_.em_advptc_typedistribution as em_adv115_467_, order0_.em_advptc_payment_cond_id as em_adv116_467_, order0_.em_etvfac_reversed_invoice as em_etv117_467_, order0_.cancelledorder_id as cancel118_467_, order0_.em_etblkc_bulkcompletion as em_etb119_467_, order0_.em_fshedi_buyer_location_id as em_fsh120_467_, order0_.em_prmag2_grandtotal as em_prm121_467_, order0_.replacedorder_id as replac122_467_, order0_.iscancelled as iscanc123_467_, order0_.replacementorder_id as replac124_467_, order0_.em_prouti_order_stock as em_pro125_467_, order0_.em_etafdp_undoclose as em_eta126_467_, order0_.em_fash_servefrom as em_fas127_467_, order0_.em_prouti_pregenerate_minout as em_pro128_467_, order0_.em_etinter_interco_orig as em_eti129_467_, order0_.em_prouti_sotopo as em_pro130_467_, order0_.bpartner_extref as bpartn131_467_, order0_.em_bass_costfactor as em_bas132_467_, order0_.em_bass_isproform as em_bas133_467_, order0_.em_fshedi_dptocompra as em_fsh134_467_, order0_.em_prpp_generatepicking as em_prp135_467_, order0_.em_bass_observations as em_bas136_467_, order0_.em_fshedi_sucursal as em_fsh137_467_, order0_.em_bass_pickstock as em_bas138_467_, order0_.em_bass_pl_generatepicking as em_bas139_467_, order0_.em_ml_select_product as em_ml_140_467_, order0_.em_prscrm_suitedocid as em_prs141_467_, order0_.em_bass_rm_pickfromshipment as em_bas142_467_, order0_.em_bass_create_returnreceipt as em_bas143_467_, order0_.em_bass_freight_currency_id as em_bas144_467_, order0_.em_bass_area as em_bas145_467_, order0_.em_bass_plprocessing as em_bas146_467_, order0_.em_prrak_reference as em_prr147_467_, order0_.em_advcrm2_name as em_adv148_467_, order0_.em_prrak_void_order as em_prr149_467_, order0_.em_advcrm2_scene_id as em_adv150_467_, order0_.em_prsc_commissiontype as em_prs151_467_, order0_.em_advcrm2_discount_id as em_adv152_467_, order0_.em_prmag_reference as em_prm153_467_, order0_.em_prmag_void_order as em_prm154_467_, order0_.em_prouti_totalizations as em_pro155_467_, order0_.em_bass_deliverynotes as em_bas156_467_, order0_.em_prmeci_order_id as em_prm157_467_, order0_.em_prmeci_grandtotal as em_prm158_467_, order0_.em_bass_enablepricezero as em_bas159_467_, order0_.em_prmag_gift_wrap as em_prm160_467_, order0_.em_bass_change_bp as em_bas161_467_, order0_.em_pramz_orderid as em_pra162_467_, order0_.em_pramz_grandtotal as em_pra163_467_, order0_.em_prouti_reactiveorder as em_pro164_467_, order0_.em_prouti_grandtotalinitial as em_pro165_467_, order0_.em_prouti_totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.em_advcrm2_signature_image as em_adv168_467_, order0_.em_bass_partnerinvolved_id as em_bas169_467_, order0_.em_advcrm2_signature_name as em_adv170_467_, order0_.em_bass_maintincidents_id as em_bas171_467_, order0_.em_advcrm2_processing as em_adv172_467_, order0_.em_bass_requerecontrolquality as em_bas173_467_, order0_.em_bass_resolve_incidence as em_bas174_467_, order0_.em_bass_incidence_id as em_bas175_467_, order0_.em_pramz_marketplace as em_pra176_467_, order0_.em_prb2b_create_combinations as em_prb177_467_, order0_.em_prqc_generate_control as em_prq178_467_, order0_.em_advcrm2_sendmail as em_adv179_467_, order0_.em_prqc_processed as em_prq180_467_, order0_.em_advcrm2_errorsendmail as em_adv181_467_, order0_.em_bass_re_cj_quotation as em_bas182_467_, order0_.em_bass_inherit_quality_ctrl as em_bas183_467_, order0_.em_bass_qc_description as em_bas184_467_, order0_.em_bass_ap_cj_quotation as em_bas185_467_, order0_.em_advpro2_picked_ret_prodln as em_adv186_467_, order0_.em_bass_valuation_conf_id as em_bas187_467_, order0_.em_bass_prqcpriority as em_bas188_467_, order0_.em_pruti_ignoreminqty as em_pru189_467_, order0_.em_bass_calculateprices as em_bas190_467_, order0_.em_bass_registerorder as em_bas191_467_, order0_.em_bass_pricebyoutsrcpricelist as em_bas192_467_, order0_.em_prb2b_orderref as em_prb193_467_, order0_.em_bass_dateplanned as em_bas194_467_, order0_.em_prouti_order_id as em_pro195_467_, order0_.em_bass_pendingtoconfirm as em_bas196_467_, order0_.em_prmeci_deliverytype as em_prm197_467_, order0_.em_bass_requirepickup as em_bas198_467_, order0_.em_bass_isexportedpickup as em_bas199_467_, order0_.em_bass_numpackspickup as em_bas200_467_, order0_.em_bass_expected_recept_date as em_bas201_467_, order0_.em_bass_originincidence_id as em_bas202_467_, order0_.em_advshi_calculate_proposal as em_adv203_467_, order0_.em_prncx_num_recogida as em_prn204_467_, order0_.em_prncx_pickup_link as em_prn205_467_, order0_.em_prncx_ret_bultos as em_prn206_467_, order0_.em_prncx_get_recogida as em_prn207_467_, order0_.em_bass_outsrcpricelist as em_bas208_467_, order0_.em_prncx_ret_peso as em_prn209_467_, order0_.em_prncx_obs1 as em_prn210_467_, order0_.em_prncx_obs2 as em_prn211_467_, order0_.em_prncx_obs3 as em_prn212_467_, order0_.em_prouti_dateclosed as em_pro213_467_ from c_order order0_ where (upper((order0_.documentno || ?| | coalesce(to_char(order0_.dateordered), ?) || ?| | coalesce(to_char(order0_.grandtotal), ?))) like upper(?) escape ?) and (exists ( select ? from c_invoice invoice1_ inner join c_order order2_ on invoice1_.c_order_id = order2_.c_order_id where invoice1_.issotrx = ? and invoice1_.docstatus <> ? and order2_.c_order_id = order0_.c_order_id and (invoice1_.ad_org_id in (...)) and (invoice1_.ad_client_id in (...)))) order by order0_.documentno, order0_.dateordered, order0_.grandtotal limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 14 08 6 7s396ms 1s232ms 09 2 2s580ms 1s290ms 10 4 5s120ms 1s280ms 16 3 3s832ms 1s277ms [ User: tad - Total duration: 18s930ms - Times executed: 15 ]
[ Application: openbravo - Total duration: 18s930ms - Times executed: 15 ]
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ where (upper((order0_.DocumentNo || ' - ' || coalesce(to_char(order0_.DateOrdered), '') || ' - ' || coalesce(to_char(order0_.GrandTotal), ''))) like upper('%H/5166%') escape '|') and (exists ( select 1 from C_Invoice invoice1_ inner join C_Order order2_ on invoice1_.C_Order_ID = order2_.C_Order_ID where invoice1_.IsSOTrx = 'Y' and invoice1_.DocStatus <> 'TEMP' and order2_.C_Order_ID = order0_.C_Order_ID and (invoice1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (invoice1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal limit '76';
Date: 2026-07-14 08:10:17 Duration: 1s474ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ where (upper((order0_.DocumentNo || ' - ' || coalesce(to_char(order0_.DateOrdered), '') || ' - ' || coalesce(to_char(order0_.GrandTotal), ''))) like upper('%56193%') escape '|') and (exists ( select 1 from C_Invoice invoice1_ inner join C_Order order2_ on invoice1_.C_Order_ID = order2_.C_Order_ID where invoice1_.IsSOTrx = 'Y' and invoice1_.DocStatus <> 'TEMP' and order2_.C_Order_ID = order0_.C_Order_ID and (invoice1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (invoice1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal limit '76';
Date: 2026-07-14 10:37:27 Duration: 1s390ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ where (upper((order0_.DocumentNo || ' - ' || coalesce(to_char(order0_.DateOrdered), '') || ' - ' || coalesce(to_char(order0_.GrandTotal), ''))) like upper('%51935%') escape '|') and (exists ( select 1 from C_Invoice invoice1_ inner join C_Order order2_ on invoice1_.C_Order_ID = order2_.C_Order_ID where invoice1_.IsSOTrx = 'Y' and invoice1_.DocStatus <> 'TEMP' and order2_.C_Order_ID = order0_.C_Order_ID and (invoice1_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (invoice1_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal limit '76';
Date: 2026-07-14 10:37:30 Duration: 1s384ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h31m50s 1h32m10s 1h32m 2 3h4m1s select count(*) as id from fshedi_order_v where emisor = ? and ad_org_id in (...) and ad_client_id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 14 10 1 1h32m10s 1h32m10s 11 1 1h31m50s 1h31m50s [ User: tad - Total duration: 3h4m1s - Times executed: 2 ]
[ Application: openbravo - Total duration: 3h4m1s - Times executed: 2 ]
-
SELECT COUNT(*) AS ID FROM fshedi_order_v WHERE Emisor = '0A663430590D4774AAC524D8FF37F91E' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');
Date: 2026-07-14 10:25:27 Duration: 1h32m10s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT COUNT(*) AS ID FROM fshedi_order_v WHERE Emisor = '0A663430590D4774AAC524D8FF37F91E' AND AD_ORG_ID IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', 'E21B72BFB5C94023B5142797BD9C59F4', '2AA70B4B531C45CAA5F7CD5FBC696F40', '494FA9B15BC843D0AF577B4CFC5CC35E', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', '62BDFDB7612B40D3B9D865CDF7A36690', 'FF6B3F6071DB4AB29B93C843E10985E4', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '2383A8350950409EA4772A1AE4116734', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687') AND AD_CLIENT_ID IN ('7E3CD157DC6246718BFBF101DCDC4016');
Date: 2026-07-14 11:57:18 Duration: 1h31m50s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 39m45s 39m45s 39m45s 1 39m45s select ad_column_identifier_std (?, ?) as ad_org, fash_lobparent, fash_lob, collection, campaign, nameproduct, case when aextenguir = ? then concat(?, ad_column_identifier_std (?, m_product_id)) else ad_column_identifier_std (?, m_product_id) end as m_product, pendienteprendas, stock, characteristic_desc, productonombre, stock - pendienteprendas as saldocartera, greatest (productproduction, ?) as productproduction, consumption, greatest (pendientecompras, ?) as pendientecompras, (stock - pendienteprendas) + greatest (productproduction, ?) + greatest (pendientecompras, ?) - consumption as saldoprod, bass_tejidocalculo (?, m_product_id, ?) as mes0, to_char(add_months (to_date(now()), ?), ?) as namemes0, bass_tejidocalculo (?, m_product_id, ?) as mes1, to_char(add_months (to_date(now()), ?), ?) as namemes1, bass_tejidocalculo (?, m_product_id, ?) as mes2, to_char(add_months (to_date(now()), ?), ?) as namemes2, bass_tejidocalculo (?, m_product_id, ?) as mes3, to_char(add_months (to_date(now()), ?), ?) as namemes3, bass_tejidocalculo (?, m_product_id, ?) as mes4, to_char(add_months (to_date(now()), ?), ?) as namemes4, bass_tejidocalculo (?, m_product_id, ?) as mes5, to_char(add_months (to_date(now()), ?), ?) as namemes5, bass_tejidocalculo (?, m_product_id, ?) as mes6, to_char(add_months (to_date(now()), ?), ?) as namemes6, bass_tejidocalculo (?, m_product_id, ?) as mes7, to_char(add_months (to_date(now()), ?), ?) as namemes7, bass_tejidocalculo (?, m_product_id, ?) as mes8, to_char(add_months (to_date(now()), ?), ?) as namemes8, bass_tejidocalculo (?, m_product_id, ?) as mes9, to_char(add_months (to_date(now()), ?), ?) as namemes9, bass_tejidocalculo (?, m_product_id, ?) as mes10, to_char(add_months (to_date(now()), ?), ?) as namemes10, bass_tejidocalculo (?, m_product_id, ?) as mes11, to_char(add_months (to_date(now()), ?), ?) as namemes11, bass_tejidocalculo (?, m_product_id, ?) as mes12, to_char(add_months (to_date(now()), ?), ?) as namemes12, bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?) as anoanterior, bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?))) as anoactual, minpr from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, m_product.upc, (m_product.name || ? || m_product_category.value) as nameproduct, m_product.characteristic_desc, m_product.name as productonombre, round(bass_pendienteprenda (m_product.m_product_id, ?), ?) as pendienteprendas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), ?) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = ? where advpro2_outsourcing.status in (...) and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), ?) as productproduction, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select distinct m_warehouse_id from ad_org_warehouse where ad_org_warehouse.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?)))), ?), ?) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), ?)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = ? and c_order.docstatus = ? left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id where c_order.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), ?) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), ?), ?) as pendientecompras, round(coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), ?) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id and quantity > ( select coalesce(sum(pp.productionqty), ?) from advpro2_outsourcing_plan p left join m_productionplan pp on pp.m_productionplan_id = p.m_productionplan_id where p.advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id) inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = ? where advpro2_outsourcing.status in (...) and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), ?), ?) as consumption, m_product.em_bass_isextinct as aextenguir, coalesce(( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.m_product_id and sm.typestockmin = ?), ( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.generic_product_id and sm.typestockmin = ?)) as minpr from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in (...) left join m_product_org on m_product_org.m_product_id = m_product.m_product_id where ? = ? and fash_product_group.fash_product_group_id = ? and m_product.m_product_id not in ( select m_product.m_product_id from m_product inner join ma_processplan on m_product.ma_processplan_id = ma_processplan.ma_processplan_id inner join ma_processplan_version on ma_processplan.ma_processplan_id = ma_processplan_version.ma_processplan_id inner join ma_sequence on ma_processplan_version.ma_processplan_version_id = ma_sequence.ma_processplan_version_id inner join ma_sequenceproduct on ma_sequence.ma_sequence_id = ma_sequenceproduct.ma_sequence_id and productiontype = ? where m_product.ma_processplan_id is not null and m_product.m_product_id = ma_sequenceproduct.m_product_id) and ( case when ? = ? then m_product.isactive = ? when ? = ? then m_product.isactive = ? else ? = ? end) and ( case when ? = ? then coalesce(m_product_org.em_advmrp_org_id, ?) not in (...) else ? = ? end)) as nv where (nv.pendienteprendas + nv.productproduction + nv.stock + nv.pendientecompras + nv.consumption + coalesce((bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?)), ?) + coalesce((bass_tejidocalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?)))), ?)) <> ? order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 14 07 1 39m45s 39m45s [ User: tad - Total duration: 39m45s - Times executed: 1 ]
[ Application: openbravo - Total duration: 39m45s - Times executed: 1 ]
-
select ad_column_identifier_std ('ad_org', '5E01F0FAFDBD4F0ABC82A5B031723084') as ad_org, fash_lobparent, fash_lob, collection, campaign, nameproduct, case when aextenguir = 'Y' then concat('*', ad_column_identifier_std ('m_product', m_product_id)) else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteprendas, stock, characteristic_desc, productonombre, stock - pendienteprendas as saldocartera, greatest (productproduction, 0) as productproduction, consumption, greatest (pendientecompras, 0) as pendientecompras, (stock - pendienteprendas) + greatest (productproduction, 0) + greatest (pendientecompras, 0) - consumption as saldoprod, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, 0) as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -1) as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -2) as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -3) as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -4) as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -5) as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -6) as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -7) as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -8) as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -9) as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -10) as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -11) as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_tejidocalculo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, -12) as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1) as anoanterior, bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY'))) as anoactual, minpr from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, m_product.upc, (m_product.name || ' - ' || m_product_category.value) as nameproduct, m_product.characteristic_desc, m_product.name as productonombre, round(bass_pendienteprenda (m_product.m_product_id, '5E01F0FAFDBD4F0ABC82A5B031723084'), 2) as pendienteprendas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id --and c_bpartner.em_bass_workshoptype='A' left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = '+' where advpro2_outsourcing.status in ('DE', 'PL') and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as productproduction, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select distinct m_warehouse_id from ad_org_warehouse where ad_org_warehouse.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0)))), 3), 0) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus = 'CO' left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id where c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, round(coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id and quantity > ( select coalesce(sum(pp.productionqty), 0) from advpro2_outsourcing_plan p left join m_productionplan pp ON pp.m_productionplan_id = p.m_productionplan_id where p.advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id) inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id --and c_bpartner.em_bass_workshoptype in ('A','C') left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id and ma_wrphaseproduct.productiontype = '-' where advpro2_outsourcing.status in ('DE', 'PL') and advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, 'ABB79999997E423B85B205975E7A9BD8', org.ad_client_id) > 0) group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0), 2) as consumption, m_product.em_bass_isextinct as aextenguir, coalesce(( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.m_product_id and sm.typestockmin = 'PROD'), ( select sm.stockmin from bass_stockmin_product sm where sm.m_product_id = m_product.generic_product_id and sm.typestockmin = 'PROD')) as minpr from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('T', 'H') left join m_product_org on m_product_org.m_product_id = m_product.m_product_id where 1 = 1 and fash_product_group.fash_product_group_id = '64A90E24B2CD40329E49EA983AA21E7C' and m_product.m_product_id not in ( select m_product.m_product_id from m_product inner join ma_processplan on m_product.ma_processplan_id = ma_processplan.ma_processplan_id inner join ma_processplan_version on ma_processplan.ma_processplan_id = ma_processplan_version.ma_processplan_id inner join ma_sequence on ma_processplan_version.ma_processplan_version_id = ma_sequence.ma_processplan_version_id inner join ma_sequenceproduct on ma_sequence.ma_sequence_id = ma_sequenceproduct.ma_sequence_id and productiontype = '-' where m_product.ma_processplan_id is not null and m_product.m_product_id = ma_sequenceproduct.m_product_id) and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and ( case when '5E01F0FAFDBD4F0ABC82A5B031723084' = 'ABB79999997E423B85B205975E7A9BD8' then coalesce(m_product_org.EM_Advmrp_Org_ID, '') not in ('7394B891BC824F24821ACCEBC3A06829') else 1 = 1 end)) as nv where (nv.pendienteprendas + nv.productproduction + nv.stock + nv.pendientecompras + nv.consumption + coalesce((bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1)), 0) + coalesce((bass_tejidocalculoperiodo ('5E01F0FAFDBD4F0ABC82A5B031723084', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')))), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc;
Date: 2026-07-14 07:09:52 Duration: 39m45s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 3m7s 3m7s 3m7s 1 3m7s select advmrp_run_initialize2 (?, ?, ?, ?, null, null, null, null, null, null, ?, ?, ?, null, ?, ?) as result from dual;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 14 06 1 3m7s 3m7s [ User: tad - Total duration: 3m7s - Times executed: 1 ]
[ Application: openbravo - Total duration: 3m7s - Times executed: 1 ]
-
SELECT ADVMRP_RUN_INITIALIZE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'CC6D86C01D4745F58842B3C734CB18A0', NULL, NULL, NULL, NULL, NULL, NULL, '180', '2026-07-14 00:00:00', 'Y', NULL, 'GPP', 'N') AS RESULT FROM DUAL;
Date: 2026-07-14 06:03:07 Duration: 3m7s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 1m58s 1m58s 1m58s 1 1m58s select m_initialize_stock_valuation (?, ?, null) as result from dual;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 14 07 1 1m58s 1m58s [ User: tad - Total duration: 1m58s - Times executed: 1 ]
[ Application: openbravo - Total duration: 1m58s - Times executed: 1 ]
-
SELECT M_INITIALIZE_STOCK_VALUATION ('7E3CD157DC6246718BFBF101DCDC4016', 'ABB79999997E423B85B205975E7A9BD8', NULL) AS RESULT FROM DUAL;
Date: 2026-07-14 07:01:58 Duration: 1m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 1m58s 1m58s 1m58s 1 1m58s update m_transaction set updated = ?, updatedby = ?, transactioncost = ?, m_costing_algorithm_id = ?, iscostcalculated = ?, c_currency_id = ?, costing_status = ? where m_transaction_id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 14 07 1 1m58s 1m58s [ User: tad - Total duration: 1m58s - Times executed: 1 ]
[ Application: openbravo - Total duration: 1m58s - Times executed: 1 ]
-
update M_Transaction set Updated = '2026-07-14 07:00:00.401', UpdatedBy = '100', TransactionCost = '2.30', M_Costing_Algorithm_ID = 'B069080A0AE149A79CF1FA0E24F16AB6', IsCostCalculated = 'Y', C_Currency_ID = '102', Costing_Status = 'CC' where M_Transaction_ID = '7AC8846D4CEF4BA089A83E1350BAEDED';
Date: 2026-07-14 07:01:58 Duration: 1m58s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
update M_Transaction set Updated = $1, UpdatedBy = $2, TransactionCost = $3, M_Costing_Algorithm_ID = $4, IsCostCalculated = $5, C_Currency_ID = $6, Costing_Status = $7 where M_Transaction_ID = $8;
Date: 2026-07-14 07:01:58 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
6 23s119ms 1m39s 1m1s 2 2m2s select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = ? then concat(?, nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = ? then concat(?, m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, ?)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std (?, ?) as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = ? then concatbordado || ? else ad_column_identifier_std (?, m_product_id) end as m_product, pendienteventas, greatest (production, ?) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo (?, m_product_id, ?, ?) as mes0, to_char(add_months (to_date(now()), ?), ?) as namemes0, bass_prendascalculo (?, m_product_id, ?, ?) as mes1, to_char(add_months (to_date(now()), ?), ?) as namemes1, bass_prendascalculo (?, m_product_id, ?, ?) as mes2, to_char(add_months (to_date(now()), ?), ?) as namemes2, bass_prendascalculo (?, m_product_id, ?, ?) as mes3, to_char(add_months (to_date(now()), ?), ?) as namemes3, bass_prendascalculo (?, m_product_id, ?, ?) as mes4, to_char(add_months (to_date(now()), ?), ?) as namemes4, bass_prendascalculo (?, m_product_id, ?, ?) as mes5, to_char(add_months (to_date(now()), ?), ?) as namemes5, bass_prendascalculo (?, m_product_id, ?, ?) as mes6, to_char(add_months (to_date(now()), ?), ?) as namemes6, bass_prendascalculo (?, m_product_id, ?, ?) as mes7, to_char(add_months (to_date(now()), ?), ?) as namemes7, bass_prendascalculo (?, m_product_id, ?, ?) as mes8, to_char(add_months (to_date(now()), ?), ?) as namemes8, bass_prendascalculo (?, m_product_id, ?, ?) as mes9, to_char(add_months (to_date(now()), ?), ?) as namemes9, bass_prendascalculo (?, m_product_id, ?, ?) as mes10, to_char(add_months (to_date(now()), ?), ?) as namemes10, bass_prendascalculo (?, m_product_id, ?, ?) as mes11, to_char(add_months (to_date(now()), ?), ?) as namemes11, bass_prendascalculo (?, m_product_id, ?, ?) as mes12, to_char(add_months (to_date(now()), ?), ?) as namemes12, bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?, ?) as anoanterior, bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?)), ?) as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ? || m_product_category.value || ? || m_product.name || ? || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ? || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then ? else ? end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, ?)), ?) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id inner join c_doctype on c_order.c_doctypetarget_id = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in (...) where c_doctype.docsubtypeso <> ? and c_order.docstatus in (...) and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = ? and c_orderline.m_product_id = m_product.m_product_id and case when ? = ? then c_orderline.ad_org_id in (...) else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end group by c_orderline.m_product_id), ?) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), ?) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = ? and case when ? = ? then advpro2_outsourcing.ad_org_id in (...) else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end and ma_wrphaseproduct.productiontype = ? group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), ?) as production, coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when ? = ? then em_advmrp_org_id in (...) else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = ? or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = ?)))), ?), ?) as stock, coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), ?)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = ? and c_order.docstatus in (...) and case when ? = ? then c_order.ad_org_id in (...) else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where ad_isorgincluded (org.ad_org_id, ?, org.ad_client_id) > ?) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), ?) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), ?), ?) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( select nullif (sum(coalesce(stockmin, ?)), ?) from m_product_org where m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in (...) where m_product.issold = ? and ? = ? and ( case when ? = ? then m_product.isactive = ? when ? = ? then m_product.isactive = ? else ? = ? end) and m_product.em_fash_campaign_id = ?) as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)) ?, ?| | to_number(to_char(now(), ?)) ?, ?)), ?) + coalesce((bass_prendascalculoperiodo (?, m_product_id, ?| | to_number(to_char(now(), ?)), ?| | to_number(to_char(now(), ?)), ?)), ?)) <> ? order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, ?) asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 14 11 2 2m2s 1m1s [ User: tad - Total duration: 2m2s - Times executed: 2 ]
[ Application: openbravo - Total duration: 2m2s - Times executed: 2 ]
-
select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = 'Y' then concat('*', nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = 'Y' then concat('* ', m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, 0)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std ('ad_org', '0') as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = 'BORDADO' then concatbordado || ' BORDADO' else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteventas, greatest (production, 0) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo ('0', m_product_id, 0, '') as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_prendascalculo ('0', m_product_id, -1, '') as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_prendascalculo ('0', m_product_id, -2, '') as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_prendascalculo ('0', m_product_id, -3, '') as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_prendascalculo ('0', m_product_id, -4, '') as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_prendascalculo ('0', m_product_id, -5, '') as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_prendascalculo ('0', m_product_id, -6, '') as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_prendascalculo ('0', m_product_id, -7, '') as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_prendascalculo ('0', m_product_id, -8, '') as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_prendascalculo ('0', m_product_id, -9, '') as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_prendascalculo ('0', m_product_id, -10, '') as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_prendascalculo ('0', m_product_id, -11, '') as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_prendascalculo ('0', m_product_id, -12, '') as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '') as anoanterior, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '') as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ' - ' || m_product_category.value || ' / ' || m_product.name || ' / ' || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ' - ' || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then 'BORDADO' else '' end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, 2)), 0) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id INNER JOIN c_doctype on c_order.C_DocTypeTarget_ID = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in ('T') where c_doctype.docsubtypeso <> 'OB' AND c_order.docstatus in ('CO') and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = 'Y' and c_orderline.m_product_id = m_product.m_product_id and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_orderline.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end group by c_orderline.m_product_id), 0) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = 'DE' and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then advpro2_outsourcing.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end and ma_wrphaseproduct.productiontype = '+' group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as production, /**/ coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then em_advmrp_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = 'Y' or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = 'Y')))), 3), 0) as stock, /**/ coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus in ('CO') and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_order.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( SELECT NULLIF (sum(COALESCE(stockmin, 0)), 0) FROM M_Product_Org WHERE m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('P') where m_product.issold = 'Y' and 1 = 1 and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and m_product.em_fash_campaign_id = '2B2940222BDA41DD90D103D93CFE7F4C') as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '')), 0) + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '')), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, '') asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;
Date: 2026-07-14 11:52:16 Duration: 1m39s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select distinct ad_org, fash_lobparent, fash_lob, case when aextenguir = 'Y' then concat('*', nameproduct) else nameproduct end as nameproduct, collection, campaign, bordado, concatbordado, case when aextenguir = 'Y' then concat('* ', m_product) else m_product end as m_product, sum(pendienteventas) as pendienteventas, sum(greatest (production, 0)) as production, sum(stock) as stock, characteristic_desc, productonombre, pendientecompras, aextenguir, sum(((stock + pendientecompras + production) - pendienteventas)) as saldo, sum(mes0) as mes0, namemes0, sum(mes1) as mes1, namemes1, sum(mes2) as mes2, namemes2, sum(mes3) as mes3, namemes3, sum(mes4) as mes4, namemes4, sum(mes5) as mes5, namemes5, sum(mes6) as mes6, namemes6, sum(mes7) as mes7, namemes7, sum(mes8) as mes8, namemes8, sum(mes9) as mes9, namemes9, sum(mes10) as mes10, namemes10, sum(mes11) as mes11, namemes11, sum(mes12) as mes12, namemes12, sum(anoanterior) as anoanterior, sum(anoactual) as anoactual, stockmin from ( select ad_column_identifier_std ('ad_org', '0') as ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, case when bordado = 'BORDADO' then concatbordado || ' BORDADO' else ad_column_identifier_std ('m_product', m_product_id) end as m_product, pendienteventas, greatest (production, 0) as production, stock, characteristic_desc, productonombre, pendientecompras, aextenguir, ((stock + pendientecompras + production) - pendienteventas) as saldo, bass_prendascalculo ('0', m_product_id, 0, '') as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_prendascalculo ('0', m_product_id, -1, '') as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_prendascalculo ('0', m_product_id, -2, '') as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_prendascalculo ('0', m_product_id, -3, '') as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_prendascalculo ('0', m_product_id, -4, '') as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_prendascalculo ('0', m_product_id, -5, '') as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_prendascalculo ('0', m_product_id, -6, '') as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_prendascalculo ('0', m_product_id, -7, '') as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_prendascalculo ('0', m_product_id, -8, '') as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_prendascalculo ('0', m_product_id, -9, '') as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_prendascalculo ('0', m_product_id, -10, '') as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_prendascalculo ('0', m_product_id, -11, '') as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_prendascalculo ('0', m_product_id, -12, '') as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '') as anoanterior, bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '') as anoactual, stockmin from ( select case when fash_lob_parent.name is null then fash_lob.name else fash_lob_parent.name end as fash_lobparent, fash_lob.name as fash_lob, fash_collection.name as collection, c_campaign.name as campaign, m_product.m_product_id, (m_product.name || ' - ' || m_product_category.value || ' / ' || m_product.name || ' / ' || m_product.characteristic_desc) as concatbordado, (m_product_category.value || ' - ' || m_product.name) as nameproduct, m_product.characteristic_desc, case when bass_embroidery.name is not null then 'BORDADO' else '' end as bordado, m_product.name as productonombre, coalesce(( select coalesce(sum(round(c_orderline.qtyordered - c_orderline.qtydelivered, 2)), 0) as pending from c_orderline inner join m_product m_productsub1 on c_orderline.m_product_id = m_productsub1.m_product_id inner join c_order on c_orderline.c_order_id = c_order.c_order_id INNER JOIN c_doctype on c_order.C_DocTypeTarget_ID = c_doctype.c_doctype_id inner join c_bpartner on c_order.c_bpartner_id = c_bpartner.c_bpartner_id inner join fash_product_group on m_productsub1.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value not in ('T') where c_doctype.docsubtypeso <> 'OB' AND c_order.docstatus in ('CO') and c_orderline.qtyordered > c_orderline.qtydelivered and c_order.issotrx = 'Y' and c_orderline.m_product_id = m_product.m_product_id and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_orderline.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_orderline.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end group by c_orderline.m_product_id), 0) as pendienteventas, coalesce(( select sum(a) from ( select sum((advpro2_outsourcing_phase.quantity - ( select coalesce(sum(productionqty), 0) from m_productionplan where m_productionplan_id in ( select m_productionplan_id from advpro2_outsourcing_plan where advpro2_outsourcing_phase_id = advpro2_outsourcing_phase.advpro2_outsourcing_phase_id))) * ma_wrphaseproduct.movementqty) as a, ma_wrphaseproduct.m_product_id from advpro2_outsourcing inner join advpro2_outsourcing_phase on advpro2_outsourcing.advpro2_outsourcing_id = advpro2_outsourcing_phase.advpro2_outsourcing_id inner join c_bpartner on advpro2_outsourcing.c_bpartner_id = c_bpartner.c_bpartner_id left join ma_wrphase on advpro2_outsourcing_phase.ma_wrphase_id = ma_wrphase.ma_wrphase_id left join ma_wrphaseproduct on ma_wrphase.ma_wrphase_id = ma_wrphaseproduct.ma_wrphase_id where advpro2_outsourcing.status = 'DE' and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then advpro2_outsourcing.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else advpro2_outsourcing.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end and ma_wrphaseproduct.productiontype = '+' group by ma_wrphaseproduct.m_product_id) as ab where ab.m_product_id = m_product.m_product_id group by ab.m_product_id), 0) as production, /**/ coalesce(round(( select sum(movementqty) from m_transaction where m_transaction.m_product_id = m_product.m_product_id and m_locator_id in ( select m_locator_id from m_locator where m_warehouse_id in ( select m_warehouse_id from m_warehouse where case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then em_advmrp_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else em_advmrp_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end) and m_locator_id not in ( select m_locator_id from m_locator where em_bass_exclude_reports = 'Y' or m_warehouse_id in ( select m_warehouse_id from m_warehouse where em_bass_exclude_reports = 'Y')))), 3), 0) as stock, /**/ coalesce(round(( select sum(pending) from ( select (c_orderline.qtyordered - coalesce(sum(m_inoutline.movementqty), 0)) pending, c_orderline.m_product_id, c_orderline.c_orderline_id from c_orderline inner join c_order on c_orderline.c_order_id = c_order.c_order_id and c_order.issotrx = 'N' and c_order.docstatus in ('CO') and case when '0' = 'E495F7998AB748F59ED3B6ACF2F48CA6' then c_order.ad_org_id in ('62BDFDB7612B40D3B9D865CDF7A36690', '0') else c_order.ad_org_id in ( select org.ad_org_id from ad_org org where AD_ISORGINCLUDED (org.ad_org_id, '0', org.ad_client_id) > 0) end left join m_inoutline on c_orderline.c_orderline_id = m_inoutline.c_orderline_id group by c_orderline.m_product_id, c_orderline.c_orderline_id, c_orderline.qtyordered having coalesce(sum(movementqty), 0) & lt; qtyordered) as a where a.m_product_id = m_product.m_product_id group by a.m_product_id), 3), 0) as pendientecompras, m_product.em_bass_isextinct as aextenguir, ( SELECT NULLIF (sum(COALESCE(stockmin, 0)), 0) FROM M_Product_Org WHERE m_product_id = m_product.m_product_id) as stockmin from m_product left join m_product_category on m_product.m_product_category_id = m_product_category.m_product_category_id left join fash_lob on m_product.em_fash_lob_id = fash_lob.fash_lob_id left join fash_lob as fash_lob_parent on fash_lob.fash_lob_parent_id = fash_lob_parent.fash_lob_id left join fash_collection on m_product.em_fash_collection_id = fash_collection.fash_collection_id left join c_campaign on m_product.em_fash_campaign_id = c_campaign.c_campaign_id left join bass_embroidery on m_product.em_bass_embroidery_id = bass_embroidery.bass_embroidery_id inner join fash_product_group on m_product.em_fash_product_group_id = fash_product_group.fash_product_group_id and fash_product_group.value in ('P') where m_product.issold = 'Y' and 1 = 1 and ( case when 'active' = 'active' then m_product.isactive = 'Y' when 'active' = 'nonactive' then m_product.isactive = 'N' else 2 = 2 end) and m_product.em_fash_campaign_id = '850E48F86D1545B1A3BF0C2D7AF1B036') as nv where (nv.pendienteventas + nv.production + nv.stock + nv.pendientecompras + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1, '')), 0) + coalesce((bass_prendascalculoperiodo ('0', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')), '12-' || to_number(to_char(NOW(), 'YYYY')), '')), 0)) <> 0 order by collection, campaign, fash_lobparent, fash_lob, productonombre, nameproduct, characteristic_desc, coalesce(bordado, '') asc) as final group by ad_org, fash_lobparent, fash_lob, nameproduct, collection, campaign, bordado, concatbordado, m_product, characteristic_desc, productonombre, pendientecompras, aextenguir, namemes0, namemes1, namemes2, namemes3, namemes4, namemes5, namemes6, namemes7, namemes8, namemes9, namemes10, namemes11, namemes12, stockmin order by collection, campaign, fash_lobparent, fash_lob, productonombre;
Date: 2026-07-14 11:51:57 Duration: 23s119ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 10s304ms 1m13s 38s325ms 10 6m23s select advmrp_processplan2 (?, ?, ?, ?, null, ?, ?, ?) as result from dual;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 14 06 10 6m23s 38s325ms [ User: tad - Total duration: 6m23s - Times executed: 10 ]
[ Application: openbravo - Total duration: 6m23s - Times executed: 10 ]
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'B4C6E38537EE44708FC6C3F0592B6F37', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:43 Duration: 1m13s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '8009A4ABA9834C7BB7B8364A97BFECC0', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:32 Duration: 1m2s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '63018C7A541E4CCCA6E4BF2E4C2117D0', NULL, '180', '2026-07-14 06:00:00.121', '0') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:33 Duration: 1m2s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 17s10ms 1m17s 37s196ms 10 6m11s select advmrp_run_explode2 (?, ?, ?, ?, null, ?, ?, ?, ?) as result from dual;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 14 06 10 6m11s 37s196ms [ User: tad - Total duration: 6m11s - Times executed: 10 ]
[ Application: openbravo - Total duration: 6m11s - Times executed: 10 ]
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'B3F6D1CFB16549258CE9B367C0B402DF', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-14 06:05:19 Duration: 1m17s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'C5D6A30700E246F1B8A5183241B7AD7B', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-14 06:04:56 Duration: 54s946ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '9BCFA5D73E3845A0872B6EE3F31FC15F', NULL, '180', '2026-07-14 06:00:00.121', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-14 06:04:51 Duration: 50s383ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 30s212ms 34s623ms 32s216ms 5 2m41s select "_"."c_orderline_id" AS "c_orderline_id", "_"."documentno" AS "documentno", "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."c_currency_id" AS "c_currency_id", "_"."m_product_id" AS "m_product_id", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."m_product_category_id" AS "m_product_category_id", "_"."Product Name" AS "Product Name", "_"."Category Name" AS "Category Name", "_"."Product Composition Name" AS "Product Composition Name", "_"."Product Campaign Name" AS "Product Campaign Name", "_"."Product Collection Name" AS "Product Collection Name", "_"."Product LOB Name" AS "Product LOB Name", "_"."line" AS "line", cast("_"."Fecha Pedido" as date) AS "Fecha Pedido", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."Fecha Comprometida Ped" AS "Fecha Comprometida Ped", "_"."Fecha Enviada" AS "Fecha Enviada", "_"."Descripción" AS "Descripción", "_"."Cantidad Pedido" AS "Cantidad Pedido", "_"."Cantidad Enviada" AS "Cantidad Enviada", "_"."Precio Lista" AS "Precio Lista", "_"."Precio Actual" AS "Precio Actual", "_"."Precio Limite" AS "Precio Limite", "_"."Importe Linea" AS "Importe Linea", "_"."Importe Inicial L" AS "Importe Inicial L", "_"."Descuento" AS "Descuento" from ( select ol.c_orderline_id, o.documentno, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, p."name" AS "Product Name", mpc.name AS "Category Name", fpc.name AS "Product Composition Name", cc.name AS "Product Campaign Name", fc.name AS "Product Collection Name", fl.name AS "Product LOB Name", ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", o.datepromised AS "Fecha Comprometida Ped", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.qtydelivered "Cantidad Enviada", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.em_prouti_linenetamtinitial "Importe Inicial L", ol.discount AS "Descuento" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id left join c_doctype on c_doctype.c_doctype_id = o.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = p.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = p.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = p.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = p.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = p.em_fash_lob_id where ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and c_doctype.docsubtypeso not in (...) and c_doctype.isreturn = ? and o.docstatus in (...) union all select ol.c_orderline_id, o.documentno, ol.c_order_id, ol.ad_org_id, ol.isactive, o.issotrx, o.c_bpartner_id, ol.c_currency_id, ol.m_product_id, ol.m_warehouse_id, p.m_product_category_id, p."name" AS "Product Name", mpc.name AS "Category Name", fpc.name AS "Product Composition Name", cc.name AS "Product Campaign Name", fc.name AS "Product Collection Name", fl.name AS "Product LOB Name", ol.line, ol.dateordered AS "Fecha Pedido", ol.datepromised AS "Fecha Comprometida", o.datepromised AS "Fecha Comprometida Ped", ol.datedelivered AS "Fecha Enviada", ol.description AS "Descripción", ol.qtyordered "Cantidad Pedido", ol.qtydelivered "Cantidad Enviada", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.linenetamt "Importe Inicial L", ol.discount AS "Descuento" from c_orderline ol left join c_order o on o.c_order_id = ol.c_order_id left join m_product p on p.m_product_id = ol.m_product_id left join c_doctype on c_doctype.c_doctype_id = o.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = p.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = p.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = p.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = p.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = p.em_fash_lob_id where ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and c_doctype.docsubtypeso not in (...) and c_doctype.isreturn = ? and o.docstatus in (...)) "_";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 14 07 2 1m2s 31s54ms 09 1 34s623ms 34s623ms 13 1 31s925ms 31s925ms 16 1 32s423ms 32s423ms [ User: tad - Total duration: 2m41s - Times executed: 5 ]
[ Application: Mashup Engine - Total duration: 2m41s - Times executed: 5 ]
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";
Date: 2026-07-14 09:12:42 Duration: 34s623ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";
Date: 2026-07-14 16:11:36 Duration: 32s423ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_orderline_id" as "c_orderline_id", "_"."documentno" as "documentno", "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."c_bpartner_id" as "c_bpartner_id", "_"."c_currency_id" as "c_currency_id", "_"."m_product_id" as "m_product_id", "_"."m_warehouse_id" as "m_warehouse_id", "_"."m_product_category_id" as "m_product_category_id", "_"."Product Name" as "Product Name", "_"."Category Name" as "Category Name", "_"."Product Composition Name" as "Product Composition Name", "_"."Product Campaign Name" as "Product Campaign Name", "_"."Product Collection Name" as "Product Collection Name", "_"."Product LOB Name" as "Product LOB Name", "_"."line" as "line", cast("_"."Fecha Pedido" as date) as "Fecha Pedido", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."Fecha Comprometida Ped" as "Fecha Comprometida Ped", "_"."Fecha Enviada" as "Fecha Enviada", "_"."Descripción" as "Descripción", "_"."Cantidad Pedido" as "Cantidad Pedido", "_"."Cantidad Enviada" as "Cantidad Enviada", "_"."Precio Lista" as "Precio Lista", "_"."Precio Actual" as "Precio Actual", "_"."Precio Limite" as "Precio Limite", "_"."Importe Linea" as "Importe Linea", "_"."Importe Inicial L" as "Importe Inicial L", "_"."Descuento" as "Descuento" from ( SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.em_prouti_linenetamtinitial "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'N' and O.docstatus in ('CL', 'CO') union all SELECT OL.c_orderline_id, O.documentno, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, P."name" as "Product Name", mpc.name as "Category Name", fpc.name as "Product Composition Name", cc.name as "Product Campaign Name", fc.name as "Product Collection Name", fl.name as "Product LOB Name", OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", OL.description as "Descripción", OL.qtyordered "Cantidad Pedido", OL.qtydelivered "Cantidad Enviada", OL.pricelist "Precio Lista", OL.priceactual "Precio Actual", OL.pricelimit "Precio Limite", OL.linenetamt "Importe Linea", OL.linenetamt "Importe Inicial L", OL.discount as "Descuento" FROM c_orderline OL LEFT JOIN c_order O on O.c_order_id = OL.c_order_id LEFT JOIN m_product P on P.m_product_id = OL.m_product_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id left join m_product_category mpc on mpc.m_product_category_id = P.m_product_category_id left join fash_prod_composition fpc on fpc.fash_prod_composition_id = P.em_fash_prod_composition_id left join c_campaign cc on cc.c_campaign_id = P.em_fash_campaign_id left join fash_collection fc on fc.fash_collection_id = P.em_fash_collection_id left join fash_lob fl on fl.fash_lob_id = P.em_fash_lob_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.docsubtypeso not in ('OB', 'ON') and c_doctype.isreturn = 'Y' and O.docstatus in ('CL', 'CO')) "_";
Date: 2026-07-14 13:14:56 Duration: 31s925ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
10 13s701ms 18s382ms 16s468ms 7 1m55s select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Procesado" AS "Procesado", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."t0_0" AS "Fecha Pedido", "_"."Fecha Creacion" AS "Hora Creacion", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."Cod Vend" AS "Cod Vend", "_"."Vendedor" AS "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" AS "c_order_id", "_"."ad_org_id" AS "ad_org_id", "_"."isactive" AS "isactive", "_"."issotrx" AS "issotrx", "_"."Documento" AS "Documento", "_"."Estado Pedido" AS "Estado Pedido", "_"."Accion Pedido" AS "Accion Pedido", "_"."Procesado" AS "Procesado", "_"."Tipo Documento" AS "Tipo Documento", "_"."Descripción" AS "Descripción", "_"."Fecha Creacion" AS "Fecha Creacion", "_"."Fecha Comprometida" AS "Fecha Comprometida", "_"."c_bpartner_id" AS "c_bpartner_id", "_"."Referencia Proveedor" AS "Referencia Proveedor", "_"."c_currency_id" AS "c_currency_id", "_"."Currency ISO" AS "Currency ISO", "_"."m_warehouse_id" AS "m_warehouse_id", "_"."Ciudad" AS "Ciudad", "_"."Codigo Postal" AS "Codigo Postal", "_"."Pais" AS "Pais", "_"."Region" AS "Region", "_"."Cod Vend" AS "Cod Vend", "_"."Vendedor" AS "Vendedor", cast("_"."Fecha Pedido" as date) AS "t0_0" from ( select o.c_order_id, o.ad_org_id, o.isactive, o.issotrx, o.documentno AS "Documento", o.docstatus AS "Estado Pedido", o.docaction AS "Accion Pedido", o.processed AS "Procesado", dt.name AS "Tipo Documento", o.description AS "Descripción", o.dateordered AS "Fecha Pedido", o.created AS "Fecha Creacion", o.datepromised AS "Fecha Comprometida", o.c_bpartner_id, o.poreference "Referencia Proveedor", o.c_currency_id, cu.iso_code "Currency ISO", o.m_warehouse_id, cl.city AS "Ciudad", cl.postal AS "Codigo Postal", cc."name" AS "Pais", cr."name" AS "Region", ag.ad_user_id AS "Cod Vend", ag.name AS "Vendedor" from c_order o left join c_doctype dt on dt.c_doctype_id = o.c_doctypetarget_id inner join c_currency cu on cu.c_currency_id = o.c_currency_id left join c_bpartner_location cbl on cbl.c_bpartner_location_id = o.c_bpartner_location_id left join c_location cl on cl.c_location_id = cbl.c_location_id left join c_country cc on cc.c_country_id = cl.c_country_id left join c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = o.salesrep_id where ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and dt.docsubtypeso not in (...)) "_") "_") "_" order by "_"."t0_0" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 14 06 1 15s653ms 15s653ms 07 2 29s711ms 14s855ms 08 1 18s382ms 18s382ms 09 1 18s306ms 18s306ms 13 1 16s806ms 16s806ms 16 1 16s420ms 16s420ms [ User: tad - Total duration: 1m55s - Times executed: 7 ]
[ Application: Mashup Engine - Total duration: 1m55s - Times executed: 7 ]
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."t0_0" as "Fecha Pedido", "_"."Fecha Creacion" as "Hora Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Creacion" as "Fecha Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.created as "Fecha Creacion", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", ag.ad_user_id as "Cod Vend", ag.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctypetarget_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = O.salesrep_id WHERE 1 = 1 AND O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and DT.docsubtypeso not in ('OB', 'ON')) "_") "_") "_" order by "_"."t0_0" desc;
Date: 2026-07-14 08:11:06 Duration: 18s382ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."t0_0" as "Fecha Pedido", "_"."Fecha Creacion" as "Hora Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Creacion" as "Fecha Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.created as "Fecha Creacion", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", ag.ad_user_id as "Cod Vend", ag.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctypetarget_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = O.salesrep_id WHERE 1 = 1 AND O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and DT.docsubtypeso not in ('OB', 'ON')) "_") "_") "_" order by "_"."t0_0" desc;
Date: 2026-07-14 09:12:26 Duration: 18s306ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
-
select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."t0_0" as "Fecha Pedido", "_"."Fecha Creacion" as "Hora Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor" from ( select "_"."c_order_id", "_"."ad_org_id", "_"."isactive", "_"."issotrx", "_"."Documento", "_"."Estado Pedido", "_"."Accion Pedido", "_"."Procesado", "_"."Tipo Documento", "_"."Descripción", "_"."Fecha Creacion", "_"."Fecha Comprometida", "_"."c_bpartner_id", "_"."Referencia Proveedor", "_"."c_currency_id", "_"."Currency ISO", "_"."m_warehouse_id", "_"."Ciudad", "_"."Codigo Postal", "_"."Pais", "_"."Region", "_"."Cod Vend", "_"."Vendedor", "_"."t0_0" from ( select "_"."c_order_id" as "c_order_id", "_"."ad_org_id" as "ad_org_id", "_"."isactive" as "isactive", "_"."issotrx" as "issotrx", "_"."Documento" as "Documento", "_"."Estado Pedido" as "Estado Pedido", "_"."Accion Pedido" as "Accion Pedido", "_"."Procesado" as "Procesado", "_"."Tipo Documento" as "Tipo Documento", "_"."Descripción" as "Descripción", "_"."Fecha Creacion" as "Fecha Creacion", "_"."Fecha Comprometida" as "Fecha Comprometida", "_"."c_bpartner_id" as "c_bpartner_id", "_"."Referencia Proveedor" as "Referencia Proveedor", "_"."c_currency_id" as "c_currency_id", "_"."Currency ISO" as "Currency ISO", "_"."m_warehouse_id" as "m_warehouse_id", "_"."Ciudad" as "Ciudad", "_"."Codigo Postal" as "Codigo Postal", "_"."Pais" as "Pais", "_"."Region" as "Region", "_"."Cod Vend" as "Cod Vend", "_"."Vendedor" as "Vendedor", cast("_"."Fecha Pedido" as date) as "t0_0" from ( SELECT O.c_order_id, O.ad_org_id, O.isactive, O.issotrx, O.documentno as "Documento", O.docstatus as "Estado Pedido", O.docaction as "Accion Pedido", O.processed as "Procesado", DT.name as "Tipo Documento", O.description as "Descripción", O.dateordered as "Fecha Pedido", O.created as "Fecha Creacion", O.datepromised as "Fecha Comprometida", O.c_bpartner_id, O.poreference "Referencia Proveedor", O.c_currency_id, cu.iso_code "Currency ISO", O.m_warehouse_id, cl.city as "Ciudad", cl.postal as "Codigo Postal", cc."name" as "Pais", cr."name" as "Region", ag.ad_user_id as "Cod Vend", ag.name as "Vendedor" FROM c_order O LEFT JOIN c_doctype DT on DT.c_doctype_id = O.c_doctypetarget_id INNER JOIN c_currency cu on cu.c_currency_id = o.c_currency_id LEFT JOIN c_bpartner_location cbl on cbl.c_bpartner_location_id = O.c_bpartner_location_id LEFT JOIN c_location cl on cl.c_location_id = cbl.c_location_id LEFT JOIN c_country cc on cc.c_country_id = cl.c_country_id LEFT JOIN c_region cr on cr.c_region_id = cl.c_region_id left join ad_user ag on ag.ad_user_id = O.salesrep_id WHERE 1 = 1 AND O.dateordered between to_date('01-01-2018', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and DT.docsubtypeso not in ('OB', 'ON')) "_") "_") "_" order by "_"."t0_0" desc;
Date: 2026-07-14 13:14:44 Duration: 16s806ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
11 1s81ms 19s79ms 9s907ms 248 40m57s select * from m_inout_post0 (?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 14 06 47 7m49s 9s998ms 07 45 8m1s 10s691ms 08 29 4m9s 8s605ms 09 20 2m34s 7s735ms 10 27 4m34s 10s150ms 11 8 45s801ms 5s725ms 12 51 9m19s 10s970ms 13 19 3m36s 11s386ms 14 1 4s638ms 4s638ms 16 1 1s354ms 1s354ms [ User: tad - Total duration: 40m57s - Times executed: 248 ]
[ Application: openbravo - Total duration: 40m57s - Times executed: 248 ]
-
SELECT * FROM M_InOut_Post0 ('EB7C2E9B0A9547BB832522FF1C852F82');
Date: 2026-07-14 06:05:12 Duration: 19s79ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('7B99D0F285B148A291008C4AFF4057B3');
Date: 2026-07-14 10:16:30 Duration: 17s571ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('92B5FECDCD17411DB50A10F58D02A5BD');
Date: 2026-07-14 06:13:35 Duration: 17s385ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 1s502ms 10s647ms 6s597ms 76 8m21s select packing_co0_.obwpack_packingh_id as obwpack_1_1080_0_, packing_co0_.ad_client_id as ad_clien2_1080_0_, packing_co0_.ad_org_id as ad_org_i3_1080_0_, ( select coalesce(( case when exists ( select ? from prpp_box where prpp_box.obwpack_packingh_id = packing_co0_.obwpack_packingh_id) then ( select count(?) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.obwpack_packingh_id = packing_co0_.obwpack_packingh_id and prpp_box_type.isgroup <> ?) else ( select count(?) from obwpack_box ob where ob.obwpack_packingh_id = packing_co0_.obwpack_packingh_id) end), ?)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.obwpack_packingh_id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 14 09 31 3m41s 7s151ms 10 12 1m13s 6s83ms 11 6 38s659ms 6s443ms 12 4 21s310ms 5s327ms 13 4 20s204ms 5s51ms 14 8 57s271ms 7s158ms 15 2 18s171ms 9s85ms 16 4 20s613ms 5s153ms 17 5 30s475ms 6s95ms [ User: tad - Total duration: 8m21s - Times executed: 76 ]
[ Application: openbravo - Total duration: 8m21s - Times executed: 76 ]
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC', 'ECBA6B682C2C465C9D773CE9C48B001A', '45F5BB5EFAB74478AEAAA4E6AB642034', '5582F4BDEC4549398E0FF7D7BCF52B63', '7A8B5CB9F2614168B3E7FCAD5039F796', '13DC0B5ED33E456BBAD650BB7D2AE556', 'B3CC404E28744D4598BAE60897523857', '2E023DF03CA044C791ED10550AE8571D', '2413BD2F93D3451AA8E8F4484A9100D2', '302213D72FBD4D948F8B521EE7906443', '1E48F5D7F1B5436BACC40DC8A1FFA9DB', '11E4353A1F0949F68BA8F63E51CD3171', '979A0615763346FCB3A9A53C67190828', '82B7260C347545068F1415D4ECCBEDE1', '9B87E7FCEF264379B9E654F81D086B73', 'E401EFDDBEBA437EBECF2F583657CE86', '1215B1DE484D43959C5B1B09849356BA', '1A15D4AD9B374994943A6C9366CB3C23', '8207B8C0953348D6B3253330346F62EF');
Date: 2026-07-14 11:57:54 Duration: 10s647ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('579A4114A3B648EFB99874C45D3891B4', 'F8F0DA56076444C7A37EB4747B3DFF67', '645154C4852D49D79421CC886A40BF6A', 'E24DE7CD8B464112A0C71F1AAE910647', '7BD9134A471F441F9AF195BAB094F039', 'EE8B3869230943DABC826D0A253C9691', '5DD7D211EB7341ECB5020C9F96697F29', 'CFE2434AFAB644AFB4CA4A86764EBE72', '4C50CE6C5BA74FD4A70162514D5D2220', '1FD347B44B7640F3857890CFF4329512', '0D28E288E99B4971B9FBB2465A220FAB', 'C8DC08F8E7DE4AF7B8F13EE6D097FFF3', 'E1712B744FD64A72BBCDE24AC48D9D1E', '262BFD8A05794006BE919075DE648CFC', '84C325968EF844989E6DA7D2F838BB11', '9AB03B605A5B4FD0977B12FC7A7A9BBB', '4DD9237C2D7640DDBE2E4E15AC68D3E6', 'EA531FDFCE424DF3AA31410CDFE950A7', '2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC');
Date: 2026-07-14 17:47:17 Duration: 10s615ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select packing_co0_.Obwpack_Packingh_ID as obwpack_1_1080_0_, packing_co0_.AD_Client_ID as ad_clien2_1080_0_, packing_co0_.AD_Org_ID as ad_org_i3_1080_0_, ( SELECT COALESCE(( CASE WHEN EXISTS ( SELECT 1 FROM prpp_box where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID) THEN ( select count(1) from prpp_box left join prpp_box_type on prpp_box.prpp_box_type_id = prpp_box_type.prpp_box_type_id where prpp_box.Obwpack_Packingh_ID = packing_co0_.Obwpack_Packingh_ID and prpp_box_type.isgroup <> 'Y') ELSE ( select count(1) FROM obwpack_box ob WHERE ob.obwpack_packingh_id = packing_co0_.Obwpack_Packingh_ID) END), 0)) as formula121_0_ from obwpack_packingh packing_co0_ where packing_co0_.Obwpack_Packingh_ID in ('579A4114A3B648EFB99874C45D3891B4', 'F8F0DA56076444C7A37EB4747B3DFF67', '645154C4852D49D79421CC886A40BF6A', 'E24DE7CD8B464112A0C71F1AAE910647', '7BD9134A471F441F9AF195BAB094F039', 'EE8B3869230943DABC826D0A253C9691', '5DD7D211EB7341ECB5020C9F96697F29', 'CFE2434AFAB644AFB4CA4A86764EBE72', '4C50CE6C5BA74FD4A70162514D5D2220', '1FD347B44B7640F3857890CFF4329512', '0D28E288E99B4971B9FBB2465A220FAB', 'C8DC08F8E7DE4AF7B8F13EE6D097FFF3', 'E1712B744FD64A72BBCDE24AC48D9D1E', '262BFD8A05794006BE919075DE648CFC', '84C325968EF844989E6DA7D2F838BB11', '9AB03B605A5B4FD0977B12FC7A7A9BBB', '4DD9237C2D7640DDBE2E4E15AC68D3E6', 'EA531FDFCE424DF3AA31410CDFE950A7', '2BC3715235584FA1B612734D443B75D1', 'E19202E5D2114B5DB3F872485419ED04', '9990F086D2AD46DE99A60CBDE77EDAF2', '8B55ECED2241454B882A775E93CD7513', '68C435EDD4CE4959BA943658F2E0E404', 'EDEC058747D846018857DDEE8DEAA883', '0CCAEBE6CB0F4ABCBAAD6F30E33D990A', 'FB8559DFF7A94D35B709032977359E8E', '16A54B2C21D04B9AB38B6DCAA87E6033', '84744806FB9F4D549FDBC5B6E4CFC2B6', '4754E8FA70C241E682C53CBAFE0DF6FE', '9406F2BCCD854496935DB930A474F5C1', '87441EDD5E7D40979899EDEA36DAEE85', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'DD2CECE0BE634C71BBD5E9A68ED2034A', 'F98EE501058746858D3FC25699B2C210', '5F1579A727FA476688842B4CE55FB15A', '2582A056280B42279BD6B984145CB76D', 'D5424C0C4CDF409EA9B7AF31ED3ADE1A', '264D34790EA949A29EE287224CD8EC8B', '537372E177F144C6BAE56C39FA723CA7', '0929CF1D329A41E69ED222B52909630A', 'BFEB80B00C1A49EF8E9DF06C74135C99', '9016587AB1D948BEA74DDF9AEC6AF1FC', 'BE36108D2EC843C08815B10E3E84F308', '6C7A3F92097046928F3291C36CB3FEA6', 'AC5C3D423A044F809BD3A9928E0F8DB6', '568B5F42EF42421394DCD9A2935ADB85', 'D5C5A7214B2848C496736599961CE758', 'C017DB0DF00F4DB893C7A4F08AAAD9F6', '5BA289EC330040ED984D0CF15B4BFFAE', 'D0B7941673C544B38E3EBA1F756135CC');
Date: 2026-07-14 15:43:50 Duration: 10s583ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1s343ms 12s1ms 5s514ms 18 1m39s select * from ad_sequence_doc (?, ?, ?);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 14 06 7 32s390ms 4s627ms 07 5 29s600ms 5s920ms 08 1 2s529ms 2s529ms 10 1 10s796ms 10s796ms 12 3 16s337ms 5s445ms 13 1 7s613ms 7s613ms [ User: tad - Total duration: 1m39s - Times executed: 18 ]
[ Application: openbravo - Total duration: 1m39s - Times executed: 18 ]
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 12:05:23 Duration: 12s1ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 10:33:45 Duration: 10s796ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-14 07:37:01 Duration: 9s511ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 1s15ms 7s262ms 5s492ms 210 19m13s select pickinglis0_.obwpl_pickinglist_id as obwpl_pi1_1081_0_, pickinglis0_.ad_client_id as ad_clien2_1081_0_, pickinglis0_.ad_org_id as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > ? then ? else ? end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) and prbat.docstatus <> ?) as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id limit ?) as formula58_0_, ( select case when count(*) > ? then ? else ? end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = ?) as formula59_0_, ( select case when count(?) > ? then ? else ? end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = ? and exists ( select ? from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = ?) and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from obwpl_pickinglist pickinglis0_ where pickinglis0_.obwpl_pickinglist_id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 14 06 66 5m38s 5s133ms 07 9 36s583ms 4s64ms 08 2 12s923ms 6s461ms 09 21 1m47s 5s117ms 10 6 37s925ms 6s320ms 11 19 1m58s 6s259ms 12 24 2m30s 6s283ms 13 16 1m11s 4s479ms 14 15 1m29s 5s976ms 16 4 23s385ms 5s846ms 19 22 2m9s 5s874ms 20 6 36s17ms 6s2ms [ User: tad - Total duration: 19m13s - Times executed: 210 ]
[ Application: openbravo - Total duration: 19m13s - Times executed: 210 ]
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('57700A47A00D463993B61FD396AF2033', '69BF013BBCB14B439CC1A7AF7315C646', '6E73782C72C444C0AB76A2D8364BD765', '835BCA9C0657450D8DBDA6C16C9463A8', 'D768041406F7463BB4FF274E4AF57589', 'DEBC4C5C99C848B9868463173AAAFD76', '00978F236D2A400E9AA8D94E4C67E8A1', '10E8D9B7808C4320AE9FB46DC3FFB082', '116FD960EBE74B0CA14C530267B75C8F', '223C64EE600642C2A9033C453B0A8B23', '32451D783D5E47D9852F34D556E7B969', '3F8C5D6A085945D6AC95EC154A2CB179', '4746B84C532B47DD9E324C3372A9D83C', '52BE534594AB4DA483BC0D3885859362', '602B29CBB91E4E0591C5F90E788DE1A6', '7FB5AD02C7CC4AB282B00D4782133FB1', 'C5EED39A761D407E809E89F7CC9B484E', 'C9AD6E6233F045D9A5DF367E18758189', '004D8F561837435AA53249685A2D3D0B', '07B336B6B44C4A2EAF11FD818E3C643A', '07F18255C9904ECEA6E0D0924F274B77', '0ABBCC11B63D47BBB228C798D0C8D0A9', '0E1D0DA96E194D12A0CDDDF072BB0C7D', '1FE6D3075C834E8997743F8AFCF85E4F', '293D13A4528B422F98F9559C38402128', '3CF70ED69CC54DFD8AC9494CD33006B5', '3E1D013390224FAA95BFAAD29FA8B420', '431BE2D328C44FA0BA3F3C5F992FD80C', '44D56EDBD76B473ABB14B60EB30D455D', '48D40C3D693D4226A7FFB0F227136031', '4B8FDCEB883B4B04B7898751B691222D', '50D21C55872F48BC8C21A2CE95B27536', '585762DC24574B5DA2213B1B58C72992', '654DF571FEC5412CB1242EEC27847009', '668653C1F66645F4AB2868636ADEE96B', '6AC533FAE050426D9A36628BC19075BF', '6F133754BE924535BD2C98A5961921DC', '80D166F087B147C69BB6E78F1035F74F', '9B8D64D88C984648BFD17F76BAAB48B7', '9EB14B53E6C14104888B351EF5E3660E', 'B329847CC46F40618A91A8E5E095E510', 'BCC7921430B04A3DAAD2B3D373D88B22', 'C2023A1336DA408E9A5E404337302259', 'C52915E7FEC247E497477F8E5C283A2C', 'C54F66A8EC73467D985AD3B02D28DD8E', 'DD9F359737914CAEB2AF7EF911A2EF8E', 'E15267B937F04B9B8231C1ECAF29082E', 'E24030F319B64C14B475B2CF23ADED6A', '005394FAEF204237BB3D7098D2591056', '01754857DF2E47CA9B28FDF918A135F7');
Date: 2026-07-14 09:06:20 Duration: 7s262ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('5D9F6E6AA5E742398B45143BDBDC98CA', '5F659817112742879A45407E524EAEE7', '5FE3EEC2A82149C5BBCD5562D71286C3', '5FF7CA8D9C4140F1BB75FA959DAFF0F1', '61B937EDDF6D43178623A464B914569A', '64B6D16D11424BA5980488B0A0B6DA8F', '687D9F6A82124B2891ABC63CE211735A', '69502BA7AC4346EBAE145909B5AA59A6', '6C4BFEB533D34D1C8CF38399EBC47B88', '6E29A0E2E5B044D39409890F31603871', '7378BFCFE83C4D9EB2EFF843A2359FCC', '7386509987E847D286015450B30F5594', '73FAE7FE15474D84BE0BABB61ED879F9', '744282EA415D49E8A34D70ADF06E63D0', '74D698E0135140B9A9DAD8492BC947DF', '75591D8699F447E78FC47AD966B3A68F', '76B352C36B6A450BA898C3FE9BBB73F2', '79A8792BA4C74DEDA6213E138FAA8E5D', '7B0E8DCDBE3A4B268447BB92F79A47F0', '7CE9A4FB122042CC94D0F7A4E827A304', '7E2375BDB9CE42F2BDB59177FA90B383', '7F04A7870B984BF1B34B3BEEB43027E8', '7F97D35530B1436BAB43B2452DD2E16A', '7FBC82FB84DA46FF9001DF6CC42C04F6', '7FC508B3B08F410DB141DC05DD78798A', '812944BA3ADC445BAC511F228555634E', '8171B31F66D54972AD03F377F300E6F7', '824F733598024D84A0344FF59D08A12A', '83BE903E71A149C690F825A5A2823EE7', '84A812DFE1F64574ADECA53D38831187', '84EFC1F1829C4A2B9581CB27221EFDD8', '854CE3925C6140E88C9C02D5E2E21A59', '867A96387B184761B44734B540FFD87D', '86A081CF9E83460899071F04FAE2402D', '86AEA2DF0F23455AB56482B79F7E35CA', '86F46B5C403442A6929C788A0CB86E08', '86FED2264CE140B3ADBD9CE10299A9BA', '87BED7A46B244842A03FC71FC375B461', '87FF476A72664319A8C9C396BEED1BF3', '893258C78B9B47EABE79D9BB12A0364C', '8B83028D8CDB424B942D20205F2FB8CE', '8C99D7DA096D435AB890EB4210BA3151', '8F885F3D12264B5198E4161D6F1DA6B9', '9033F78D35D04F5AA0171093BFF17DDF', '92600048906F4C64BCA266DA7015A456', '9333DCD8159F4FFFA07454173C50F4D1', '9386C6BAAA954057BBAAF57EF875BFEB', '943DA1949A68463ABED9425F5E81F271', '94C4AF7A222F402B937321BE6FA61AD3', '9769EC8C418445459F3CB0B3C2621880');
Date: 2026-07-14 06:16:20 Duration: 7s111ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select pickinglis0_.Obwpl_Pickinglist_ID as obwpl_pi1_1081_0_, pickinglis0_.AD_Client_ID as ad_clien2_1081_0_, pickinglis0_.AD_Org_ID as ad_org_i3_1081_0_, ( select case when count(prbat.prqc_batchofphases_id) > 0 then 'Y' else 'N' end from prqc_batchofphases prbat where prbat.m_inout_id in ( select distinct il.m_inout_id from m_inoutline il where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID) and prbat.docstatus <> 'CA') as formula57_0_, ( select ord.em_prmag_gift_wrap from c_order ord left join c_orderline ol on ord.c_order_id = ol.c_order_id left join m_inoutline il on il.c_orderline_id = ol.c_orderline_id where il.EM_Obwpl_Pickinglist_ID = pickinglis0_.Obwpl_Pickinglist_ID limit 1) as formula58_0_, ( select case when count(*) > 0 then 'Y' else 'N' end from m_inout i left join m_inoutline il on il.m_inout_id = i.m_inout_id where il.em_obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id and i.em_bass_urgent = 'Y') as formula59_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from obwpl_pickinglist op left join c_doctype cd on cd.c_doctype_id = op.c_doctype_id where cd.em_obwpl_useoutbound = 'Y' and exists ( select 1 from obwpl_pickinglist op2 where op2.em_prwp_out_pickinglist_id = op.obwpl_pickinglist_id and op2.pickliststatus = 'DR') and op.obwpl_pickinglist_id = pickinglis0_.obwpl_pickinglist_id) as formula60_0_ from OBWPL_pickinglist pickinglis0_ where pickinglis0_.Obwpl_Pickinglist_ID in ('FF63095BFF9B4F6D99ADB360678B8C15', 'FD069F5934704B7DB2493B00D2867876', 'F85098242BBF4F589D347BDCF94A7C50', 'F56A5B860E774ABE9DFA7DA5BE70C62D', 'F216BBB5892B41AE813D35E8918E7E56', 'ECCA96E1F2014BF8AFDF0EE06B13E81D', 'E7C8D2D04FF34D69A8A96ABD68B9A708', 'E5D4253924E849388E914BEBF54979F2', 'E4CCF6412C484556A0C8020861021C34', 'D3B842372BF4492E90886C79438F9F5E', 'D0722CFEEC62452F9B360F79AA5CFDE7', 'C19B150B8F9B43AE91DC6527557739C3', 'ABD3309454AE449E9D465F2C1EC73506', '9BC0135E8733480DA51484BCBA481267', '8CD0E1EDE5CB4DB8A8A66A3A55C98DF9', '7A488573A97148A6A919DD9B5A097DB7', '666620F631B44AE8A7848D29977794E0', '6495D37F4B7047E1879F2721E4311020', '6217EE4C8E2449FF8F76D4FF7213F685', '603F625402AC4728B69F480949B86F7F', '5DD7D211EB7341ECB5020C9F96697F29', '5BB647DC43814EB2A71515A635B52042', '56985A7C30684E7CAB4490A538DABF1E', '44CB80CA1D914E5897B7B8E258A09E48', '3660D3A2668C4FDCAC35C18AE67DAA33', '343BC94439764312A9EDF8F6BB1B1C2C', '29B8BC7D1B61478B8CC248795780E598', '234C55B9B8C545B58A969D0CB571EB22', '1FD347B44B7640F3857890CFF4329512', '0E2726E470D44815B878C2BCB548B4AD', '067718F19B654228A4482B0F2F0F20B1', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FDAEE5296F9746BA854030D76737058F', 'FCAD41CA0C2542E6BA3FCC8A5199AA6F', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA013BF010E14DE5800767C55D3AB550', 'F8F0DA56076444C7A37EB4747B3DFF67', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7C5E4C18A6845D1A665C4E64F2AAF08', 'F5CBC3CA5B92479AB828A6E4CE2621FF', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'EF9B728F2E44476CA050799F6CC6E138', 'ECBA6B682C2C465C9D773CE9C48B001A', 'E813D96B592947AC9222270D4DFCB501', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E401EFDDBEBA437EBECF2F583657CE86', 'E2D41D6976C44D42A83214B886F99F92', 'E08000A1FB944F49AE2C72C2FCB708AE', 'D8A6B0E0B51F4ADA9A9C41A584CB2094');
Date: 2026-07-14 11:45:21 Duration: 7s46ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 4s102ms 4s938ms 4s487ms 38 2m50s select order0_.c_order_id as c_order_1_467_, order0_.ad_client_id as ad_clien2_467_, order0_.ad_org_id as ad_org_i3_467_, order0_.isactive as isactive4_467_, order0_.created as created5_467_, order0_.createdby as createdb6_467_, order0_.updated as updated7_467_, order0_.updatedby as updatedb8_467_, order0_.issotrx as issotrx9_467_, order0_.documentno as documen10_467_, order0_.docstatus as docstat11_467_, order0_.docaction as docacti12_467_, order0_.processing as process13_467_, order0_.processed as process14_467_, order0_.c_doctype_id as c_docty15_467_, order0_.c_doctypetarget_id as c_docty16_467_, order0_.description as descrip17_467_, order0_.isdelivered as isdeliv18_467_, order0_.isinvoiced as isinvoi19_467_, order0_.isprinted as isprint20_467_, order0_.isselected as isselec21_467_, order0_.salesrep_id as salesre22_467_, order0_.dateordered as dateord23_467_, order0_.datepromised as datepro24_467_, order0_.dateprinted as datepri25_467_, order0_.dateacct as dateacc26_467_, order0_.c_bpartner_id as c_bpart27_467_, order0_.billto_id as billto_28_467_, order0_.c_bpartner_location_id as c_bpart29_467_, order0_.poreference as porefer30_467_, order0_.isdiscountprinted as isdisco31_467_, order0_.c_currency_id as c_curre32_467_, order0_.paymentrule as payment33_467_, order0_.c_paymentterm_id as c_payme34_467_, order0_.invoicerule as invoice35_467_, order0_.deliveryrule as deliver36_467_, order0_.freightcostrule as freight37_467_, order0_.freightamt as freight38_467_, order0_.deliveryviarule as deliver39_467_, order0_.m_shipper_id as m_shipp40_467_, order0_.c_charge_id as c_charg41_467_, order0_.chargeamt as chargea42_467_, order0_.priorityrule as priorit43_467_, order0_.totallines as totalli44_467_, order0_.grandtotal as grandto45_467_, order0_.m_warehouse_id as m_wareh46_467_, order0_.m_pricelist_id as m_price47_467_, order0_.istaxincluded as istaxin48_467_, order0_.c_campaign_id as c_campa49_467_, order0_.c_project_id as c_proje50_467_, order0_.c_activity_id as c_activ51_467_, order0_.posted as posted52_467_, order0_.ad_user_id as ad_user53_467_, order0_.copyfrom as copyfro54_467_, order0_.dropship_bpartner_id as dropshi55_467_, order0_.dropship_location_id as dropshi56_467_, order0_.dropship_user_id as dropshi57_467_, order0_.isselfservice as isselfs58_467_, order0_.ad_orgtrx_id as ad_orgt59_467_, order0_.user1_id as user60_467_, order0_.user2_id as user61_467_, order0_.deliverynotes as deliver62_467_, order0_.c_incoterms_id as c_incot63_467_, order0_.incotermsdescription as incoter64_467_, order0_.generatetemplate as generat65_467_, order0_.delivery_location_id as deliver66_467_, order0_.copyfrompo as copyfro67_467_, order0_.fin_paymentmethod_id as fin_pay68_467_, order0_.fin_payment_priority_id as fin_pay69_467_, order0_.rm_pickfromshipment as rm_pick70_467_, order0_.rm_receivematerials as rm_rece71_467_, order0_.em_obcma_c_poc_email_id as em_obcm72_467_, order0_.rm_createinvoice as rm_crea73_467_, order0_.c_return_reason_id as c_retur74_467_, order0_.rm_addorphanline as rm_addo75_467_, order0_.a_asset_id as a_asset76_467_, order0_.calculate_promotions as calcula77_467_, order0_.c_costcenter_id as c_costc78_467_, order0_.convertquotation as convert79_467_, order0_.c_reject_reason_id as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.quotation_id as quotati82_467_, order0_.so_res_status as so_res_83_467_, order0_.create_polines as create_84_467_, order0_.iscashvat as iscashv85_467_, order0_.em_obmfm_selectfreight as em_obmf86_467_, order0_.em_obmfm_delivery_period_id as em_obmf87_467_, order0_.rm_pickfromreceipt as rm_pick88_467_, order0_.cancelandreplace as cancela89_467_, order0_.em_advcrm_newactivity as em_advc90_467_, order0_.em_advmrp_isnotproducible as em_advm91_467_, order0_.em_aprm_addpayment as em_aprm92_467_, order0_.em_obmfm_delivery_charges as em_obmf93_467_, order0_.em_fash_datelimit as em_fash94_467_, order0_.em_obmfm_freight_id as em_obmf95_467_, order0_.em_obwpl_generatepicking as em_obwp96_467_, order0_.em_advcrm_opportunity_id as em_advc97_467_, order0_.em_fash_datevalue as em_fash98_467_, order0_.em_obmfm_weight as em_obmf99_467_, order0_.em_obwpl_isinpickinglist as em_obw100_467_, order0_.em_fash_sendbeforedate as em_fas101_467_, order0_.em_obwpl_readypl as em_obw102_467_, order0_.em_fash_order_type_id as em_fas103_467_, order0_.em_sgpcrm_securitygroups_id as em_sgp104_467_, order0_.em_obmfm_weight_uom_id as em_obm105_467_, order0_.em_advptc_financial_acct_id as em_adv106_467_, order0_.em_obmfm_set_weight as em_obm107_467_, order0_.em_advptc_bp_bankacct_id as em_adv108_467_, order0_.em_aeatsii_fecha_operacion as em_aea109_467_, order0_.confirmcancelandreplace as confir110_467_, order0_.em_advptc_percentage_dist as em_adv111_467_, order0_.em_aeatsii_descripcion_sii as em_aea112_467_, order0_.em_etabam_bankaccount_id as em_eta113_467_, order0_.em_etpr_remove_payment as em_etp114_467_, order0_.em_advptc_typedistribution as em_adv115_467_, order0_.em_advptc_payment_cond_id as em_adv116_467_, order0_.em_etvfac_reversed_invoice as em_etv117_467_, order0_.cancelledorder_id as cancel118_467_, order0_.em_etblkc_bulkcompletion as em_etb119_467_, order0_.em_fshedi_buyer_location_id as em_fsh120_467_, order0_.em_prmag2_grandtotal as em_prm121_467_, order0_.replacedorder_id as replac122_467_, order0_.iscancelled as iscanc123_467_, order0_.replacementorder_id as replac124_467_, order0_.em_prouti_order_stock as em_pro125_467_, order0_.em_etafdp_undoclose as em_eta126_467_, order0_.em_fash_servefrom as em_fas127_467_, order0_.em_prouti_pregenerate_minout as em_pro128_467_, order0_.em_etinter_interco_orig as em_eti129_467_, order0_.em_prouti_sotopo as em_pro130_467_, order0_.bpartner_extref as bpartn131_467_, order0_.em_bass_costfactor as em_bas132_467_, order0_.em_bass_isproform as em_bas133_467_, order0_.em_fshedi_dptocompra as em_fsh134_467_, order0_.em_prpp_generatepicking as em_prp135_467_, order0_.em_bass_observations as em_bas136_467_, order0_.em_fshedi_sucursal as em_fsh137_467_, order0_.em_bass_pickstock as em_bas138_467_, order0_.em_bass_pl_generatepicking as em_bas139_467_, order0_.em_ml_select_product as em_ml_140_467_, order0_.em_prscrm_suitedocid as em_prs141_467_, order0_.em_bass_rm_pickfromshipment as em_bas142_467_, order0_.em_bass_create_returnreceipt as em_bas143_467_, order0_.em_bass_freight_currency_id as em_bas144_467_, order0_.em_bass_area as em_bas145_467_, order0_.em_bass_plprocessing as em_bas146_467_, order0_.em_prrak_reference as em_prr147_467_, order0_.em_advcrm2_name as em_adv148_467_, order0_.em_prrak_void_order as em_prr149_467_, order0_.em_advcrm2_scene_id as em_adv150_467_, order0_.em_prsc_commissiontype as em_prs151_467_, order0_.em_advcrm2_discount_id as em_adv152_467_, order0_.em_prmag_reference as em_prm153_467_, order0_.em_prmag_void_order as em_prm154_467_, order0_.em_prouti_totalizations as em_pro155_467_, order0_.em_bass_deliverynotes as em_bas156_467_, order0_.em_prmeci_order_id as em_prm157_467_, order0_.em_prmeci_grandtotal as em_prm158_467_, order0_.em_bass_enablepricezero as em_bas159_467_, order0_.em_prmag_gift_wrap as em_prm160_467_, order0_.em_bass_change_bp as em_bas161_467_, order0_.em_pramz_orderid as em_pra162_467_, order0_.em_pramz_grandtotal as em_pra163_467_, order0_.em_prouti_reactiveorder as em_pro164_467_, order0_.em_prouti_grandtotalinitial as em_pro165_467_, order0_.em_prouti_totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.em_advcrm2_signature_image as em_adv168_467_, order0_.em_bass_partnerinvolved_id as em_bas169_467_, order0_.em_advcrm2_signature_name as em_adv170_467_, order0_.em_bass_maintincidents_id as em_bas171_467_, order0_.em_advcrm2_processing as em_adv172_467_, order0_.em_bass_requerecontrolquality as em_bas173_467_, order0_.em_bass_resolve_incidence as em_bas174_467_, order0_.em_bass_incidence_id as em_bas175_467_, order0_.em_pramz_marketplace as em_pra176_467_, order0_.em_prb2b_create_combinations as em_prb177_467_, order0_.em_prqc_generate_control as em_prq178_467_, order0_.em_advcrm2_sendmail as em_adv179_467_, order0_.em_prqc_processed as em_prq180_467_, order0_.em_advcrm2_errorsendmail as em_adv181_467_, order0_.em_bass_re_cj_quotation as em_bas182_467_, order0_.em_bass_inherit_quality_ctrl as em_bas183_467_, order0_.em_bass_qc_description as em_bas184_467_, order0_.em_bass_ap_cj_quotation as em_bas185_467_, order0_.em_advpro2_picked_ret_prodln as em_adv186_467_, order0_.em_bass_valuation_conf_id as em_bas187_467_, order0_.em_bass_prqcpriority as em_bas188_467_, order0_.em_pruti_ignoreminqty as em_pru189_467_, order0_.em_bass_calculateprices as em_bas190_467_, order0_.em_bass_registerorder as em_bas191_467_, order0_.em_bass_pricebyoutsrcpricelist as em_bas192_467_, order0_.em_prb2b_orderref as em_prb193_467_, order0_.em_bass_dateplanned as em_bas194_467_, order0_.em_prouti_order_id as em_pro195_467_, order0_.em_bass_pendingtoconfirm as em_bas196_467_, order0_.em_prmeci_deliverytype as em_prm197_467_, order0_.em_bass_requirepickup as em_bas198_467_, order0_.em_bass_isexportedpickup as em_bas199_467_, order0_.em_bass_numpackspickup as em_bas200_467_, order0_.em_bass_expected_recept_date as em_bas201_467_, order0_.em_bass_originincidence_id as em_bas202_467_, order0_.em_advshi_calculate_proposal as em_adv203_467_, order0_.em_prncx_num_recogida as em_prn204_467_, order0_.em_prncx_pickup_link as em_prn205_467_, order0_.em_prncx_ret_bultos as em_prn206_467_, order0_.em_prncx_get_recogida as em_prn207_467_, order0_.em_bass_outsrcpricelist as em_bas208_467_, order0_.em_prncx_ret_peso as em_prn209_467_, order0_.em_prncx_obs1 as em_prn210_467_, order0_.em_prncx_obs2 as em_prn211_467_, order0_.em_prncx_obs3 as em_prn212_467_, order0_.em_prouti_dateclosed as em_pro213_467_ from c_order order0_ left outer join c_bpartner_location businesspa1_ on order0_.c_bpartner_location_id = businesspa1_.c_bpartner_location_id left outer join c_location location2_ on businesspa1_.c_location_id = location2_.c_location_id left outer join c_location location3_ on businesspa1_.c_location_id = location3_.c_location_id left outer join c_region region4_ on location3_.c_region_id = region4_.c_region_id left outer join c_location location5_ on businesspa1_.c_location_id = location5_.c_location_id left outer join c_country country6_ on location5_.c_country_id = country6_.c_country_id cross join c_doctype documentty9_ where order0_.c_doctypetarget_id = documentty9_.c_doctype_id and (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.phone), ?) || ?| | coalesce(to_char(businesspa1_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location2_.address1), ?) || ?| | coalesce(to_char(location2_.address2), ?) || ?| | coalesce(to_char(location2_.postal), ?) || ?| | coalesce(to_char(location2_.city), ?) || ?| | coalesce(to_char(region4_.name), ?) || ?| | coalesce(to_char(( select countrytrl7_.name from c_country_trl countrytrl7_ where countrytrl7_.c_country_id = location5_.c_country_id and countrytrl7_.ad_language = ?)), to_char(country6_.name), ?))), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty9_.isreturn = ? and (documentty9_.docsubtypeso not like ?) 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 #15
Day Hour Count Duration Avg duration Jul 14 09 6 27s906ms 4s651ms 10 2 9s286ms 4s643ms 11 9 40s862ms 4s540ms 12 7 30s592ms 4s370ms 13 4 17s782ms 4s445ms 14 4 17s813ms 4s453ms 15 1 4s481ms 4s481ms 16 5 21s809ms 4s361ms [ User: tad - Total duration: 2m50s - Times executed: 38 ]
[ Application: openbravo - Total duration: 2m50s - Times executed: 38 ]
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%695506023%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 09:46:29 Duration: 4s938ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%683442273%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 10:49:20 Duration: 4s823ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order0_.C_Order_ID as c_order_1_467_, order0_.AD_Client_ID as ad_clien2_467_, order0_.AD_Org_ID as ad_org_i3_467_, order0_.IsActive as isactive4_467_, order0_.Created as created5_467_, order0_.CreatedBy as createdb6_467_, order0_.Updated as updated7_467_, order0_.UpdatedBy as updatedb8_467_, order0_.IsSOTrx as issotrx9_467_, order0_.DocumentNo as documen10_467_, order0_.DocStatus as docstat11_467_, order0_.DocAction as docacti12_467_, order0_.Processing as process13_467_, order0_.Processed as process14_467_, order0_.C_DocType_ID as c_docty15_467_, order0_.C_DocTypeTarget_ID as c_docty16_467_, order0_.Description as descrip17_467_, order0_.IsDelivered as isdeliv18_467_, order0_.IsInvoiced as isinvoi19_467_, order0_.IsPrinted as isprint20_467_, order0_.IsSelected as isselec21_467_, order0_.SalesRep_ID as salesre22_467_, order0_.DateOrdered as dateord23_467_, order0_.DatePromised as datepro24_467_, order0_.DatePrinted as datepri25_467_, order0_.DateAcct as dateacc26_467_, order0_.C_BPartner_ID as c_bpart27_467_, order0_.BillTo_ID as billto_28_467_, order0_.C_BPartner_Location_ID as c_bpart29_467_, order0_.POReference as porefer30_467_, order0_.IsDiscountPrinted as isdisco31_467_, order0_.C_Currency_ID as c_curre32_467_, order0_.PaymentRule as payment33_467_, order0_.C_PaymentTerm_ID as c_payme34_467_, order0_.InvoiceRule as invoice35_467_, order0_.DeliveryRule as deliver36_467_, order0_.FreightCostRule as freight37_467_, order0_.FreightAmt as freight38_467_, order0_.DeliveryViaRule as deliver39_467_, order0_.M_Shipper_ID as m_shipp40_467_, order0_.C_Charge_ID as c_charg41_467_, order0_.ChargeAmt as chargea42_467_, order0_.PriorityRule as priorit43_467_, order0_.TotalLines as totalli44_467_, order0_.GrandTotal as grandto45_467_, order0_.M_Warehouse_ID as m_wareh46_467_, order0_.M_PriceList_ID as m_price47_467_, order0_.IsTaxIncluded as istaxin48_467_, order0_.C_Campaign_ID as c_campa49_467_, order0_.C_Project_ID as c_proje50_467_, order0_.C_Activity_ID as c_activ51_467_, order0_.Posted as posted52_467_, order0_.AD_User_ID as ad_user53_467_, order0_.CopyFrom as copyfro54_467_, order0_.DropShip_BPartner_ID as dropshi55_467_, order0_.DropShip_Location_ID as dropshi56_467_, order0_.DropShip_User_ID as dropshi57_467_, order0_.IsSelfService as isselfs58_467_, order0_.AD_OrgTrx_ID as ad_orgt59_467_, order0_.User1_ID as user60_467_, order0_.User2_ID as user61_467_, order0_.Deliverynotes as deliver62_467_, order0_.C_Incoterms_ID as c_incot63_467_, order0_.Incotermsdescription as incoter64_467_, order0_.Generatetemplate as generat65_467_, order0_.Delivery_Location_ID as deliver66_467_, order0_.CopyFromPO as copyfro67_467_, order0_.FIN_Paymentmethod_ID as fin_pay68_467_, order0_.FIN_Payment_Priority_ID as fin_pay69_467_, order0_.RM_PickFromShipment as rm_pick70_467_, order0_.RM_ReceiveMaterials as rm_rece71_467_, order0_.EM_Obcma_C_Poc_Email_ID as em_obcm72_467_, order0_.RM_CreateInvoice as rm_crea73_467_, order0_.C_Return_Reason_ID as c_retur74_467_, order0_.RM_AddOrphanLine as rm_addo75_467_, order0_.A_Asset_ID as a_asset76_467_, order0_.Calculate_Promotions as calcula77_467_, order0_.C_Costcenter_ID as c_costc78_467_, order0_.Convertquotation as convert79_467_, order0_.C_Reject_Reason_ID as c_rejec80_467_, order0_.validuntil as validun81_467_, order0_.Quotation_ID as quotati82_467_, order0_.SO_Res_Status as so_res_83_467_, order0_.Create_POLines as create_84_467_, order0_.Iscashvat as iscashv85_467_, order0_.EM_OBMFM_Selectfreight as em_obmf86_467_, order0_.EM_OBMFM_Delivery_Period_ID as em_obmf87_467_, order0_.RM_Pickfromreceipt as rm_pick88_467_, order0_.Cancelandreplace as cancela89_467_, order0_.EM_Advcrm_Newactivity as em_advc90_467_, order0_.EM_Advmrp_Isnotproducible as em_advm91_467_, order0_.EM_APRM_AddPayment as em_aprm92_467_, order0_.EM_OBMFM_Delivery_Charges as em_obmf93_467_, order0_.EM_Fash_Datelimit as em_fash94_467_, order0_.EM_OBMFM_Freight_ID as em_obmf95_467_, order0_.EM_Obwpl_Generatepicking as em_obwp96_467_, order0_.EM_Advcrm_Opportunity_ID as em_advc97_467_, order0_.EM_Fash_Datevalue as em_fash98_467_, order0_.EM_OBMFM_Weight as em_obmf99_467_, order0_.EM_Obwpl_Isinpickinglist as em_obw100_467_, order0_.EM_Fash_Sendbeforedate as em_fas101_467_, order0_.EM_Obwpl_Readypl as em_obw102_467_, order0_.EM_Fash_Order_Type_ID as em_fas103_467_, order0_.EM_Sgpcrm_Securitygroups_ID as em_sgp104_467_, order0_.EM_OBMFM_Weight_Uom_ID as em_obm105_467_, order0_.EM_Advptc_Financial_Acct_ID as em_adv106_467_, order0_.EM_OBMFM_Set_Weight as em_obm107_467_, order0_.EM_Advptc_Bp_Bankacct_ID as em_adv108_467_, order0_.EM_Aeatsii_Fecha_Operacion as em_aea109_467_, order0_.Confirmcancelandreplace as confir110_467_, order0_.EM_Advptc_Percentage_Dist as em_adv111_467_, order0_.EM_Aeatsii_Descripcion_Sii as em_aea112_467_, order0_.EM_Etabam_Bankaccount_ID as em_eta113_467_, order0_.EM_Etpr_Remove_Payment as em_etp114_467_, order0_.EM_Advptc_Typedistribution as em_adv115_467_, order0_.EM_Advptc_Payment_Cond_ID as em_adv116_467_, order0_.EM_Etvfac_Reversed_Invoice as em_etv117_467_, order0_.Cancelledorder_id as cancel118_467_, order0_.EM_Etblkc_Bulkcompletion as em_etb119_467_, order0_.EM_Fshedi_Buyer_Location_ID as em_fsh120_467_, order0_.EM_Prmag2_Grandtotal as em_prm121_467_, order0_.Replacedorder_id as replac122_467_, order0_.Iscancelled as iscanc123_467_, order0_.Replacementorder_ID as replac124_467_, order0_.EM_Prouti_Order_Stock as em_pro125_467_, order0_.EM_Etafdp_Undoclose as em_eta126_467_, order0_.EM_Fash_Servefrom as em_fas127_467_, order0_.EM_Prouti_Pregenerate_Minout as em_pro128_467_, order0_.EM_Etinter_Interco_Orig as em_eti129_467_, order0_.EM_Prouti_Sotopo as em_pro130_467_, order0_.BPartner_ExtRef as bpartn131_467_, order0_.EM_Bass_Costfactor as em_bas132_467_, order0_.EM_Bass_Isproform as em_bas133_467_, order0_.EM_Fshedi_Dptocompra as em_fsh134_467_, order0_.EM_Prpp_Generatepicking as em_prp135_467_, order0_.EM_Bass_Observations as em_bas136_467_, order0_.EM_Fshedi_Sucursal as em_fsh137_467_, order0_.EM_Bass_Pickstock as em_bas138_467_, order0_.EM_Bass_Pl_Generatepicking as em_bas139_467_, order0_.EM_Ml_Select_Product as em_ml_140_467_, order0_.EM_Prscrm_Suitedocid as em_prs141_467_, order0_.EM_Bass_Rm_Pickfromshipment as em_bas142_467_, order0_.EM_Bass_Create_Returnreceipt as em_bas143_467_, order0_.EM_Bass_Freight_Currency_ID as em_bas144_467_, order0_.EM_Bass_Area as em_bas145_467_, order0_.EM_Bass_Plprocessing as em_bas146_467_, order0_.EM_Prrak_Reference as em_prr147_467_, order0_.EM_Advcrm2_Name as em_adv148_467_, order0_.EM_Prrak_Void_Order as em_prr149_467_, order0_.EM_Advcrm2_Scene_ID as em_adv150_467_, order0_.EM_Prsc_Commissiontype as em_prs151_467_, order0_.EM_Advcrm2_Discount_ID as em_adv152_467_, order0_.EM_Prmag_Reference as em_prm153_467_, order0_.EM_Prmag_Void_Order as em_prm154_467_, order0_.EM_Prouti_Totalizations as em_pro155_467_, order0_.EM_Bass_Deliverynotes as em_bas156_467_, order0_.EM_Prmeci_Order_ID as em_prm157_467_, order0_.EM_Prmeci_Grandtotal as em_prm158_467_, order0_.EM_Bass_Enablepricezero as em_bas159_467_, order0_.EM_Prmag_Gift_Wrap as em_prm160_467_, order0_.EM_Bass_Change_Bp as em_bas161_467_, order0_.EM_Pramz_Orderid as em_pra162_467_, order0_.EM_Pramz_Grandtotal as em_pra163_467_, order0_.EM_Prouti_Reactiveorder as em_pro164_467_, order0_.EM_Prouti_Grandtotalinitial as em_pro165_467_, order0_.EM_Prouti_Totallinesinitial as em_pro166_467_, order0_.em_bass_maintenancegrounds_id as em_bas167_467_, order0_.EM_Advcrm2_Signature_Image as em_adv168_467_, order0_.EM_Bass_Partnerinvolved_ID as em_bas169_467_, order0_.EM_Advcrm2_Signature_Name as em_adv170_467_, order0_.em_bass_maintincidents_ID as em_bas171_467_, order0_.EM_Advcrm2_Processing as em_adv172_467_, order0_.EM_Bass_Requerecontrolquality as em_bas173_467_, order0_.EM_Bass_Resolve_Incidence as em_bas174_467_, order0_.EM_Bass_Incidence_ID as em_bas175_467_, order0_.EM_Pramz_Marketplace as em_pra176_467_, order0_.EM_Prb2b_Create_Combinations as em_prb177_467_, order0_.EM_Prqc_Generate_Control as em_prq178_467_, order0_.EM_Advcrm2_Sendmail as em_adv179_467_, order0_.EM_Prqc_Processed as em_prq180_467_, order0_.EM_Advcrm2_Errorsendmail as em_adv181_467_, order0_.EM_Bass_Re_Cj_Quotation as em_bas182_467_, order0_.EM_Bass_Inherit_Quality_Ctrl as em_bas183_467_, order0_.EM_Bass_Qc_Description as em_bas184_467_, order0_.EM_Bass_Ap_Cj_Quotation as em_bas185_467_, order0_.EM_Advpro2_Picked_Ret_Prodln as em_adv186_467_, order0_.EM_Bass_Valuation_Conf_ID as em_bas187_467_, order0_.EM_Bass_Prqcpriority as em_bas188_467_, order0_.EM_Pruti_Ignoreminqty as em_pru189_467_, order0_.EM_Bass_Calculateprices as em_bas190_467_, order0_.EM_Bass_Registerorder as em_bas191_467_, order0_.EM_Bass_Pricebyoutsrcpricelist as em_bas192_467_, order0_.EM_Prb2b_Orderref as em_prb193_467_, order0_.EM_Bass_Dateplanned as em_bas194_467_, order0_.EM_Prouti_Order_ID as em_pro195_467_, order0_.EM_Bass_Pendingtoconfirm as em_bas196_467_, order0_.EM_Prmeci_Deliverytype as em_prm197_467_, order0_.EM_Bass_Requirepickup as em_bas198_467_, order0_.EM_Bass_Isexportedpickup as em_bas199_467_, order0_.EM_Bass_Numpackspickup as em_bas200_467_, order0_.EM_Bass_Expected_Recept_Date as em_bas201_467_, order0_.EM_Bass_Originincidence_ID as em_bas202_467_, order0_.EM_Advshi_Calculate_Proposal as em_adv203_467_, order0_.EM_Prncx_Num_Recogida as em_prn204_467_, order0_.EM_Prncx_Pickup_Link as em_prn205_467_, order0_.EM_Prncx_Ret_Bultos as em_prn206_467_, order0_.EM_Prncx_Get_Recogida as em_prn207_467_, order0_.EM_Bass_Outsrcpricelist as em_bas208_467_, order0_.EM_Prncx_Ret_Peso as em_prn209_467_, order0_.EM_Prncx_Obs1 as em_prn210_467_, order0_.EM_Prncx_Obs2 as em_prn211_467_, order0_.EM_Prncx_Obs3 as em_prn212_467_, order0_.EM_Prouti_Dateclosed as em_pro213_467_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%683442273%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit '101';
Date: 2026-07-14 09:41:41 Duration: 4s795ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 3s42ms 3s582ms 3s291ms 99 5m25s select sum(order0_.totallines) as col_0_0_ from c_order order0_ left outer join c_bpartner_location businesspa1_ on order0_.c_bpartner_location_id = businesspa1_.c_bpartner_location_id left outer join c_location location2_ on businesspa1_.c_location_id = location2_.c_location_id left outer join c_location location3_ on businesspa1_.c_location_id = location3_.c_location_id left outer join c_region region4_ on location3_.c_region_id = region4_.c_region_id left outer join c_location location5_ on businesspa1_.c_location_id = location5_.c_location_id left outer join c_country country6_ on location5_.c_country_id = country6_.c_country_id cross join c_doctype documentty9_ where order0_.c_doctypetarget_id = documentty9_.c_doctype_id and (upper((businesspa1_.name || ?| | coalesce(to_char(businesspa1_.phone), ?) || ?| | coalesce(to_char(businesspa1_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location2_.address1), ?) || ?| | coalesce(to_char(location2_.address2), ?) || ?| | coalesce(to_char(location2_.postal), ?) || ?| | coalesce(to_char(location2_.city), ?) || ?| | coalesce(to_char(region4_.name), ?) || ?| | coalesce(to_char(( select countrytrl7_.name from c_country_trl countrytrl7_ where countrytrl7_.c_country_id = location5_.c_country_id and countrytrl7_.ad_language = ?)), to_char(country6_.name), ?))), ?))) like upper(?) escape ?) and order0_.issotrx = ? and documentty9_.isreturn = ? and (documentty9_.docsubtypeso not like ?) and (order0_.ad_org_id in (...)) and (order0_.ad_client_id in (...)) limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 14 09 14 46s774ms 3s341ms 10 8 25s997ms 3s249ms 11 21 1m9s 3s326ms 12 20 1m6s 3s308ms 13 9 29s922ms 3s324ms 14 12 39s111ms 3s259ms 15 3 9s714ms 3s238ms 16 12 38s315ms 3s192ms [ User: tad - Total duration: 5m25s - Times executed: 99 ]
[ Application: openbravo - Total duration: 5m25s - Times executed: 99 ]
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%695506023%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 09:46:33 Duration: 3s582ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%646856872%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 11:40:24 Duration: 3s581ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select sum(order0_.TotalLines) as col_0_0_ from C_Order order0_ left outer join C_BPartner_Location businesspa1_ on order0_.C_BPartner_Location_ID = businesspa1_.C_BPartner_Location_ID left outer join C_Location location2_ on businesspa1_.C_Location_ID = location2_.C_Location_ID left outer join C_Location location3_ on businesspa1_.C_Location_ID = location3_.C_Location_ID left outer join C_Region region4_ on location3_.C_Region_ID = region4_.C_Region_ID left outer join C_Location location5_ on businesspa1_.C_Location_ID = location5_.C_Location_ID left outer join C_Country country6_ on location5_.C_Country_ID = country6_.C_Country_ID cross join C_DocType documentty9_ where order0_.C_DocTypeTarget_ID = documentty9_.C_DocType_ID and (upper((businesspa1_.Name || ' - ' || coalesce(to_char(businesspa1_.Phone), '') || ' - ' || coalesce(to_char(businesspa1_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location2_.Address1), '') || ' - ' || coalesce(to_char(location2_.Address2), '') || ' - ' || coalesce(to_char(location2_.Postal), '') || ' - ' || coalesce(to_char(location2_.City), '') || ' - ' || coalesce(to_char(region4_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl7_.Name from C_Country_Trl countrytrl7_ where countrytrl7_.C_Country_ID = location5_.C_Country_ID and countrytrl7_.AD_Language = 'es_ES')), to_char(country6_.Name), ''))), ''))) like upper('%674220192%') escape '|') and order0_.IsSOTrx = 'Y' and documentty9_.IsReturn = 'N' and (documentty9_.DocSubTypeSO not like 'OB') and (order0_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) limit '2';
Date: 2026-07-14 11:50:03 Duration: 3s560ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 1s150ms 5s82ms 3s263ms 1,240 1h7m27s select order_comp0_.c_order_id as c_order_1_467_0_, order_comp0_.ad_client_id as ad_clien2_467_0_, order_comp0_.ad_org_id as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? then ? else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), ?) / sum(abs(ol.qtyordered)) * ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyreserved)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula63_0_, ( select case when count(?) > ? then ? else ? end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, ?) = ? and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), ?)) as formula65_0_, ( select ad_column_identifier_std (?, advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.c_bpartner_id and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc limit ?) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, ?) || ? || coalesce(obwpack_box.em_obeuses_trackingstatus, ?) from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit ?) as formula68_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.c_order_id) as formula69_0_, ( select coalesce(prmag_order.status, ?) from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( select count(*) from c_bpartner as bp where bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = ?) > ?) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), ?)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = ? or order_comp0_.iscancelled = ? or order_comp0_.cancelledorder_id is not null then ? else round(coalesce(sum(abs(ol.qtyinvoiced)), ?) / sum(abs(ol.qtyordered)) * ?, ?) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), ?)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = ? then ? else round(sum(fps.paidamt) / sum(fps.amount) * ?, ?) end from fin_payment_schedule fps where fps.c_order_id = order_comp0_.c_order_id), ?)) as formula74_0_ from c_order order_comp0_ where order_comp0_.c_order_id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 14 06 7 26s460ms 3s780ms 07 14 45s685ms 3s263ms 08 109 6m13s 3s425ms 09 185 10m22s 3s367ms 10 116 6m24s 3s316ms 11 167 9m5s 3s263ms 12 127 6m33s 3s98ms 13 133 7m18s 3s298ms 14 57 3m3s 3s219ms 15 104 5m38s 3s252ms 16 113 5m50s 3s104ms 17 59 3m9s 3s216ms 18 19 58s742ms 3s91ms 19 25 1m21s 3s243ms 20 5 14s614ms 2s922ms [ User: tad - Total duration: 1h7m27s - Times executed: 1240 ]
[ Application: openbravo - Total duration: 1h7m27s - Times executed: 1240 ]
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:29 Duration: 5s82ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31', '73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '60FE5CB57C3C4554BF98714D8710BA00', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '28325D13F5D44F489D9ABA603CC1E8E4', '1F6F6C102B1A4C1CBEF59A7F78679704');
Date: 2026-07-14 11:21:17 Duration: 5s77ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select order_comp0_.C_Order_ID as c_order_1_467_0_, order_comp0_.AD_Client_ID as ad_clien2_467_0_, order_comp0_.AD_Org_ID as ad_org_i3_467_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 then 0 else trunc(coalesce(sum(abs(least (ol.qtydelivered, ol.qtyordered))), 0) / sum(abs(ol.qtyordered)) * 100) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula61_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyreserved)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula62_0_, ( select o.c_order_id from c_order o where o.c_order_id = order_comp0_.C_Order_ID) as formula63_0_, ( select case when count(1) > 0 then 'Y' else 'N' end from prb2b_quotation_ch_conf qchconf left join c_orderline ol on ol.c_orderline_id = qchconf.c_orderline_id where ol.c_order_id = order_comp0_.c_order_id and coalesce(qchconf.is_characteristic, 'N') = 'Y' and qchconf.m_ch_value_id is null) as formula64_0_, (coalesce(bass_deliveryavailable (order_comp0_.c_order_id), 0)) as formula65_0_, ( select ad_column_identifier_std ('advcrm_lead_source', advcrm_lead.advcrm_lead_source_id) from advcrm_lead where advcrm_lead.c_bpartner_id = order_comp0_.C_Bpartner_ID and advcrm_lead.advcrm_lead_source_id is not null order by advcrm_lead.updated desc LIMIT 1) as formula66_0_, ( select bass_getaddresszone (order_comp0_.c_bpartner_location_id)) as formula67_0_, ( select coalesce(obwpack_box.em_obeuses_trackingcode, '') || ' - ' || coalesce(obwpack_box.em_obeuses_trackingstatus, '') from obwpack_box left join obwpack_packingh on obwpack_box.obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id left join m_inout on m_inout.em_obwpack_packingh_id = obwpack_packingh.obwpack_packingh_id where m_inout.c_order_id = order_comp0_.c_order_id limit 1) as formula68_0_, (select o.c_order_id from c_order o where o.c_order_id=order_comp0_.c_order_id) as formula69_0_, (select coalesce(prmag_order.status,'') from prmag_order where prmag_order.c_order_id = order_comp0_.c_order_id) as formula70_0_, ( SELECT count(*) FROM c_bpartner as bp WHERE bp.c_bpartner_id = order_comp0_.c_bpartner_id and ( select count(*) from probs_bp_observation as obs where obs.c_bpartner_id = bp.c_bpartner_id and obs.popuporder = 'Y') > 0) as formula71_0_, (coalesce(prouti_deliveryavailable (order_comp0_.c_order_id), 0)) as formula72_0_, (coalesce(( select case when sum(abs(ol.qtyordered)) = 0 or order_comp0_.iscancelled = 'Y' or order_comp0_.cancelledorder_id is not null then 0 else round(coalesce(sum(abs(ol.qtyinvoiced)), 0) / sum(abs(ol.qtyordered)) * 100, 0) end from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id and ol.c_order_discount_id is null), 0)) as formula73_0_, (coalesce(( select case when sum(fps.amount) = 0 then 0 else round(sum(fps.paidamt) / sum(fps.amount) * 100, 0) end from FIN_Payment_Schedule fps where fps.c_order_id = order_comp0_.c_order_id), 0)) as formula74_0_ from C_Order order_comp0_ where order_comp0_.C_Order_ID in ('FD00ADD73F3542E4A24337262CB4321F', 'A539C8CE6D3941F09E228BEE05F9C1B1', '8A04D7B77F53477EBAD1C0DFB21E4565', '686E1ADD506F465289F99B411780F196', '678F0BD1B49A450188EA2D93C40BAB6D', '3870DFB048D344FBA85ED7B4629961E9', '077B614DBFD0435DA78E5B11732ED701', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'F1EF97DA4DE1423DB76E8AFFBBBCFB2A', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EB240ED411C54C57A6554D300950E6BB', 'EB14046E529A496E93EB3CAD6230A40E', 'EA9C5AEDA9244A79800A6DB5DA3314A9', 'EA3980EA6F1A418687D68F8C6516F411', 'E9F37356D3474B05906118926F5D0E33', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'E32894B9A34C40FEA0D98AFBE08D6A1A', 'E1B6E33F30994818A541800ADC9DC784', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'C84D9CB9547C42E385F4F7AA2509D399', 'BEF3ADB3588C4FBF8DD4B35B209BA806', 'B970EDB904ED432A8B1863918C703E7B', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AD1DB883E3DA48F085B450A489FE3F9E', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9FDAFB9D111A400281DFE2078A1B57E8', '9ED9BB259E3D4D07A0853A0D0A0E573F', '9B18B24004C24AD495B15CC46584AD38', '9AB415D2167E457A88BF25498436AE4D', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '9854B0C89B6C4F5F87CB7F2868E6CBBC', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '862F72450883445B85980921002CA9FA', '83D9C5B920FB496AB22A6B0F47E0D030');
Date: 2026-07-14 10:00:43 Duration: 4s954ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 1s944ms 3s177ms 2s201ms 133 4m52s select bass_produ0_.bass_product_deposit_v_id as bass_pro1_344_0_, bass_produ0_.ad_client_id as ad_clien2_344_0_, bass_produ0_.ad_org_id as ad_org_i3_344_0_, bass_produ0_.isactive as isactive4_344_0_, bass_produ0_.created as created5_344_0_, bass_produ0_.createdby as createdb6_344_0_, bass_produ0_.updated as updated7_344_0_, bass_produ0_.updatedby as updatedb8_344_0_, bass_produ0_.type as type9_344_0_, bass_produ0_.m_product_id as m_produ10_344_0_, bass_produ0_.qty as qty11_344_0_, bass_produ0_.m_attributesetinstance_id as m_attri12_344_0_, bass_produ0_.m_locator_id as m_locat13_344_0_, bass_produ0_.m_warehouse_id as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.ad_orgmrp_id as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.fash_product_group_id as fash_pr18_344_0_, bass_produ0_.fash_collection_id as fash_co19_344_0_, bass_produ0_.c_campaign_id as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.bass_product_deposit_v_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 14 06 4 10s89ms 2s522ms 07 1 2s100ms 2s100ms 08 4 9s270ms 2s317ms 09 9 20s396ms 2s266ms 10 10 23s353ms 2s335ms 11 18 39s854ms 2s214ms 12 5 11s159ms 2s231ms 13 5 11s150ms 2s230ms 14 2 4s363ms 2s181ms 15 6 14s42ms 2s340ms 16 24 53s42ms 2s210ms 17 32 1m7s 2s94ms 19 13 26s918ms 2s70ms [ User: tad - Total duration: 4m52s - Times executed: 133 ]
[ Application: openbravo - Total duration: 4m52s - Times executed: 133 ]
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'reservationC3E6D24D8B6144BABD81268BAF2D7051D91EE4DD14D8455EBA4B8F7A0B9F30E74D984CB06A164ABBA50ABE9EA2088DDCFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 06:14:44 Duration: 3s177ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockCB1E6514995F44FF98A424ADD1EAF43B8869C9F42B3F4A98A0C2773C645974B6695C443ED6B44343B2E5311982455BE2FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 10:16:19 Duration: 3s115ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select bass_produ0_.Bass_Product_Deposit_V_ID as bass_pro1_344_0_, bass_produ0_.AD_Client_ID as ad_clien2_344_0_, bass_produ0_.AD_Org_ID as ad_org_i3_344_0_, bass_produ0_.Isactive as isactive4_344_0_, bass_produ0_.Created as created5_344_0_, bass_produ0_.Createdby as createdb6_344_0_, bass_produ0_.Updated as updated7_344_0_, bass_produ0_.Updatedby as updatedb8_344_0_, bass_produ0_.Type as type9_344_0_, bass_produ0_.M_Product_ID as m_produ10_344_0_, bass_produ0_.Qty as qty11_344_0_, bass_produ0_.M_Attributesetinstance_ID as m_attri12_344_0_, bass_produ0_.M_Locator_ID as m_locat13_344_0_, bass_produ0_.M_Warehouse_ID as m_wareh14_344_0_, bass_produ0_.m_product_category_id as m_produ15_344_0_, bass_produ0_.AD_Orgmrp_ID as ad_orgm16_344_0_, bass_produ0_.name as name17_344_0_, bass_produ0_.Fash_Product_Group_ID as fash_pr18_344_0_, bass_produ0_.Fash_Collection_ID as fash_co19_344_0_, bass_produ0_.C_Campaign_ID as c_campa20_344_0_ from bass_product_deposit_v bass_produ0_ where bass_produ0_.Bass_Product_Deposit_V_ID = 'stockF6BDDB689C5A4CEC97D22725F4177AEA5D9F333F0C064A139174580F848C9A79BFB2555FCD4A4ACA959A9E611019A3AFFC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-14 16:05:58 Duration: 3s93ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 1s781ms 2s367ms 1s970ms 185 6m4s select businesspa0_.c_bpartner_location_id as c_bpartn1_395_, businesspa0_.ad_client_id as ad_clien2_395_, businesspa0_.ad_org_id as ad_org_i3_395_, businesspa0_.isactive as isactive4_395_, businesspa0_.created as created5_395_, businesspa0_.createdby as createdb6_395_, businesspa0_.updated as updated7_395_, businesspa0_.updatedby as updatedb8_395_, businesspa0_.name as name9_395_, businesspa0_.isbillto as isbillt10_395_, businesspa0_.isshipto as isshipt11_395_, businesspa0_.ispayfrom as ispayfr12_395_, businesspa0_.isremitto as isremit13_395_, businesspa0_.phone as phone14_395_, businesspa0_.phone2 as phone15_395_, businesspa0_.fax as fax16_395_, businesspa0_.c_salesregion_id as c_sales17_395_, businesspa0_.c_bpartner_id as c_bpart18_395_, businesspa0_.c_location_id as c_locat19_395_, businesspa0_.istaxlocation as istaxlo20_395_, businesspa0_.upc as upc21_395_, businesspa0_.em_pbl_ad_language as em_pbl_22_395_, businesspa0_.em_prdp_language as em_prdp23_395_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgpc24_395_, businesspa0_.em_prscrm_billto as em_prsc25_395_, businesspa0_.em_prscrm_shipto as em_prsc26_395_, businesspa0_.em_prmag_mail as em_prma27_395_, businesspa0_.em_etabam_c_bp_bankaccount_id as em_etab28_395_, businesspa0_.em_fshedi_receiver_location_id as em_fshe29_395_, businesspa0_.em_ship_delivery_period_id as em_ship30_395_, businesspa0_.em_fshedi_buyer_location_id as em_fshe31_395_, businesspa0_.em_ship_delivery_charges as em_ship32_395_, businesspa0_.em_fshedi_ean as em_fshe33_395_, businesspa0_.em_bass_value as em_bass34_395_, businesspa0_.em_prrak_mail as em_prra35_395_, businesspa0_.em_bass_shipper_id as em_bass36_395_, businesspa0_.em_bass_freightcostrule as em_bass37_395_, businesspa0_.em_prmag_taxid as em_prma38_395_, businesspa0_.em_bass_bp_location_id as em_bass39_395_, businesspa0_.em_pramz_code as em_pram40_395_, businesspa0_.em_bass_bpclasification_id as em_bass41_395_, businesspa0_.em_bass_freight_id as em_bass42_395_, businesspa0_.em_prqc_valuation_conf_id as em_prqc43_395_, businesspa0_.em_bass_deliverynotes as em_bass44_395_, businesspa0_.em_spcsv_csvexport as em_spcs45_395_, businesspa0_.em_spcsv_csvmail as em_spcs46_395_, businesspa0_.em_spcsv_csvsendplace as em_spcs47_395_, businesspa0_.em_bass_classif_detail_id as em_bass48_395_ from c_bpartner_location businesspa0_ left outer join c_location location1_ on businesspa0_.c_location_id = location1_.c_location_id left outer join c_region region2_ on location1_.c_region_id = region2_.c_region_id left outer join c_country country3_ on location1_.c_country_id = country3_.c_country_id where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.phone), ?) || ?| | coalesce(to_char(businesspa0_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location1_.address1), ?) || ?| | coalesce(to_char(location1_.address2), ?) || ?| | coalesce(to_char(location1_.postal), ?) || ?| | coalesce(to_char(location1_.city), ?) || ?| | coalesce(to_char(region2_.name), ?) || ?| | coalesce(to_char(( select countrytrl4_.name from c_country_trl countrytrl4_ where countrytrl4_.c_country_id = country3_.c_country_id and countrytrl4_.ad_language = ?)), to_char(country3_.name), ?))), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order5_ inner join c_bpartner_location businesspa6_ on order5_.c_bpartner_location_id = businesspa6_.c_bpartner_location_id cross join c_doctype documentty7_ where order5_.c_doctypetarget_id = documentty7_.c_doctype_id and order5_.issotrx = ? and documentty7_.isreturn = ? and (documentty7_.docsubtypeso not like ?) and businesspa6_.c_bpartner_location_id = businesspa0_.c_bpartner_location_id and (order5_.ad_org_id in (...)) and (order5_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.phone, businesspa0_.phone2, location1_.address1, location1_.address2, location1_.postal, location1_.city, region2_.c_region_id, country3_.c_country_id limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 14 09 27 53s46ms 1s964ms 10 19 37s563ms 1s977ms 11 28 55s769ms 1s991ms 12 34 1m7s 1s980ms 13 25 49s283ms 1s971ms 14 13 25s329ms 1s948ms 15 5 11s133ms 2s226ms 16 34 1m5s 1s915ms [ User: tad - Total duration: 6m4s - Times executed: 185 ]
[ Application: openbravo - Total duration: 6m4s - Times executed: 185 ]
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%60768%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:18 Duration: 2s367ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%607689706%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:19 Duration: 2s304ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%607689%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '76';
Date: 2026-07-14 15:36:18 Duration: 2s278ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 1s813ms 2s198ms 1s939ms 42 1m21s select businesspa0_.c_bpartner_location_id as c_bpartn1_395_, businesspa0_.ad_client_id as ad_clien2_395_, businesspa0_.ad_org_id as ad_org_i3_395_, businesspa0_.isactive as isactive4_395_, businesspa0_.created as created5_395_, businesspa0_.createdby as createdb6_395_, businesspa0_.updated as updated7_395_, businesspa0_.updatedby as updatedb8_395_, businesspa0_.name as name9_395_, businesspa0_.isbillto as isbillt10_395_, businesspa0_.isshipto as isshipt11_395_, businesspa0_.ispayfrom as ispayfr12_395_, businesspa0_.isremitto as isremit13_395_, businesspa0_.phone as phone14_395_, businesspa0_.phone2 as phone15_395_, businesspa0_.fax as fax16_395_, businesspa0_.c_salesregion_id as c_sales17_395_, businesspa0_.c_bpartner_id as c_bpart18_395_, businesspa0_.c_location_id as c_locat19_395_, businesspa0_.istaxlocation as istaxlo20_395_, businesspa0_.upc as upc21_395_, businesspa0_.em_pbl_ad_language as em_pbl_22_395_, businesspa0_.em_prdp_language as em_prdp23_395_, businesspa0_.em_sgpcrm_securitygroups_id as em_sgpc24_395_, businesspa0_.em_prscrm_billto as em_prsc25_395_, businesspa0_.em_prscrm_shipto as em_prsc26_395_, businesspa0_.em_prmag_mail as em_prma27_395_, businesspa0_.em_etabam_c_bp_bankaccount_id as em_etab28_395_, businesspa0_.em_fshedi_receiver_location_id as em_fshe29_395_, businesspa0_.em_ship_delivery_period_id as em_ship30_395_, businesspa0_.em_fshedi_buyer_location_id as em_fshe31_395_, businesspa0_.em_ship_delivery_charges as em_ship32_395_, businesspa0_.em_fshedi_ean as em_fshe33_395_, businesspa0_.em_bass_value as em_bass34_395_, businesspa0_.em_prrak_mail as em_prra35_395_, businesspa0_.em_bass_shipper_id as em_bass36_395_, businesspa0_.em_bass_freightcostrule as em_bass37_395_, businesspa0_.em_prmag_taxid as em_prma38_395_, businesspa0_.em_bass_bp_location_id as em_bass39_395_, businesspa0_.em_pramz_code as em_pram40_395_, businesspa0_.em_bass_bpclasification_id as em_bass41_395_, businesspa0_.em_bass_freight_id as em_bass42_395_, businesspa0_.em_prqc_valuation_conf_id as em_prqc43_395_, businesspa0_.em_bass_deliverynotes as em_bass44_395_, businesspa0_.em_spcsv_csvexport as em_spcs45_395_, businesspa0_.em_spcsv_csvmail as em_spcs46_395_, businesspa0_.em_spcsv_csvsendplace as em_spcs47_395_, businesspa0_.em_bass_classif_detail_id as em_bass48_395_ from c_bpartner_location businesspa0_ left outer join c_location location1_ on businesspa0_.c_location_id = location1_.c_location_id left outer join c_region region2_ on location1_.c_region_id = region2_.c_region_id left outer join c_country country3_ on location1_.c_country_id = country3_.c_country_id where (upper((businesspa0_.name || ?| | coalesce(to_char(businesspa0_.phone), ?) || ?| | coalesce(to_char(businesspa0_.phone2), ?) || ?| | coalesce(to_char((coalesce(to_char(location1_.address1), ?) || ?| | coalesce(to_char(location1_.address2), ?) || ?| | coalesce(to_char(location1_.postal), ?) || ?| | coalesce(to_char(location1_.city), ?) || ?| | coalesce(to_char(region2_.name), ?) || ?| | coalesce(to_char(( select countrytrl4_.name from c_country_trl countrytrl4_ where countrytrl4_.c_country_id = country3_.c_country_id and countrytrl4_.ad_language = ?)), to_char(country3_.name), ?))), ?))) like upper(?) escape ?) and (exists ( select ? from c_order order5_ inner join c_bpartner_location businesspa6_ on order5_.c_bpartner_location_id = businesspa6_.c_bpartner_location_id cross join c_doctype documentty7_ where order5_.c_doctypetarget_id = documentty7_.c_doctype_id and order5_.issotrx = ? and documentty7_.isreturn = ? and (documentty7_.docsubtypeso not like ?) and businesspa6_.c_bpartner_location_id = businesspa0_.c_bpartner_location_id and (order5_.ad_org_id in (...)) and (order5_.ad_client_id in (...)))) order by businesspa0_.name, businesspa0_.phone, businesspa0_.phone2, location1_.address1, location1_.address2, location1_.postal, location1_.city, region2_.c_region_id, country3_.c_country_id limit ? offset ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 14 09 6 11s863ms 1s977ms 10 4 7s792ms 1s948ms 11 7 13s720ms 1s960ms 12 7 13s454ms 1s922ms 13 6 11s605ms 1s934ms 14 3 5s731ms 1s910ms 15 1 2s198ms 2s198ms 16 8 15s93ms 1s886ms [ User: tad - Total duration: 1m21s - Times executed: 42 ]
[ Application: openbravo - Total duration: 1m21s - Times executed: 42 ]
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%6076897%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '75' offset '38';
Date: 2026-07-14 15:36:19 Duration: 2s198ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%695506023%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '75' offset '38';
Date: 2026-07-14 09:46:27 Duration: 2s95ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select businesspa0_.C_BPartner_Location_ID as c_bpartn1_395_, businesspa0_.AD_Client_ID as ad_clien2_395_, businesspa0_.AD_Org_ID as ad_org_i3_395_, businesspa0_.IsActive as isactive4_395_, businesspa0_.Created as created5_395_, businesspa0_.CreatedBy as createdb6_395_, businesspa0_.Updated as updated7_395_, businesspa0_.UpdatedBy as updatedb8_395_, businesspa0_.Name as name9_395_, businesspa0_.IsBillTo as isbillt10_395_, businesspa0_.IsShipTo as isshipt11_395_, businesspa0_.IsPayFrom as ispayfr12_395_, businesspa0_.IsRemitTo as isremit13_395_, businesspa0_.Phone as phone14_395_, businesspa0_.Phone2 as phone15_395_, businesspa0_.Fax as fax16_395_, businesspa0_.C_SalesRegion_ID as c_sales17_395_, businesspa0_.C_BPartner_ID as c_bpart18_395_, businesspa0_.C_Location_ID as c_locat19_395_, businesspa0_.IsTaxLocation as istaxlo20_395_, businesspa0_.UPC as upc21_395_, businesspa0_.EM_Pbl_Ad_Language as em_pbl_22_395_, businesspa0_.EM_Prdp_Language as em_prdp23_395_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as em_sgpc24_395_, businesspa0_.EM_Prscrm_Billto as em_prsc25_395_, businesspa0_.EM_Prscrm_Shipto as em_prsc26_395_, businesspa0_.EM_Prmag_Mail as em_prma27_395_, businesspa0_.EM_Etabam_C_Bp_Bankaccount_ID as em_etab28_395_, businesspa0_.EM_Fshedi_Receiver_Location_ID as em_fshe29_395_, businesspa0_.EM_Ship_Delivery_Period_ID as em_ship30_395_, businesspa0_.EM_Fshedi_Buyer_Location_ID as em_fshe31_395_, businesspa0_.EM_Ship_Delivery_Charges as em_ship32_395_, businesspa0_.EM_Fshedi_Ean as em_fshe33_395_, businesspa0_.EM_Bass_Value as em_bass34_395_, businesspa0_.EM_Prrak_Mail as em_prra35_395_, businesspa0_.EM_Bass_Shipper_ID as em_bass36_395_, businesspa0_.EM_Bass_Freightcostrule as em_bass37_395_, businesspa0_.EM_Prmag_Taxid as em_prma38_395_, businesspa0_.EM_Bass_Bp_Location_ID as em_bass39_395_, businesspa0_.EM_Pramz_Code as em_pram40_395_, businesspa0_.EM_Bass_Bpclasification_ID as em_bass41_395_, businesspa0_.EM_Bass_Freight_ID as em_bass42_395_, businesspa0_.EM_Prqc_Valuation_Conf_ID as em_prqc43_395_, businesspa0_.EM_Bass_Deliverynotes as em_bass44_395_, businesspa0_.EM_Spcsv_Csvexport as em_spcs45_395_, businesspa0_.EM_Spcsv_Csvmail as em_spcs46_395_, businesspa0_.EM_Spcsv_Csvsendplace as em_spcs47_395_, businesspa0_.EM_Bass_Classif_Detail_ID as em_bass48_395_ from C_BPartner_Location businesspa0_ left outer join C_Location location1_ on businesspa0_.C_Location_ID = location1_.C_Location_ID left outer join C_Region region2_ on location1_.C_Region_ID = region2_.C_Region_ID left outer join C_Country country3_ on location1_.C_Country_ID = country3_.C_Country_ID where (upper((businesspa0_.Name || ' - ' || coalesce(to_char(businesspa0_.Phone), '') || ' - ' || coalesce(to_char(businesspa0_.Phone2), '') || ' - ' || coalesce(to_char((coalesce(to_char(location1_.Address1), '') || ' - ' || coalesce(to_char(location1_.Address2), '') || ' - ' || coalesce(to_char(location1_.Postal), '') || ' - ' || coalesce(to_char(location1_.City), '') || ' - ' || coalesce(to_char(region2_.Name), '') || ' - ' || coalesce(to_char(( select countrytrl4_.Name from C_Country_Trl countrytrl4_ where countrytrl4_.C_Country_ID = country3_.C_Country_ID and countrytrl4_.AD_Language = 'es_ES')), to_char(country3_.Name), ''))), ''))) like upper('%6834422%') escape '|') and (exists ( select 1 from C_Order order5_ inner join C_BPartner_Location businesspa6_ on order5_.C_BPartner_Location_ID = businesspa6_.C_BPartner_Location_ID cross join C_DocType documentty7_ where order5_.C_DocTypeTarget_ID = documentty7_.C_DocType_ID and order5_.IsSOTrx = 'Y' and documentty7_.IsReturn = 'N' and (documentty7_.DocSubTypeSO not like 'OB') and businesspa6_.C_BPartner_Location_ID = businesspa0_.C_BPartner_Location_ID and (order5_.AD_Org_ID in ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687')) and (order5_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')))) order by businesspa0_.Name, businesspa0_.Phone, businesspa0_.Phone2, location1_.Address1, location1_.Address2, location1_.Postal, location1_.City, region2_.C_Region_ID, country3_.C_Country_ID limit '75' offset '38';
Date: 2026-07-14 10:49:17 Duration: 2s71ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 43,369 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 37 FATAL entries
- 91 ERROR entries
- 1 WARNING entries
- 47 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 45 Max number of times the same event was reported
- 176 Total events found
Rank Times reported Error 1 45 ERROR: @ActivePoSo@
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 14 20 45 - ERROR: @ActivePoSo@
- ERROR: @ActivePoSo@
- ERROR: @ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:00:21 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:00:21 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:00:21 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
2 26 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 14 06 11 07 7 08 1 10 1 12 4 13 2 - LOG: process 3010498 still waiting for ShareLock on transaction 34843787 after 1000.080 ms
- LOG: process 3009158 still waiting for ShareLock on transaction 34844103 after 1000.092 ms
- LOG: process 3008190 still waiting for ShareLock on transaction 34844481 after 1000.069 ms
Detail: Process holding the lock: 3008190. Wait queue: 3010498.
Context: while updating tuple (4708,24) in relation "m_storage_detail" SQL statement "UPDATE M_STORAGE_DETAIL SET QTYONHAND=QTYONHAND + COALESCE(p_qty, 0), QTYORDERONHAND=QTYORDERONHAND + v_qtyorder, DATELASTINVENTORY=COALESCE(p_datelastinventory, DATELASTINVENTORY), PREQTYONHAND=PREQTYONHAND + COALESCE(p_preqty, 0), PREQTYORDERONHAND=PREQTYORDERONHAND + v_preqtyorder, AD_CLIENT_ID=p_client, UPDATED=TO_DATE(NOW()), UPDATEDBY=p_user WHERE M_PRODUCT_ID=p_product AND M_LOCATOR_ID=p_locator AND M_ATTRIBUTESETINSTANCE_ID=v_attributesetinstance AND C_UOM_ID=p_uom AND COALESCE(M_PRODUCT_UOM_ID, '-1')=COALESCE(p_product_uom, '-1')" PL/pgSQL function m_update_inventory(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,numeric,numeric,timestamp without time zone,numeric,numeric) line 79 at SQL statement SQL statement "SELECT M_UPDATE_INVENTORY(OLD.AD_CLIENT_ID, OLD.AD_ORG_ID, OLD.UPDATEDBY, OLD.M_PRODUCT_ID, OLD.M_LOCATOR_ID, OLD.M_ATTRIBUTESETINSTANCE_ID, OLD.C_UOM_ID, OLD.M_PRODUCT_UOM_ID, NULL, NULL, NULL, v_qtyold, v_qtyorderold)" PL/pgSQL function m_inoutline_trg() line 238 at PERFORM
Statement: update M_InOutLine set Updated=$1, UpdatedBy=$2, EM_Bass_Rfidtag_Printed=$3 where M_InOutLine_ID=$4Date: 2026-07-14 06:23:23 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Process holding the lock: 3010497. Wait queue: 3009158.
Context: while updating tuple (4720,30) in relation "m_storage_detail" SQL statement "UPDATE M_STORAGE_DETAIL SET QTYONHAND=QTYONHAND + COALESCE(p_qty, 0), QTYORDERONHAND=QTYORDERONHAND + v_qtyorder, DATELASTINVENTORY=COALESCE(p_datelastinventory, DATELASTINVENTORY), PREQTYONHAND=PREQTYONHAND + COALESCE(p_preqty, 0), PREQTYORDERONHAND=PREQTYORDERONHAND + v_preqtyorder, AD_CLIENT_ID=p_client, UPDATED=TO_DATE(NOW()), UPDATEDBY=p_user WHERE M_PRODUCT_ID=p_product AND M_LOCATOR_ID=p_locator AND M_ATTRIBUTESETINSTANCE_ID=v_attributesetinstance AND C_UOM_ID=p_uom AND COALESCE(M_PRODUCT_UOM_ID, '-1')=COALESCE(p_product_uom, '-1')" PL/pgSQL function m_update_inventory(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,numeric,numeric,timestamp without time zone,numeric,numeric) line 79 at SQL statement SQL statement "SELECT M_UPDATE_INVENTORY(OLD.AD_CLIENT_ID, OLD.AD_ORG_ID, OLD.UPDATEDBY, OLD.M_PRODUCT_ID, OLD.M_LOCATOR_ID, OLD.M_ATTRIBUTESETINSTANCE_ID, OLD.C_UOM_ID, OLD.M_PRODUCT_UOM_ID, NULL, NULL, NULL, v_qtyold, v_qtyorderold)" PL/pgSQL function m_inoutline_trg() line 238 at PERFORM
Statement: update M_InOutLine set Updated=$1, UpdatedBy=$2, EM_Prwp_Qtyverified=$3 where M_InOutLine_ID=$4Date: 2026-07-14 06:24:56 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Process holding the lock: 2112643. Wait queue: 3008190.
Context: while updating tuple (4747,8) in relation "m_storage_detail" SQL statement "UPDATE M_STORAGE_DETAIL SET QTYONHAND=QTYONHAND + COALESCE(p_qty, 0), QTYORDERONHAND=QTYORDERONHAND + v_qtyorder, DATELASTINVENTORY=COALESCE(p_datelastinventory, DATELASTINVENTORY), PREQTYONHAND=PREQTYONHAND + COALESCE(p_preqty, 0), PREQTYORDERONHAND=PREQTYORDERONHAND + v_preqtyorder, AD_CLIENT_ID=p_client, UPDATED=TO_DATE(NOW()), UPDATEDBY=p_user WHERE M_PRODUCT_ID=p_product AND M_LOCATOR_ID=p_locator AND M_ATTRIBUTESETINSTANCE_ID=v_attributesetinstance AND C_UOM_ID=p_uom AND COALESCE(M_PRODUCT_UOM_ID, '-1')=COALESCE(p_product_uom, '-1')" PL/pgSQL function m_update_inventory(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,numeric,numeric,timestamp without time zone,numeric,numeric) line 79 at SQL statement SQL statement "SELECT M_UPDATE_INVENTORY(OLD.AD_CLIENT_ID, OLD.AD_ORG_ID, OLD.UPDATEDBY, OLD.M_PRODUCT_ID, OLD.M_LOCATOR_ID, OLD.M_ATTRIBUTESETINSTANCE_ID, OLD.C_UOM_ID, OLD.M_PRODUCT_UOM_ID, NULL, NULL, NULL, v_qtyold, v_qtyorderold)" PL/pgSQL function m_inoutline_trg() line 238 at PERFORM
Statement: update M_InOutLine set Updated=$1, UpdatedBy=$2, EM_Prwp_Qtyverified=$3 where M_InOutLine_ID=$4Date: 2026-07-14 06:26:55 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
3 22 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", no encryption
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 14 06 1 07 12 08 2 12 1 14 1 15 1 16 3 21 1 - FATAL: no pg_hba.conf entry for host "193.124.20.254", user "postgres", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "85.11.167.7", user "wog", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "85.11.167.7", user "postgres", database "postgres", no encryption
Date: 2026-07-14 06:36:21 Database: postgres Application: [unknown] User: postgres Remote: 193.124.20.254
Date: 2026-07-14 07:47:27 Database: postgres Application: [unknown] User: wog Remote: 85.11.167.7
Date: 2026-07-14 07:48:55 Database: postgres Application: [unknown] User: postgres Remote: 85.11.167.7
4 17 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 14 07 13 09 4 - LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
- LOG: could not receive data from client: Connection reset by peer
Date: 2026-07-14 07:37:25 Database: etendo Application: Mashup Engine User: tad Remote: 51.38.221.201
Date: 2026-07-14 07:37:42 Database: etendo Application: Mashup Engine User: tad Remote: 51.38.221.201
Date: 2026-07-14 07:37:42 Database: etendo Application: Mashup Engine User: tad Remote: 51.38.221.201
5 8 ERROR: The purchase check can not be selected if has enabled the extinct check
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 14 15 3 16 4 17 1 - ERROR: The purchase check can not be selected if has enabled the extinct check
- ERROR: The purchase check can not be selected if has enabled the extinct check
- ERROR: The purchase check can not be selected if has enabled the extinct check
Context: PL/pgSQL function bass_extincttrg() line 15 at RAISE
Statement: update M_Product set Updated=$1, UpdatedBy=$2, IsPurchased=$3, Production=$4 where M_Product_ID=$5Date: 2026-07-14 15:58:55 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function bass_extincttrg() line 15 at RAISE
Statement: update M_Product set Updated=$1, UpdatedBy=$2, IsPurchased=$3, Production=$4 where M_Product_ID=$5Date: 2026-07-14 15:59:21 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function bass_extincttrg() line 15 at RAISE
Statement: update M_Product set Updated=$1, UpdatedBy=$2, IsPurchased=$3, Production=$4 where M_Product_ID=$5Date: 2026-07-14 15:59:47 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
6 6 ERROR: Incidencia EDI -DC-5807,@ActivePoSo@
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 14 20 6 - ERROR: Incidencia EDI -DC-5807,@ActivePoSo@
- ERROR: Incidencia EDI -DC-5807,@ActivePoSo@
- ERROR: Incidencia EDI -DC-5807,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, UpdatedBy=$3 where M_Product_ID=$4Date: 2026-07-14 20:03:33 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, UpdatedBy=$3 where M_Product_ID=$4Date: 2026-07-14 20:04:48 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, UpdatedBy=$3 where M_Product_ID=$4Date: 2026-07-14 20:04:48 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
7 4 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 14 14 1 15 1 18 2 - FATAL: no PostgreSQL user name specified in startup packet
- FATAL: no PostgreSQL user name specified in startup packet
- FATAL: no PostgreSQL user name specified in startup packet
Date: 2026-07-14 14:57:36 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.224.85
Date: 2026-07-14 15:38:40 Database: [unknown] Application: [unknown] User: [unknown] Remote: 18.218.209.123
Date: 2026-07-14 18:01:05 Database: [unknown] Application: [unknown] User: [unknown] Remote: 65.49.1.38
8 4 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 14 14 1 15 1 18 2 - FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Date: 2026-07-14 14:57:34 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.224.85
Date: 2026-07-14 15:38:39 Database: [unknown] Application: [unknown] User: [unknown] Remote: 18.218.209.123
Date: 2026-07-14 18:01:04 Database: [unknown] Application: [unknown] User: [unknown] Remote: 65.49.1.38
9 4 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 14 14 1 15 1 18 2 - FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
- FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Date: 2026-07-14 14:57:32 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.224.85
Date: 2026-07-14 15:38:38 Database: [unknown] Application: [unknown] User: [unknown] Remote: 18.218.209.123
Date: 2026-07-14 18:01:04 Database: [unknown] Application: [unknown] User: [unknown] Remote: 65.49.1.38
10 3 ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 200090714, @AttributeSetInstance@: 26DMV55326, @UOM@: Ud @And@ @StorageBin@: Playa-40
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 14 10 3 - ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 200090714, @AttributeSetInstance@: 26DMV55326, @UOM@: Ud @And@ @StorageBin@: Playa-40
- ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 200090714, @AttributeSetInstance@: 26DMV55326, @UOM@: Ud @And@ @StorageBin@: Playa-40
- ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 200090714, @AttributeSetInstance@: 26DMV55326, @UOM@: Ud @And@ @StorageBin@: Playa-40
Context: PL/pgSQL function m_transaction_trg2() line 93 at RAISE
Statement: insert into M_Transaction ( M_Transaction_ID, IsActive, AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, MovementType, Checkreservedqty, IsCostPermanent, MovementDate, M_Locator_ID, M_Product_ID, M_AttributeSetInstance_ID, MovementQty, C_UOM_ID, QuantityOrder, M_Product_Uom_Id, M_InventoryLine_ID, TrxProcessDate ) select get_uuid() as col_0_0_, materialmg0_.IsActive as col_1_0_, materialmg0_.AD_Client_ID as col_2_0_, materialmg0_.AD_Org_ID as col_3_0_, now() as col_4_0_, aduser1_.AD_User_ID as col_5_0_, now() as col_6_0_, aduser1_.AD_User_ID as col_7_0_, 'I+' as col_8_0_, materialmg0_.IsActive as col_9_0_, materialmg4_.Processed as col_10_0_, materialmg4_.MovementDate as col_11_0_, materialmg0_.M_Locator_ID as col_12_0_, materialmg0_.M_Product_ID as col_13_0_, attributes2_.M_AttributeSetInstance_ID as col_14_0_, materialmg0_.QtyCount-coalesce(materialmg0_.QtyBook, 0) as col_15_0_, materialmg0_.C_UOM_ID as col_16_0_, materialmg0_.QuantityOrder-coalesce(materialmg0_.QuantityOrderBook, 0) as col_17_0_, materialmg0_.M_Product_Uom_Id as col_18_0_, materialmg0_.M_InventoryLine_ID as col_19_0_, to_timestamp(to_char($1), to_char('DD-MM-YYYY HH24:MI:SS')) as col_20_0_ from M_InventoryLine materialmg0_ cross join AD_User aduser1_ cross join M_AttributeSetInstance attributes2_ cross join M_Product product3_ cross join M_Inventory materialmg4_ where materialmg0_.M_Inventory_ID=materialmg4_.M_Inventory_ID and materialmg0_.M_Inventory_ID=$2 and (materialmg0_.QtyCount<>materialmg0_.QtyBook or materialmg0_.QuantityOrder<>materialmg0_.QuantityOrderBook) and aduser1_.AD_User_ID=$3 and attributes2_.M_AttributeSetInstance_ID=coalesce(materialmg0_.M_AttributeSetInstance_ID, '0') and materialmg0_.M_Product_ID=product3_.M_Product_ID and product3_.IsStocked='Y' and product3_.ProductType='I'Date: 2026-07-14 10:32:27 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_transaction_trg2() line 93 at RAISE
Statement: insert into M_Transaction ( M_Transaction_ID, IsActive, AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, MovementType, Checkreservedqty, IsCostPermanent, MovementDate, M_Locator_ID, M_Product_ID, M_AttributeSetInstance_ID, MovementQty, C_UOM_ID, QuantityOrder, M_Product_Uom_Id, M_InventoryLine_ID, TrxProcessDate ) select get_uuid() as col_0_0_, materialmg0_.IsActive as col_1_0_, materialmg0_.AD_Client_ID as col_2_0_, materialmg0_.AD_Org_ID as col_3_0_, now() as col_4_0_, aduser1_.AD_User_ID as col_5_0_, now() as col_6_0_, aduser1_.AD_User_ID as col_7_0_, 'I+' as col_8_0_, materialmg0_.IsActive as col_9_0_, materialmg4_.Processed as col_10_0_, materialmg4_.MovementDate as col_11_0_, materialmg0_.M_Locator_ID as col_12_0_, materialmg0_.M_Product_ID as col_13_0_, attributes2_.M_AttributeSetInstance_ID as col_14_0_, materialmg0_.QtyCount-coalesce(materialmg0_.QtyBook, 0) as col_15_0_, materialmg0_.C_UOM_ID as col_16_0_, materialmg0_.QuantityOrder-coalesce(materialmg0_.QuantityOrderBook, 0) as col_17_0_, materialmg0_.M_Product_Uom_Id as col_18_0_, materialmg0_.M_InventoryLine_ID as col_19_0_, to_timestamp(to_char($1), to_char('DD-MM-YYYY HH24:MI:SS')) as col_20_0_ from M_InventoryLine materialmg0_ cross join AD_User aduser1_ cross join M_AttributeSetInstance attributes2_ cross join M_Product product3_ cross join M_Inventory materialmg4_ where materialmg0_.M_Inventory_ID=materialmg4_.M_Inventory_ID and materialmg0_.M_Inventory_ID=$2 and (materialmg0_.QtyCount<>materialmg0_.QtyBook or materialmg0_.QuantityOrder<>materialmg0_.QuantityOrderBook) and aduser1_.AD_User_ID=$3 and attributes2_.M_AttributeSetInstance_ID=coalesce(materialmg0_.M_AttributeSetInstance_ID, '0') and materialmg0_.M_Product_ID=product3_.M_Product_ID and product3_.IsStocked='Y' and product3_.ProductType='I'Date: 2026-07-14 10:33:02 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_transaction_trg2() line 93 at RAISE
Statement: insert into M_Transaction ( M_Transaction_ID, IsActive, AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, MovementType, Checkreservedqty, IsCostPermanent, MovementDate, M_Locator_ID, M_Product_ID, M_AttributeSetInstance_ID, MovementQty, C_UOM_ID, QuantityOrder, M_Product_Uom_Id, M_InventoryLine_ID, TrxProcessDate ) select get_uuid() as col_0_0_, materialmg0_.IsActive as col_1_0_, materialmg0_.AD_Client_ID as col_2_0_, materialmg0_.AD_Org_ID as col_3_0_, now() as col_4_0_, aduser1_.AD_User_ID as col_5_0_, now() as col_6_0_, aduser1_.AD_User_ID as col_7_0_, 'I+' as col_8_0_, materialmg0_.IsActive as col_9_0_, materialmg4_.Processed as col_10_0_, materialmg4_.MovementDate as col_11_0_, materialmg0_.M_Locator_ID as col_12_0_, materialmg0_.M_Product_ID as col_13_0_, attributes2_.M_AttributeSetInstance_ID as col_14_0_, materialmg0_.QtyCount-coalesce(materialmg0_.QtyBook, 0) as col_15_0_, materialmg0_.C_UOM_ID as col_16_0_, materialmg0_.QuantityOrder-coalesce(materialmg0_.QuantityOrderBook, 0) as col_17_0_, materialmg0_.M_Product_Uom_Id as col_18_0_, materialmg0_.M_InventoryLine_ID as col_19_0_, to_timestamp(to_char($1), to_char('DD-MM-YYYY HH24:MI:SS')) as col_20_0_ from M_InventoryLine materialmg0_ cross join AD_User aduser1_ cross join M_AttributeSetInstance attributes2_ cross join M_Product product3_ cross join M_Inventory materialmg4_ where materialmg0_.M_Inventory_ID=materialmg4_.M_Inventory_ID and materialmg0_.M_Inventory_ID=$2 and (materialmg0_.QtyCount<>materialmg0_.QtyBook or materialmg0_.QuantityOrder<>materialmg0_.QuantityOrderBook) and aduser1_.AD_User_ID=$3 and attributes2_.M_AttributeSetInstance_ID=coalesce(materialmg0_.M_AttributeSetInstance_ID, '0') and materialmg0_.M_Product_ID=product3_.M_Product_ID and product3_.IsStocked='Y' and product3_.ProductType='I'Date: 2026-07-14 10:33:10 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
11 2 ERROR: Un producto del tipo articulo debe tener conjunto de atributos
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 14 17 2 - ERROR: Un producto del tipo articulo debe tener conjunto de atributos
- ERROR: Un producto del tipo articulo debe tener conjunto de atributos
Context: PL/pgSQL function bass_ctrl_attribute() line 5 at RAISE
Statement: insert into M_Product (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Value, Name, C_UOM_ID, SalesRep_ID, IsSummary, IsStocked, IsPurchased, IsSold, IsBOM, IsInvoicePrintDetails, IsPickListPrintDetails, IsVerified, M_Product_Category_ID, C_TaxCategory_ID, Discontinued, Processing, ProductType, M_Locator_ID, Ispriceprinted, Enforce_Attribute, Calculated, Production, Qtytype, EM_Aeat347_Isleasebusiness, Isquantityvariable, Isdeferredrevenue, Isdeferredexpense, Bookusingpoprice, EM_Advcrm_Newactivity, M_Brand_ID, IsGeneric, CreateVariants, Updateinvariants, ManageVariants, Print_Description, Returnable, Ispricerulebased, Unique_Per_Document, Relateprodcattoservice, Relateprodtoservice, Islinkedtoproduct, Allow_Deferred_Sell, EM_Advcrm2_Sync_Pcrm, EM_Etpp_Print_Label, EM_Fash_Product_Group_ID, EM_Fash_Import_Char, EM_Fash_Createcombinations, EM_Fash_Create_Processplan, EM_Fash_Import_Mate, EM_Fash_Managecampaignvariant, Ismodifytax, Relateprodcattaxtoservice, Copyservicemodifytaxconfig, EM_Advpro2_Createwr, EM_Thcost_Cost_Template, EM_Bass_Can_Rotate, EM_Prmag_Ismagento, EM_Advcrm2_Service_Unit, EM_Primg_Update_Image, EM_Prsc_Isdeliverycosts, EM_Pruti_Addmodifycharact, EM_Bass_IsExtinct, EM_Bass_Tarifa_Base, EM_Bass_Show_Tasit_Consum, EM_Bass_Create_Purchase_Order, EM_Bass_Warehouse_Master, EM_Bass_Office_Master, M_Product_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75)Date: 2026-07-14 17:31:39 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function bass_ctrl_attribute() line 5 at RAISE
Statement: insert into M_Product (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Value, Name, C_UOM_ID, SalesRep_ID, IsSummary, IsStocked, IsPurchased, IsSold, IsBOM, IsInvoicePrintDetails, IsPickListPrintDetails, IsVerified, M_Product_Category_ID, C_TaxCategory_ID, Discontinued, Processing, ProductType, M_Locator_ID, Ispriceprinted, Enforce_Attribute, Calculated, MA_Processplan_ID, Production, Qtytype, EM_Aeat347_Isleasebusiness, Isquantityvariable, Isdeferredrevenue, Isdeferredexpense, Bookusingpoprice, EM_Advcrm_Newactivity, M_Brand_ID, IsGeneric, CreateVariants, Updateinvariants, ManageVariants, Print_Description, Returnable, Ispricerulebased, Unique_Per_Document, Relateprodcattoservice, Relateprodtoservice, Islinkedtoproduct, Allow_Deferred_Sell, EM_Advcrm2_Sync_Pcrm, EM_Etpp_Print_Label, EM_Fash_Product_Group_ID, EM_Fash_Prod_Composition_ID, EM_Fash_Import_Char, EM_Fash_Createcombinations, EM_Fash_Create_Processplan, EM_Fash_Import_Mate, EM_Fash_Managecampaignvariant, Ismodifytax, Relateprodcattaxtoservice, Copyservicemodifytaxconfig, EM_Advpro2_Createwr, EM_Thcost_Cost_Template, EM_Bass_Can_Rotate, EM_Prmag_Ismagento, EM_Advcrm2_Service_Unit, EM_Primg_Update_Image, EM_Prsc_Isdeliverycosts, EM_Pruti_Addmodifycharact, EM_Bass_IsExtinct, EM_Bass_Tarifa_Base, EM_Bass_Show_Tasit_Consum, EM_Bass_Create_Purchase_Order, EM_Bass_Warehouse_Master, EM_Bass_Office_Master, M_Product_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-14 17:32:10 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
12 2 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 14 12 2 - ERROR: column a.stock does not exist at character 25
- ERROR: column a.stock does not exist at character 49
Statement: select mp.value, a.stock, a.pendingsales, a.pendingpurchase, a.picking, a.reservation, a.productproduction, a.productconsumption, a.availablestock from bass_product_deposit_v a join m_product mp on mp.m_product_id = a.m_product_id where (ad_get_org_le_bu(mp.ad_org_id, 'LE') = 'ABB79999997E423B85B205975E7A9BD8' or mp.ad_org_id='5CE219D3542A4FF4949922C8765C375D') and a.availablestock > 0
Date: 2026-07-14 12:04:51 Database: etendo Application: DBeaver 26.0.3 - SQLEditor
User: tad Remote: 88.12.21.106 Statement: select mp.em_bass_concatdesc , mp.value, a.stock, a.pendingsales, a.pendingpurchase, a.picking, a.reservation, a.productproduction, a.productconsumption, a.availablestock from bass_product_deposit_v a join m_product mp on mp.m_product_id = a.m_product_id where (ad_get_org_le_bu(mp.ad_org_id, 'LE') = 'ABB79999997E423B85B205975E7A9BD8' or mp.ad_org_id='5CE219D3542A4FF4949922C8765C375D') and a.availablestock > 0
Date: 2026-07-14 12:07:22 Database: etendo Application: DBeaver 26.0.3 - SQLEditor
User: tad Remote: 88.12.21.106 13 2 ERROR: process ... detected deadlock while waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #13
Day Hour Count Jul 14 06 2 - ERROR: process 2473300 detected deadlock while waiting for ShareLock on transaction 34841280 after 1000.085 ms
- ERROR: process 3009158 detected deadlock while waiting for ShareLock on transaction 34845165 after 1000.094 ms
Detail: Process holding the lock: 3009158. Wait queue: .
Context: while updating tuple (4548,20) in relation "m_storage_detail" SQL statement "UPDATE M_STORAGE_DETAIL SET QTYONHAND=QTYONHAND + COALESCE(p_qty, 0), QTYORDERONHAND=QTYORDERONHAND + v_qtyorder, DATELASTINVENTORY=COALESCE(p_datelastinventory, DATELASTINVENTORY), PREQTYONHAND=PREQTYONHAND + COALESCE(p_preqty, 0), PREQTYORDERONHAND=PREQTYORDERONHAND + v_preqtyorder, AD_CLIENT_ID=p_client, UPDATED=TO_DATE(NOW()), UPDATEDBY=p_user WHERE M_PRODUCT_ID=p_product AND M_LOCATOR_ID=p_locator AND M_ATTRIBUTESETINSTANCE_ID=v_attributesetinstance AND C_UOM_ID=p_uom AND COALESCE(M_PRODUCT_UOM_ID, '-1')=COALESCE(p_product_uom, '-1')" PL/pgSQL function m_update_inventory(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,numeric,numeric,timestamp without time zone,numeric,numeric) line 79 at SQL statement SQL statement "SELECT M_UPDATE_INVENTORY(NEW.AD_CLIENT_ID, NEW.AD_ORG_ID, NEW.UPDATEDBY, NEW.M_PRODUCT_ID, NEW.M_LOCATOR_ID, NEW.M_ATTRIBUTESETINSTANCE_ID, NEW.C_UOM_ID, NEW.M_PRODUCT_UOM_ID, NULL, NULL, NULL, -NEW.MOVEMENTQTY, -NEW.QUANTITYORDER)" PL/pgSQL function m_movementline_trg() line 99 at PERFORM
Statement: insert into M_MovementLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_Movement_ID, M_Locator_ID, M_LocatorTo_ID, M_Product_ID, Line, MovementQty, M_AttributeSetInstance_ID, C_UOM_ID, M_Reservation_ID, EM_OBWPL_Pickinglist_ID, EM_OBWPL_Complete, EM_OBWPL_Itemstatus, EM_OBWPL_EditItem, EM_OBWPL_AllowDelete, EM_OBWPL_Raiseincidence, EM_OBWPL_Reject, EM_Prpp_Qtyverified, M_MovementLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25)Date: 2026-07-14 06:19:40 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Process holding the lock: 3010498. Wait queue: .
Context: while updating tuple (4709,38) in relation "m_storage_detail" SQL statement "UPDATE m_storage_detail SET reservedqty = reservedqty + v_reservedqtydiff - v_releasedqtydiff, allocatedqty = allocatedqty + v_allocatedqtydiff WHERE m_product_id = v_m_product_id AND m_product_uom_id IS NULL AND c_uom_id = v_c_uom_id AND m_locator_id = v_locator_id AND m_attributesetinstance_id = v_attributesetinstance_id" PL/pgSQL function m_reservation_stock_trg() line 76 at SQL statement SQL statement "UPDATE m_reservation_stock SET releasedqty = COALESCE(releasedqty,0) + v_qtytorelease, updated = TO_DATE(NOW()), updatedby = p_user_id WHERE m_reservation_stock_id = cur_reserved_stock.m_reservation_stock_id" PL/pgSQL function m_reservation_consumption(character varying,character varying,character varying,numeric,character varying) line 130 at SQL statement SQL statement "SELECT * FROM M_RESERVATION_CONSUMPTION(v_reservation_id, cur_inoutline.m_locator_id, cur_inoutline.m_attributesetinstance_id, cur_inoutline.movementqty, v_user)" PL/pgSQL function m_inout_post(character varying,character varying) line 621 at SQL statement SQL statement "SELECT M_INOUT_POST(PInstance_ID, NULL)" PL/pgSQL function m_inout_post0(character varying) line 28 at PERFORM
Statement: SELECT * FROM M_InOut_Post0($1)Date: 2026-07-14 06:30:35 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
14 2 ERROR: Pedido de Compra Hosteleria-1013991,@ActivePoSo@
Times Reported Most Frequent Error / Event #14
Day Hour Count Jul 14 20 2 - ERROR: Pedido de Compra Hosteleria-1013991,@ActivePoSo@
- ERROR: Pedido de Compra Hosteleria-1013991,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:07:32 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:07:32 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
15 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #15
Day Hour Count Jul 14 09 1 12 1 - ERROR: syntax error at or near "=" at character 107
- ERROR: syntax error at or near "000265759" at character 7
Statement: UPDATE ma_workrequirement SET em_advpro2_product_id = '788AFBF0D5284431A2979B66B44A6EB0' WHERE = 'A2C5BED6F1054DC0800A366180970B58'
Date: 2026-07-14 09:12:01 Database: etendo Application: DBeaver 25.3.2 - SQLEditor
User: tad Remote: 127.0.0.1 Statement: 000265759 or 000265664 or 000265670 or 000265670 or 000265635 or 000265795 or 000265707 or 000265743 or 000265691 or 000265649 or 000265654 or 000265707 or 000265728 or 000265755 or 000265701 or 000265804 or 000265671 or 000265806 or 000265712 or 000265780 or 000265717 or 000265735 or 000265634 or 000265701 or 000265804 or 000265717 or 000265735 or 000265634 or 000265664 or 000265769 or 000265635 or 000265703 or 000265795 or 000265690 or 000265710 or 000265819 or 000265730 or 000265745 or 000265769 or 000265778 or 000265759 or 000265743 or 000265691 or 000265649 or 000265654 or 000265819 or 000265730 or 000265745 or 000265710 or 000265728 or 000265755 or 000265671 or 000265806 or 000265712 or 000265780 or 000265778 or 000265699 or 000265699 PL492905 or PL492942 or PL492944 or PL492956 or PL492888 or PL492892 or PL492896 or PL492906 or PL492908 or PL492910 or PL492912 or PL492915 or PL492921 or PL492923 or PL492925 or PL492927 or PL492929 or PL492931 or PL492933 or PL492934 or PL492936 or PL492938 or PL492940 or PL492946 or PL492947 or PL492952 or PL492953 or PL492954 or PL492955 or PL492899 or PL492907 or PL492909 or PL492911 or PL492913 or PL492919 or PL492914 or PL492916 or PL492918 or PL492917 or PL492920 or PL492924 or PL492926 or PL492928 or PL492930 or PL492932 or PL492935 or PL492937 or PL492939 or PL492941 or PL492943 or PL492945 or PL492948 or PL492949 or PL492950 or PL492951 or PL492900 or PL492903 or PL492922 update obwpl_pickinglist set em_prwp_out_pickinglist_id=null where em_prwp_out_pickinglist_id='75AB24984A684BC1A8B91D6A3412CCEF' and pickliststatus='DR'
Date: 2026-07-14 12:04:29 Database: etendo Application: DBeaver 26.0.3 - SQLEditor
User: tad Remote: 88.12.21.106 16 2 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL encryption
Times Reported Most Frequent Error / Event #16
Day Hour Count Jul 14 14 1 16 1 - FATAL: no pg_hba.conf entry for host "64.89.163.133", user "postgres", database "postgres", SSL encryption
- FATAL: no pg_hba.conf entry for host "45.156.87.10", user "postgres", database "postgres", SSL encryption
Date: 2026-07-14 14:24:49 Database: postgres Application: [unknown] User: postgres Remote: 64.89.163.133
Date: 2026-07-14 16:31:44 Database: postgres Application: [unknown] User: postgres Remote: 45.156.87.10
17 2 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #17
Day Hour Count Jul 14 09 1 15 1 - ERROR: update or delete on table "fin_finacc_transaction" violates foreign key constraint "em_aprm_finacc_trans_origin_fk" on table "fin_finacc_transaction"
- ERROR: update or delete on table "m_product" violates foreign key constraint "m_product_masequenceproduct" on table "ma_sequenceproduct"
Detail: Key (fin_finacc_transaction_id)=(6EBA8DA5D77140409104065F64885C41) is still referenced from table "fin_finacc_transaction".
Statement: delete from FIN_Finacc_Transaction where Fin_Finacc_Transaction_ID=$1Date: 2026-07-14 09:50:11 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Key (m_product_id)=(EE43A7C5DAE140729BFCAF3235B1FEE6) is still referenced from table "ma_sequenceproduct".
Statement: delete from M_Product where M_Product_ID=$1Date: 2026-07-14 15:54:28 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
18 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #18
Day Hour Count Jul 14 06 1 08 1 - ERROR: duplicate key value violates unique constraint "obmobc_logclient_pk"
- ERROR: duplicate key value violates unique constraint "obmobc_logclient_pk"
Detail: Key (obmobc_logclient_id)=(9982FC38680E076F21D20EC4C7B8E38F) already exists.
Statement: insert into obmobc_logclient ( obmobc_logclient_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, tstamp, deviceid, context, msg, loglevel, cache_session_id, isonline ) values ( $1, $2, $3, 'Y', to_timestamp(to_char($4), to_char('DD-MM-YYYY HH24:MI:SS')), $5, to_timestamp(to_char($6), to_char('DD-MM-YYYY HH24:MI:SS')), $7, to_number($8), $9, $10, $11, $12, $13, $14 )Date: 2026-07-14 06:37:51 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Key (obmobc_logclient_id)=(206B52A82A6A5FD59C3C924C046A458D) already exists.
Statement: insert into obmobc_logclient ( obmobc_logclient_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, tstamp, deviceid, context, msg, loglevel, cache_session_id, isonline ) values ( $1, $2, $3, 'Y', to_timestamp(to_char($4), to_char('DD-MM-YYYY HH24:MI:SS')), $5, to_timestamp(to_char($6), to_char('DD-MM-YYYY HH24:MI:SS')), $7, to_number($8), $9, $10, $11, $12, $13, $14 )Date: 2026-07-14 08:37:47 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
19 1 ERROR: @bass_tax_exists@
Times Reported Most Frequent Error / Event #19
Day Hour Count Jul 14 14 1 - ERROR: @bass_tax_exists@
Context: PL/pgSQL function bass_validatetaxbp() line 14 at RAISE
Statement: insert into C_BPartner (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Value, Name, Name2, IsSummary, C_BP_Group_ID, IsOneTime, IsProspect, IsVendor, IsCustomer, IsEmployee, IsSalesRep, AD_Language, TaxID, IsTaxExempt, SO_CreditLimit, C_PaymentTerm_ID, M_PriceList_ID, IsDiscountPrinted, InvoiceRule, ShowPriceInOrder, Invoicegrouping, Isworker, Last_Days, EM_Einv_Einvoice, FIN_Paymentmethod_ID, Customer_Blocking, Vendor_Blocking, SO_Payment_Blocking, PO_Payment_Blocking, SO_Invoice_Blocking, PO_Invoice_Blocking, SO_Order_Blocking, PO_Order_Blocking, SO_Goods_Blocking, PO_Goods_Blocking, Iscashvat, EM_Advcrm_Newactivity, Update_Currency, BP_Currency_ID, EM_Fshedi_Enable_Orders, EM_Advpro2_Workshop, EM_Fshedi_Enable_Statistics, EM_Fshins_Show_Risks, EM_Fshedi_Enable_Shipments, Is_Customer_Consent, EM_Advpro2_Createrescap, EM_Fshedi_Enable_Invoices, EM_Fshedi_Customer_Price, EM_Fshedi_Use_Ean, EM_Aeatsii_Menor, EM_Pruti_Addbp, EM_Aeatsii_Defaultsiikey, EM_Advshi_Priority, EM_Rrhh_Exemployee, EM_Rrhh_Candidate, EM_Advcrm2_Confirming_Mail, EM_Tbai_Issimplifiedinv, EM_Obwpl_Bp_Block_Pickinglist, EM_Bass_Printinoutsummary, EM_Bass_Printinoutsummaryval, EM_Bass_Requerecontrolquality, EM_Bass_Generaterfid, EM_Bass_Pricebyadvpro2plist, EM_Advpro2_Generate_Capacity, EM_Pruti_Notsendinvoice, EM_Pruti_Showpriceingoods, EM_Bass_Transit_Days, EM_Prscrm_Uploadloc_Asaccount, EM_Bass_Hybrid, EM_OBTIK_Tax_ID_Key, em_prma_update_BpRecords, C_BPartner_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79)Date: 2026-07-14 14:33:30 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
20 1 ERROR: @CannotDeletePermanentCost@
Times Reported Most Frequent Error / Event #20
Day Hour Count Jul 14 15 1 - ERROR: @CannotDeletePermanentCost@
Context: PL/pgSQL function m_costing_trg() line 41 at RAISE
Statement: delete from M_Costing where M_Costing_ID=$1Date: 2026-07-14 15:01:01 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
21 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #21
Day Hour Count Jul 14 16 1 - FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Date: 2026-07-14 16:44:21 Database: [unknown] Application: [unknown] User: [unknown] Remote: 159.65.69.149
22 1 ERROR: Incidencia Hosteleria-Dc-7293,@ActivePoSo@
Times Reported Most Frequent Error / Event #22
Day Hour Count Jul 14 20 1 - ERROR: Incidencia Hosteleria-Dc-7293,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2 where M_Product_ID=$3Date: 2026-07-14 20:02:02 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
23 1 ERROR: @bass_salesregion_mandatory@
Times Reported Most Frequent Error / Event #23
Day Hour Count Jul 14 09 1 - ERROR: @bass_salesregion_mandatory@
Context: PL/pgSQL function bass_salesregion_mandatory() line 9 at RAISE
Statement: update C_BPartner_Location set Updated=$1, C_SalesRegion_ID=$2 where C_BPartner_Location_ID=$3Date: 2026-07-14 09:48:04 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
24 1 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #24
Day Hour Count Jul 14 06 1 - ERROR: deadlock detected
Detail: Process 2473300 waits for ShareLock on transaction 34841280; blocked by process 3009158. Process 3009158 waits for ShareLock on transaction 34841282; blocked by process 2473300. Process 2473300: insert into M_MovementLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_Movement_ID, M_Locator_ID, M_LocatorTo_ID, M_Product_ID, Line, MovementQty, M_AttributeSetInstance_ID, C_UOM_ID, M_Reservation_ID, EM_OBWPL_Pickinglist_ID, EM_OBWPL_Complete, EM_OBWPL_Itemstatus, EM_OBWPL_EditItem, EM_OBWPL_AllowDelete, EM_OBWPL_Raiseincidence, EM_OBWPL_Reject, EM_Prpp_Qtyverified, M_MovementLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25) Process 3009158: SELECT M_Movement_POST($1,$2) AS RESULT FROM DUAL
Context: while updating tuple (4548,20) in relation "m_storage_detail" SQL statement "UPDATE M_STORAGE_DETAIL SET QTYONHAND=QTYONHAND + COALESCE(p_qty, 0), QTYORDERONHAND=QTYORDERONHAND + v_qtyorder, DATELASTINVENTORY=COALESCE(p_datelastinventory, DATELASTINVENTORY), PREQTYONHAND=PREQTYONHAND + COALESCE(p_preqty, 0), PREQTYORDERONHAND=PREQTYORDERONHAND + v_preqtyorder, AD_CLIENT_ID=p_client, UPDATED=TO_DATE(NOW()), UPDATEDBY=p_user WHERE M_PRODUCT_ID=p_product AND M_LOCATOR_ID=p_locator AND M_ATTRIBUTESETINSTANCE_ID=v_attributesetinstance AND C_UOM_ID=p_uom AND COALESCE(M_PRODUCT_UOM_ID, '-1')=COALESCE(p_product_uom, '-1')" PL/pgSQL function m_update_inventory(character varying,character varying,character varying,character varying,character varying,character varying,character varying,character varying,numeric,numeric,timestamp without time zone,numeric,numeric) line 79 at SQL statement SQL statement "SELECT M_UPDATE_INVENTORY(NEW.AD_CLIENT_ID, NEW.AD_ORG_ID, NEW.UPDATEDBY, NEW.M_PRODUCT_ID, NEW.M_LOCATOR_ID, NEW.M_ATTRIBUTESETINSTANCE_ID, NEW.C_UOM_ID, NEW.M_PRODUCT_UOM_ID, NULL, NULL, NULL, -NEW.MOVEMENTQTY, -NEW.QUANTITYORDER)" PL/pgSQL function m_movementline_trg() line 99 at PERFORM
Hint: See server log for query details.
Statement: insert into M_MovementLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_Movement_ID, M_Locator_ID, M_LocatorTo_ID, M_Product_ID, Line, MovementQty, M_AttributeSetInstance_ID, C_UOM_ID, M_Reservation_ID, EM_OBWPL_Pickinglist_ID, EM_OBWPL_Complete, EM_OBWPL_Itemstatus, EM_OBWPL_EditItem, EM_OBWPL_AllowDelete, EM_OBWPL_Raiseincidence, EM_OBWPL_Reject, EM_Prpp_Qtyverified, M_MovementLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25)Date: 2026-07-14 06:19:40 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
25 1 ERROR: @bass_datepromised@
Times Reported Most Frequent Error / Event #25
Day Hour Count Jul 14 14 1 - ERROR: @bass_datepromised@
Context: PL/pgSQL function bass_datepromised() line 13 at RAISE
Statement: update C_Order set Updated=$1, DateOrdered=$2 where C_Order_ID=$3Date: 2026-07-14 14:02:02 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
26 1 ERROR: @20257@
Times Reported Most Frequent Error / Event #26
Day Hour Count Jul 14 16 1 - ERROR: @20257@
Context: PL/pgSQL function c_bp_bankaccountiban_trg() line 63 at RAISE
Statement: insert into C_BP_BankAccount (AD_Client_ID, AD_Org_ID, Created, Updated, IsActive, CreatedBy, UpdatedBy, C_BPartner_ID, AccountNo, CreditCardExpYY, Iban, C_Country_ID, EM_Etabam_Isdefault, BankFormat, C_BP_BankAccount_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)Date: 2026-07-14 16:00:56 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
27 1 ERROR: Incidencia Tienda Online-DO-16681,@ActivePoSo@
Times Reported Most Frequent Error / Event #27
Day Hour Count Jul 14 20 1 - ERROR: Incidencia Tienda Online-DO-16681,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:06:56 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
28 1 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #28
Day Hour Count Jul 14 06 1 - LOG: process 3014441 still waiting for ExclusiveLock on tuple (13,35) of relation 1883788 of database 1880529 after 1000.081 ms
Detail: Process holding the lock: 3012166. Wait queue: 3014441.
Context: SQL statement "UPDATE AD_Sequence SET CurrentNext=CurrentNext + IncrementNo, Updated=TO_DATE(NOW()) WHERE Name=p_SequenceName AND ad_client_id=p_ad_client_id" PL/pgSQL function ad_sequence_doc(character varying,character varying,character) line 34 at SQL statement
Statement: SELECT * FROM AD_SEQUENCE_DOC($1,$2,$3)Date: 2026-07-14 06:38:45 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
29 1 ERROR: permission denied for schema ...
Times Reported Most Frequent Error / Event #29
Day Hour Count Jul 14 07 1 - ERROR: permission denied for schema public
Statement: -- FUNCTION: public.generar_vencimientos(character varying) -- select generar_vencimientos('6A87642A86AD48638976B465D6416E71'); CREATE OR REPLACE FUNCTION public.generar_vencimientos( p_invoice character varying) RETURNS void LANGUAGE 'plpgsql' COST 100 VOLATILE SET search_path=public AS $BODY$ DECLARE /************************************************************************* * The contents of this file are subject to the Openbravo Public License * Version 1.0 (the "License"), being the Mozilla Public License * Version 1.1 with a permitted attribution clause; you may not use this * file except in compliance with the License. You may obtain a copy of * the License at http://www.openbravo.com/legal/license.html * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU * All portions are Copyright (C) 2010-2017 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************/ p_message VARCHAR(2000); p_record_id VARCHAR(60); p_docAction VARCHAR(60); p_user VARCHAR(60); p_result NUMERIC; v_PaidAmount NUMERIC; V_OutstandingAmount NUMERIC; V_DueAmount NUMERIC; V_DayStillDue NUMERIC; v_ConvertedAmount NUMERIC; v_Client_ID VARCHAR(32); --OBTG:VARCHAR2-- v_Org_ID VARCHAR(32); --OBTG:VARCHAR2-- v_ResultStr VARCHAR(2000):=''; --OBTG:VARCHAR2-- v_Message VARCHAR(2000):=''; --OBTG:VARCHAR2-- v_DocTypeTarget_ID VARCHAR(32); --OBTG:VARCHAR2-- v_IsSOTrx C_INVOICE.IsSOTrx%TYPE; v_GrandTotal NUMERIC:=0; v_PaymentTerm C_INVOICE.C_PaymentTerm_ID%TYPE; v_Currency_ID VARCHAR(32); --OBTG:VARCHAR2-- v_bpCurrency_id VARCHAR(32); --OBTG:VARCHAR2-- v_BPartner_ID VARCHAR(32); --OBTG:VARCHAR2-- v_DateInvoiced TIMESTAMP; v_TotalLines NUMERIC; v_PaymentMethod C_INVOICE.FIN_PAYMENTMETHOD_ID%TYPE; v_documentno C_INVOICE.DocumentNo%TYPE; v_poreference C_INVOICE.POReference%TYPE; v_project_id c_invoice.c_project_id%TYPE; v_campaign_id c_invoice.c_campaign_id%TYPE; v_activity_id c_invoice.c_activity_id%TYPE; v_user1 c_invoice.user1_id%TYPE; v_user2 c_invoice.user2_id%TYPE; v_costcenter c_invoice.c_costcenter_id%TYPE; v_reversalinvoice_id VARCHAR(32); --OBTG:VARCHAR2-- v_delete_paymentplan BOOLEAN := FALSE; v_Financial_Account_ID FIN_FINANCIAL_ACCOUNT.FIN_FINANCIAL_ACCOUNT_ID%TYPE; v_Financial_Account_Org VARCHAR(32); --OBTG:VARCHAR2-- v_PaymentDocType_ID FIN_PAYMENT.C_DOCTYPE_ID%TYPE; v_PaymentDocumentNo FIN_PAYMENT.DOCUMENTNO%TYPE; v_FIN_PAYMENT_ID FIN_PAYMENT.FIN_PAYMENT_ID%TYPE; v_FIN_PAYMENT_DETAIL_ID FIN_PAYMENT_DETAIL.FIN_PAYMENT_DETAIL_ID%TYPE; v_FIN_FINACC_TRANSACTION_ID FIN_FINACC_TRANSACTION.FIN_FINACC_TRANSACTION_ID%TYPE; v_Line FIN_FINACC_TRANSACTION.LINE%TYPE; v_count NUMERIC; v_PaymentPriority VARCHAR(32); v_InvoicePaid CHAR(1); v_creditmultiplier NUMERIC:= 1; v_lang AD_User.Default_AD_Language%TYPE; v_orderno C_Order.DocumentNo%TYPE:=null; v_finpayment_desc VARCHAR(2000); --OBTG:VARCHAR2-- v_orderno_trl AD_Message.MsgText%TYPE; v_invoiceno_trl AD_Message.MsgText%TYPE; v_payment_desc AD_OrgInfo.em_aprm_payment_desc%TYPE; v_description_first BOOLEAN := TRUE; v_finacct_currency VARCHAR(32); --OBTG:VARCHAR2-- v_rate NUMERIC; v_PricePr NUMERIC; v_isinvoicepaid CHAR(1):= 'N'; v_IsCashVAT C_Invoice.IsCashVAT%TYPE; --TYPE RECORD IS REFCURSOR; Cur_Params RECORD; cur_paymentschedule RECORD; cur_finaccpaymentmethod RECORD; cur_PaymentScheduleOrder RECORD; cur_linktopayment_scheddetails RECORD; cur_update_scheddetails RECORD; v_paymentamt NUMERIC:=0; v_depositamt NUMERIC:=0; v_transactiontype VARCHAR(32); --OBTG:VARCHAR2-- BEGIN p_docaction := 'CO'; p_record_id := p_invoice; p_user := '100'; p_message := null; p_result := null; -- Default user's language SELECT COALESCE(default_ad_language, 'en_US') INTO v_lang FROM ad_user where ad_user_id = p_user; delete from fin_payment_scheduledetail where fin_payment_schedule_invoice in (select fin_payment_schedule_id from fin_payment_schedule where c_invoice_id=p_record_id); delete from fin_payment_schedule where c_invoice_id=p_record_id; -- Reading the invoice v_ResultStr:='ReadingInvoice'; SELECT ad_client_id, ad_org_id, c_doctypetarget_id, IsSOTrx, grandtotal, C_PaymentTerm_ID, C_Currency_ID, --C_BPartner_ID, greatest(DateInvoiced, coalesce(em_fash_datevalue,DateInvoiced)) as DateInvoiced, totallines, fin_paymentmethod_id, C_BPartner_ID, DateInvoiced, totallines, fin_paymentmethod_id, fin_payment_priority_id, documentNo, poreference, c_project_id, c_campaign_id, c_activity_id, user1_id, user2_id, c_costcenter_id, IsCashVAT INTO v_Client_ID, v_Org_ID, v_DocTypeTarget_ID, v_IsSOTrx, v_GrandTotal, v_PaymentTerm, v_Currency_ID, v_BPartner_ID, v_DateInvoiced, v_totallines, v_PaymentMethod, v_PaymentPriority, v_documentno, v_poreference, v_project_id, v_campaign_id, v_activity_id, v_user1, v_user2, v_costcenter, v_IsCashVAT FROM c_invoice WHERE c_invoice_id=p_record_id; IF (v_IsSOTrx = 'N') THEN v_creditmultiplier := -1; END IF; --Gets the business partner's currency SELECT BP_Currency_ID INTO v_bpCurrency_id from C_BPartner WHERE C_BPartner_ID = v_BPartner_ID; IF (v_bpCurrency_id is null) THEN v_bpCurrency_id:= v_Currency_ID; update c_bpartner set BP_Currency_ID = v_bpCurrency_id where c_bpartner_id =v_BPartner_ID; END IF; -- complete invoice IF (p_docaction = 'CO') THEN -- Checking Payment Method ID is available IF(v_PaymentMethod IS NULL) THEN RAISE EXCEPTION '%', '@APRM_PAYMENTMETHOD_MISSING@'; --OBTG:-20000-- END IF; -- BEGIN Extension Point SELECT count(*) INTO v_count FROM DUAL WHERE EXISTS (SELECT 1 FROM ad_ep_procedures WHERE ad_extension_points_id = 'F489FE52771F42E5B8CF228F26553726'); IF (v_count=1) THEN DECLARE v_ep_instance VARCHAR(32); --OBTG:VARCHAR2-- v_extension_point_id VARCHAR(32) := 'F489FE52771F42E5B8CF228F26553726'; --OBTG:VARCHAR2-- BEGIN v_ep_instance := get_uuid(); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'Record_ID', p_record_id, NULL, NULL, NULL, NULL, NULL, NULL); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'DocAction', p_docaction, NULL, NULL, NULL, NULL, NULL, NULL); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'User', p_user, NULL, NULL, NULL, NULL, NULL, NULL); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'Message', NULL, NULL, NULL, NULL, NULL, NULL, p_message); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'Result', NULL, NULL, p_result, NULL, NULL, NULL, NULL); PERFORM AD_EXTENSION_POINT_HANDLER(v_ep_instance, v_extension_point_id); SELECT p_number INTO p_result FROM ad_ep_instance_para WHERE ad_ep_instance_id = v_ep_instance AND parametername LIKE 'Result'; SELECT p_text INTO p_message FROM ad_ep_instance_para WHERE ad_ep_instance_id = v_ep_instance AND parametername LIKE 'Message'; DELETE FROM ad_ep_instance_para WHERE ad_ep_instance_id = v_ep_instance; END; END IF; -- END Extension Point DECLARE cur_payments RECORD; cur_order_schdet_ISOPEN BOOLEAN:=false; fetch_next_order_item BOOLEAN:=true; next_order BOOLEAN := FALSE; v_TargetDocBaseType C_DOCTYPE.DocBaseType%TYPE; v_isReversal C_DOCTYPE.IsReversal%TYPE; v_MultiplierARC NUMERIC:=1; v_pendingAmount NUMERIC; v_plannedDate TIMESTAMP; v_paymentAmount NUMERIC; v_scheduledamount NUMERIC; v_invoicedamount NUMERIC; v_notassignedamount NUMERIC; v_assignedamount NUMERIC; v_scheduledetailamount NUMERIC; v_oldorder VARCHAR(32) := '-1'; --OBTG:VARCHAR2-- v_payment_schedule_invoice VARCHAR(32); --OBTG:VARCHAR2-- v_differenceamount NUMERIC:= 0; v_scheduledetailid VARCHAR(32); --OBTG:VARCHAR2-- v_new_scheduledetailid VARCHAR(32); --OBTG:VARCHAR2-- v_ConsumedGranTotal NUMERIC:= 0; v_paymentCount NUMERIC:= 0; v_negativePS NUMERIC:= 1; v_psdbreakbypartialpayment BOOLEAN:=TRUE; cur_cinvoicetax RECORD; v_PercentageCashVAT NUMERIC; DECLARE cur_order_schdet CURSOR (invoice_id VARCHAR) FOR SELECT DISTINCT c_orderline.c_order_id AS order_id, fin_payment_scheduledetail.amount + COALESCE(fin_payment_scheduledetail.writeoffamt,0) AS amount, fin_payment_scheduledetail_id, fin_payment_scheduledetail.fin_payment_schedule_order, fin_payment_scheduledetail.fin_payment_detail_id, fin_payment_scheduledetail.isinvoicepaid AS paid, CASE WHEN fin_payment_scheduledetail.fin_payment_detail_id is not null THEN 0 ELSE 1 END AS priority FROM c_invoice, c_doctype, c_invoiceline, c_orderline, fin_payment_schedule, fin_payment_scheduledetail LEFT JOIN fin_payment_detail ON fin_payment_scheduledetail.fin_payment_detail_id = fin_payment_detail.fin_payment_detail_id LEFT JOIN fin_payment ON fin_payment_detail.fin_payment_id = fin_payment.fin_payment_id WHERE c_invoice.c_doctype_id = c_doctype.c_doctype_id AND c_invoice.c_invoice_id = c_invoiceline.c_invoice_id AND c_invoiceline.c_orderline_id = c_orderline.c_orderline_id AND c_orderline.c_order_id = fin_payment_schedule.c_order_id AND fin_payment_schedule.fin_payment_schedule_id = fin_payment_scheduledetail.fin_payment_schedule_order AND fin_payment_scheduledetail.fin_payment_schedule_invoice is null AND fin_payment_scheduledetail.ISCANCELED <> 'Y' AND c_invoice.c_invoice_id = invoice_id AND ((c_doctype.isreversal='N' AND sign(c_invoiceline.qtyinvoiced) = sign(c_orderline.qtyordered)) OR (c_doctype.isreversal='Y' AND sign(-c_invoiceline.qtyinvoiced) = sign(c_orderline.qtyordered))) ORDER BY CASE WHEN fin_payment_scheduledetail.fin_payment_detail_id is not null THEN 0 ELSE 1 END, c_orderline.c_order_id; order_schdet RECORD; --OBTG:cur_order_schdet-- BEGIN v_ResultStr:='Generating FIN_PAYMENT_SCHEDULE'; SELECT count(1) INTO v_count FROM c_debt_payment WHERE c_invoice_id = p_record_id; IF (v_count > 0) THEN RAISE EXCEPTION '%', '@APRM_INVOICE_MAN_PAYMENTS@'; --OBTG:-20000-- END IF; -- Is it a Credit Memo SELECT docbasetype, isreversal INTO v_TargetDocBaseType, v_isReversal FROM c_doctype WHERE c_doctype_id=v_DocTypeTarget_ID; IF (v_TargetDocBaseType in ('ARC','APC') or v_isReversal='Y') THEN v_MultiplierARC:=-1; END IF; SELECT COALESCE(sum(ps.paidamt),0) INTO v_ConsumedGranTotal FROM fin_payment_schedule ps WHERE ps.c_invoice_id = p_record_id; --Insert Payment Schedules for Invoices v_pendingAmount := v_GrandTotal - coalesce(v_ConsumedGranTotal, 0); IF (v_pendingAmount <> 0) THEN --get number of payment schedules expected for the invoice SELECT count(*) INTO v_paymentcount FROM ( SELECT line, percentage, onremainder, excludetax, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday END) AS fixmonthday, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday2 END) AS Fixmonthday2, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday3 END) AS fixmonthday3, netdays, fixmonthoffset, netday, isnextbusinessday FROM c_paymenttermline WHERE c_paymentterm_id=v_paymentterm AND isactive = 'Y' UNION -- Header of paymentTerm is processed at last SELECT 9999 AS line, 100 AS percentage, 'Y' AS onremainder, 'N' AS excludetax, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday END) AS fixmonthday, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday2 END) AS Fixmonthday2, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday3 END) AS fixmonthday3, netdays, fixmonthoffset, netday, isnextbusinessday FROM c_paymentterm WHERE c_paymentterm_id=v_paymentterm) a; FOR cur_payments IN ( SELECT line, percentage, onremainder, excludetax, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday END) AS fixmonthday, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday2 END) AS Fixmonthday2, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday3 END) AS fixmonthday3, netdays, fixmonthoffset, netday, isnextbusinessday, COALESCE(cptl.fin_paymentmethod_id,c.fin_paymentmethod_id) as fin_paymentmethod_id FROM c_paymenttermline cptl,c_invoice c WHERE cptl.c_paymentterm_id=v_paymentterm AND cptl.isactive = 'Y' AND c_invoice_id = p_record_id UNION -- Header of paymentTerm is processed at last SELECT 9999 AS line, 100 AS percentage, 'Y' AS onremainder, 'N' AS excludetax, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday END) AS fixmonthday, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday2 END) AS Fixmonthday2, (CASE isduefixed WHEN 'N' THEN null ELSE fixmonthday3 END) AS fixmonthday3, netdays, fixmonthoffset, netday, isnextbusinessday, c.fin_paymentmethod_id FROM c_paymentterm cpt ,c_invoice c WHERE cpt.c_paymentterm_id=v_paymentterm AND c_invoice_id = p_record_id ORDER BY line ) LOOP -- Decrease v_paymentcount, when its value is 0 it's the last payment. v_paymentcount := v_paymentcount - 1; v_plannedDate:=C_Paymentduedate(v_bpartner_id, v_issotrx, cur_payments.fixmonthday, cur_payments.fixmonthday2, cur_payments.fixmonthday3, cur_payments.netdays, cur_payments.fixmonthoffset, cur_payments.netday, cur_payments.isnextbusinessday, v_dateinvoiced); IF(cur_payments.excludetax='Y') THEN -- if excludeTax = 'Y', percentage is aplied on the TotalLines v_paymentAmount:=C_Currency_Round(v_totallines * cur_payments.percentage/100, v_currency_id, NULL); ELSIF(cur_payments.onremainder='N') THEN -- if onRemainder = 'N', percentage is aplied on the GrandTotal v_paymentAmount:=C_Currency_Round(v_grandtotal * cur_payments.percentage/100, v_currency_id, NULL); ELSE v_paymentAmount:=C_Currency_Round(v_pendingamount * cur_payments.percentage/100, v_currency_id, NULL); END IF; v_pendingamount := v_pendingamount - v_paymentamount; v_scheduledamount := C_Currency_Round((v_paymentamount * v_multiplierarc), v_currency_id, NULL); IF (v_scheduledamount < 0 OR v_MultiplierARC = -1) THEN v_negativeps := -1; ELSE v_negativeps := 1; END IF; v_ResultStr:='Inserting in FIN_PAYMENT_SCHEDULE table'; v_payment_schedule_invoice := get_uuid(); INSERT INTO fin_payment_schedule ( fin_payment_schedule_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_currency_id, c_order_id, fin_paymentmethod_id, amount, duedate, expecteddate, outstandingamt, fin_payment_priority_id ) VALUES ( v_payment_schedule_invoice, v_client_id, v_org_id, 'Y', TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, p_record_id, v_currency_id, null, cur_payments.fin_paymentmethod_id, v_scheduledamount, v_planneddate, v_planneddate, v_scheduledamount, v_PaymentPriority ); -- loop for payment schedule details of related orders LOOP -- open cursor once IF (NOT cur_order_schdet_ISOPEN) THEN OPEN cur_order_schdet(p_record_id); cur_order_schdet_ISOPEN := true; END IF; -- fetch if we have finished with the current one IF (fetch_next_order_item OR next_order) THEN FETCH cur_order_schdet INTO order_schdet; EXIT WHEN NOT FOUND ; --OBTG:cur_order_schdet-- v_scheduledetailid := order_schdet.fin_payment_scheduledetail_id; v_scheduledetailamount := order_schdet.amount; next_order := FALSE; ELSE v_scheduledetailamount := v_differenceamount; v_scheduledetailid := v_new_scheduledetailid; END IF; IF (order_schdet.order_id <> v_oldorder) THEN -- get invoiced amount for the order SELECT COALESCE(SUM(c_invoiceline.linenetamt+c_getinvoiceline_taxamount(c_invoiceline.c_invoiceline_id)),0) INTO v_invoicedamount FROM c_invoiceline, c_orderline WHERE c_invoiceline.c_orderline_id = c_orderline.c_orderline_id AND c_invoiceline.c_invoice_id = p_record_id AND c_orderline.c_order_id = order_schdet.order_id; --if v_count = 0 the order is completely invoiced on this invoice. IF (v_IsSOTrx = 'Y') THEN SELECT COALESCE(COUNT(*),0) INTO v_Count FROM c_orderline WHERE qtyordered <> (qtyinvoiced*v_MultiplierARC) AND c_order_id = order_schdet.order_id; ELSE SELECT count(*) INTO v_count FROM ( SELECT coalesce(SUM(mpo.qty),0) as matchedqty, ol.qtyordered FROM c_orderline ol LEFT JOIN m_matchpo mpo ON ol.c_orderline_id = mpo.c_orderline_id AND mpo.c_invoiceline_id IS NOT NULL WHERE ol.c_order_id = order_schdet.order_id GROUP BY ol.c_orderline_id, ol.qtyordered) a WHERE a.qtyordered != (a.matchedqty*v_MultiplierARC); END IF; END IF; --If the order is completely invoiced the whole amount of the psd has to be included on the invoice. IF (v_count = 0) THEN v_notassignedamount := v_scheduledetailamount; ELSE SELECT COALESCE(SUM(psd.amount),0) INTO v_assignedamount FROM fin_payment_schedule ps_inv, fin_payment_scheduledetail psd, fin_payment_schedule ps_ord WHERE ps_inv.fin_payment_schedule_id = psd.fin_payment_schedule_invoice AND psd.fin_payment_schedule_order = ps_ord.fin_payment_schedule_id AND ps_inv.c_invoice_id = p_record_id AND psd.ISCANCELED <> 'Y' AND ps_ord.c_order_id = order_schdet.order_id; -- substract previously assigned amount v_notassignedamount := (COALESCE(v_invoicedamount,0) - COALESCE(v_assignedamount,0)); END IF; -- If there is no amount left to assign from the order to the invoice and the order is not completely -- invoiced move to next order payment schedule detail. -- Example 1: an order with a partial prepayment and is partially invoiced with the prepayment amount, the -- psd that remains unpaid shall not be included in the invoice. -- Example 2: an order with a partial prepayment and is invoiced completely changing the price so the grand -- total is exactly the amount of the prepayment, the psd that remaing unpaid shall be included in the invoice. IF (v_notassignedamount = 0 AND v_count <> 0) THEN next_order := TRUE; END IF; IF (NOT next_order) THEN v_differenceamount := 0; --1st condition: The order is completely invoiced and it is the last payment schedule. All the pending amount of the -- order has to be assigned to this invoice, a regulation psd only related to this invoice will be -- generated later to match the difference. --2st condition: invoiced amount is higher than the scheduled amount, calculate the difference and split -- the payment schedule detail of the order. --3rd condition: split order's payment schedule detail in case that not all the amount has been invoiced. -- In this case difference amount would not be zero. IF(v_Count = 0 AND v_paymentcount = 0) THEN v_differenceamount:= 0; ELSIF (v_notassignedamount * v_negativePS > v_scheduledamount * v_negativeps ) THEN v_differenceamount := COALESCE(v_scheduledetailamount,0) - COALESCE(v_scheduledamount,0); IF (v_paymentcount > 0) THEN v_psdbreakbypartialpayment := true; ELSE v_psdbreakbypartialpayment := false; END IF; ELSE v_differenceamount := COALESCE(v_scheduledetailamount,0) - COALESCE(v_notassignedamount,0); v_psdbreakbypartialpayment := false; END IF; --When difference amount is not 0 the payment schedule detail of the order has to be split. The difference --amount is the amount of the new psd that is not related to any invoice. IF (v_differenceamount * v_negativePS > 0) THEN v_new_scheduledetailid := get_uuid(); INSERT INTO fin_payment_scheduledetail ( fin_payment_scheduledetail_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, fin_payment_schedule_order, fin_payment_schedule_invoice, fin_payment_detail_id, amount, c_bpartner_id ) VALUES ( v_new_scheduledetailid, v_Client_ID, v_Org_ID, 'Y', TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, order_schdet.fin_payment_schedule_order, null, order_schdet.fin_payment_detail_id, v_differenceamount, v_BPartner_ID ); -- update amount of the current payment schedule detail UPDATE fin_payment_scheduledetail SET amount = amount - v_differenceamount, updated = TO_DATE(NOW()), updatedby = p_user WHERE fin_payment_scheduledetail_id = v_scheduledetailid; v_scheduledetailamount := v_scheduledetailamount - v_differenceamount; ELSE v_differenceamount := 0; END IF; IF (v_differenceamount = 0 OR (v_count <> 0 AND NOT v_psdbreakbypartialpayment)) THEN fetch_next_order_item := true; ELSE fetch_next_order_item := false; END IF; -- link current current payment schedule detail to the invoice UPDATE fin_payment_scheduledetail SET fin_payment_schedule_invoice = v_payment_schedule_invoice, updated = TO_DATE(NOW()), updatedby = p_user WHERE fin_payment_scheduledetail_id = v_scheduledetailid; UPDATE FIN_PAYMENT_SCHEDULEDETAIL SET isinvoicepaid=(select CASE WHEN fpsd.fin_payment_detail_id is null then 'N' WHEN ((aprm_seqnumberpaymentstatus(fp.status))>= (aprm_seqnumberpaymentstatus((CASE WHEN fp.isreceipt='Y' THEN Payin_Invoicepaidstatus ELSE Payout_Invoicepaidstatus END)))) THEN 'Y' ELSE 'N' END from fin_payment_scheduledetail fpsd left join fin_payment_detail fpd on fpsd.fin_payment_detail_id=fpd.fin_payment_detail_id left join fin_payment fp on fpd.fin_payment_id=fp.fin_payment_id left join fin_financial_account fa on fa.fin_financial_account_id=fp.fin_financial_account_id left join FIN_FinAcc_PaymentMethod fpm on fpm.fin_financial_account_id=fp.fin_financial_account_id and fpm.fin_paymentmethod_id=fp.fin_paymentmethod_id WHERE fin_payment_scheduledetail_id = v_scheduledetailid) WHERE FIN_PAYMENT_SCHEDULEDETAIL_ID = v_scheduledetailid; -- if paid, update paid and outstanding amount select isinvoicepaid into v_isinvoicepaid from fin_payment_scheduledetail where fin_payment_scheduledetail_id = v_scheduledetailid; IF (v_isinvoicepaid = 'Y') THEN UPDATE fin_payment_schedule SET outstandingamt = outstandingamt - COALESCE(v_scheduledetailamount,0), paidamt = paidamt + COALESCE(v_scheduledetailamount, 0) WHERE fin_payment_schedule_id = v_payment_schedule_invoice; END IF; v_scheduledamount := v_scheduledamount - v_scheduledetailamount; -- Create C_InvoiceTax_CashVAT records IF (v_IsCashVAT = 'Y' AND order_schdet.fin_payment_detail_id IS NOT NULL) THEN v_PercentageCashVAT := c_currency_round(v_scheduledetailamount * 100 / v_GrandTotal, v_Currency_ID, null); FOR cur_cinvoicetax IN ( SELECT it.C_InvoiceTax_ID, it.taxamt, it.taxbaseamt FROM C_InvoiceTax it INNER JOIN C_Tax t on (it.c_tax_id = t.c_tax_id) WHERE it.c_invoice_id = p_record_id AND t.isCashVAT = 'Y' ) LOOP INSERT INTO c_invoicetax_cashvat( c_invoicetax_cashvat_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoicetax_id, percentage, taxamt, taxbaseamt, fin_payment_detail_id) VALUES (get_uuid(), v_Client_ID, v_Org_ID, 'Y', TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, cur_cinvoicetax.C_InvoiceTax_ID, v_PercentageCashVAT, c_currency_round(v_PercentageCashVAT * cur_cinvoicetax.taxamt / 100, v_Currency_ID, null), c_currency_round(v_PercentageCashVAT * cur_cinvoicetax.taxbaseamt / 100, v_Currency_ID, null), order_schdet.fin_payment_detail_id); END LOOP; END IF; IF (v_scheduledamount * v_negativeps <= 0 AND v_paymentcount > 0) THEN -- actual invoice's payment schedule processed. v_oldorder := order_schdet.order_id; EXIT; END IF; END IF; v_oldorder := order_schdet.order_id; END LOOP; IF (v_scheduledamount <> 0 ) THEN -- no more orders, insert payment schedule detail with remaining amount INSERT INTO fin_payment_scheduledetail ( fin_payment_scheduledetail_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, fin_payment_schedule_order, fin_payment_schedule_invoice, fin_payment_detail_id, amount, c_bpartner_id ) VALUES ( get_uuid(), v_Client_ID, v_Org_ID, 'Y', TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, null, v_payment_schedule_invoice, null, v_scheduledamount, v_BPartner_ID ); END IF; END LOOP; CLOSE cur_order_schdet; END IF; -- Reading Data from FIN_PAYMENT_SCHEDULE SELECT COALESCE(sum(PAIDAMT),0) as PaidAmount, COALESCE(SUM(OUTSTANDINGAMT),0) as OutstandingAmount INTO v_PaidAmount,V_OutstandingAmount FROM FIN_PAYMENT_SCHEDULE WHERE C_INVOICE_ID=P_RECORD_ID; -- Getting DueAmount from FIN_PAYMENT_SCHEDULE for the Invoice SELECT coalesce(sum(OUTSTANDINGAMT),0) as DueAmount INTO V_DueAmount FROM FIN_PAYMENT_SCHEDULE WHERE C_INVOICE_ID=P_RECORD_ID AND duedate<=TO_DATE(NOW()); V_DueAmount :=COALESCE(V_DueAmount,0); --Getting Day Still Due SELECT COALESCE(TO_NUMBER(MIN(DUEDATE)-TRUNC(TO_DATE(NOW()))),0) as DAYSTILLDUE INTO V_DayStillDue FROM FIN_PAYMENT_SCHEDULE WHERE C_INVOICE_ID=P_RECORD_ID AND OUTSTANDINGAMT != 0; --Updating Payment Monitor values into C_INVOICE UPDATE C_INVOICE SET TOTALPAID = v_PaidAmount, OUTSTANDINGAMT = COALESCE(v_OutstandingAmount,0), DUEAMT = V_DueAmount, DAYSTILLDUE = V_DayStillDue, LASTCALCULATEDONDATE = TO_DATE(NOW()), ISPAID = CASE v_OutstandingAmount WHEN 0 THEN 'Y' ELSE 'N' END, FINALSETTLEMENT = CASE v_OutstandingAmount WHEN 0 THEN TO_DATE(NOW()) ELSE NULL END WHERE C_INVOICE_ID = P_RECORD_ID; -- Updating SO_CREDITUSED when Invoices are being processed if(v_bpCurrency_id <> v_Currency_id) THEN SELECT COUNT(*) INTO v_Count FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = P_RECORD_ID AND C_Currency_ID = v_Currency_id AND C_Currency_Id_To = v_bpCurrency_id; IF v_Count >0 THEN SELECT RATE*COALESCE(V_OutstandingAmount, 0) * v_creditmultiplier INTO v_ConvertedAmount FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = P_RECORD_ID AND C_Currency_ID = v_Currency_id AND C_Currency_Id_To = v_bpCurrency_id; ELSE v_ConvertedAmount := C_Currency_Convert((COALESCE(V_OutstandingAmount, 0) * v_creditmultiplier), v_Currency_id, v_bpCurrency_id, v_DateInvoiced,'S', v_Client_ID, v_Org_ID); END IF; else v_ConvertedAmount := COALESCE(V_OutstandingAmount, 0) * v_creditmultiplier; end if; UPDATE C_BPARTNER SET SO_CREDITUSED = COALESCE(SO_CREDITUSED,0) + v_ConvertedAmount WHERE C_BPARTNER_ID = v_BPartner_ID; -- Automatic creation of payment and financial transaction SELECT CASE WHEN v_IsSOTrx='Y' THEN c_bpartner.FIN_FINANCIAL_ACCOUNT_ID ELSE C_BPARTNER.PO_FINANCIAL_ACCOUNT_ID END, CASE WHEN v_IsSOTrx='Y' THEN facustomer.ad_org_id ELSE favendor.ad_org_id END INTO v_Financial_Account_ID, v_Financial_Account_Org FROM c_bpartner LEFT JOIN FIN_FINANCIAL_ACCOUNT facustomer ON (c_bpartner.fin_financial_account_id = facustomer.fin_financial_account_id) LEFT JOIN FIN_FINANCIAL_ACCOUNT favendor ON (c_bpartner.po_financial_account_id = favendor.fin_financial_account_id) WHERE c_bpartner.c_bpartner_id = v_BPartner_ID; -- Organization of the financial account must be in the natural organization tree of the invoice org. IF (v_Financial_Account_ID IS NOT NULL AND (AD_ISORGINCLUDED(v_Financial_Account_Org, v_Org_ID, v_Client_ID) <> -1 OR AD_ISORGINCLUDED(v_Org_ID, v_Financial_Account_Org, v_Client_ID) <> -1)) THEN SELECT MIN(em_aprm_payment_desc) INTO v_payment_desc FROM ad_orginfo WHERE ad_org_id = v_Org_ID AND isactive = 'Y'; IF (v_payment_desc IS NOT NULL AND v_payment_desc='Supplier Reference' AND v_IsSOTrx ='N' AND coalesce(length(v_poreference), 0)>0) THEN v_documentno := v_poreference; END IF; FOR cur_paymentschedule IN ( SELECT ps.fin_paymentmethod_id, ps.duedate, ps.c_currency_id, ps.ad_org_id, ps.fin_payment_schedule_id, coalesce(sum(psd.amount),0) as outstandingamt FROM fin_payment_schedule ps INNER JOIN fin_payment_scheduledetail psd ON ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice AND psd.fin_payment_detail_id is null WHERE ps.c_invoice_id = p_record_id AND ps.isactive = 'Y' GROUP BY ps.fin_paymentmethod_id, ps.duedate, ps.c_currency_id, ps.ad_org_id, ps.fin_payment_schedule_id ORDER BY ps.duedate, ps.fin_payment_schedule_id ) LOOP -- Create FIN_Payment description SELECT ad_message_get2('InvoiceDocumentno', v_lang) INTO v_invoiceno_trl FROM DUAL; v_finpayment_desc:=v_invoiceno_trl || ': ' || v_documentno; FOR cur_finaccpaymentmethod IN ( SELECT CASE WHEN v_IsSOTrx='Y' THEN AUTOMATIC_RECEIPT ELSE AUTOMATIC_PAYMENT END AS CreatePayment, CASE WHEN v_IsSOTrx='Y' THEN AUTOMATIC_DEPOSIT ELSE AUTOMATIC_WITHDRAWN END AS CreateFinTransaction, CASE WHEN v_IsSOTrx='Y' THEN payin_execution_type ELSE payout_execution_type END AS ExecutionType, CASE WHEN v_IsSOTrx='Y' THEN payin_deferred ELSE payout_deferred END AS deferred, CASE WHEN v_IsSOTrx='Y' THEN payin_execution_process_id ELSE payout_execution_process_id END AS execution_process_id, CASE WHEN v_IsSoTrx='Y' THEN Payin_IsMulticurrency ELSE Payout_IsMulticurrency END AS multicurrency FROM FIN_FINACC_PAYMENTMETHOD WHERE FIN_FINACC_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID = cur_paymentschedule.FIN_PAYMENTMETHOD_ID AND FIN_FINACC_PAYMENTMETHOD.FIN_FINANCIAL_ACCOUNT_ID = v_Financial_Account_ID AND FIN_FINACC_PAYMENTMETHOD.ISACTIVE='Y' ) LOOP -- Automatic creation of payment IF(cur_finaccpaymentmethod.CreatePayment = 'Y') THEN -- Do not add payment for the reversal invoice if the actual invoice is not paid SELECT COUNT(*) INTO v_Count FROM C_Invoice_Reverse WHERE C_Invoice_ID = p_record_id; IF(v_Count <> 0) THEN SELECT COALESCE(ispaid, 'Y') INTO v_InvoicePaid FROM C_Invoice WHERE C_Invoice_ID IN ( SELECT Reversed_C_Invoice_ID FROM C_Invoice_Reverse WHERE C_Invoice_Id = p_record_id ); IF (v_InvoicePaid = 'N') THEN RETURN; END IF; END IF; v_ResultStr:='Generating FIN_PAYMENT'; v_FIN_PAYMENT_ID := GET_UUID(); v_PaymentDocType_ID := AD_GET_DOCTYPE(v_client_id, cur_paymentschedule.AD_ORG_ID, CASE WHEN v_IsSOTrx='Y' THEN 'ARR' ELSE 'APP' END); SELECT * INTO v_PaymentDocumentNo FROM AD_Sequence_Doctype(v_PaymentDocType_ID, v_client_id, 'Y') ; IF (v_PaymentDocumentNo IS NULL) THEN SELECT * INTO v_PaymentDocumentNo FROM AD_Sequence_Doc('DocumentNo_FIN_Payment', v_client_id, 'Y') ; END IF; --Gets the financial account currency SELECT C_Currency_ID INTO v_finacct_currency FROM FIN_Financial_Account WHERE FIN_Financial_Account_id = v_Financial_Account_ID; --Gets the Price precision SELECT priceprecision INTO v_PricePr FROM C_CURRENCY WHERE c_currency_id = v_finacct_currency; --Check for the exchange rate at document level and get the rate SELECT COUNT(rate) INTO v_count FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = p_record_id AND C_Currency_ID = cur_paymentschedule.C_CURRENCY_ID AND C_Currency_ID_To = v_finacct_currency; IF(v_count > 0) THEN SELECT rate INTO v_rate FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = p_record_id AND C_Currency_ID = cur_paymentschedule.C_CURRENCY_ID AND C_Currency_ID_To = v_finacct_currency; ELSE v_rate := 0; END IF; --The financial account currency and payment currency are different and the financial account is not configured to accept payment from different currency IF (v_finacct_currency<>cur_paymentschedule.C_CURRENCY_ID AND cur_finaccpaymentmethod.multicurrency='N') THEN RAISE EXCEPTION '%','@APRM_NoFinancialAccountDefined@'; --OBTG:-20000-- --The financial account currency and payment currency are different and the financial account is not configured to accept payment from different currency --and there is no exchange rate defined at document level ELSIF (v_finacct_currency<>cur_paymentschedule.C_CURRENCY_ID AND cur_finaccpaymentmethod.multicurrency='Y' AND v_rate = 0) THEN v_rate := C_CURRENCY_RATE(cur_paymentschedule.C_CURRENCY_ID, v_finacct_currency, cur_paymentschedule.DUEDATE, NULL, v_client_id, cur_paymentschedule.AD_ORG_ID ); --default exchange rate to 1 ELSIF (v_rate = 0) THEN v_rate := 1; END IF; INSERT INTO fin_payment( fin_payment_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, isreceipt, c_bpartner_id, paymentdate, c_currency_id, amount, writeoffamt, finacc_txn_amount, finacc_txn_convert_rate, fin_paymentmethod_id, documentno, referenceno, status, processed, processing, posted, description, fin_financial_account_id, c_doctype_id, c_project_id, c_campaign_id, c_costcenter_id, c_activity_id, user1_id, user2_id, em_aprm_process_payment, em_aprm_reconcile_payment, em_aprm_add_scheduledpayments) VALUES (v_FIN_PAYMENT_ID, v_client_id, cur_paymentschedule.AD_ORG_ID, TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, 'Y', v_IsSOTrx, v_bpartner_id, cur_paymentschedule.DUEDATE, cur_paymentschedule.C_CURRENCY_ID, COALESCE(cur_paymentschedule.OUTSTANDINGAMT,0), 0, ROUND(COALESCE(cur_paymentschedule.OUTSTANDINGAMT,0)*v_rate, v_PricePr), v_rate, cur_paymentschedule.FIN_PAYMENTMETHOD_ID, v_PaymentDocumentNo, '', CASE WHEN cur_finaccpaymentmethod.ExecutionType = 'A' THEN 'RPAE' WHEN v_IsSOTrx = 'Y' THEN 'RPR' ELSE 'PPM' END, 'N', 'N', 'N', v_finpayment_desc, v_Financial_Account_ID, v_PaymentDocType_ID, v_project_id, v_campaign_id, v_costcenter, v_activity_id, v_user1, v_user2, 'N', 'N', 'N'); v_description_first := TRUE; -- link to the new payment all the pending payment schedule details FOR cur_linktopayment_scheddetails IN ( SELECT FIN_PAYMENT_SCHEDULEDETAIL_ID, AMOUNT FROM FIN_PAYMENT_SCHEDULEDETAIL WHERE FIN_PAYMENT_SCHEDULE_INVOICE = cur_paymentschedule.FIN_PAYMENT_SCHEDULE_ID AND FIN_PAYMENT_DETAIL_ID IS NULL ) LOOP v_FIN_PAYMENT_DETAIL_ID := GET_UUID(); INSERT INTO fin_payment_detail( fin_payment_detail_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, fin_payment_id, amount, refund, isactive, writeoffamt, c_glitem_id, isprepayment) VALUES (v_FIN_PAYMENT_DETAIL_ID, v_client_id, cur_paymentschedule.AD_ORG_ID, TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, v_FIN_PAYMENT_ID, cur_linktopayment_scheddetails.AMOUNT, 'N', 'Y', 0, NULL, 'N'); UPDATE FIN_PAYMENT_SCHEDULEDETAIL SET FIN_PAYMENT_DETAIL_ID = v_FIN_PAYMENT_DETAIL_ID WHERE FIN_PAYMENT_SCHEDULEDETAIL_ID = cur_linktopayment_scheddetails.FIN_PAYMENT_SCHEDULEDETAIL_ID AND FIN_PAYMENT_DETAIL_ID IS NULL; -- Create C_InvoiceTax_CashVAT records IF (v_IsCashVAT = 'Y') THEN v_PercentageCashVAT := c_currency_round(cur_linktopayment_scheddetails.AMOUNT * 100 / v_GrandTotal, v_Currency_ID, null); FOR cur_cinvoicetax IN ( SELECT it.C_InvoiceTax_ID, it.taxamt, it.taxbaseamt FROM C_InvoiceTax it INNER JOIN C_Tax t on (it.c_tax_id = t.c_tax_id) WHERE it.c_invoice_id = p_record_id AND t.isCashVAT='Y' ) LOOP INSERT INTO c_invoicetax_cashvat( c_invoicetax_cashvat_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoicetax_id, percentage, taxamt, taxbaseamt, fin_payment_detail_id) VALUES (get_uuid(), v_Client_ID, v_Org_ID, 'Y', TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, cur_cinvoicetax.C_InvoiceTax_ID, v_PercentageCashVAT, c_currency_round(v_PercentageCashVAT * cur_cinvoicetax.taxamt / 100, v_Currency_ID, null), c_currency_round(v_PercentageCashVAT * cur_cinvoicetax.taxbaseamt / 100, v_Currency_ID, null), v_FIN_PAYMENT_DETAIL_ID); END LOOP; END IF; END LOOP; --Fixes 14403 defect -- Payment document id is added in success message when invoice is completed with auto receipt is checked v_Message:='@APRM_PaymentDocumentno@ ' || v_PaymentDocumentNo || ' @beenCreated@'; UPDATE ad_ep_instance_para SET p_text= v_Message WHERE ad_ep_instance_id= p_ep_instance AND parametername LIKE 'Message'; IF (cur_finaccpaymentmethod.deferred = 'N' AND cur_finaccpaymentmethod.ExecutionType='A') THEN INSERT INTO aprm_pending_paymentinvoice ( aprm_pending_paymentinvoice_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, processing, fin_payment_id, c_invoice_id, fin_pay_exec_process_id ) VALUES ( get_uuid(), v_client_id, v_org_id, 'Y', TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, 'N', v_fin_payment_id, p_record_id, cur_finaccpaymentmethod.execution_process_id); END IF; UPDATE FIN_PAYMENT SET PROCESSED = 'Y', EM_APRM_PROCESS_PAYMENT = 'R' WHERE FIN_PAYMENT_ID = v_FIN_PAYMENT_ID; FOR cur_update_scheddetails IN ( SELECT fin_payment_scheduledetail_id FROM fin_payment_schedule ps INNER JOIN fin_payment_scheduledetail psd ON ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice WHERE ps.c_invoice_id =p_record_id ) LOOP UPDATE FIN_PAYMENT_SCHEDULEDETAIL SET isinvoicepaid=(select CASE WHEN fpsd.fin_payment_detail_id is null then 'N' WHEN ((aprm_seqnumberpaymentstatus(fp.status))>= (aprm_seqnumberpaymentstatus((CASE WHEN fp.isreceipt='Y' THEN Payin_Invoicepaidstatus ELSE Payout_Invoicepaidstatus END)))) THEN 'Y' ELSE 'N' END from fin_payment_scheduledetail fpsd left join fin_payment_detail fpd on fpsd.fin_payment_detail_id=fpd.fin_payment_detail_id left join fin_payment fp on fpd.fin_payment_id=fp.fin_payment_id left join fin_financial_account fa on fa.fin_financial_account_id=fp.fin_financial_account_id left join FIN_FinAcc_PaymentMethod fpm on fpm.fin_financial_account_id=fp.fin_financial_account_id and fpm.fin_paymentmethod_id=fp.fin_paymentmethod_id WHERE fin_payment_scheduledetail_id = cur_update_scheddetails.fin_payment_scheduledetail_id) WHERE FIN_PAYMENT_SCHEDULEDETAIL_ID = cur_update_scheddetails.fin_payment_scheduledetail_id; END LOOP; -- Update payment schedule amounts and payment monitor in case that the payment is not left in awaiting -- execution status. FOR cur_PaymentScheduleOrder IN ( SELECT FIN_PAYMENT_SCHEDULE_ORDER FROM FIN_PAYMENT_SCHEDULEDETAIL WHERE FIN_PAYMENT_SCHEDULE_INVOICE = cur_paymentschedule.FIN_PAYMENT_SCHEDULE_ID AND FIN_PAYMENT_SCHEDULE_ORDER IS NOT NULL GROUP BY FIN_PAYMENT_SCHEDULE_ORDER ) LOOP SELECT MIN(o.DocumentNo) INTO v_orderno FROM fin_payment_schedule ps INNER JOIN c_order o ON (o.C_Order_ID = ps.C_Order_ID) WHERE fin_payment_schedule_id=cur_PaymentScheduleOrder.FIN_PAYMENT_SCHEDULE_ORDER; IF (v_orderno IS NOT NULL) THEN IF (v_description_first) THEN v_finpayment_desc:=v_finpayment_desc || chr(13); SELECT ad_message_get2('OrderDocumentno', v_lang) INTO v_orderno_trl FROM DUAL; v_finpayment_desc:=v_finpayment_desc || v_orderno_trl || ': ' || v_orderno; v_description_first := FALSE; ELSE v_finpayment_desc:=v_finpayment_desc || ', ' || v_orderno; END IF; END IF; IF (cur_finaccpaymentmethod.ExecutionType<>'A') THEN UPDATE FIN_PAYMENT_SCHEDULE SET PAIDAMT = (SELECT COALESCE(sum(amount + COALESCE(writeoffamt, 0)), 0) FROM fin_payment_scheduledetail WHERE fin_payment_schedule_order=cur_PaymentScheduleOrder.FIN_PAYMENT_SCHEDULE_ORDER AND fin_payment_detail_id is not null AND exists (SELECT 1 FROM fin_payment, fin_payment_detail WHERE fin_payment.fin_payment_id = fin_payment_detail.fin_payment_id and fin_payment.processed='Y' and fin_payment_scheduledetail.isinvoicepaid='Y' and fin_payment_detail.fin_payment_detail_id = fin_payment_scheduledetail.fin_payment_detail_id)), OUTSTANDINGAMT = (SELECT COALESCE(sum(amount), 0) FROM fin_payment_scheduledetail WHERE fin_payment_schedule_order=cur_PaymentScheduleOrder.FIN_PAYMENT_SCHEDULE_ORDER AND (fin_payment_detail_id is null OR isinvoicepaid='N')) WHERE FIN_PAYMENT_SCHEDULE_ID = cur_PaymentScheduleOrder.FIN_PAYMENT_SCHEDULE_ORDER; END IF; END LOOP; IF (length(v_finpayment_desc) > 255) THEN SELECT SUBSTR(v_finpayment_desc, 1, 252) || '...' INTO v_finpayment_desc FROM DUAL; END IF; UPDATE FIN_PAYMENT SET DESCRIPTION = v_finpayment_desc WHERE FIN_PAYMENT_ID = v_FIN_PAYMENT_ID; SELECT count(*) INTO v_count FROM fin_payment_schedule fps WHERE exists(select 1 from fin_payment_scheduledetail fpsd where fps.fin_payment_schedule_id = fpsd.fin_payment_schedule_invoice and fpsd.isinvoicepaid='N') AND FIN_PAYMENT_SCHEDULE_ID = cur_paymentschedule.FIN_PAYMENT_SCHEDULE_ID; IF (cur_finaccpaymentmethod.ExecutionType<>'A' AND v_count = 0) THEN UPDATE FIN_PAYMENT_SCHEDULE SET PAIDAMT = PAIDAMT + COALESCE(cur_paymentschedule.OUTSTANDINGAMT,0), OUTSTANDINGAMT = OUTSTANDINGAMT - COALESCE(cur_paymentschedule.OUTSTANDINGAMT, 0) WHERE FIN_PAYMENT_SCHEDULE_ID = cur_paymentschedule.FIN_PAYMENT_SCHEDULE_ID; -- Getting DueAmount from FIN_PAYMENT_SCHEDULE for the Invoice SELECT coalesce(sum(OUTSTANDINGAMT),0) as DueAmount INTO V_DueAmount FROM FIN_PAYMENT_SCHEDULE WHERE C_INVOICE_ID=P_RECORD_ID AND duedate<=TO_DATE(NOW()); UPDATE C_INVOICE SET TOTALPAID = TOTALPAID + COALESCE(cur_paymentschedule.OUTSTANDINGAMT, 0), OUTSTANDINGAMT = OUTSTANDINGAMT - COALESCE(cur_paymentschedule.OUTSTANDINGAMT, 0), DUEAMT = V_DueAmount, FINALSETTLEMENT = cur_paymentschedule.duedate, DAYSOUTSTANDING = 0, PERCENTAGEOVERDUE = 0 WHERE C_INVOICE_ID = P_RECORD_ID; UPDATE C_INVOICE SET ISPAID = 'Y' WHERE C_INVOICE_ID = P_RECORD_ID AND TOTALPAID = GRANDTOTAL; -- Updating SO_CREDITUSED when PAYMENT OCCUR and is not set in RPAE status if (v_bpCurrency_id <> v_Currency_id) then SELECT COUNT(*) INTO v_Count FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = P_RECORD_ID AND C_Currency_ID = v_Currency_id AND C_Currency_Id_To = v_bpCurrency_id; IF v_Count >0 THEN SELECT RATE*(COALESCE(cur_paymentschedule.OUTSTANDINGAMT, 0) * v_creditmultiplier) INTO v_ConvertedAmount FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = P_RECORD_ID AND C_Currency_ID = v_Currency_id AND C_Currency_Id_To = v_bpCurrency_id; ELSE v_ConvertedAmount := C_Currency_Convert((COALESCE(cur_paymentschedule.OUTSTANDINGAMT, 0) * v_creditmultiplier), v_Currency_id, v_bpCurrency_id, v_DateInvoiced,'S', v_Client_ID, v_Org_ID); END IF; else v_ConvertedAmount := (COALESCE(cur_paymentschedule.OUTSTANDINGAMT, 0) * v_creditmultiplier); end if; UPDATE C_BPARTNER SET SO_CREDITUSED = COALESCE(SO_CREDITUSED,0) - v_ConvertedAmount WHERE C_BPARTNER_ID = v_BPartner_ID; END IF; -- Automatic creation of financial transaction IF(cur_finaccpaymentmethod.CreateFinTransaction = 'Y' AND cur_finaccpaymentmethod.ExecutionType = 'M') THEN v_ResultStr:='Generating FIN_FINACC_TRANSACTION'; v_FIN_FINACC_TRANSACTION_ID := GET_UUID(); SELECT COALESCE(MAX(LINE),0) INTO v_Line FROM FIN_FINACC_TRANSACTION WHERE FIN_FINANCIAL_ACCOUNT_ID = v_Financial_Account_ID; IF (v_IsSOTrx='Y') THEN IF (cur_paymentschedule.OUTSTANDINGAMT>0) THEN v_depositamt:=cur_paymentschedule.OUTSTANDINGAMT; ELSE v_paymentamt:=abs(cur_paymentschedule.OUTSTANDINGAMT); END IF; ELSE IF (cur_paymentschedule.OUTSTANDINGAMT<0) THEN v_depositamt:=abs(cur_paymentschedule.OUTSTANDINGAMT); ELSE v_paymentamt:=cur_paymentschedule.OUTSTANDINGAMT; END IF; END IF; IF (v_paymentamt> 0) THEN v_transactiontype:='BPW'; ELSE v_transactiontype:='BPD'; END IF; --check the currency of the invoice and the currency of the financial account select c_currency_id into v_finacct_currency from FIN_Financial_Account where FIN_Financial_Account_id =v_Financial_Account_ID; IF (v_finacct_currency<>cur_paymentschedule.C_CURRENCY_ID AND cur_finaccpaymentmethod.multicurrency='Y') THEN v_rate := C_CURRENCY_RATE(cur_paymentschedule.C_CURRENCY_ID, v_finacct_currency, cur_paymentschedule.DUEDATE, NULL, v_client_id, cur_paymentschedule.AD_ORG_ID ); SELECT priceprecision into v_PricePr from C_CURRENCY where c_currency_id = v_finacct_currency; INSERT INTO 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_costcenter_id, c_activity_id, user1_id, user2_id, trxtype, statementdate, description, fin_reconciliation_id, foreign_currency_id, foreign_convert_rate, foreign_amount, c_bpartner_id) VALUES (v_FIN_FINACC_TRANSACTION_ID, v_client_id, cur_paymentschedule.AD_ORG_ID, TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, 'Y', v_finacct_currency, v_Financial_Account_ID, v_Line, v_FIN_PAYMENT_ID, cur_paymentschedule.DUEDATE, NULL, CASE WHEN v_IsSOTrx='Y' THEN 'RDNC' ELSE 'PWNC' END, ROUND(v_paymentamt*v_rate, v_PricePr) , ROUND(v_depositamt*v_rate, v_PricePr) , 'Y', 'N', 'N', v_project_id, v_campaign_id, v_costcenter, v_activity_id, v_user1, v_user2, v_transactiontype , cur_paymentschedule.DUEDATE, 'Invoice No.: ' || v_documentno, NULL, cur_paymentschedule.C_CURRENCY_ID, v_rate , CASE WHEN v_IsSOTrx='N' THEN cur_paymentschedule.OUTSTANDINGAMT ELSE cur_paymentschedule.OUTSTANDINGAMT END, v_BPartner_ID); ELSE INSERT INTO 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_costcenter_id, c_activity_id, user1_id, user2_id, trxtype, statementdate, description, fin_reconciliation_id, c_bpartner_id) VALUES (v_FIN_FINACC_TRANSACTION_ID, v_client_id, cur_paymentschedule.AD_ORG_ID, TO_DATE(NOW()), p_user, TO_DATE(NOW()), p_user, 'Y', cur_paymentschedule.C_CURRENCY_ID, v_Financial_Account_ID, v_Line, v_FIN_PAYMENT_ID, cur_paymentschedule.DUEDATE, NULL, CASE WHEN v_IsSOTrx='Y' THEN 'RDNC' ELSE 'PWNC' END,v_paymentamt, v_depositamt, 'Y', 'N', 'N', v_project_id, v_campaign_id, v_costcenter, v_activity_id, v_user1, v_user2, v_transactiontype , cur_paymentschedule.DUEDATE, 'Invoice No.: ' || v_documentno, NULL, v_BPartner_ID); END IF; UPDATE FIN_PAYMENT SET STATUS = CASE WHEN v_IsSOTrx='Y' THEN 'RDNC' ELSE 'PWNC' END WHERE FIN_PAYMENT_ID = v_FIN_PAYMENT_ID; --UPDATE FINANCIAL ACCOUNT CURRENT BALANCE UPDATE FIN_FINANCIAL_ACCOUNT SET CURRENTBALANCE=CURRENTBALANCE + (CASE WHEN v_IsSOTrx='Y' THEN cur_paymentschedule.OUTSTANDINGAMT ELSE (cur_paymentschedule.OUTSTANDINGAMT*-1) END) WHERE FIN_FINANCIAL_ACCOUNT_ID = v_Financial_Account_ID; END IF; END IF; END LOOP; END LOOP; END IF; END; ELSIF (p_docaction = 'RE') THEN DECLARE v_count NUMERIC; v_documentno VARCHAR(40); --OBTG:VARCHAR2-- v_PaymentPlanExpectedTotal NUMERIC:= 0; BEGIN SELECT count(*), max(p.documentno) INTO v_count, v_documentno FROM fin_payment_schedule ps, fin_payment_scheduledetail psd, fin_payment_detail pd, fin_payment p WHERE ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice AND ps.c_invoice_id = p_record_id AND psd.fin_payment_detail_id = pd.fin_payment_detail_id AND pd.fin_payment_id = p.fin_payment_id AND pd.isprepayment = 'N'; IF (v_count <> 0) THEN RAISE EXCEPTION '%', '@APRM_InvoiceWithPayments@' || ' ' || v_documentno; --OBTG:-20000-- END IF; SELECT count(*) INTO v_count FROM DUAL WHERE EXISTS (SELECT 1 FROM C_InvoiceTax_CashVAT itcv INNER JOIN C_InvoiceTax it on (it.C_InvoiceTax_ID = itcv.C_InvoiceTax_ID) WHERE it.C_Invoice_ID = p_record_id AND itcv.IsManualSettlement = 'Y' ); IF (v_count > 0) THEN RAISE EXCEPTION '%', '@APRM_InvoiceWithManualCashVATSettlement@'; --OBTG:-20000-- END IF; SELECT count(*), max(p.documentno) INTO v_count, v_documentno FROM fin_payment_schedule ps, fin_payment_scheduledetail psd, fin_payment_prop_detail pd, fin_payment_proposal p WHERE ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice AND ps.c_invoice_id = p_record_id AND psd.fin_payment_scheduledetail_id = pd.fin_payment_scheduledetail_id AND pd.fin_payment_proposal_id = p.fin_payment_proposal_id AND psd.fin_payment_detail_id is null; IF (v_count <> 0) THEN RAISE EXCEPTION '%', '@APRM_InvoiceWithUnprocessedProposal@' || ' ' || v_documentno; --OBTG:-20000-- END IF; -- Doubtful Debt Validation SELECT COUNT(*), max(dd.documentno) INTO v_count, v_documentno FROM fin_payment_schedule ps join fin_doubtful_debt dd on (dd.fin_payment_schedule_id = ps.fin_payment_schedule_id) AND ps.c_invoice_id = p_record_id; IF (v_count <> 0) THEN RAISE EXCEPTION '%', '@APRM_InvoiceWithDoubtfulDebt@' || ' ' || v_documentno; --OBTG:-20000-- END IF; v_delete_paymentplan := TRUE; -- Revert the bp used credit amount SELECT COALESCE(SUM(fin_payment_schedule.paidamt), 0), COALESCE(SUM(fin_payment_schedule.amount), 0) INTO v_PaidAmount, v_PaymentPlanExpectedTotal FROM FIN_PAYMENT_SCHEDULE WHERE FIN_PAYMENT_SCHEDULE.C_INVOICE_ID = p_record_id ; if v_bpCurrency_id <> v_Currency_id then SELECT COUNT(*) INTO v_Count FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = P_RECORD_ID AND C_Currency_ID = v_Currency_id AND C_Currency_Id_To = v_bpCurrency_id; IF v_Count >0 THEN SELECT RATE*((v_PaymentPlanExpectedTotal - v_PaidAmount) * v_creditmultiplier) INTO v_ConvertedAmount FROM C_Conversion_Rate_Document WHERE C_Invoice_ID = P_RECORD_ID AND C_Currency_ID = v_Currency_id AND C_Currency_Id_To = v_bpCurrency_id; ELSE v_ConvertedAmount := C_Currency_Convert(((v_PaymentPlanExpectedTotal - v_PaidAmount) * v_creditmultiplier), v_Currency_id, v_bpCurrency_id, v_DateInvoiced,'S', v_Client_ID, v_Org_ID); END IF; else v_ConvertedAmount := ((v_PaymentPlanExpectedTotal - v_PaidAmount) * v_creditmultiplier); END IF; UPDATE C_BPARTNER SET SO_CREDITUSED = COALESCE(SO_CREDITUSED,0) - v_convertedAmount WHERE C_BPARTNER_ID = v_BPartner_ID; -- Delete C_InvoiceTax_CashVAT records for this invoice -- this only happens for prepayments, which are bypassed by the previous check DELETE FROM C_InvoiceTax_CashVAT itcv WHERE EXISTS (SELECT 1 FROM C_InvoiceTax it WHERE it.C_InvoiceTax_ID = itcv.C_InvoiceTax_ID AND it.C_Invoice_ID = p_record_id ) AND EXISTS (SELECT 1 FROM FIN_Payment_Detail fpd WHERE fpd.FIN_Payment_Detail_ID = itcv.FIN_Payment_Detail_ID AND fpd.IsPrepayment = 'Y') AND itcv.IsManualSettlement = 'N'; END; ELSIF (p_docaction = 'RC') THEN DECLARE v_count NUMERIC; v_prepaymentamt NUMERIC; BEGIN v_delete_paymentplan := TRUE; SELECT c_invoice_id INTO v_reversalinvoice_id FROM c_invoice_reverse WHERE reversed_c_invoice_id = p_record_id; SELECT count(*) INTO v_count FROM fin_payment_schedule ps, fin_payment_scheduledetail psd, fin_payment_detail pd, fin_payment p WHERE ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice AND ps.c_invoice_id = p_record_id AND psd.fin_payment_detail_id = pd.fin_payment_detail_id AND pd.fin_payment_id = p.fin_payment_id AND pd.isprepayment = 'N'; IF (v_count <> 0) THEN v_delete_paymentplan := FALSE; END IF; SELECT count(*) INTO v_count FROM fin_payment_schedule ps, fin_payment_scheduledetail psd, fin_payment_prop_detail pd, fin_payment_proposal p WHERE ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice AND ps.c_invoice_id = p_record_id AND psd.fin_payment_scheduledetail_id = pd.fin_payment_scheduledetail_id AND pd.fin_payment_proposal_id = p.fin_payment_proposal_id AND psd.fin_payment_detail_id is null; IF (v_count <> 0) THEN v_delete_paymentplan := FALSE; END IF; SELECT prepaymentamt INTO v_prepaymentamt FROM c_invoice WHERE c_invoice_id = p_record_id; IF (v_prepaymentamt <> 0) THEN v_delete_paymentplan := FALSE; END IF; END; END IF; IF (v_delete_paymentplan) THEN DECLARE v_payment_detail_old VARCHAR(32); --OBTG:VARCHAR2-- v_payment_scheduledetail_old VARCHAR(32); --OBTG:VARCHAR2-- cur_ps RECORD; cur_psd RECORD; BEGIN -- Delete schedule detail records that not belong to orders DELETE FROM fin_payment_scheduledetail WHERE fin_payment_schedule_invoice IN (SELECT fin_payment_schedule_id FROM fin_payment_schedule WHERE (c_invoice_id = p_record_id OR (v_reversalinvoice_id IS NOT NULL AND c_invoice_id = v_reversalinvoice_id))) AND fin_payment_schedule_order is null; FOR cur_ps IN ( SELECT DISTINCT fin_payment_schedule_order FROM fin_payment_scheduledetail WHERE fin_payment_schedule_invoice IN (SELECT fin_payment_schedule_id FROM fin_payment_schedule WHERE (c_invoice_id = p_record_id OR (v_reversalinvoice_id IS NOT NULL AND c_invoice_id = v_reversalinvoice_id)))) LOOP UPDATE fin_payment_scheduledetail SET fin_payment_schedule_invoice = null WHERE fin_payment_schedule_invoice IN (SELECT fin_payment_schedule_id FROM fin_payment_schedule WHERE (c_invoice_id = p_record_id OR (v_reversalinvoice_id IS NOT NULL AND c_invoice_id = v_reversalinvoice_id))) AND fin_payment_schedule_order = cur_ps.fin_payment_schedule_order; v_payment_detail_old := '-2'; v_payment_scheduledetail_old := '-1'; FOR cur_psd IN (SELECT fin_payment_scheduledetail_id, COALESCE(fin_payment_detail_id,'-1') as fin_payment_detail_id, amount, writeoffamt FROM fin_payment_scheduledetail WHERE fin_payment_schedule_order = cur_ps.fin_payment_schedule_order AND fin_payment_schedule_invoice IS NULL ORDER BY fin_payment_detail_id, created) LOOP -- if there are more than one psd with same payment detail merge them. IF (cur_psd.fin_payment_detail_id = v_payment_detail_old) THEN UPDATE fin_payment_scheduledetail SET amount = amount + cur_psd.amount, writeoffamt = COALESCE(writeoffamt,0) + COALESCE(cur_psd.writeoffamt,0), updated = TO_DATE(NOW()), updatedby = p_user WHERE fin_payment_scheduledetail_id = v_payment_scheduledetail_old; DELETE FROM fin_payment_scheduledetail WHERE fin_payment_scheduledetail_id = cur_psd.fin_payment_scheduledetail_id; ELSE v_payment_detail_old := COALESCE(cur_psd.fin_payment_detail_id,'-1'); v_payment_scheduledetail_old := cur_psd.fin_payment_scheduledetail_id; END IF; END LOOP; END LOOP; DELETE FROM fin_payment_schedule WHERE (c_invoice_id = p_record_id OR (v_reversalinvoice_id IS NOT NULL AND c_invoice_id = v_reversalinvoice_id)); END; END IF; --update em_aprm_processinvoice column with docaction value UPDATE c_invoice SET em_aprm_processinvoice = docaction WHERE c_invoice_id = p_record_id; -- BEGIN Extension Point SELECT count(*) INTO v_count FROM DUAL WHERE EXISTS (SELECT 1 FROM ad_ep_procedures WHERE ad_extension_points_id = 'E845069AC5724A019D8A5343C396CAE8'); IF (v_count=1) THEN DECLARE v_ep_instance VARCHAR(32); --OBTG:VARCHAR2-- v_extension_point_id VARCHAR(32) := 'E845069AC5724A019D8A5343C396CAE8'; --OBTG:VARCHAR2-- BEGIN v_ep_instance := get_uuid(); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'Record_ID', p_record_id, NULL, NULL, NULL, NULL, NULL, NULL); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'DocAction', p_docaction, NULL, NULL, NULL, NULL, NULL, NULL); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'User', p_user, NULL, NULL, NULL, NULL, NULL, NULL); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'Message', NULL, NULL, NULL, NULL, NULL, NULL, p_message); PERFORM AD_EP_INSTANCE_PARA_INSERT(v_ep_instance, v_extension_point_id, 'Result', NULL, NULL, p_result, NULL, NULL, NULL, NULL); PERFORM AD_EXTENSION_POINT_HANDLER(v_ep_instance, v_extension_point_id); SELECT p_number INTO p_result FROM ad_ep_instance_para WHERE ad_ep_instance_id = v_ep_instance AND parametername LIKE 'Result'; SELECT p_text INTO p_message FROM ad_ep_instance_para WHERE ad_ep_instance_id = v_ep_instance AND parametername LIKE 'Message'; DELETE FROM ad_ep_instance_para WHERE ad_ep_instance_id = v_ep_instance; END; END IF; -- END Extension Point EXCEPTION WHEN OTHERS THEN RAISE NOTICE '%','APRM_GENERATE_PAYMENT_SCHEDULE exception: '|| v_ResultStr; RAISE EXCEPTION '%', SQLERRM; END ; $BODY$
Date: 2026-07-14 07:13:27 Database: postgres Application: DBeaver 26.0.1 - SQLEditor
User: tad Remote: 127.0.0.1 30 1 WARNING: there is already a transaction in progress
Times Reported Most Frequent Error / Event #30
Day Hour Count Jul 14 08 1 - WARNING: there is already a transaction in progress
Date: 2026-07-14 08:30:48 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
31 1 ERROR: Pedido Venta Hosteleria-H/53448,@ActivePoSo@
Times Reported Most Frequent Error / Event #31
Day Hour Count Jul 14 20 1 - ERROR: Pedido Venta Hosteleria-H/53448,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, UpdatedBy=$3 where M_Product_ID=$4Date: 2026-07-14 20:07:28 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
32 1 ERROR: @BASS_DuplicateNativeBillingError@
Times Reported Most Frequent Error / Event #32
Day Hour Count Jul 14 15 1 - ERROR: @BASS_DuplicateNativeBillingError@
Context: PL/pgSQL function bass_bploc_billto_sync_trg() line 48 at RAISE
Statement: insert into C_BPartner_Location (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Name, IsBillTo, IsShipTo, IsPayFrom, IsRemitTo, Phone, C_SalesRegion_ID, C_BPartner_ID, C_Location_ID, IsTaxLocation, EM_Prscrm_Billto, EM_Prscrm_Shipto, EM_Bass_Freightcostrule, EM_Bass_Bpclasification_ID, EM_Bass_Freight_ID, EM_Spcsv_Csvexport, C_BPartner_Location_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24)Date: 2026-07-14 15:54:25 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
33 1 ERROR: @PRUTI_UNIQUE_ORDER_CONTACT@ <br>
Times Reported Most Frequent Error / Event #33
Day Hour Count Jul 14 12 1 - ERROR: @PRUTI_UNIQUE_ORDER_CONTACT@ <br>
Context: PL/pgSQL function pruti_check_contact_columns() line 73 at RAISE
Statement: insert into AD_User (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Name, Email, C_BPartner_ID, Processing, Phone, Firstname, Lastname, IsLocked, EM_Obpas_Senddefault, Grant_Portal_Access, Isexpiredpassword, Commercialauth, Viasms, EM_Prscrm_Accountuser, Viaemail, EM_Pruti_Isbillingcontact, EM_Advcrm_Newsletter, EM_Pruti_Isordercontact, EM_Pruti_Ispurchaseordcontact, EM_Advcrm2_Limit_Funct_Time, EM_Prscrm_Createdbyprocess, EM_Advcrm2_Activate_Sync_Logs, EM_Bass_Comercialcontact, EM_Etas_bad_Password_Attempts, EM_Etas_Enable_Mult_Session, EM_Etas_Issecure_Pw, EM_Advpro2_Responsible, EM_Etas_Isused_Pw, EM_Etas_Isnewuser, EM_Pruti_Isshipmentcontact, EM_Advcrm2_Loglevel, EM_Primpa_Iscontact, AD_User_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40)Date: 2026-07-14 12:44:16 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
34 1 ERROR: El origen de la incidencia és obligatorio
Times Reported Most Frequent Error / Event #34
Day Hour Count Jul 14 18 1 - ERROR: El origen de la incidencia és obligatorio
Context: PL/pgSQL function bass_controlorigincidence() line 13 at RAISE
Statement: insert into C_Order (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, C_DocType_ID, C_DocTypeTarget_ID, IsDelivered, IsInvoiced, IsPrinted, IsSelected, SalesRep_ID, DateOrdered, DatePromised, DateAcct, C_BPartner_ID, BillTo_ID, C_BPartner_Location_ID, IsDiscountPrinted, C_Currency_ID, PaymentRule, C_PaymentTerm_ID, InvoiceRule, DeliveryRule, FreightCostRule, FreightAmt, DeliveryViaRule, M_Shipper_ID, ChargeAmt, PriorityRule, TotalLines, GrandTotal, M_Warehouse_ID, M_PriceList_ID, IsTaxIncluded, Posted, AD_User_ID, CopyFrom, IsSelfService, Generatetemplate, CopyFromPO, FIN_Paymentmethod_ID, RM_PickFromShipment, RM_ReceiveMaterials, RM_CreateInvoice, RM_AddOrphanLine, Calculate_Promotions, Convertquotation, Create_POLines, Iscashvat, EM_OBMFM_Selectfreight, RM_Pickfromreceipt, Cancelandreplace, EM_Advcrm_Newactivity, EM_Advmrp_Isnotproducible, EM_APRM_AddPayment, EM_Obwpl_Generatepicking, EM_Obwpl_Isinpickinglist, EM_Fash_Sendbeforedate, EM_Obwpl_Readypl, EM_OBMFM_Set_Weight, Confirmcancelandreplace, EM_Etpr_Remove_Payment, EM_Etblkc_Bulkcompletion, Iscancelled, EM_Prouti_Order_Stock, EM_Etafdp_Undoclose, EM_Prouti_Pregenerate_Minout, EM_Prouti_Sotopo, EM_Bass_Isproform, EM_Prpp_Generatepicking, EM_Bass_Pickstock, EM_Bass_Pl_Generatepicking, EM_Ml_Select_Product, EM_Bass_Rm_Pickfromshipment, EM_Bass_Create_Returnreceipt, EM_Bass_Area, EM_Bass_Plprocessing, EM_Prrak_Void_Order, EM_Prsc_Commissiontype, EM_Prmag_Void_Order, EM_Bass_Enablepricezero, EM_Prmag_Gift_Wrap, EM_Bass_Change_Bp, EM_Prouti_Reactiveorder, EM_Advcrm2_Processing, EM_Bass_Requerecontrolquality, EM_Bass_Resolve_Incidence, EM_Prb2b_Create_Combinations, EM_Prqc_Generate_Control, EM_Advcrm2_Sendmail, EM_Prqc_Processed, EM_Bass_Re_Cj_Quotation, EM_Bass_Inherit_Quality_Ctrl, EM_Bass_Ap_Cj_Quotation, EM_Advpro2_Picked_Ret_Prodln, EM_Bass_Prqcpriority, EM_Pruti_Ignoreminqty, EM_Bass_Calculateprices, EM_Bass_Registerorder, EM_Bass_Pricebyoutsrcpricelist, EM_Bass_Pendingtoconfirm, EM_Bass_Requirepickup, EM_Bass_Isexportedpickup, EM_Advshi_Calculate_Proposal, EM_Prncx_Ret_Bultos, EM_Prncx_Get_Recogida, EM_Prncx_Ret_Peso, C_Order_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117)Date: 2026-07-14 18:41:57 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
35 1 ERROR: Pedido de Compra Hosteleria-1014085,@ActivePoSo@
Times Reported Most Frequent Error / Event #35
Day Hour Count Jul 14 20 1 - ERROR: Pedido de Compra Hosteleria-1014085,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, EM_Bass_IsExtinct=$3 where M_Product_ID=$4Date: 2026-07-14 20:07:32 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
36 1 ERROR: function generar_vencimientos(...) does not exist
Times Reported Most Frequent Error / Event #36
Day Hour Count Jul 14 07 1 - ERROR: function generar_vencimientos(unknown) does not exist at character 8
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select generar_vencimientos('6A87642A86AD48638976B465D6416E71')Date: 2026-07-14 07:13:24 Database: postgres Application: DBeaver 26.0.1 - SQLEditor
User: tad Remote: 127.0.0.1 37 1 ERROR: incomplete startup packet
Times Reported Most Frequent Error / Event #37
Day Hour Count Jul 14 17 1 - ERROR: incomplete startup packet
Date: 2026-07-14 17:56:24 Database: [unknown] Application: [unknown] User: [unknown] Remote: 195.178.110.137
38 1 ERROR: Pedido Venta Hogar-O/54192,@ActivePoSo@
Times Reported Most Frequent Error / Event #38
Day Hour Count Jul 14 20 1 - ERROR: Pedido Venta Hogar-O/54192,@ActivePoSo@
Context: PL/pgSQL function m_product_trg() line 122 at RAISE
Statement: update M_Product set IsActive=$1, Updated=$2, UpdatedBy=$3 where M_Product_ID=$4Date: 2026-07-14 20:07:18 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
39 1 ERROR: Para el tercero H65928 ya tiene mapeos suitecrm y no se puede cambiar el grupo de terceros, elimina estos registros en ambos sistemas para poder modificar la forma de sincronizar.
Times Reported Most Frequent Error / Event #39
Day Hour Count Jul 14 16 1 - ERROR: Para el tercero H65928 ya tiene mapeos suitecrm y no se puede cambiar el grupo de terceros, elimina estos registros en ambos sistemas para poder modificar la forma de sincronizar.
Context: PL/pgSQL function prscrm_bpmanagesuitecrm_trg() line 37 at RAISE
Statement: update C_BPartner set Updated=$1, C_BP_Group_ID=$2 where C_BPartner_ID=$3Date: 2026-07-14 16:31:25 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1