-
Global information
- Generated on Mon Jul 13 23:00:06 2026
- Log file: /var/log/postgresql/postgresql-16-main.log
- Parsed 56,668 log entries in 5s
- Log start from 2026-07-13 06:00:01 to 2026-07-13 22:00:00
-
Overview
Global Stats
- 246 Number of unique normalized queries
- 4,267 Number of queries
- 6h20m55s Total query duration
- 2026-07-13 06:00:15 First query
- 2026-07-13 21:16:11 Last query
- 5 queries/s at 2026-07-13 14:54:42 Query peak
- 6h20m55s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 6h20m55s Execute total duration
- 615 Number of events
- 41 Number of unique normalized events
- 331 Max number of times the same event was reported
- 0 Number of cancellation
- 706 Total number of automatic vacuums
- 542 Total number of automatic analyzes
- 95 Number temporary file
- 519.54 MiB Max size of temporary file
- 55.17 MiB Average size of temporary file
- 4,561 Total number of sessions
- 417 sessions at 2026-07-13 20:00:01 Session peak
- 7d47m15s Total duration of sessions
- 2m13s Average duration of sessions
- 0 Average queries per session
- 5s10ms Average queries duration per session
- 2m8s Average idle time per session
- 4,571 Total number of connections
- 15 connections/s at 2026-07-13 21:00:00 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-13 14:54:42 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-13 14:54:42 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-13 06:19:35 Date
Queries duration
Key values
- 6h20m55s 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 13 06 214 0ms 3m18s 9s180ms 1m1s 3m50s 5m54s 07 168 0ms 32m42s 35s155ms 48s367ms 15m29s 36m44s 08 312 0ms 1m36s 4s394ms 54s999ms 1m51s 3m3s 09 585 0ms 1m57s 5s16ms 2m9s 3m21s 5m23s 10 479 0ms 1m55s 3s453ms 1m 1m11s 2m22s 11 350 0ms 18s607ms 3s654ms 44s520ms 1m4s 1m28s 12 714 0ms 51s912ms 3s961ms 1m54s 2m2s 2m38s 13 517 0ms 36s167ms 3s644ms 1m11s 1m42s 1m59s 14 217 0ms 3m37s 4s719ms 40s457ms 1m56s 4m 15 334 0ms 10s955ms 2s715ms 41s707ms 47s274ms 1m24s 16 247 0ms 37s967ms 2s899ms 40s489ms 1m 1m20s 17 72 0ms 6s816ms 3s296ms 12s638ms 17s754ms 31s305ms 18 35 0ms 11s806ms 2s811ms 5s774ms 11s414ms 23s736ms 19 2 0ms 3s75ms 3s32ms 0ms 0ms 6s64ms 20 6 0ms 2s255ms 1s367ms 0ms 1s233ms 3s700ms 21 15 0ms 4s57ms 2s368ms 0ms 6s274ms 20s741ms 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 13 06 212 0 9s141ms 36s827ms 1m1s 4m56s 07 166 0 34s826ms 26s95ms 48s367ms 33m2s 08 312 0 4s394ms 34s174ms 54s999ms 1m55s 09 580 0 5s47ms 1m15s 2m9s 4m6s 10 479 0 3s453ms 48s332ms 1m 1m50s 11 346 0 3s680ms 35s941ms 44s520ms 1m8s 12 712 0 3s968ms 1m18s 1m54s 2m10s 13 513 0 3s661ms 56s374ms 1m11s 1m49s 14 212 0 4s545ms 23s778ms 40s457ms 1m56s 15 325 0 2s750ms 27s717ms 41s707ms 47s574ms 16 244 0 2s918ms 15s425ms 40s360ms 1m18s 17 72 0 3s296ms 11s433ms 12s638ms 19s230ms 18 31 0 2s789ms 0ms 5s774ms 11s806ms 19 2 0 3s32ms 0ms 0ms 0ms 20 6 0 1s367ms 0ms 0ms 2s255ms 21 15 0 2s368ms 0ms 0ms 8s504ms 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 13 06 2 0 0 0 13s394ms 0ms 0ms 0ms 07 0 1 0 0 2m3s 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 5 0 1s421ms 0ms 0ms 1s405ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 4 0 1s423ms 0ms 0ms 1s490ms 12 0 0 2 0 1s380ms 0ms 0ms 0ms 13 0 0 4 0 1s395ms 0ms 0ms 0ms 14 0 0 4 0 1s351ms 0ms 0ms 0ms 15 0 0 9 0 1s459ms 0ms 0ms 1s791ms 16 0 0 3 0 1s371ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 2 0 3s309ms 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 13 06 0 214 214.00 0.00% 07 0 167 167.00 0.00% 08 0 312 312.00 0.00% 09 0 585 585.00 0.00% 10 0 478 478.00 0.00% 11 0 349 349.00 0.00% 12 0 714 714.00 0.00% 13 0 516 516.00 0.00% 14 0 216 216.00 0.00% 15 0 334 334.00 0.00% 16 0 247 247.00 0.00% 17 0 72 72.00 0.00% 18 0 35 35.00 0.00% 19 0 2 2.00 0.00% 20 0 6 6.00 0.00% 21 0 15 15.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 13 06 244 0.07/s 07 291 0.08/s 08 377 0.10/s 09 327 0.09/s 10 277 0.08/s 11 275 0.08/s 12 277 0.08/s 13 290 0.08/s 14 281 0.08/s 15 273 0.08/s 16 300 0.08/s 17 273 0.08/s 18 270 0.07/s 19 266 0.07/s 20 267 0.07/s 21 268 0.07/s 22 15 0.00/s Day Hour Count Average Duration Average idle time Jul 13 06 243 2m5s 1m57s 07 294 2m35s 2m15s 08 368 2m25s 2m22s 09 324 3m 2m51s 10 281 2m23s 2m17s 11 280 4m17s 4m12s 12 278 3m53s 3m43s 13 292 2m13s 2m6s 14 282 1m59s 1m55s 15 274 1m45s 1m42s 16 301 1m54s 1m52s 17 271 1m27s 1m26s 18 272 1m18s 1m18s 19 266 1m14s 1m14s 20 267 1m23s 1m23s 21 268 1m10s 1m9s 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 15 connections Connection Peak
- 2026-07-13 21:00:00 Date
Connections per database
Key values
- etendo Main Database
- 4,571 connections Total
Connections per user
Key values
- tad Main User
- 4,571 connections Total
-
Sessions
Simultaneous sessions
Key values
- 417 sessions Session Peak
- 2026-07-13 20:00:01 Date
Histogram of session times
Key values
- 3,426 0-500ms duration
Sessions per database
Key values
- etendo Main Database
- 4,561 sessions Total
Sessions per user
Key values
- tad Main User
- 4,561 sessions Total
Sessions per host
Key values
- 127.0.0.1 Main Host
- 4,561 sessions Total
Sessions per application
Key values
- psql Main Application
- 4,561 sessions Total
Application Count Total Duration Average Duration DBeaver 26.0.1 - Main 3 1h53m57s 37m59s DBeaver 26.0.1 - Main 3 1h54m33s 38m11s DBeaver 26.0.1 - Metadata 3 1h53m54s 37m58s DBeaver 26.0.1 - Metadata 3 1h54m30s 38m10s DBeaver 26.0.1 - Read PostgreSQL database list 3 2s235ms 745ms DBeaver 26.0.1 - SQLEditor 4 1h45m37s 26m24s DBeaver 26.0.1 - SQLEditor 1 1h47m56s 1h47m56s DBeaver 26.0.1 - SQLEditor 2 6m1s 3m DBeaver 26.0.1 - SQLEditor 4 1h43m42s 25m55s DBeaver 26.0.3 - Main 2 2h42m39s 1h21m19s DBeaver 26.0.3 - Metadata 2 3h59m5s 1h59m32s DBeaver 26.0.3 - SQLEditor 2 3h59m2s 1h59m31s DBeaver 26.0.3 - SQLEditor 1 29m14s 29m14s DBeaver 26.1.2 - Main 2 24m10s 12m5s DBeaver 26.1.2 - Metadata 2 24m9s 12m4s DBeaver 26.1.2 - Read PostgreSQL database list 2 807ms 403ms DBeaver 26.1.2 - SQLEditor 4 16m41s 4m10s Mashup Engine 168 14h14m6s 5m5s openbravo 898 5d9h16m33s 8m38s pg_profile 48 11s891ms 247ms psql 3,404 1m4s 18ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 923,043 buffers Checkpoint Peak
- 2026-07-13 09:34:52 Date
- 270.039 seconds Highest write time
- 0.060 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2026-07-13 09:09:52 Date
Checkpoints distance
Key values
- 1,949.05 Mo Distance Peak
- 2026-07-13 20:09:54 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 13 06 140,657 2,822.265s 0.096s 2,822.582s 07 129,160 2,846.434s 0.029s 2,846.54s 08 89,233 2,879.67s 0.042s 2,879.787s 09 1,152,627 3,040.172s 0.074s 3,040.298s 10 78,505 2,748.513s 0.038s 2,748.614s 11 54,190 2,555.669s 0.033s 2,555.754s 12 78,696 3,239.066s 0.045s 3,239.174s 13 55,369 2,852.053s 0.048s 2,852.148s 14 40,723 1,859.924s 0.02s 1,859.986s 15 17,160 1,609.112s 0.02s 1,609.167s 16 17,364 1,674.347s 0.026s 1,674.409s 17 10,727 1,064.94s 0.018s 1,064.991s 18 368,237 1,240.955s 0.024s 1,241.025s 19 5,471 544.4s 0.014s 544.445s 20 155,434 964.083s 0.017s 964.224s 21 6,855 703.697s 0.014s 703.742s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 13 06 0 93 0 3,576 0.049s 0.012s 07 0 37 0 4,022 0.002s 0.012s 08 0 38 0 4,392 0.001s 0.012s 09 0 27 0 4,809 0.039s 0.012s 10 0 32 0 4,409 0.001s 0.012s 11 0 26 0 4,634 0.001s 0.012s 12 0 36 0 5,442 0.001s 0.012s 13 0 23 0 5,183 0.001s 0.012s 14 0 16 0 3,000 0.001s 0.012s 15 0 7 0 2,840 0.001s 0.012s 16 0 7 0 3,442 0.001s 0.012s 17 0 5 0 2,094 0.001s 0.012s 18 0 20 0 1,989 0.001s 0.012s 19 0 2 0 1,113 0.002s 0.012s 20 0 100 0 1,506 0.001s 0.012s 21 0 3 0 1,448 0.001s 0.012s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 13 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 13 06 125,394.42 kB 604,077.08 kB 07 48,805.50 kB 206,325.58 kB 08 54,150.58 kB 111,165.75 kB 09 36,349.08 kB 83,548.67 kB 10 44,280.25 kB 113,084.25 kB 11 34,011.83 kB 78,898.75 kB 12 49,533.83 kB 128,248.33 kB 13 33,703.00 kB 65,252.58 kB 14 22,271.92 kB 72,241.33 kB 15 8,320.75 kB 27,317.00 kB 16 10,204.83 kB 19,419.58 kB 17 6,462.67 kB 16,857.50 kB 18 27,402.08 kB 116,163.58 kB 19 3,251.67 kB 35,937.83 kB 20 136,191.50 kB 610,987.42 kB 21 3,822.75 kB 198,612.08 kB 22 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 519.54 MiB Temp Files size Peak
- 2026-07-13 12:58:23 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2026-07-13 06:03:36 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 13 06 4 313.91 MiB 78.48 MiB 07 3 221.29 MiB 73.76 MiB 08 7 533.27 MiB 76.18 MiB 09 25 1.02 GiB 41.88 MiB 10 6 161.58 MiB 26.93 MiB 11 6 161.58 MiB 26.93 MiB 12 9 1.20 GiB 136.40 MiB 13 17 832.63 MiB 48.98 MiB 14 2 108.23 MiB 54.11 MiB 15 10 386.38 MiB 38.64 MiB 16 3 167.00 MiB 55.67 MiB 17 3 80.79 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 31 891.80 MiB 26.92 MiB 53.86 MiB 28.77 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 = '8CA20C15949D400F9CC6BF3476ABA6B9EDA911D512A144D2961F4D1C6BAAEC46';
Date: 2026-07-13 09:55:05 Duration: 2s1ms 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 = 'D50650BB18034BC1B646AD27C70EEA4A9D335AEEC64F46118B25BC10698E54E1';
Date: 2026-07-13 09:55:19 Duration: 1s209ms 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 = '1A110140B6C6477CB33C4646277ACF88498FB3D44A06402FA2DCFFC006AE2EBD';
Date: 2026-07-13 09:25:58 Duration: 1s191ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
2 15 1.55 GiB 77.09 MiB 113.14 MiB 105.92 MiB select "_"."c_order_id" AS "c_order_id", ;-
select "_"."c_order_id" as "c_order_id", ;
Date: 2026-07-13 06:06:40 Duration: 0ms Database: etendo User: tad Remote: 164.132.218.10 Application: Mashup Engine
3 5 188.51 MiB 26.93 MiB 80.79 MiB 37.70 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 ('0BB42F51EB85441C8926F6CD9C748B08', 'A822D59818F24B54A13B4C0F94F5F58E', '54A5B3A8B7A64B00902D6E13EBA44267', '2184ACD55B954DA3806614B51CB32D80', '355D804181BD4DE39C331BAE86F3CABE', 'C41A286ED619484995AFDC109F531984', '5594687CF3284DE180877163E1D14C30', 'F06475B87A28429A908491A7CBBF7135', '71D9610D2DE04207B9A47088E16165F2', 'DE48946F4A524AFD8DBBC749A5192E22', '014922F1A05146A3836D8DB2A2490897', '563D647A5ABE45F0AB4997466F9793B7', 'B94FDA31ED4F4771B2F21C27382563E0', '6E333B095F1345CC95BA5F233B6E8947', 'B10288815B1642AEA7A7EF023FCCE5BE', '3A51791B0C584A8F924760A8C196EE14', '6ADF542B93E14E92940F535E92E366A4', '39666F411CFA452E8F07FABE9E8522BF', '4DB45D9089684CED930F672D390DC264', '27EFABF5B57A4F8793285847E4E35CD7', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31');
Date: 2026-07-13 09:55:02 Duration: 6s211ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:08 Duration: 5s642ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:01 Duration: 5s427ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
4 4 134.64 MiB 26.93 MiB 53.85 MiB 33.66 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 ('FD6707B456EC45FE838D3DD67BB6E801', 'FD3E4C4FA3FC4D66B0E46A57D3211FC6', 'FB27019D9EF144E592FAE5F4B7EE5C5C', 'F9703512F3F843779509C3323BB31C7C', 'F82FE57DD29942E88CF3027C3B791C29', 'E9E81468F44545D8BE2CC1E448E12C4E', 'E9A060EFD0E5446DABA33C2BACE035F9', 'E92F64BA99C3485DB910A42F24C6CAED', 'E728F3F57C754EDC9C542E202A4442EF', 'E5187FAFA3F34C9FA5B2EE719CA67BF3', 'E3EB4ED7163949599419D2839AEAB025', 'E3E303659CE84C7297052ACDAC59A150', 'E363FBB5B0564A1C8CC61EB2EC107B98', 'E1D6998CA8114194BC68CCD1CAA036CE', 'E1BA83C4CCC546CE92EC341045928D56', 'E0BC183E47114F9A86F017C2A645C404', 'E086F3E75EF84EDFA6B79ADE3ED3CCA9', 'DF345EB28161492D9B15C6E58687A89C', 'DC8D7A17637A4B49A9727A54D05E5645', 'DC65447FBEB94959931E1BBC4D6A7978', 'D4FCA20C43CC4F2CB193E7CAAFE5B073', 'D011C32D326044FC9B00BD960252C39F', 'C875EFB50869405EBD887D54B76D3DEF', 'C73A6481A7BD4B3B9718961737C6664C', 'C722AC2EDF8F4EC29A8999F8F298765E', 'C4E14ED64D204AD89D22E0CAA4138BEC', 'C407E71B77964867A3BF1F55FDC6D222', 'C0BE9733690B4D4BBC05D9D8B90B4DB4', 'BF9B56078E3F4BA48CBD8DADD4447F46', 'B481D319EE3A473E8BA6D9DDB9596977', 'B2CF8C8E9867470EAD25D41BC69D1FCE', 'AF7FA6F8069F4155B8701321657240CC', 'AB95029FA72D406D94A8E734AA9FB1E6', 'AA8017727B3043C1ABC470CFE0270E06', 'A4DCACA54B7549DD96A160CB58E294E5', 'A3F73157838047D6BAF15D571BC56503', 'A1C13B71F2FC481EA6D674EB23A51E99', 'A07855405BCD4324B9D2F4C108CB3CBC', '9BC328D8F59749D5933D1E9FC5664469', '9799F4DF0C7141598DBCB0BF106F3FB1', '96A094180FCF4056BDEE10CE7788B872', '92D2E743CCAD4D308261E6F25DF5D29D', '90F3119A88BA4F3F9662CA9056F27177', '8AFB8877279B43488302459597CB4FFA', '89C86F0E75F64E27B92CC897C0E5DEA3', '8954245765204F3886847ED32B94A437', '85E82CE6D06B4A2BB842E23B807BE8A9', '84132F0E273440EE9E901CAFEB75D875', '83A7DF29BDE74C73AD7570B5802035ED', '80E586EAB6694E6EB52D7C69B31927D9');
Date: 2026-07-13 09:55:02 Duration: 3s273ms 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 ('6AD7F10EB851485F954E8E14E503B4A2', '3939E053FEAD43DFA861161AD8E6F1C1', '6FF6A9868E59422E8AC02D97D02201C5', '53FDD835343A4CFFA6CFF8417CBCC105', 'EA712E42608F445189341D7AD4835FF2', 'E25C2682CD8F475BA611463822A3DA14', 'B3E8810870FE47FC864C66EBEAC3FD68', '7622BF61C25745A0BBCA4834EDE8E3A8', '3603696CA9E8492F8FB6DE5E0628C762', 'FB0F3DE7531F44BE95C2AF86D476CBB3', 'ED881C8E4C4E4F6FA8D8DB8BC47DEB6C', 'C4E8E16B0BC64FC39542AC848E6801A6', 'BF8996C29F884DB185F3AD33A90A8D74', 'BED47368CD214C428E1A759521A9F481', 'A953C8C49A284C89AABD622587A2EFAF', 'A2D8C27920594268A1E2AB2DEB7D4E1C', '865F9098DF2E4C98984FCD453C44BEDF', '7BB5B89683CA47738048468E67EAF04A', '5D9AE63D68D1496DB427C02E43EC71F0', '00B93BB291704E87B7932A7568BFF58C', 'F449D55E6D234225825ADF602AF7D215', '9E0059A3478346DFB9B882BF455FAE22', '9782A29EF4C44B1DA9E5ADC00D3D07A3', '6392E74F29444F0EA6DF3C3F1732A302', '0DC0FDABA6B74379A32E2ED1CB4E6E84', 'A0CA3418E3514833BBA8CAE67D0B9081', '8AFF349E811647D3859891A7EF57AE71', 'BE97F918BDCA40F08E43AA7BC1892FDE', 'DFAD5A04850043249AB6E4B6BE0A8788', 'A2234D9FBBD24090897E10785B7D8104', '4C5B0152B7E44069A6CBB3098551A68D', '319B4582F09447218BC73C0B04372713', 'AA3F291B708348C19AF04205DCF97D11', '4CFC3BFBB8D848CD8D8130CC876C99E0', 'F8628C9FA9AD43709796466CAA0C2513', '8124FF3F398240B0A78DC9A886F144EA', '63D63140B319402D8B26E6AFD560372D', '11E6839DC01F4934A8CDE4D2D778E8B8', '6941917D982E4B2B8262F07EBA3213CC', '4BACF4012EE341CEABC456F441C36813', 'C67F799AF63D4CFA85C2C20BE34F384A', '76C0EA935C85432DA5CB938E7DEAD27C', '575B41E35F3347DBADB95AAA4B11EAFF', '115628D8B27C42C29476DFD005CD5F6C', 'EEA56D1AF1954562BC433C8B59D6ABF0', 'DE82C2425F2D4CE68E45A9EA750BCFCD', 'CB0E8642841A4473A3DFECAAC2706961', 'BA2EC570D53B430F9872FB838A9944F4', '849BAB33579B4B72B92036B37E001469', '440963A14A5D43C180EE4DF495159C2C');
Date: 2026-07-13 09:55:06 Duration: 2s951ms 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 ('799418B2AC7848BDAC62B82A054B3271', '78A2612B2CB34AE486756A5D6F4DF424', '76F349146F4749BD971C086A2C18FF34', '74C32E454B824918AE04833AFF4B0405', '73E89FD455074F149119EF131A41BC54', '6E11896C4D5741D9A39212F971D4E4E1', '6DC65DC610A640FD8D159B946069DAD1', '6BAF5606C77E4836BC6EC0F768EC6D07', '6AD7F10EB851485F954E8E14E503B4A2', '69BDDB7A289F4A1D965DCFE896A7562F', '69296FAEBA3147F48F017C6D87601F98', '6622683F051E48D88FE6F0C2E3AB7612', '64A491B4052041B5B01C16AF22603F5B', '5C226CCF871045D2AC4924B521796787', '57EADAA02B9449D9BD4F05EFE0280CF3', '5781EF9DF04741AD9DBCAC7B0973A41E', '520BD3E6CEA54E0DAE91D0759D5DAEBE', '4DF89DF9F79B40FDACB6BA3C3C8D3013', '4623A4AEF92C420B9127CE33C963EF3F', '456AA640CC8E428381A51F1F42FA5FAA', '44D4413FCFE348C9953B09637FD539AA', '44A18C85A2004A6BAF4FA963E2F276B9', '44817479462942FDB50698A462E7112C', '446D845BA8494189B4CCCC8C007174F6', '4368E034387344319D8D330CCBB43C68', '41153F308CE94861AB0A2423FB535EA0', '3D0B8FB6AEDE457FBD3BD8D6FDE03854', '3CDA31BEF5974736B0323EE0CF810249', '39C0B7EA879246EFA7E6BDF414DE062F', '3686C920C5374337A35F72D269543A23', '35333423F5CB46668C0E54AF69A6E143', '34F0B63CCB734D57BA066D3316A3FDC0', '32768993DFF341769454F9B92F319FE6', '30A77907B98D49C8BA048218CDD859B2', '309BD87178A342A4902438D21105B049', '2C8C857925124F019383315295961417', '29D04342CD2A4DFDBC4C93FC6F013F5E', '24B95B6110BD40E6821ACDE6DA76A917', '23F5C8AA5F814B4CA34599AEE25B13BA', '2342F852221A4CBBB98B03345CA33643', '1F92DDDA30844734A3F481A13C4CEAD9', '1E9825039477418094986B3DFB1FE6A0', '1C9D459D07634362B60623BCEEBD9121', '1A36E21A64824CF0AF3D9876D79D863E', '1687DA2AFD064A6394D7355905FF10A1', '15034DB41382408392F212FB2BC1D797', '1124D4716FE849DF90ACCE066359D92D', '109ACC0220B247BEB9CE664F14B650C2', '10529E04652D4EFCAE2AC4DBA3BB3214', '0E861E32CE6F49A495C51BFA8084E96D');
Date: 2026-07-13 09:55:05 Duration: 2s900ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
5 3 93.29 MiB 31.08 MiB 31.12 MiB 31.10 MiB select "_"."m_inout_id" AS "m_inout_id", ;-
select "_"."m_inout_id" as "m_inout_id", ;
Date: 2026-07-13 07:33:13 Duration: 0ms Database: etendo User: tad Remote: 164.132.218.10 Application: Mashup Engine
6 3 55.47 MiB 1.61 MiB 26.93 MiB 18.49 MiB select * from m_inout_post0 (?);-
SELECT * FROM M_InOut_Post0 ('0D8F7D11DBEE45E5BA0FCB433DD6D24B');
Date: 2026-07-13 06:00:50 Duration: 35s655ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM M_InOut_Post0 ('CFECED7F16474B2E984558A09382D471');
Date: 2026-07-13 06:04:32 Duration: 21s667ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM M_InOut_Post0 ('AE40295C9F7A4048B064E9C8E2356254');
Date: 2026-07-13 06:04:10 Duration: 19s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
7 2 277.41 MiB 87.54 MiB 189.87 MiB 138.70 MiB select materialmg0_.m_reservation_id as m_reserv1_883_, materialmg0_.ad_client_id as ad_clien2_883_, materialmg0_.ad_org_id as ad_org_i3_883_, materialmg0_.isactive as isactive4_883_, materialmg0_.created as created5_883_, materialmg0_.createdby as createdb6_883_, materialmg0_.updated as updated7_883_, materialmg0_.updatedby as updatedb8_883_, materialmg0_.m_product_id as m_produc9_883_, materialmg0_.quantity as quantit10_883_, materialmg0_.c_uom_id as c_uom_i11_883_, materialmg0_.c_orderline_id as c_order12_883_, materialmg0_.ad_user_id as ad_user13_883_, materialmg0_.c_bpartner_id as c_bpart14_883_, materialmg0_.m_warehouse_id as m_wareh15_883_, materialmg0_.m_attributesetinstance_id as m_attri16_883_, materialmg0_.m_locator_id as m_locat17_883_, materialmg0_.reservedqty as reserve18_883_, materialmg0_.releasedqty as release19_883_, materialmg0_.res_status as res_sta20_883_, materialmg0_.res_process as res_pro21_883_, materialmg0_.managereservation_pe as manager22_883_, materialmg0_.em_obdo_distorderline_id as em_obdo23_883_, materialmg0_.em_obwpl_generatedbypicking as em_obwp24_883_, materialmg0_.reservedgoodmnt_pe as reserve25_883_, materialmg0_.em_advshi_shipprop_gen as em_advs26_883_, materialmg0_.em_advshi_total_pp as em_advs27_883_, materialmg0_.em_advshi_total_no_pp as em_advs28_883_, materialmg0_.em_bass_autoreservation as em_bass29_883_ from m_reservation materialmg0_ left outer join c_orderline orderline1_ on materialmg0_.c_orderline_id = orderline1_.c_orderline_id left outer join c_order order2_ on orderline1_.c_order_id = order2_.c_order_id where (materialmg0_.ad_org_id in (...)) and (materialmg0_.ad_client_id in (...)) order by orderline1_.qtyordered desc, orderline1_.priceactual desc, order2_.documentno desc, order2_.dateordered desc, order2_.grandtotal desc, orderline1_.line desc, orderline1_.linenetamt desc, materialmg0_.m_reservation_id desc limit ?;-
select materialmg0_.M_Reservation_ID as m_reserv1_883_, materialmg0_.AD_Client_ID as ad_clien2_883_, materialmg0_.AD_Org_ID as ad_org_i3_883_, materialmg0_.Isactive as isactive4_883_, materialmg0_.Created as created5_883_, materialmg0_.Createdby as createdb6_883_, materialmg0_.Updated as updated7_883_, materialmg0_.Updatedby as updatedb8_883_, materialmg0_.M_Product_ID as m_produc9_883_, materialmg0_.Quantity as quantit10_883_, materialmg0_.C_Uom_ID as c_uom_i11_883_, materialmg0_.C_Orderline_ID as c_order12_883_, materialmg0_.AD_User_ID as ad_user13_883_, materialmg0_.C_Bpartner_ID as c_bpart14_883_, materialmg0_.M_Warehouse_ID as m_wareh15_883_, materialmg0_.M_Attributesetinstance_ID as m_attri16_883_, materialmg0_.M_Locator_ID as m_locat17_883_, materialmg0_.Reservedqty as reserve18_883_, materialmg0_.ReleasedQty as release19_883_, materialmg0_.RES_Status as res_sta20_883_, materialmg0_.RES_Process as res_pro21_883_, materialmg0_.Managereservation_Pe as manager22_883_, materialmg0_.EM_Obdo_Distorderline_ID as em_obdo23_883_, materialmg0_.EM_OBWPL_Generatedbypicking as em_obwp24_883_, materialmg0_.Reservedgoodmnt_Pe as reserve25_883_, materialmg0_.EM_Advshi_Shipprop_Gen as em_advs26_883_, materialmg0_.EM_Advshi_Total_Pp as em_advs27_883_, materialmg0_.EM_Advshi_Total_No_Pp as em_advs28_883_, materialmg0_.EM_Bass_Autoreservation as em_bass29_883_ from M_Reservation materialmg0_ left outer join C_OrderLine orderline1_ on materialmg0_.C_Orderline_ID = orderline1_.C_OrderLine_ID left outer join C_Order order2_ on orderline1_.C_Order_ID = order2_.C_Order_ID where (materialmg0_.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 (materialmg0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by orderline1_.QtyOrdered desc, orderline1_.PriceActual desc, order2_.DocumentNo desc, order2_.DateOrdered desc, order2_.GrandTotal desc, orderline1_.Line desc, orderline1_.LineNetAmt desc, materialmg0_.M_Reservation_ID desc limit '101';
Date: 2026-07-13 13:40:49 Duration: 4s721ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select materialmg0_.M_Reservation_ID as m_reserv1_883_, materialmg0_.AD_Client_ID as ad_clien2_883_, materialmg0_.AD_Org_ID as ad_org_i3_883_, materialmg0_.Isactive as isactive4_883_, materialmg0_.Created as created5_883_, materialmg0_.Createdby as createdb6_883_, materialmg0_.Updated as updated7_883_, materialmg0_.Updatedby as updatedb8_883_, materialmg0_.M_Product_ID as m_produc9_883_, materialmg0_.Quantity as quantit10_883_, materialmg0_.C_Uom_ID as c_uom_i11_883_, materialmg0_.C_Orderline_ID as c_order12_883_, materialmg0_.AD_User_ID as ad_user13_883_, materialmg0_.C_Bpartner_ID as c_bpart14_883_, materialmg0_.M_Warehouse_ID as m_wareh15_883_, materialmg0_.M_Attributesetinstance_ID as m_attri16_883_, materialmg0_.M_Locator_ID as m_locat17_883_, materialmg0_.Reservedqty as reserve18_883_, materialmg0_.ReleasedQty as release19_883_, materialmg0_.RES_Status as res_sta20_883_, materialmg0_.RES_Process as res_pro21_883_, materialmg0_.Managereservation_Pe as manager22_883_, materialmg0_.EM_Obdo_Distorderline_ID as em_obdo23_883_, materialmg0_.EM_OBWPL_Generatedbypicking as em_obwp24_883_, materialmg0_.Reservedgoodmnt_Pe as reserve25_883_, materialmg0_.EM_Advshi_Shipprop_Gen as em_advs26_883_, materialmg0_.EM_Advshi_Total_Pp as em_advs27_883_, materialmg0_.EM_Advshi_Total_No_Pp as em_advs28_883_, materialmg0_.EM_Bass_Autoreservation as em_bass29_883_ from M_Reservation materialmg0_ left outer join C_OrderLine orderline1_ on materialmg0_.C_Orderline_ID = orderline1_.C_OrderLine_ID left outer join C_Order order2_ on orderline1_.C_Order_ID = order2_.C_Order_ID where (materialmg0_.AD_Org_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)) and (materialmg0_.AD_Client_ID in ($22, $23)) order by orderline1_.QtyOrdered desc, orderline1_.PriceActual desc, order2_.DocumentNo desc, order2_.DateOrdered desc, order2_.GrandTotal desc, orderline1_.Line desc, orderline1_.LineNetAmt desc, materialmg0_.M_Reservation_ID desc limit $24;
Date: 2026-07-13 13:40:48 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
8 2 1.01 GiB 519.54 MiB 519.54 MiB 519.54 MiB select obwpack_pa0_.obwpack_packingh_id as obwpack_1_1080_, obwpack_pa0_.ad_client_id as ad_clien2_1080_, obwpack_pa0_.ad_org_id as ad_org_i3_1080_, obwpack_pa0_.isactive as isactive4_1080_, obwpack_pa0_.created as created5_1080_, obwpack_pa0_.createdby as createdb6_1080_, obwpack_pa0_.updated as updated7_1080_, obwpack_pa0_.updatedby as updatedb8_1080_, obwpack_pa0_.packdate as packdate9_1080_, obwpack_pa0_.c_bpartner_id as c_bpart10_1080_, obwpack_pa0_.c_bpartner_location_id as c_bpart11_1080_, obwpack_pa0_.description as descrip12_1080_, obwpack_pa0_.pegoodshipment as pegoods13_1080_, obwpack_pa0_.processpack as process14_1080_, obwpack_pa0_.processed as process15_1080_, obwpack_pa0_.reactivated as reactiv16_1080_, obwpack_pa0_.totalboxes as totalbo17_1080_, obwpack_pa0_.totalweight as totalwe18_1080_, obwpack_pa0_.c_uom_id as c_uom_i19_1080_, obwpack_pa0_.em_obeuci_sendpack as em_obeu20_1080_, obwpack_pa0_.em_bass_seurprinttag as em_bass21_1080_, obwpack_pa0_.em_bass_cancelintegration as em_bass22_1080_, obwpack_pa0_.em_obeuci_int_status as em_obeu23_1080_, obwpack_pa0_.em_bass_cancelintegrationby as em_bass24_1080_, obwpack_pa0_.em_obeuci_freight_id as em_obeu25_1080_, obwpack_pa0_.documentno as documen26_1080_, obwpack_pa0_.em_bass_testbutton as em_bass27_1080_, obwpack_pa0_.em_obeuses_printtrace as em_obeu28_1080_, obwpack_pa0_.em_printst_carrier_label as em_prin29_1080_, obwpack_pa0_.em_obeuses_label as em_obeu30_1080_, obwpack_pa0_.em_primpck_label as em_prim31_1080_, obwpack_pa0_.em_bass_asn as em_bass32_1080_, obwpack_pa0_.em_pramz_totalpallet as em_pram33_1080_, obwpack_pa0_.em_bass_trackurl as em_bass34_1080_, obwpack_pa0_.em_pramz_request_label as em_pram35_1080_, obwpack_pa0_.em_prrdr_label as em_prrd36_1080_, obwpack_pa0_.em_prncx_label as em_prnc37_1080_, obwpack_pa0_.em_prcm_dateprint as em_prcm38_1080_, obwpack_pa0_.em_prcm_integrationdate as em_prcm39_1080_ from obwpack_packingh obwpack_pa0_ where (obwpack_pa0_.ad_org_id in (...)) and (obwpack_pa0_.ad_client_id in (...)) order by obwpack_pa0_.packdate desc, obwpack_pa0_.obwpack_packingh_id desc limit ? offset ?;-
select obwpack_pa0_.Obwpack_Packingh_ID as obwpack_1_1080_, obwpack_pa0_.AD_Client_ID as ad_clien2_1080_, obwpack_pa0_.AD_Org_ID as ad_org_i3_1080_, obwpack_pa0_.Isactive as isactive4_1080_, obwpack_pa0_.Created as created5_1080_, obwpack_pa0_.Createdby as createdb6_1080_, obwpack_pa0_.Updated as updated7_1080_, obwpack_pa0_.Updatedby as updatedb8_1080_, obwpack_pa0_.Packdate as packdate9_1080_, obwpack_pa0_.C_Bpartner_ID as c_bpart10_1080_, obwpack_pa0_.C_Bpartner_Location_ID as c_bpart11_1080_, obwpack_pa0_.Description as descrip12_1080_, obwpack_pa0_.Pegoodshipment as pegoods13_1080_, obwpack_pa0_.Processpack as process14_1080_, obwpack_pa0_.Processed as process15_1080_, obwpack_pa0_.Reactivated as reactiv16_1080_, obwpack_pa0_.Totalboxes as totalbo17_1080_, obwpack_pa0_.Totalweight as totalwe18_1080_, obwpack_pa0_.C_Uom_ID as c_uom_i19_1080_, obwpack_pa0_.EM_OBEUCI_Sendpack as em_obeu20_1080_, obwpack_pa0_.EM_Bass_Seurprinttag as em_bass21_1080_, obwpack_pa0_.EM_Bass_Cancelintegration as em_bass22_1080_, obwpack_pa0_.EM_OBEUCI_Int_Status as em_obeu23_1080_, obwpack_pa0_.EM_Bass_Cancelintegrationby as em_bass24_1080_, obwpack_pa0_.EM_OBEUCI_Freight_ID as em_obeu25_1080_, obwpack_pa0_.DocumentNo as documen26_1080_, obwpack_pa0_.EM_Bass_Testbutton as em_bass27_1080_, obwpack_pa0_.EM_OBEUSES_Printtrace as em_obeu28_1080_, obwpack_pa0_.EM_Printst_Carrier_Label as em_prin29_1080_, obwpack_pa0_.EM_Obeuses_Label as em_obeu30_1080_, obwpack_pa0_.EM_Primpck_Label as em_prim31_1080_, obwpack_pa0_.EM_Bass_Asn as em_bass32_1080_, obwpack_pa0_.EM_Pramz_Totalpallet as em_pram33_1080_, obwpack_pa0_.EM_Bass_Trackurl as em_bass34_1080_, obwpack_pa0_.EM_Pramz_Request_Label as em_pram35_1080_, obwpack_pa0_.EM_Prrdr_Label as em_prrd36_1080_, obwpack_pa0_.EM_Prncx_Label as em_prnc37_1080_, obwpack_pa0_.EM_Prcm_Dateprint as em_prcm38_1080_, obwpack_pa0_.EM_Prcm_Integrationdate as em_prcm39_1080_ from obwpack_packingh obwpack_pa0_ where (obwpack_pa0_.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 (obwpack_pa0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by obwpack_pa0_.Packdate desc, obwpack_pa0_.Obwpack_Packingh_ID desc limit '101' offset '295664';
Date: 2026-07-13 12:58:23 Duration: 1s352ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
select obwpack_pa0_.Obwpack_Packingh_ID as obwpack_1_1080_, obwpack_pa0_.AD_Client_ID as ad_clien2_1080_, obwpack_pa0_.AD_Org_ID as ad_org_i3_1080_, obwpack_pa0_.Isactive as isactive4_1080_, obwpack_pa0_.Created as created5_1080_, obwpack_pa0_.Createdby as createdb6_1080_, obwpack_pa0_.Updated as updated7_1080_, obwpack_pa0_.Updatedby as updatedb8_1080_, obwpack_pa0_.Packdate as packdate9_1080_, obwpack_pa0_.C_Bpartner_ID as c_bpart10_1080_, obwpack_pa0_.C_Bpartner_Location_ID as c_bpart11_1080_, obwpack_pa0_.Description as descrip12_1080_, obwpack_pa0_.Pegoodshipment as pegoods13_1080_, obwpack_pa0_.Processpack as process14_1080_, obwpack_pa0_.Processed as process15_1080_, obwpack_pa0_.Reactivated as reactiv16_1080_, obwpack_pa0_.Totalboxes as totalbo17_1080_, obwpack_pa0_.Totalweight as totalwe18_1080_, obwpack_pa0_.C_Uom_ID as c_uom_i19_1080_, obwpack_pa0_.EM_OBEUCI_Sendpack as em_obeu20_1080_, obwpack_pa0_.EM_Bass_Seurprinttag as em_bass21_1080_, obwpack_pa0_.EM_Bass_Cancelintegration as em_bass22_1080_, obwpack_pa0_.EM_OBEUCI_Int_Status as em_obeu23_1080_, obwpack_pa0_.EM_Bass_Cancelintegrationby as em_bass24_1080_, obwpack_pa0_.EM_OBEUCI_Freight_ID as em_obeu25_1080_, obwpack_pa0_.DocumentNo as documen26_1080_, obwpack_pa0_.EM_Bass_Testbutton as em_bass27_1080_, obwpack_pa0_.EM_OBEUSES_Printtrace as em_obeu28_1080_, obwpack_pa0_.EM_Printst_Carrier_Label as em_prin29_1080_, obwpack_pa0_.EM_Obeuses_Label as em_obeu30_1080_, obwpack_pa0_.EM_Primpck_Label as em_prim31_1080_, obwpack_pa0_.EM_Bass_Asn as em_bass32_1080_, obwpack_pa0_.EM_Pramz_Totalpallet as em_pram33_1080_, obwpack_pa0_.EM_Bass_Trackurl as em_bass34_1080_, obwpack_pa0_.EM_Pramz_Request_Label as em_pram35_1080_, obwpack_pa0_.EM_Prrdr_Label as em_prrd36_1080_, obwpack_pa0_.EM_Prncx_Label as em_prnc37_1080_, obwpack_pa0_.EM_Prcm_Dateprint as em_prcm38_1080_, obwpack_pa0_.EM_Prcm_Integrationdate as em_prcm39_1080_ from obwpack_packingh obwpack_pa0_ where (obwpack_pa0_.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 (obwpack_pa0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by obwpack_pa0_.Packdate desc, obwpack_pa0_.Obwpack_Packingh_ID desc limit '101' offset '295664';
Date: 2026-07-13 12:58:28 Duration: 1s255ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
9 2 214.12 MiB 107.05 MiB 107.07 MiB 107.06 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-13 06:39:20 Duration: 2s475ms 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-13 13:58:28 Duration: 1s572ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
10 2 93.75 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('13-07-2026', 'dd-MM-yyyy')));
Date: 2026-07-13 06:03:36 Duration: 16s770ms 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('13-07-2026', 'dd-MM-yyyy')));
Date: 2026-07-13 06:03:36 Duration: 0ms 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 select manufactur0_.ma_workrequirement_id as ma_workr1_960_, manufactur0_.ad_client_id as ad_clien2_960_, manufactur0_.ad_org_id as ad_org_i3_960_, manufactur0_.isactive as isactive4_960_, manufactur0_.created as created5_960_, manufactur0_.createdby as createdb6_960_, manufactur0_.updated as updated7_960_, manufactur0_.updatedby as updatedb8_960_, manufactur0_.name as name9_960_, manufactur0_.ma_processplan_id as ma_proc10_960_, manufactur0_.quantity as quantit11_960_, manufactur0_.launchdate as launchd12_960_, manufactur0_.startdate as startda13_960_, manufactur0_.enddate as enddate14_960_, manufactur0_.closed as closed15_960_, manufactur0_.explote as explote16_960_, manufactur0_.processed as process17_960_, manufactur0_.documentno as documen18_960_, manufactur0_.explodephases as explode19_960_, manufactur0_.secondaryqty as seconda20_960_, manufactur0_.secondaryunit as seconda21_960_, manufactur0_.conversionrate as convers22_960_, manufactur0_.estimatedtime as estimat23_960_, manufactur0_.runtime as runtime24_960_, manufactur0_.c_doctype_id as c_docty25_960_, manufactur0_.createworkrequirement as createw26_960_, manufactur0_.em_advmrp_releaseno as em_advm27_960_, manufactur0_.em_advpro2_description as em_advp28_960_, manufactur0_.em_advpro2_orderline_id as em_advp29_960_, manufactur0_.em_advpro2_product_id as em_advp30_960_, manufactur0_.em_advpro2_create_ows as em_advp31_960_, manufactur0_.em_advpro2_unprocess as em_advp32_960_, manufactur0_.em_advpro2_datepromised as em_advp33_960_, manufactur0_.em_advpro2_forecastline_id as em_advp34_960_, manufactur0_.em_advpro2_explotephase as em_advp35_960_, manufactur0_.em_advpro2_launch_num as em_advp36_960_, manufactur0_.em_advpro2_extra_percentage as em_advp37_960_, manufactur0_.em_prqc_batchofphases_id as em_prqc38_960_, manufactur0_.em_prqc_processed as em_prqc39_960_, manufactur0_.em_prqc_generate_control as em_prqc40_960_, manufactur0_.em_advpro2_gwr_wr_id as em_advp41_960_ from ma_workrequirement manufactur0_ cross join ma_workrequirement workrequir1_ where manufactur0_.ma_workrequirement_id = workrequir1_.ma_workrequirement_id and (( select advpro2_deliverystatus (workrequir1_.ma_workrequirement_id) from dual) = ? or ( select advpro2_deliverystatus (workrequir1_.ma_workrequirement_id) from dual) = ?) and (manufactur0_.em_prqc_batchofphases_id is null) and (manufactur0_.ad_org_id in (...)) and (manufactur0_.ad_client_id in (...)) order by manufactur0_.documentno desc, manufactur0_.ma_workrequirement_id desc limit ?;-
select manufactur0_.MA_Workrequirement_ID as ma_workr1_960_, manufactur0_.AD_Client_ID as ad_clien2_960_, manufactur0_.AD_Org_ID as ad_org_i3_960_, manufactur0_.IsActive as isactive4_960_, manufactur0_.Created as created5_960_, manufactur0_.Createdby as createdb6_960_, manufactur0_.Updated as updated7_960_, manufactur0_.Updatedby as updatedb8_960_, manufactur0_.Name as name9_960_, manufactur0_.MA_Processplan_ID as ma_proc10_960_, manufactur0_.Quantity as quantit11_960_, manufactur0_.Launchdate as launchd12_960_, manufactur0_.StartDate as startda13_960_, manufactur0_.EndDate as enddate14_960_, manufactur0_.Closed as closed15_960_, manufactur0_.Explote as explote16_960_, manufactur0_.Processed as process17_960_, manufactur0_.DocumentNo as documen18_960_, manufactur0_.Explodephases as explode19_960_, manufactur0_.Secondaryqty as seconda20_960_, manufactur0_.Secondaryunit as seconda21_960_, manufactur0_.Conversionrate as convers22_960_, manufactur0_.Estimatedtime as estimat23_960_, manufactur0_.Runtime as runtime24_960_, manufactur0_.C_Doctype_ID as c_docty25_960_, manufactur0_.Createworkrequirement as createw26_960_, manufactur0_.EM_Advmrp_Releaseno as em_advm27_960_, manufactur0_.EM_Advpro2_Description as em_advp28_960_, manufactur0_.EM_Advpro2_Orderline_ID as em_advp29_960_, manufactur0_.EM_Advpro2_Product_ID as em_advp30_960_, manufactur0_.EM_Advpro2_Create_Ows as em_advp31_960_, manufactur0_.EM_Advpro2_Unprocess as em_advp32_960_, manufactur0_.EM_Advpro2_Datepromised as em_advp33_960_, manufactur0_.EM_Advpro2_Forecastline_ID as em_advp34_960_, manufactur0_.EM_Advpro2_Explotephase as em_advp35_960_, manufactur0_.EM_Advpro2_Launch_Num as em_advp36_960_, manufactur0_.EM_Advpro2_Extra_Percentage as em_advp37_960_, manufactur0_.EM_Prqc_Batchofphases_ID as em_prqc38_960_, manufactur0_.EM_Prqc_Processed as em_prqc39_960_, manufactur0_.EM_Prqc_Generate_Control as em_prqc40_960_, manufactur0_.EM_Advpro2_Gwr_Wr_ID as em_advp41_960_ from MA_WorkRequirement manufactur0_ cross join MA_WorkRequirement workrequir1_ where manufactur0_.MA_Workrequirement_ID = workrequir1_.MA_Workrequirement_ID and (( select advpro2_deliverystatus (workrequir1_.ma_workrequirement_id) from dual) = 'UN' or ( select advpro2_deliverystatus (workrequir1_.ma_workrequirement_id) from dual) = 'PD') and (manufactur0_.EM_Prqc_Batchofphases_ID is null) and (manufactur0_.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 (manufactur0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by manufactur0_.DocumentNo desc, manufactur0_.MA_Workrequirement_ID desc limit '101';
Date: 2026-07-13 12:39:18 Duration: 4s706ms 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 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-13 12:36:05 Duration: 7s89ms 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 ('0A9F98AFA3334154BB0DB3E991E35DD6', '0F5629312C90496B93241AC849B84785', '2F50558E37CF42B088AC5EE60DB5F9C0', 'D40E1880A3FA426DBF59A3FBED0A1535', '1F0AE186A40D47E18CB40824997CA292', 'ADC64359DDE941389D7D6B88C82E0E89', '5A768F5528C24985B29F7D06D2538648', 'A71FFF90AEFF426787CC8F61A0FE5AC5', 'F78FB9A43A9A48099D0B614103510F82', '5999BFA7C38C43489F9B190C728DDA9D', 'AD95550E760241F7B2232A6B9F1FC184', '34D920AAC100447793147F6850A640F0', '975481B18A5E4717BB8103F75787A097', 'ED96D0404CAB47CB876F021573F99203', 'B54C11257DF94E89A79F3435428AC44D', '2706CF0CB4D8439584B0154E52921EF1', 'B3D92AA9B5164AB098876D89898DE846', 'ED251FA8AF4F429FB90C20A8A7F7F504', '6C7AD2F2F75A4FE3B7A924334DC3FDDE', 'B698F0D370B34E8E9278C304471F9CB8', 'EDB5DE4FBF1D4A7BBA7F15D2C6941DF9', '8BD3C30BFBCC429DA687ED4AE0212E8E', '9E9AA0DB3F454D12861448AFE1B59EE2', 'BC12ACAC64A345D1A78E4DE3483A6A63', 'C10E362E471C45B5AB978CAF36C33D53', 'CC6D1A94F6094D52822FBD0D3232BA17', 'C682448E759C4B32BF16CCA32E7DF4E6', 'F8DF085E9D044B24B88F8250F6EE2D0D', '230D4B8E3C1D4E778C1B10D5610F6A40', '91DBB7F806E74AD7812304D06BAE8505', '13A435AD964442B28B82BF3586180482', 'DCB10D872FBC47F5889E960BC9571DF1', '13D007F86B354E95B91CB543D31737A3', 'BF12D2FF64574A5A95719C015B7A245E', '0DC7034FD7BF4C4193BC35390992DF6F', '272B3F516B9041A796FCC4E9420ED34E', 'E28959A969574E228952E9E16DCA2AE1', '7AFF04C3E91A42138940F5C174A38BCB', 'FE3EABA656104CE3B14C430C80BE0949', '569D2EAA8EB047469CA255D4A6181990', '8830EFE467564CB28A66E5CC22A9B4A2', '3DD77D05CAD446609BA32B633D1A53DE', '4B8AA373CF16409FB4A5F61E0315C029', '20087B3508AA481983833C8E4A4F03DA', '6F9D0C8400B24319B405911AEB8B614B', '31B2608EABE447C0B5C2046D5CB8E2D7', 'AAFDBD44928C42BBA48E3E9D03E9117F', '4FF6EBDF4B214FC3AA4A3D55D8EFC73A', 'D86E29C5575A4246A2AB2B03BD4534D5', 'DEA6AD77FD90454B839C6BFC3AEA8417');
Date: 2026-07-13 09:37:14 Duration: 6s973ms 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 ('FED67AF4E7DC457A9A6CF75FD635D253', 'FEB6533061C245EBAAC17AAE3355974C', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FD66215718A94C39A7A4D4F9C583C7AF', 'FCDCF4706C804D378C77603A559EFAED', 'FC6768143C10409D998759BB38E13DC8', 'FBD6B095A0DA4F48A0CF4D2954AAE716', 'FB8559DFF7A94D35B709032977359E8E', 'FB5E224376B544719FF0DF107EE0818C', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA58E32AA74546A6912AE3AB72F1308C', 'FA013BF010E14DE5800767C55D3AB550', 'F98EE501058746858D3FC25699B2C210', 'F9108BAFE73E4F39BACF244425E0A0AB', 'F8A525CBFC024F8F8CFAEF08615DFA22', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7E3DB3B21CC41EA87B75EC457C1BF8B', 'F7C92F9A88C34710ADF4A7167E58844F', 'F7A846CBCDDF44378506E7AFB97F43C7', 'F73A40C9169D4B14BBEAC10AFA96B283', 'F63FE84041B2444697271F134999717F', 'F4ACC7FBFEBF4A898AE18E52B17A9ADC', 'F4721A4D725945578B75D69D25FA0DAD', 'F41191F8B3DF46088940D2AE0E40C17C', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'F2E7FF83E6824A6885F2AAB1E55C63DB', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F249976258EE46EBA5F18E771E3C59D4', 'F20EEC1D5E974EF1B901C2941C06D071', 'F18F99B63F3C4BD291E6597DDE94F20B', 'F13A2486EA5C455AADE03D63646A5AAC', 'F0A324D0C705414C9C4E4141E8EF6DB1', 'F03DD191696C491D8FB0CD853C346B75', 'F017537BB68E4558A9F3AC5D3F4B4653', 'EF9B728F2E44476CA050799F6CC6E138', 'EED8A1D5D1504D47BB33DA0CEBD08162', 'EE8B3869230943DABC826D0A253C9691', 'EE43BB73FDD0499285874DBD4ED0DBF9', 'EDEC058747D846018857DDEE8DEAA883', 'ECBA6B682C2C465C9D773CE9C48B001A', 'EBDC5BA41C374D6DA5E5042FAD894424', 'EA531FDFCE424DF3AA31410CDFE950A7', 'E9621172467D4DF1B74A4363E8D74C98', 'E8E019C6DA2F44879471E613CF92FC2F', 'E846BB8F0F314C87B4C6369E68543FCB', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E666236640A9400EAC5FB98C51E673BE', 'E5C8EDADC473460A8851A41FA8CA9A06', 'E59BB55269904FAEBF5369EFC9DFBACD');
Date: 2026-07-13 09:49:11 Duration: 6s915ms 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 manufactur0_.ma_workrequirement_id as ma_workr1_960_, manufactur0_.ad_client_id as ad_clien2_960_, manufactur0_.ad_org_id as ad_org_i3_960_, manufactur0_.isactive as isactive4_960_, manufactur0_.created as created5_960_, manufactur0_.createdby as createdb6_960_, manufactur0_.updated as updated7_960_, manufactur0_.updatedby as updatedb8_960_, manufactur0_.name as name9_960_, manufactur0_.ma_processplan_id as ma_proc10_960_, manufactur0_.quantity as quantit11_960_, manufactur0_.launchdate as launchd12_960_, manufactur0_.startdate as startda13_960_, manufactur0_.enddate as enddate14_960_, manufactur0_.closed as closed15_960_, manufactur0_.explote as explote16_960_, manufactur0_.processed as process17_960_, manufactur0_.documentno as documen18_960_, manufactur0_.explodephases as explode19_960_, manufactur0_.secondaryqty as seconda20_960_, manufactur0_.secondaryunit as seconda21_960_, manufactur0_.conversionrate as convers22_960_, manufactur0_.estimatedtime as estimat23_960_, manufactur0_.runtime as runtime24_960_, manufactur0_.c_doctype_id as c_docty25_960_, manufactur0_.createworkrequirement as createw26_960_, manufactur0_.em_advmrp_releaseno as em_advm27_960_, manufactur0_.em_advpro2_description as em_advp28_960_, manufactur0_.em_advpro2_orderline_id as em_advp29_960_, manufactur0_.em_advpro2_product_id as em_advp30_960_, manufactur0_.em_advpro2_create_ows as em_advp31_960_, manufactur0_.em_advpro2_unprocess as em_advp32_960_, manufactur0_.em_advpro2_datepromised as em_advp33_960_, manufactur0_.em_advpro2_forecastline_id as em_advp34_960_, manufactur0_.em_advpro2_explotephase as em_advp35_960_, manufactur0_.em_advpro2_launch_num as em_advp36_960_, manufactur0_.em_advpro2_extra_percentage as em_advp37_960_, manufactur0_.em_prqc_batchofphases_id as em_prqc38_960_, manufactur0_.em_prqc_processed as em_prqc39_960_, manufactur0_.em_prqc_generate_control as em_prqc40_960_, manufactur0_.em_advpro2_gwr_wr_id as em_advp41_960_ from ma_workrequirement manufactur0_ cross join ma_workrequirement workrequir1_ where manufactur0_.ma_workrequirement_id = workrequir1_.ma_workrequirement_id and ( select advpro2_deliverystatus (workrequir1_.ma_workrequirement_id) from dual) = ? and (manufactur0_.em_prqc_batchofphases_id is null) and (manufactur0_.ad_org_id in (...)) and (manufactur0_.ad_client_id in (...)) order by manufactur0_.documentno desc, manufactur0_.ma_workrequirement_id desc limit ?;-
select manufactur0_.MA_Workrequirement_ID as ma_workr1_960_, manufactur0_.AD_Client_ID as ad_clien2_960_, manufactur0_.AD_Org_ID as ad_org_i3_960_, manufactur0_.IsActive as isactive4_960_, manufactur0_.Created as created5_960_, manufactur0_.Createdby as createdb6_960_, manufactur0_.Updated as updated7_960_, manufactur0_.Updatedby as updatedb8_960_, manufactur0_.Name as name9_960_, manufactur0_.MA_Processplan_ID as ma_proc10_960_, manufactur0_.Quantity as quantit11_960_, manufactur0_.Launchdate as launchd12_960_, manufactur0_.StartDate as startda13_960_, manufactur0_.EndDate as enddate14_960_, manufactur0_.Closed as closed15_960_, manufactur0_.Explote as explote16_960_, manufactur0_.Processed as process17_960_, manufactur0_.DocumentNo as documen18_960_, manufactur0_.Explodephases as explode19_960_, manufactur0_.Secondaryqty as seconda20_960_, manufactur0_.Secondaryunit as seconda21_960_, manufactur0_.Conversionrate as convers22_960_, manufactur0_.Estimatedtime as estimat23_960_, manufactur0_.Runtime as runtime24_960_, manufactur0_.C_Doctype_ID as c_docty25_960_, manufactur0_.Createworkrequirement as createw26_960_, manufactur0_.EM_Advmrp_Releaseno as em_advm27_960_, manufactur0_.EM_Advpro2_Description as em_advp28_960_, manufactur0_.EM_Advpro2_Orderline_ID as em_advp29_960_, manufactur0_.EM_Advpro2_Product_ID as em_advp30_960_, manufactur0_.EM_Advpro2_Create_Ows as em_advp31_960_, manufactur0_.EM_Advpro2_Unprocess as em_advp32_960_, manufactur0_.EM_Advpro2_Datepromised as em_advp33_960_, manufactur0_.EM_Advpro2_Forecastline_ID as em_advp34_960_, manufactur0_.EM_Advpro2_Explotephase as em_advp35_960_, manufactur0_.EM_Advpro2_Launch_Num as em_advp36_960_, manufactur0_.EM_Advpro2_Extra_Percentage as em_advp37_960_, manufactur0_.EM_Prqc_Batchofphases_ID as em_prqc38_960_, manufactur0_.EM_Prqc_Processed as em_prqc39_960_, manufactur0_.EM_Prqc_Generate_Control as em_prqc40_960_, manufactur0_.EM_Advpro2_Gwr_Wr_ID as em_advp41_960_ from MA_WorkRequirement manufactur0_ cross join MA_WorkRequirement workrequir1_ where manufactur0_.MA_Workrequirement_ID = workrequir1_.MA_Workrequirement_ID and ( select advpro2_deliverystatus (workrequir1_.ma_workrequirement_id) from dual) = 'UN' and (manufactur0_.EM_Prqc_Batchofphases_ID is null) and (manufactur0_.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 (manufactur0_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0')) order by manufactur0_.DocumentNo desc, manufactur0_.MA_Workrequirement_ID desc limit '101';
Date: 2026-07-13 12:39:16 Duration: 2s731ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
14 1 144.01 MiB 144.01 MiB 144.01 MiB 144.01 MiB rollback;-
ROLLBACK;
Date: 2026-07-13 15:52:00 Duration: 0ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
15 1 26.93 MiB 26.93 MiB 26.93 MiB 26.93 MiB select bass_production_cost (?, ?) as result from dual;-
SELECT bass_production_cost ('891D7390E5BB4FAAB2D757181A46316A', '100') AS RESULT FROM DUAL;
Date: 2026-07-13 14:47:38 Duration: 3m37s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT bass_production_cost ('89EC284EA05A415F8F1AABAD09A33408', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:42:35 Duration: 51s912ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT bass_production_cost ('F4B33436BF6C4B23908DE9E2BA373091', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:35:21 Duration: 50s132ms 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 update m_product set updated = ?, updatedby = ?, ispurchased = ? where m_product_id = ?;-
update M_Product set Updated = $1, UpdatedBy = $2, IsPurchased = $3 where M_Product_ID = $4;
Date: 2026-07-13 15:39:19 Duration: 0ms 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 ? 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 ('52594CFBD1A543C09852D45FA0F0E459') 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 ('52594CFBD1A543C09852D45FA0F0E459') and prpp_box_type.isgroup = 'Y') a left join prlab_num on 4 >= prlab_num.num order by documentno, type, orderbox;
Date: 2026-07-13 13:50:58 Duration: 0ms 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 * from c_order_post (?);-
SELECT * FROM C_ORDER_POST ('90526959964748D1AE515DEC077E16F2');
Date: 2026-07-13 13:25:26 Duration: 1s627ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM C_ORDER_POST ('4E2772D472804D76A815F8700F149873');
Date: 2026-07-13 15:56:15 Duration: 1s597ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM C_ORDER_POST ('D2C37637898D47E8B08178068D8AF0F9');
Date: 2026-07-13 12:56:26 Duration: 1s477ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
19 1 1.61 MiB 1.61 MiB 1.61 MiB 1.61 MiB select * from ad_sequence_doc (?, ?, ?);-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 12:31:10 Duration: 19s103ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 06:04:10 Duration: 17s65ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 07:05:04 Duration: 13s411ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 519.54 MiB select obwpack_pa0_.Obwpack_Packingh_ID as obwpack_1_1080_, obwpack_pa0_.AD_Client_ID as ad_clien2_1080_, obwpack_pa0_.AD_Org_ID as ad_org_i3_1080_, obwpack_pa0_.Isactive as isactive4_1080_, obwpack_pa0_.Created as created5_1080_, obwpack_pa0_.Createdby as createdb6_1080_, obwpack_pa0_.Updated as updated7_1080_, obwpack_pa0_.Updatedby as updatedb8_1080_, obwpack_pa0_.Packdate as packdate9_1080_, obwpack_pa0_.C_Bpartner_ID as c_bpart10_1080_, obwpack_pa0_.C_Bpartner_Location_ID as c_bpart11_1080_, obwpack_pa0_.Description as descrip12_1080_, obwpack_pa0_.Pegoodshipment as pegoods13_1080_, obwpack_pa0_.Processpack as process14_1080_, obwpack_pa0_.Processed as process15_1080_, obwpack_pa0_.Reactivated as reactiv16_1080_, obwpack_pa0_.Totalboxes as totalbo17_1080_, obwpack_pa0_.Totalweight as totalwe18_1080_, obwpack_pa0_.C_Uom_ID as c_uom_i19_1080_, obwpack_pa0_.EM_OBEUCI_Sendpack as em_obeu20_1080_, obwpack_pa0_.EM_Bass_Seurprinttag as em_bass21_1080_, obwpack_pa0_.EM_Bass_Cancelintegration as em_bass22_1080_, obwpack_pa0_.EM_OBEUCI_Int_Status as em_obeu23_1080_, obwpack_pa0_.EM_Bass_Cancelintegrationby as em_bass24_1080_, obwpack_pa0_.EM_OBEUCI_Freight_ID as em_obeu25_1080_, obwpack_pa0_.DocumentNo as documen26_1080_, obwpack_pa0_.EM_Bass_Testbutton as em_bass27_1080_, obwpack_pa0_.EM_OBEUSES_Printtrace as em_obeu28_1080_, obwpack_pa0_.EM_Printst_Carrier_Label as em_prin29_1080_, obwpack_pa0_.EM_Obeuses_Label as em_obeu30_1080_, obwpack_pa0_.EM_Primpck_Label as em_prim31_1080_, obwpack_pa0_.EM_Bass_Asn as em_bass32_1080_, obwpack_pa0_.EM_Pramz_Totalpallet as em_pram33_1080_, obwpack_pa0_.EM_Bass_Trackurl as em_bass34_1080_, obwpack_pa0_.EM_Pramz_Request_Label as em_pram35_1080_, obwpack_pa0_.EM_Prrdr_Label as em_prrd36_1080_, obwpack_pa0_.EM_Prncx_Label as em_prnc37_1080_, obwpack_pa0_.EM_Prcm_Dateprint as em_prcm38_1080_, obwpack_pa0_.EM_Prcm_Integrationdate as em_prcm39_1080_ from obwpack_packingh obwpack_pa0_ where (obwpack_pa0_.AD_Org_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)) and (obwpack_pa0_.AD_Client_ID in ($22, $23)) order by obwpack_pa0_.Packdate desc, obwpack_pa0_.Obwpack_Packingh_ID desc limit $24 offset $25;[ Date: 2026-07-13 12:58:23 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 519.54 MiB select obwpack_pa0_.Obwpack_Packingh_ID as obwpack_1_1080_, obwpack_pa0_.AD_Client_ID as ad_clien2_1080_, obwpack_pa0_.AD_Org_ID as ad_org_i3_1080_, obwpack_pa0_.Isactive as isactive4_1080_, obwpack_pa0_.Created as created5_1080_, obwpack_pa0_.Createdby as createdb6_1080_, obwpack_pa0_.Updated as updated7_1080_, obwpack_pa0_.Updatedby as updatedb8_1080_, obwpack_pa0_.Packdate as packdate9_1080_, obwpack_pa0_.C_Bpartner_ID as c_bpart10_1080_, obwpack_pa0_.C_Bpartner_Location_ID as c_bpart11_1080_, obwpack_pa0_.Description as descrip12_1080_, obwpack_pa0_.Pegoodshipment as pegoods13_1080_, obwpack_pa0_.Processpack as process14_1080_, obwpack_pa0_.Processed as process15_1080_, obwpack_pa0_.Reactivated as reactiv16_1080_, obwpack_pa0_.Totalboxes as totalbo17_1080_, obwpack_pa0_.Totalweight as totalwe18_1080_, obwpack_pa0_.C_Uom_ID as c_uom_i19_1080_, obwpack_pa0_.EM_OBEUCI_Sendpack as em_obeu20_1080_, obwpack_pa0_.EM_Bass_Seurprinttag as em_bass21_1080_, obwpack_pa0_.EM_Bass_Cancelintegration as em_bass22_1080_, obwpack_pa0_.EM_OBEUCI_Int_Status as em_obeu23_1080_, obwpack_pa0_.EM_Bass_Cancelintegrationby as em_bass24_1080_, obwpack_pa0_.EM_OBEUCI_Freight_ID as em_obeu25_1080_, obwpack_pa0_.DocumentNo as documen26_1080_, obwpack_pa0_.EM_Bass_Testbutton as em_bass27_1080_, obwpack_pa0_.EM_OBEUSES_Printtrace as em_obeu28_1080_, obwpack_pa0_.EM_Printst_Carrier_Label as em_prin29_1080_, obwpack_pa0_.EM_Obeuses_Label as em_obeu30_1080_, obwpack_pa0_.EM_Primpck_Label as em_prim31_1080_, obwpack_pa0_.EM_Bass_Asn as em_bass32_1080_, obwpack_pa0_.EM_Pramz_Totalpallet as em_pram33_1080_, obwpack_pa0_.EM_Bass_Trackurl as em_bass34_1080_, obwpack_pa0_.EM_Pramz_Request_Label as em_pram35_1080_, obwpack_pa0_.EM_Prrdr_Label as em_prrd36_1080_, obwpack_pa0_.EM_Prncx_Label as em_prnc37_1080_, obwpack_pa0_.EM_Prcm_Dateprint as em_prcm38_1080_, obwpack_pa0_.EM_Prcm_Integrationdate as em_prcm39_1080_ from obwpack_packingh obwpack_pa0_ where (obwpack_pa0_.AD_Org_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)) and (obwpack_pa0_.AD_Client_ID in ($22, $23)) order by obwpack_pa0_.Packdate desc, obwpack_pa0_.Obwpack_Packingh_ID desc limit $24 offset $25;[ Date: 2026-07-13 12:58:28 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 189.87 MiB select materialmg0_.M_Reservation_ID as m_reserv1_883_, materialmg0_.AD_Client_ID as ad_clien2_883_, materialmg0_.AD_Org_ID as ad_org_i3_883_, materialmg0_.Isactive as isactive4_883_, materialmg0_.Created as created5_883_, materialmg0_.Createdby as createdb6_883_, materialmg0_.Updated as updated7_883_, materialmg0_.Updatedby as updatedb8_883_, materialmg0_.M_Product_ID as m_produc9_883_, materialmg0_.Quantity as quantit10_883_, materialmg0_.C_Uom_ID as c_uom_i11_883_, materialmg0_.C_Orderline_ID as c_order12_883_, materialmg0_.AD_User_ID as ad_user13_883_, materialmg0_.C_Bpartner_ID as c_bpart14_883_, materialmg0_.M_Warehouse_ID as m_wareh15_883_, materialmg0_.M_Attributesetinstance_ID as m_attri16_883_, materialmg0_.M_Locator_ID as m_locat17_883_, materialmg0_.Reservedqty as reserve18_883_, materialmg0_.ReleasedQty as release19_883_, materialmg0_.RES_Status as res_sta20_883_, materialmg0_.RES_Process as res_pro21_883_, materialmg0_.Managereservation_Pe as manager22_883_, materialmg0_.EM_Obdo_Distorderline_ID as em_obdo23_883_, materialmg0_.EM_OBWPL_Generatedbypicking as em_obwp24_883_, materialmg0_.Reservedgoodmnt_Pe as reserve25_883_, materialmg0_.EM_Advshi_Shipprop_Gen as em_advs26_883_, materialmg0_.EM_Advshi_Total_Pp as em_advs27_883_, materialmg0_.EM_Advshi_Total_No_Pp as em_advs28_883_, materialmg0_.EM_Bass_Autoreservation as em_bass29_883_ from M_Reservation materialmg0_ left outer join C_OrderLine orderline1_ on materialmg0_.C_Orderline_ID = orderline1_.C_OrderLine_ID left outer join C_Order order2_ on orderline1_.C_Order_ID = order2_.C_Order_ID where (materialmg0_.AD_Org_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)) and (materialmg0_.AD_Client_ID in ($22, $23)) order by orderline1_.QtyOrdered desc, orderline1_.PriceActual desc, order2_.DocumentNo desc, order2_.DateOrdered desc, order2_.GrandTotal desc, orderline1_.Line desc, orderline1_.LineNetAmt desc, materialmg0_.M_Reservation_ID desc limit $24;[ Date: 2026-07-13 13:40:49 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 144.01 MiB ROLLBACK;[ Date: 2026-07-13 15:52:00 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 113.14 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 13:22:05 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
6 113.14 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 16:11:16 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
7 113.13 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 09:14:32 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
8 113.13 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 09:38:22 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
9 113.13 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 09:35:29 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
10 113.13 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 09:42:21 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine ]
11 113.12 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 08:16:04 - Database: etendo - User: tad - Remote: 88.12.21.106 - Application: Mashup Engine ]
12 113.12 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 08:18:04 - Database: etendo - User: tad - Remote: 164.132.218.10 - Application: Mashup Engine ]
13 113.12 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 08:12:50 - Database: etendo - User: tad - Remote: 164.132.218.10 - Application: Mashup Engine ]
14 113.12 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 08:39:17 - Database: etendo - User: tad - Remote: 164.132.218.10 - Application: Mashup Engine ]
15 113.11 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 06:06:40 - Database: etendo - User: tad - Remote: 164.132.218.10 - Application: Mashup Engine ]
16 113.11 MiB select "_"."c_order_id" as "c_order_id", ;[ Date: 2026-07-13 07:36:27 - Database: etendo - User: tad - Remote: 164.132.218.10 - Application: Mashup Engine ]
17 107.07 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-13 13:58:28 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 107.05 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-13 06:39:20 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 87.54 MiB select materialmg0_.M_Reservation_ID as m_reserv1_883_, materialmg0_.AD_Client_ID as ad_clien2_883_, materialmg0_.AD_Org_ID as ad_org_i3_883_, materialmg0_.Isactive as isactive4_883_, materialmg0_.Created as created5_883_, materialmg0_.Createdby as createdb6_883_, materialmg0_.Updated as updated7_883_, materialmg0_.Updatedby as updatedb8_883_, materialmg0_.M_Product_ID as m_produc9_883_, materialmg0_.Quantity as quantit10_883_, materialmg0_.C_Uom_ID as c_uom_i11_883_, materialmg0_.C_Orderline_ID as c_order12_883_, materialmg0_.AD_User_ID as ad_user13_883_, materialmg0_.C_Bpartner_ID as c_bpart14_883_, materialmg0_.M_Warehouse_ID as m_wareh15_883_, materialmg0_.M_Attributesetinstance_ID as m_attri16_883_, materialmg0_.M_Locator_ID as m_locat17_883_, materialmg0_.Reservedqty as reserve18_883_, materialmg0_.ReleasedQty as release19_883_, materialmg0_.RES_Status as res_sta20_883_, materialmg0_.RES_Process as res_pro21_883_, materialmg0_.Managereservation_Pe as manager22_883_, materialmg0_.EM_Obdo_Distorderline_ID as em_obdo23_883_, materialmg0_.EM_OBWPL_Generatedbypicking as em_obwp24_883_, materialmg0_.Reservedgoodmnt_Pe as reserve25_883_, materialmg0_.EM_Advshi_Shipprop_Gen as em_advs26_883_, materialmg0_.EM_Advshi_Total_Pp as em_advs27_883_, materialmg0_.EM_Advshi_Total_No_Pp as em_advs28_883_, materialmg0_.EM_Bass_Autoreservation as em_bass29_883_ from M_Reservation materialmg0_ left outer join C_OrderLine orderline1_ on materialmg0_.C_Orderline_ID = orderline1_.C_OrderLine_ID left outer join C_Order order2_ on orderline1_.C_Order_ID = order2_.C_Order_ID where (materialmg0_.AD_Org_ID in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21)) and (materialmg0_.AD_Client_ID in ($22, $23)) order by orderline1_.QtyOrdered desc, orderline1_.PriceActual desc, order2_.DocumentNo desc, order2_.DateOrdered desc, order2_.GrandTotal desc, orderline1_.Line desc, orderline1_.LineNetAmt desc, materialmg0_.M_Reservation_ID desc limit $24;[ Date: 2026-07-13 13:40:48 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 80.79 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-13 15:31:52 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 546.46 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_1883132
Database etendo - 2026-07-13 09:31:08 Date
- 0 sec Highest CPU-cost analyze
Table
Database etendo - Date
Average Autovacuum Duration
Key values
- 546.46 sec Highest CPU-cost vacuum
Table pg_toast.pg_toast_1883132
Database etendo - 2026-07-13 09:31:08 Date
Analyzes per table
Key values
- public.ad_ep_instance_para (195) Main table analyzed (database etendo)
- 542 analyzes Total
Table Number of analyzes etendo.public.ad_ep_instance_para 195 etendo.public.c_import_entry 96 etendo.public.ad_sequence 41 etendo.public.m_stock_aux 18 etendo.profile.last_stat_tables_srv1 16 etendo.profile.last_stat_statements_srv1 16 etendo.profile.last_stat_indexes_srv1 16 etendo.profile.last_stat_user_functions_srv1 16 etendo.pg_catalog.pg_type 8 etendo.profile.funcs_list 8 etendo.profile.tables_list 8 etendo.profile.indexes_list 8 etendo.profile.last_stat_io 8 etendo.public.m_product_category 7 etendo.public.m_storage_detail 7 etendo.profile.stmt_list 7 etendo.profile.last_stat_activity_count_srv1 6 etendo.public.ad_session 5 etendo.public.ad_preference 5 etendo.profile.last_extension_versions 4 etendo.public.ad_process_request 4 etendo.profile.last_stat_slru 3 etendo.pg_catalog.pg_attribute 3 etendo.pg_catalog.pg_shdepend 3 etendo.public.mrp_run_productionline 3 etendo.public.prmag2_conf 2 etendo.profile.sample_stat_tables 2 etendo.profile.sample_stat_indexes 2 etendo.public.advmrp_run_prodlineparent 2 etendo.profile.sample_statements 2 etendo.profile.sample_stat_user_functions 2 etendo.pg_catalog.pg_class 2 etendo.public.ma_processplan_tot_aux 2 etendo.public.m_stock_proposed 1 etendo.profile.sample_stat_io 1 etendo.public.mrp_run_purchaseline 1 etendo.profile.sample_stat_indexes_total 1 etendo.public.ad_process_run 1 etendo.profile.sample_stat_slru 1 postgres.pg_catalog.pg_shdepend 1 etendo.public.fin_financial_account 1 etendo.public.m_stock_valuation 1 template1.pg_catalog.pg_shdepend 1 etendo.public.advmrp_run_purchlineparent 1 etendo.profile.sample_stat_user_func_total 1 etendo.profile.sample_stat_database 1 etendo.public.ad_pinstance 1 etendo.profile.sample_stat_tables_total 1 Total 542 Vacuums per table
Key values
- public.ad_ep_instance_para (222) Main table vacuumed on database etendo
- 706 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 222 149 18,588 0 402 0 0 1,640 222 1,194,989 0 0 etendo.public.c_import_entry 91 43 35,951 0 918 0 0 5,929 1,006 4,363,444 316 1,072 etendo.profile.last_stat_statements_srv1 53 16 66,268 0 2,390 0 0 24,009 4,563 15,681,835 2,229 23,653 etendo.profile.last_stat_indexes_srv1 53 16 66,726 0 2,775 0 0 20,383 4,110 4,547,894 47 333 etendo.profile.last_stat_tables_srv1 53 16 53,956 0 2,081 0 0 17,301 3,398 3,854,390 371 1,669 etendo.profile.last_stat_user_functions_srv1 53 16 10,645 0 379 0 0 3,793 749 3,330,039 566 8,963 etendo.public.ad_sequence 50 15 5,429 0 137 0 0 370 124 446,147 45 124 etendo.pg_toast.pg_toast_1887773 31 9 11,910 0 544 0 0 5,048 186 501,129 15 29 etendo.public.m_stock_aux 18 18 2,702 0 81 0 0 649 82 315,416 19 88 etendo.public.m_stock_valuation 12 2 82,710 0 4,813 0 0 8,527 3,467 8,266,598 6 207 etendo.profile.funcs_list 8 8 934 0 35 0 0 282 91 585,491 14 210 etendo.profile.indexes_list 6 6 896 0 25 0 0 298 60 367,105 14 204 etendo.public.m_storage_detail 6 6 145,627 0 7,391 0 0 86,097 5,747 25,713,452 1,040 5,529 etendo.profile.tables_list 6 6 1,555 0 32 0 0 778 145 1,033,854 0 0 etendo.profile.last_stat_io 5 5 298 0 21 0 0 36 18 73,166 1 5 etendo.profile.stmt_list 5 5 2,539 0 181 0 0 1,414 329 2,238,631 52 145 etendo.public.m_product_category 4 3 722 0 33 0 0 72 31 130,458 3 5 etendo.profile.last_stat_activity_count_srv1 4 0 106 0 18 0 0 28 13 45,012 0 0 etendo.public.mrp_run_productionline 3 2 71,227 0 7,913 0 0 43,953 1,710 11,622,913 2,036 22,606 etendo.public.ma_processplan_tot_aux 2 1 39,755 0 4 0 0 17,504 1,529 6,611,513 0 0 etendo.profile.last_extension_versions 2 2 105 0 10 0 0 10 6 21,667 0 0 etendo.public.advmrp_run_prodlineparent 2 2 10,451 0 1,455 0 0 7,377 3 678,816 0 0 etendo.pg_catalog.pg_type 2 2 566 0 88 0 0 387 115 119,007 25 52 etendo.pg_toast.pg_toast_1883503 2 1 2,329 0 973 0 0 1,535 258 735,000 103 323 etendo.pg_toast.pg_toast_2619 2 2 4,033 0 747 0 0 1,981 638 1,611,639 145 314 etendo.profile.sample_statements 1 1 1,225 0 881 0 0 948 55 331,414 0 0 etendo.pg_toast.pg_toast_1883132 1 0 3,497,747 0 2,223,800 0 0 2,222,660 72 131,726,173 0 0 etendo.public.pruti_stock_photo 1 0 104,641 0 52,291 0 0 51,896 3 3,086,256 0 0 etendo.profile.sample_stat_indexes 1 1 364 0 213 0 0 247 19 60,051 0 0 etendo.pg_toast.pg_toast_1887782 1 0 28,818 0 28,328 0 0 28,458 2 1,695,217 0 0 etendo.profile.last_stat_slru 1 1 49 0 4 0 0 5 1 3,942 0 0 etendo.pg_catalog.pg_statistic 1 1 3,102 0 545 0 0 1,410 621 1,903,024 103 451 etendo.profile.last_stat_database_srv1 1 1 49 0 5 0 0 6 2 12,763 0 0 template1.pg_catalog.pg_shdepend 1 1 144 0 38 0 0 45 12 39,014 3 29 etendo.pg_toast.pg_toast_1893146 1 0 113,953 0 113,877 0 0 113,832 5 6,757,034 0 0 etendo.public.mrp_run_purchaseline 1 0 4,320 0 3,374 0 0 3,792 2 239,575 0 0 Total 706 357 4,390,440 1,111,120 2,456,802 0 0 2,672,700 29,394 239,944,068 7,153 66,011 Vacuum throughput per table
Key values
- pg_toast.pg_toast_1883132 (546.46) 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 1.55 etendo.public.c_import_entry 0 0 0.32 etendo.profile.last_stat_statements_srv1 0 0 1.12 etendo.profile.last_stat_indexes_srv1 0 0 1.34 etendo.profile.last_stat_tables_srv1 0 0 0.9 etendo.profile.last_stat_user_functions_srv1 0 0 0.08 etendo.public.ad_sequence 0 0 0.02 etendo.pg_toast.pg_toast_1887773 0 0 0.18 etendo.public.m_stock_aux 0 0 0.06 etendo.public.m_stock_valuation 0 0 2.21 etendo.profile.funcs_list 0 0 0 etendo.profile.indexes_list 0 0 0 etendo.public.m_storage_detail 0 0 4 etendo.profile.tables_list 0 0 0 etendo.profile.last_stat_io 0 0 0 etendo.profile.stmt_list 0 0 0.05 etendo.public.m_product_category 0 0 0 etendo.profile.last_stat_activity_count_srv1 0 0 0.01 etendo.public.mrp_run_productionline 0 0 3.3 etendo.public.ma_processplan_tot_aux 0 0 0.47 etendo.profile.last_extension_versions 0 0 0 etendo.public.advmrp_run_prodlineparent 0 0 0.5 etendo.pg_catalog.pg_type 0 0 0.02 etendo.pg_toast.pg_toast_1883503 0 0 0.26 etendo.pg_toast.pg_toast_2619 0 0 0.21 etendo.profile.sample_statements 0 0 0.22 etendo.pg_toast.pg_toast_1883132 0 0 546.46 etendo.public.pruti_stock_photo 0 0 12.02 etendo.profile.sample_stat_indexes 0 0 0.05 etendo.pg_toast.pg_toast_1887782 0 0 7.16 etendo.profile.last_stat_slru 0 0 0 etendo.pg_catalog.pg_statistic 0 0 0.17 etendo.profile.last_stat_database_srv1 0 0 0 template1.pg_catalog.pg_shdepend 0 0 0.01 etendo.pg_toast.pg_toast_1893146 0 0 28.72 etendo.public.mrp_run_purchaseline 0 0 0.86 Total 0 0 612.27 Tuples removed per table
Key values
- public.m_storage_detail (374669) Main table with removed tuples on database etendo
- 1096790 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain etendo.public.m_storage_detail 6 6 374,669 634,343 62,624 0 52,465 etendo.public.ma_processplan_tot_aux 2 1 166,305 166,305 0 4,316 4,316 etendo.public.mrp_run_productionline 3 2 142,761 722,112 195,749 0 46,581 etendo.profile.last_stat_indexes_srv1 53 16 127,729 505,041 295,373 811 25,100 etendo.profile.last_stat_tables_srv1 53 16 84,312 328,395 194,416 32 21,445 etendo.profile.last_stat_statements_srv1 53 16 70,784 364,701 137,176 773 23,346 etendo.public.m_stock_valuation 12 2 58,486 1,340,358 641,767 0 38,076 etendo.public.advmrp_run_prodlineparent 2 2 27,352 102,783 27,352 0 5,634 etendo.profile.last_stat_user_functions_srv1 53 16 16,381 88,011 37,799 9 3,253 etendo.public.ad_ep_instance_para 222 149 6,562 35,830 35,830 232 924 etendo.pg_toast.pg_toast_1887773 31 9 5,985 11,284 7,845 557 4,292 etendo.public.c_import_entry 91 43 4,702 65,493 37,355 320 12,145 etendo.public.m_stock_aux 18 18 1,693 3,154 697 5 286 etendo.pg_catalog.pg_type 2 2 1,634 4,728 22 0 292 etendo.pg_toast.pg_toast_2619 2 2 1,302 7,983 31 0 2,558 etendo.public.ad_sequence 50 15 1,230 20,713 5,863 7 890 etendo.pg_catalog.pg_statistic 1 1 1,005 16,083 756 0 1,415 etendo.profile.tables_list 6 6 797 13,667 545 0 354 etendo.pg_toast.pg_toast_1883503 2 1 613 6,276 23 0 1,564 etendo.profile.sample_stat_indexes 1 1 558 11,913 173 0 203 etendo.profile.stmt_list 5 5 474 8,684 355 0 784 etendo.profile.sample_statements 1 1 358 17,083 0 0 873 etendo.profile.indexes_list 6 6 322 3,358 136 0 90 etendo.profile.funcs_list 8 8 281 3,697 314 0 120 etendo.profile.last_stat_io 5 5 153 119 34 0 10 etendo.profile.last_stat_activity_count_srv1 4 0 106 46 46 3 7 etendo.profile.last_extension_versions 2 2 104 24 8 0 2 etendo.profile.last_stat_slru 1 1 50 10 5 0 1 etendo.public.m_product_category 4 3 50 1,539 679 0 72 template1.pg_catalog.pg_shdepend 1 1 28 3,077 11 0 25 etendo.profile.last_stat_database_srv1 1 1 4 4 0 0 1 etendo.pg_toast.pg_toast_1883132 1 0 0 8,893,232 0 0 2,223,181 etendo.public.pruti_stock_photo 1 0 0 1,156,351 0 0 52,273 etendo.pg_toast.pg_toast_1887782 1 0 0 114,247 0 0 28,457 etendo.pg_toast.pg_toast_1893146 1 0 0 456,686 0 0 113,844 etendo.public.mrp_run_purchaseline 1 0 0 85,577 0 0 3,791 Total 706 357 1,096,790 15,192,907 1,682,984 7,065 2,668,670 Pages removed per table
Key values
- public.ma_processplan_tot_aux (4316) Main table with removed pages on database etendo
- 7065 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed etendo.public.ma_processplan_tot_aux 2 1 166305 4316 etendo.profile.last_stat_indexes_srv1 53 16 127729 811 etendo.profile.last_stat_statements_srv1 53 16 70784 773 etendo.pg_toast.pg_toast_1887773 31 9 5985 557 etendo.public.c_import_entry 91 43 4702 320 etendo.public.ad_ep_instance_para 222 149 6562 232 etendo.profile.last_stat_tables_srv1 53 16 84312 32 etendo.profile.last_stat_user_functions_srv1 53 16 16381 9 etendo.public.ad_sequence 50 15 1230 7 etendo.public.m_stock_aux 18 18 1693 5 etendo.profile.last_stat_activity_count_srv1 4 0 106 3 etendo.profile.sample_statements 1 1 358 0 etendo.profile.indexes_list 6 6 322 0 etendo.profile.last_stat_io 5 5 153 0 etendo.pg_toast.pg_toast_1883132 1 0 0 0 etendo.public.pruti_stock_photo 1 0 0 0 etendo.profile.sample_stat_indexes 1 1 558 0 etendo.pg_toast.pg_toast_1887782 1 0 0 0 etendo.profile.last_extension_versions 2 2 104 0 etendo.profile.last_stat_slru 1 1 50 0 etendo.public.m_product_category 4 3 50 0 etendo.public.advmrp_run_prodlineparent 2 2 27352 0 etendo.pg_catalog.pg_type 2 2 1634 0 etendo.pg_toast.pg_toast_1883503 2 1 613 0 etendo.pg_catalog.pg_statistic 1 1 1005 0 etendo.public.mrp_run_productionline 3 2 142761 0 etendo.profile.funcs_list 8 8 281 0 etendo.public.m_storage_detail 6 6 374669 0 etendo.profile.last_stat_database_srv1 1 1 4 0 etendo.profile.tables_list 6 6 797 0 etendo.profile.stmt_list 5 5 474 0 template1.pg_catalog.pg_shdepend 1 1 28 0 etendo.public.m_stock_valuation 12 2 58486 0 etendo.pg_toast.pg_toast_1893146 1 0 0 0 etendo.pg_toast.pg_toast_2619 2 2 1302 0 etendo.public.mrp_run_purchaseline 1 0 0 0 Total 706 357 1,096,790 7,065 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 13 06 106 50 07 184 50 08 34 38 09 61 48 10 49 41 11 50 59 12 52 78 13 29 42 14 37 21 15 17 21 16 17 15 17 10 18 18 29 17 19 11 12 20 12 16 21 8 16 22 0 0 - 546.46 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 29 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 24 3m15s 1s700ms 17s64ms 8s141ms select * from ad_sequence_doc (?, ?, ?);-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 12:31:10 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-13 06:04:10 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-13 07:05:04 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 1 2m3s 2m3s 2m3s 2m3s 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-13 07:00:00.393', UpdatedBy = '100', TransactionCost = '71.80', M_Costing_Algorithm_ID = 'B069080A0AE149A79CF1FA0E24F16AB6', IsCostCalculated = 'Y', C_Currency_ID = '102', Costing_Status = 'CC' where M_Transaction_ID = '7A671704B3ED4B92A2814D0A38FFA57A';
Date: 2026-07-13 07:02:03 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-13 07:02:03 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
3 2 10s753ms 3s151ms 7s602ms 5s376ms select * from m_inout_post0 (?);-
SELECT * FROM M_InOut_Post0 ('0D8F7D11DBEE45E5BA0FCB433DD6D24B');
Date: 2026-07-13 06:00:50 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('CFECED7F16474B2E984558A09382D471');
Date: 2026-07-13 06:04:32 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('AE40295C9F7A4048B064E9C8E2356254');
Date: 2026-07-13 06:04:10 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 1 10s16ms 10s16ms 10s16ms 10s16ms 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-13 06:19:25.497', '7EAB9E83A02B4702865CA90DA3D37C35', '2026-07-13 06:19:25.497', '7EAB9E83A02B4702865CA90DA3D37C35', '0ED44C867FDF4FB7B6B5710A4DDBB241', '0F3458914B4244BAAD29C66312BC6728', '293C384C20C942EBAD3F4495A36EB852', '06B2AA8969EE4D3F8DDEDEE09140B70D', '10', '1', '961A367811134A3498569E8F0CCB32CB', '100', '68E444B1FE7148069C99008A8D232006', '2E4EEEE742544A2AA4186C5E84037E1F', 'N', 'PE', 'N', 'N', 'N', 'N', '0', '2929B9A3F3F048A28440936E90D17C0D');
Date: 2026-07-13 06:19:35 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-13 06:19:35 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
5 1 1s 1s 1s 1s vacuum analyze obmobc_logclient;-
vacuum analyze obmobc_logclient;
Date: 2026-07-13 18:00:13 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
vacuum analyze obmobc_logclient;
Date: 2026-07-13 18:00:11 Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo
Queries that waited the most
Rank Wait time Query 1 2m3s 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-13 07:02:03 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 17s64ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 06:04:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 15s360ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 12:31:10 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 13s408ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 07:05:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 11s528ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 12:34:56 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 10s992ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 06:23:20 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 10s356ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 13:14:15 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 10s69ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 06:11:07 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 10s16ms 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-13 06:19:35 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 9s743ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 06:26:50 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 9s610ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 13:11:58 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 9s578ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 13:10:51 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 9s378ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 10:18:40 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 8s433ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 13:20:50 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 7s602ms SELECT * FROM M_InOut_Post0 ($1);[ Date: 2026-07-13 06:24:47 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 7s546ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 07:10:40 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 7s224ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 07:15:14 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 6s643ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 13:15:11 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 6s296ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 07:08:40 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 6s207ms SELECT * FROM AD_SEQUENCE_DOC ($1, $2, $3);[ Date: 2026-07-13 12:30:55 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Queries
Queries by type
Key values
- 4,227 Total read queries
- 38 Total write queries
Queries by database
Key values
- etendo Main database
- 4,267 Requests
- 6h20m55s (etendo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 4,262 Requests
User Request type Count Duration postgres Total 5 9s162ms select 5 9s162ms tad Total 4,262 6h20m45s cte 2 56s463ms delete 33 50s424ms insert 2 26s788ms others 2 5s310ms select 4,222 6h16m23s update 1 2m3s Duration by user
Key values
- 6h20m45s (tad) Main time consuming user
User Request type Count Duration postgres Total 5 9s162ms select 5 9s162ms tad Total 4,262 6h20m45s cte 2 56s463ms delete 33 50s424ms insert 2 26s788ms others 2 5s310ms select 4,222 6h16m23s update 1 2m3s Queries by host
Key values
- 127.0.0.1 Main host
- 4,136 Requests
- 5h48m1s (127.0.0.1)
- Main time consuming host
Host Request type Count Duration 127.0.0.1 Total 4,136 5h48m1s cte 2 56s463ms delete 33 50s424ms insert 2 26s788ms others 2 5s310ms select 4,096 5h43m38s update 1 2m3s 164.132.218.10 Total 46 9m8s select 46 9m8s 51.38.221.201 Total 60 17m45s select 60 17m45s 88.12.21.106 Total 20 5m51s select 20 5m51s [local] Total 5 9s162ms select 5 9s162ms Queries by application
Key values
- openbravo Main application
- 4,136 Requests
- 5h48m1s (openbravo)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-13 14:51:54 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,961 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 32m42s 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-13 07:35:20 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
2 32m30s select ad_column_identifier_std ('ad_org', 'E495F7998AB748F59ED3B6ACF2F48CA6') 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 ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, 0) as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -1) as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -2) as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -3) as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -4) as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -5) as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -6) as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -7) as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -8) as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -9) as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -10) as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -11) as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -12) as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1) as anoanterior, bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', 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, 'E495F7998AB748F59ED3B6ACF2F48CA6'), 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 'E495F7998AB748F59ED3B6ACF2F48CA6' = '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 ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1)), 0) + coalesce((bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', 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-13 07:02:30 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
3 15m3s 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) and m_product.em_fash_campaign_id = '850E48F86D1545B1A3BF0C2D7AF1B036') 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-13 07:13:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
4 3m37s SELECT bass_production_cost ('891D7390E5BB4FAAB2D757181A46316A', '100') AS RESULT FROM DUAL;[ Date: 2026-07-13 14:47:38 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 3m18s SELECT ADVMRP_RUN_INITIALIZE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '70C9BC0CC6154D968CB51608A6C1207D', NULL, NULL, NULL, NULL, NULL, NULL, '180', '2026-07-13 00:00:00', 'Y', NULL, 'GPP', 'N') AS RESULT FROM DUAL;[ Date: 2026-07-13 06:03:18 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
6 2m3s SELECT M_INITIALIZE_STOCK_VALUATION ('7E3CD157DC6246718BFBF101DCDC4016', 'ABB79999997E423B85B205975E7A9BD8', NULL) AS RESULT FROM DUAL;[ Date: 2026-07-13 07:02:03 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 2m3s update M_Transaction set Updated = '2026-07-13 07:00:00.393', UpdatedBy = '100', TransactionCost = '71.80', M_Costing_Algorithm_ID = 'B069080A0AE149A79CF1FA0E24F16AB6', IsCostCalculated = 'Y', C_Currency_ID = '102', Costing_Status = 'CC' where M_Transaction_ID = '7A671704B3ED4B92A2814D0A38FFA57A';[ Date: 2026-07-13 07:02:03 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
8 1m57s 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-13 09:38:03 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
9 1m55s select characteri0_.M_Ch_Value_ID as m_ch_val1_788_, characteri0_.AD_Client_ID as ad_clien2_788_, characteri0_.AD_Org_ID as ad_org_i3_788_, characteri0_.Isactive as isactive4_788_, characteri0_.Created as created5_788_, characteri0_.Createdby as createdb6_788_, characteri0_.Updated as updated7_788_, characteri0_.Updatedby as updatedb8_788_, characteri0_.M_Characteristic_ID as m_charac9_788_, characteri0_.Name as name10_788_, characteri0_.IsSummary as issumma11_788_, characteri0_.SKCode as skcode12_788_, characteri0_.Description as descrip13_788_, characteri0_.EM_Fash_Table_ID as em_fash14_788_, characteri0_.Add_Products as add_pro15_788_, characteri0_.EM_Fash_Fk_Id_Field as em_fash16_788_, characteri0_.EM_Fash_Camapign_ID as em_fash17_788_, characteri0_.EM_Fash_Percent as em_fash18_788_, characteri0_.EM_Fash_Dimension1 as em_fash19_788_, characteri0_.EM_Fash_Dimension2 as em_fash20_788_, characteri0_.EM_Fash_Dimension3 as em_fash21_788_, characteri0_.EM_Fash_Ch_Value_ID as em_fash22_788_, characteri0_.EM_Fash_Seqno as em_fash23_788_, characteri0_.EM_Bass_Consumption as em_bass24_788_, characteri0_.EM_Fash_Assignparent as em_fash25_788_, characteri0_.EM_Advpro2_Seqno as em_advp26_788_, characteri0_.EM_Bass_Warehouse_Master as em_bass27_788_, characteri0_.EM_Bass_Office_Master as em_bass28_788_ from M_Ch_Value characteri0_ inner join M_Characteristic characteri1_ on characteri0_.M_Characteristic_ID = characteri1_.M_Characteristic_ID where exists ( select 1 from M_Product_Ch_Conf productcha2_ left outer join M_Product_Ch productcha3_ on productcha2_.M_Product_Ch_ID = productcha3_.M_Product_Ch_ID left outer join M_Product_Ch productcha4_ on productcha2_.M_Product_Ch_ID = productcha4_.M_Product_Ch_ID left outer join M_Product product5_ on productcha4_.M_Product_ID = product5_.M_Product_ID left outer join M_Product_Ch productcha6_ on productcha2_.M_Product_Ch_ID = productcha6_.M_Product_Ch_ID left outer join M_Characteristic characteri7_ on productcha6_.M_Characteristic_ID = characteri7_.M_Characteristic_ID left outer join M_Ch_Value characteri8_ on productcha2_.M_Ch_Value_ID = characteri8_.M_Ch_Value_ID left outer join M_Ch_Value characteri9_ on productcha2_.M_Ch_Value_ID = characteri9_.M_Ch_Value_ID left outer join M_Characteristic characteri10_ on characteri9_.M_Characteristic_ID = characteri10_.M_Characteristic_ID inner join M_Ch_Value characteri11_ on productcha2_.M_Ch_Value_ID = characteri11_.M_Ch_Value_ID where (upper((((coalesce(to_char(( select producttrl12_.Name from M_Product_Trl producttrl12_ where producttrl12_.M_Product_ID = productcha6_.M_Product_ID and producttrl12_.AD_Language = 'es_ES')), to_char(product5_.Name), '') || ' - ' || product5_.Value || ' - ' || coalesce(to_char(product5_.EM_Bass_Concatdesc), '') || ' - ' || coalesce(to_char(product5_.UPC), '')) || ' - ' || characteri7_.Name) || ' - ' || (characteri10_.Name || ' - ' || characteri11_.Name))) like upper('%cama%') escape '|') and characteri11_.M_Ch_Value_ID = characteri0_.M_Ch_Value_ID and (productcha2_.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 (productcha2_.AD_Client_ID in ('7E3CD157DC6246718BFBF101DCDC4016', '0'))) order by characteri1_.Name, characteri0_.Name limit '77';[ Date: 2026-07-13 10:25:25 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 1m45s 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-13 09:06:30 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
11 1m36s 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-13 08:59:33 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 1m28s 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-13 09:38:32 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
13 1m14s SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'AB54F04007F64F058F879429B3C141BB', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-13 06:05:24 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 1m10s SELECT OL.c_orderline_id, O.documentno, O.docstatus, OL.c_order_id, OL.ad_org_id, OL.isactive, O.issotrx, O.c_bpartner_id, OL.c_currency_id, OL.m_product_id, OL.m_warehouse_id, P.m_product_category_id, OL.line, OL.dateordered as "Fecha Pedido", OL.datepromised as "Fecha Comprometida", O.datepromised as "Fecha Comprometida Ped", OL.datedelivered as "Fecha Enviada", bm.name as "Motivo Bloqueo", O.em_obwpl_readypl as "Bloqueado", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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 bass_maintenancegrounds bm on bm.bass_maintenancegrounds_id = O.em_bass_maintenancegrounds_id left join c_doctype on c_doctype.c_doctype_id = O.c_doctypetarget_id WHERE 1 = 1 and O.dateordered between to_date('01-01-2021', 'dd-mm-yyyy') and to_date(current_date) and O.issotrx = 'Y' and c_doctype.isreturn = 'N' and c_doctype.docsubtypeso not in ('OB', 'ON');[ Date: 2026-07-13 09:37:53 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
15 54s960ms 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-13 14:49:59 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 54s440ms SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'F749B1EEE40C4FFA8CBB1D67D5F17517', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-13 06:05:04 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
17 53s798ms 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-13 09:42:58 - Database: etendo - User: tad - Remote: 51.38.221.201 - Application: Mashup Engine - Bind query: yes ]
18 51s912ms SELECT bass_production_cost ('89EC284EA05A415F8F1AABAD09A33408', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;[ Date: 2026-07-13 12:42:35 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
19 50s976ms SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '94226558C88F474F83439CC05882C96C', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;[ Date: 2026-07-13 06:05:01 - Database: etendo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
20 50s132ms SELECT bass_production_cost ('F4B33436BF6C4B23908DE9E2BA373091', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;[ Date: 2026-07-13 12:35:21 - 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 1h26m54s 1,623 1s90ms 6s211ms 3s213ms 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 13 06 20 1m 3s37ms 07 4 12s935ms 3s233ms 08 116 6m35s 3s406ms 09 238 13m21s 3s367ms 10 199 10m59s 3s315ms 11 176 9m58s 3s401ms 12 242 12m51s 3s189ms 13 202 10m36s 3s149ms 14 93 4m41s 3s31ms 15 158 7m51s 2s981ms 16 110 5m33s 3s32ms 17 38 1m55s 3s43ms 18 16 42s405ms 2s650ms 19 2 6s64ms 3s32ms 21 9 27s16ms 3s1ms [ User: tad - Total duration: 1h26m54s - Times executed: 1623 ]
[ Application: openbravo - Total duration: 1h26m54s - Times executed: 1623 ]
-
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 ('0BB42F51EB85441C8926F6CD9C748B08', 'A822D59818F24B54A13B4C0F94F5F58E', '54A5B3A8B7A64B00902D6E13EBA44267', '2184ACD55B954DA3806614B51CB32D80', '355D804181BD4DE39C331BAE86F3CABE', 'C41A286ED619484995AFDC109F531984', '5594687CF3284DE180877163E1D14C30', 'F06475B87A28429A908491A7CBBF7135', '71D9610D2DE04207B9A47088E16165F2', 'DE48946F4A524AFD8DBBC749A5192E22', '014922F1A05146A3836D8DB2A2490897', '563D647A5ABE45F0AB4997466F9793B7', 'B94FDA31ED4F4771B2F21C27382563E0', '6E333B095F1345CC95BA5F233B6E8947', 'B10288815B1642AEA7A7EF023FCCE5BE', '3A51791B0C584A8F924760A8C196EE14', '6ADF542B93E14E92940F535E92E366A4', '39666F411CFA452E8F07FABE9E8522BF', '4DB45D9089684CED930F672D390DC264', '27EFABF5B57A4F8793285847E4E35CD7', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31');
Date: 2026-07-13 09:55:02 Duration: 6s211ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:08 Duration: 5s642ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:01 Duration: 5s427ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 1h5m13s 2 32m30s 32m42s 32m36s 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 13 07 2 1h5m13s 32m36s [ User: tad - Total duration: 1h5m13s - Times executed: 2 ]
[ Application: openbravo - Total duration: 1h5m13s - Times executed: 2 ]
-
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-13 07:35:20 Duration: 32m42s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select ad_column_identifier_std ('ad_org', 'E495F7998AB748F59ED3B6ACF2F48CA6') 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 ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, 0) as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -1) as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -2) as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -3) as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -4) as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -5) as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -6) as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -7) as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -8) as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -9) as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -10) as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -11) as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -12) as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1) as anoanterior, bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', 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, 'E495F7998AB748F59ED3B6ACF2F48CA6'), 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 'E495F7998AB748F59ED3B6ACF2F48CA6' = '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 ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1)), 0) + coalesce((bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', 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-13 07:02:30 Duration: 32m30s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 43m23s 243 1s179ms 35s655ms 10s714ms select * from m_inout_post0 (?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 06 42 8m50s 12s627ms 07 38 7m 11s55ms 08 7 1m19s 11s290ms 09 9 1m21s 9s76ms 10 19 3m21s 10s612ms 11 27 4m48s 10s673ms 12 57 8m16s 8s713ms 13 44 8m25s 11s496ms [ User: tad - Total duration: 43m23s - Times executed: 243 ]
[ Application: openbravo - Total duration: 43m23s - Times executed: 243 ]
-
SELECT * FROM M_InOut_Post0 ('0D8F7D11DBEE45E5BA0FCB433DD6D24B');
Date: 2026-07-13 06:00:50 Duration: 35s655ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('CFECED7F16474B2E984558A09382D471');
Date: 2026-07-13 06:04:32 Duration: 21s667ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('AE40295C9F7A4048B064E9C8E2356254');
Date: 2026-07-13 06:04:10 Duration: 19s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 23m35s 247 1s32ms 7s89ms 5s732ms 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 #4
Day Hour Count Duration Avg duration Jul 13 06 46 4m41s 6s113ms 08 25 1m30s 3s601ms 09 58 5m50s 6s47ms 10 21 1m58s 5s642ms 11 6 37s260ms 6s210ms 12 35 3m5s 5s293ms 13 12 1m16s 6s339ms 14 14 1m28s 6s336ms 15 6 38s470ms 6s411ms 16 12 1m14s 6s210ms 17 12 1m15s 6s257ms [ User: tad - Total duration: 23m35s - Times executed: 247 ]
[ Application: openbravo - Total duration: 23m35s - Times executed: 247 ]
-
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-13 12:36:05 Duration: 7s89ms 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 ('0A9F98AFA3334154BB0DB3E991E35DD6', '0F5629312C90496B93241AC849B84785', '2F50558E37CF42B088AC5EE60DB5F9C0', 'D40E1880A3FA426DBF59A3FBED0A1535', '1F0AE186A40D47E18CB40824997CA292', 'ADC64359DDE941389D7D6B88C82E0E89', '5A768F5528C24985B29F7D06D2538648', 'A71FFF90AEFF426787CC8F61A0FE5AC5', 'F78FB9A43A9A48099D0B614103510F82', '5999BFA7C38C43489F9B190C728DDA9D', 'AD95550E760241F7B2232A6B9F1FC184', '34D920AAC100447793147F6850A640F0', '975481B18A5E4717BB8103F75787A097', 'ED96D0404CAB47CB876F021573F99203', 'B54C11257DF94E89A79F3435428AC44D', '2706CF0CB4D8439584B0154E52921EF1', 'B3D92AA9B5164AB098876D89898DE846', 'ED251FA8AF4F429FB90C20A8A7F7F504', '6C7AD2F2F75A4FE3B7A924334DC3FDDE', 'B698F0D370B34E8E9278C304471F9CB8', 'EDB5DE4FBF1D4A7BBA7F15D2C6941DF9', '8BD3C30BFBCC429DA687ED4AE0212E8E', '9E9AA0DB3F454D12861448AFE1B59EE2', 'BC12ACAC64A345D1A78E4DE3483A6A63', 'C10E362E471C45B5AB978CAF36C33D53', 'CC6D1A94F6094D52822FBD0D3232BA17', 'C682448E759C4B32BF16CCA32E7DF4E6', 'F8DF085E9D044B24B88F8250F6EE2D0D', '230D4B8E3C1D4E778C1B10D5610F6A40', '91DBB7F806E74AD7812304D06BAE8505', '13A435AD964442B28B82BF3586180482', 'DCB10D872FBC47F5889E960BC9571DF1', '13D007F86B354E95B91CB543D31737A3', 'BF12D2FF64574A5A95719C015B7A245E', '0DC7034FD7BF4C4193BC35390992DF6F', '272B3F516B9041A796FCC4E9420ED34E', 'E28959A969574E228952E9E16DCA2AE1', '7AFF04C3E91A42138940F5C174A38BCB', 'FE3EABA656104CE3B14C430C80BE0949', '569D2EAA8EB047469CA255D4A6181990', '8830EFE467564CB28A66E5CC22A9B4A2', '3DD77D05CAD446609BA32B633D1A53DE', '4B8AA373CF16409FB4A5F61E0315C029', '20087B3508AA481983833C8E4A4F03DA', '6F9D0C8400B24319B405911AEB8B614B', '31B2608EABE447C0B5C2046D5CB8E2D7', 'AAFDBD44928C42BBA48E3E9D03E9117F', '4FF6EBDF4B214FC3AA4A3D55D8EFC73A', 'D86E29C5575A4246A2AB2B03BD4534D5', 'DEA6AD77FD90454B839C6BFC3AEA8417');
Date: 2026-07-13 09:37:14 Duration: 6s973ms 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 ('FED67AF4E7DC457A9A6CF75FD635D253', 'FEB6533061C245EBAAC17AAE3355974C', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FD66215718A94C39A7A4D4F9C583C7AF', 'FCDCF4706C804D378C77603A559EFAED', 'FC6768143C10409D998759BB38E13DC8', 'FBD6B095A0DA4F48A0CF4D2954AAE716', 'FB8559DFF7A94D35B709032977359E8E', 'FB5E224376B544719FF0DF107EE0818C', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA58E32AA74546A6912AE3AB72F1308C', 'FA013BF010E14DE5800767C55D3AB550', 'F98EE501058746858D3FC25699B2C210', 'F9108BAFE73E4F39BACF244425E0A0AB', 'F8A525CBFC024F8F8CFAEF08615DFA22', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7E3DB3B21CC41EA87B75EC457C1BF8B', 'F7C92F9A88C34710ADF4A7167E58844F', 'F7A846CBCDDF44378506E7AFB97F43C7', 'F73A40C9169D4B14BBEAC10AFA96B283', 'F63FE84041B2444697271F134999717F', 'F4ACC7FBFEBF4A898AE18E52B17A9ADC', 'F4721A4D725945578B75D69D25FA0DAD', 'F41191F8B3DF46088940D2AE0E40C17C', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'F2E7FF83E6824A6885F2AAB1E55C63DB', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F249976258EE46EBA5F18E771E3C59D4', 'F20EEC1D5E974EF1B901C2941C06D071', 'F18F99B63F3C4BD291E6597DDE94F20B', 'F13A2486EA5C455AADE03D63646A5AAC', 'F0A324D0C705414C9C4E4141E8EF6DB1', 'F03DD191696C491D8FB0CD853C346B75', 'F017537BB68E4558A9F3AC5D3F4B4653', 'EF9B728F2E44476CA050799F6CC6E138', 'EED8A1D5D1504D47BB33DA0CEBD08162', 'EE8B3869230943DABC826D0A253C9691', 'EE43BB73FDD0499285874DBD4ED0DBF9', 'EDEC058747D846018857DDEE8DEAA883', 'ECBA6B682C2C465C9D773CE9C48B001A', 'EBDC5BA41C374D6DA5E5042FAD894424', 'EA531FDFCE424DF3AA31410CDFE950A7', 'E9621172467D4DF1B74A4363E8D74C98', 'E8E019C6DA2F44879471E613CF92FC2F', 'E846BB8F0F314C87B4C6369E68543FCB', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E666236640A9400EAC5FB98C51E673BE', 'E5C8EDADC473460A8851A41FA8CA9A06', 'E59BB55269904FAEBF5369EFC9DFBACD');
Date: 2026-07-13 09:49:11 Duration: 6s915ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 17m46s 55 1s124ms 3m37s 19s399ms select bass_production_cost (?, ?) as result from dual;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 10 2 23s286ms 11s643ms 12 43 12m25s 17s326ms 13 2 7s53ms 3s526ms 14 8 4m51s 36s454ms [ User: tad - Total duration: 17m46s - Times executed: 55 ]
[ Application: openbravo - Total duration: 17m46s - Times executed: 55 ]
-
SELECT bass_production_cost ('891D7390E5BB4FAAB2D757181A46316A', '100') AS RESULT FROM DUAL;
Date: 2026-07-13 14:47:38 Duration: 3m37s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT bass_production_cost ('89EC284EA05A415F8F1AABAD09A33408', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:42:35 Duration: 51s912ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT bass_production_cost ('F4B33436BF6C4B23908DE9E2BA373091', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:35:21 Duration: 50s132ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 15m3s 1 15m3s 15m3s 15m3s 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) and m_product.em_fash_campaign_id = ?) 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 #6
Day Hour Count Duration Avg duration Jul 13 07 1 15m3s 15m3s [ User: tad - Total duration: 15m3s - Times executed: 1 ]
[ Application: openbravo - Total duration: 15m3s - 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) and m_product.em_fash_campaign_id = '850E48F86D1545B1A3BF0C2D7AF1B036') 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-13 07:13:01 Duration: 15m3s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 9m12s 374 1s276ms 3s273ms 1s476ms 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 #7
Day Hour Count Duration Avg duration Jul 13 07 52 1m14s 1s441ms 08 53 1m19s 1s503ms 09 30 49s918ms 1s663ms 10 50 1m15s 1s505ms 11 23 33s491ms 1s456ms 12 58 1m26s 1s485ms 13 54 1m16s 1s420ms 14 20 27s125ms 1s356ms 15 24 34s886ms 1s453ms 16 4 5s331ms 1s332ms 21 6 8s504ms 1s417ms [ User: tad - Total duration: 9m12s - Times executed: 374 ]
[ Application: openbravo - Total duration: 9m12s - Times executed: 374 ]
-
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 ('FD6707B456EC45FE838D3DD67BB6E801', 'FD3E4C4FA3FC4D66B0E46A57D3211FC6', 'FB27019D9EF144E592FAE5F4B7EE5C5C', 'F9703512F3F843779509C3323BB31C7C', 'F82FE57DD29942E88CF3027C3B791C29', 'E9E81468F44545D8BE2CC1E448E12C4E', 'E9A060EFD0E5446DABA33C2BACE035F9', 'E92F64BA99C3485DB910A42F24C6CAED', 'E728F3F57C754EDC9C542E202A4442EF', 'E5187FAFA3F34C9FA5B2EE719CA67BF3', 'E3EB4ED7163949599419D2839AEAB025', 'E3E303659CE84C7297052ACDAC59A150', 'E363FBB5B0564A1C8CC61EB2EC107B98', 'E1D6998CA8114194BC68CCD1CAA036CE', 'E1BA83C4CCC546CE92EC341045928D56', 'E0BC183E47114F9A86F017C2A645C404', 'E086F3E75EF84EDFA6B79ADE3ED3CCA9', 'DF345EB28161492D9B15C6E58687A89C', 'DC8D7A17637A4B49A9727A54D05E5645', 'DC65447FBEB94959931E1BBC4D6A7978', 'D4FCA20C43CC4F2CB193E7CAAFE5B073', 'D011C32D326044FC9B00BD960252C39F', 'C875EFB50869405EBD887D54B76D3DEF', 'C73A6481A7BD4B3B9718961737C6664C', 'C722AC2EDF8F4EC29A8999F8F298765E', 'C4E14ED64D204AD89D22E0CAA4138BEC', 'C407E71B77964867A3BF1F55FDC6D222', 'C0BE9733690B4D4BBC05D9D8B90B4DB4', 'BF9B56078E3F4BA48CBD8DADD4447F46', 'B481D319EE3A473E8BA6D9DDB9596977', 'B2CF8C8E9867470EAD25D41BC69D1FCE', 'AF7FA6F8069F4155B8701321657240CC', 'AB95029FA72D406D94A8E734AA9FB1E6', 'AA8017727B3043C1ABC470CFE0270E06', 'A4DCACA54B7549DD96A160CB58E294E5', 'A3F73157838047D6BAF15D571BC56503', 'A1C13B71F2FC481EA6D674EB23A51E99', 'A07855405BCD4324B9D2F4C108CB3CBC', '9BC328D8F59749D5933D1E9FC5664469', '9799F4DF0C7141598DBCB0BF106F3FB1', '96A094180FCF4056BDEE10CE7788B872', '92D2E743CCAD4D308261E6F25DF5D29D', '90F3119A88BA4F3F9662CA9056F27177', '8AFB8877279B43488302459597CB4FFA', '89C86F0E75F64E27B92CC897C0E5DEA3', '8954245765204F3886847ED32B94A437', '85E82CE6D06B4A2BB842E23B807BE8A9', '84132F0E273440EE9E901CAFEB75D875', '83A7DF29BDE74C73AD7570B5802035ED', '80E586EAB6694E6EB52D7C69B31927D9');
Date: 2026-07-13 09:55:02 Duration: 3s273ms 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 ('6AD7F10EB851485F954E8E14E503B4A2', '3939E053FEAD43DFA861161AD8E6F1C1', '6FF6A9868E59422E8AC02D97D02201C5', '53FDD835343A4CFFA6CFF8417CBCC105', 'EA712E42608F445189341D7AD4835FF2', 'E25C2682CD8F475BA611463822A3DA14', 'B3E8810870FE47FC864C66EBEAC3FD68', '7622BF61C25745A0BBCA4834EDE8E3A8', '3603696CA9E8492F8FB6DE5E0628C762', 'FB0F3DE7531F44BE95C2AF86D476CBB3', 'ED881C8E4C4E4F6FA8D8DB8BC47DEB6C', 'C4E8E16B0BC64FC39542AC848E6801A6', 'BF8996C29F884DB185F3AD33A90A8D74', 'BED47368CD214C428E1A759521A9F481', 'A953C8C49A284C89AABD622587A2EFAF', 'A2D8C27920594268A1E2AB2DEB7D4E1C', '865F9098DF2E4C98984FCD453C44BEDF', '7BB5B89683CA47738048468E67EAF04A', '5D9AE63D68D1496DB427C02E43EC71F0', '00B93BB291704E87B7932A7568BFF58C', 'F449D55E6D234225825ADF602AF7D215', '9E0059A3478346DFB9B882BF455FAE22', '9782A29EF4C44B1DA9E5ADC00D3D07A3', '6392E74F29444F0EA6DF3C3F1732A302', '0DC0FDABA6B74379A32E2ED1CB4E6E84', 'A0CA3418E3514833BBA8CAE67D0B9081', '8AFF349E811647D3859891A7EF57AE71', 'BE97F918BDCA40F08E43AA7BC1892FDE', 'DFAD5A04850043249AB6E4B6BE0A8788', 'A2234D9FBBD24090897E10785B7D8104', '4C5B0152B7E44069A6CBB3098551A68D', '319B4582F09447218BC73C0B04372713', 'AA3F291B708348C19AF04205DCF97D11', '4CFC3BFBB8D848CD8D8130CC876C99E0', 'F8628C9FA9AD43709796466CAA0C2513', '8124FF3F398240B0A78DC9A886F144EA', '63D63140B319402D8B26E6AFD560372D', '11E6839DC01F4934A8CDE4D2D778E8B8', '6941917D982E4B2B8262F07EBA3213CC', '4BACF4012EE341CEABC456F441C36813', 'C67F799AF63D4CFA85C2C20BE34F384A', '76C0EA935C85432DA5CB938E7DEAD27C', '575B41E35F3347DBADB95AAA4B11EAFF', '115628D8B27C42C29476DFD005CD5F6C', 'EEA56D1AF1954562BC433C8B59D6ABF0', 'DE82C2425F2D4CE68E45A9EA750BCFCD', 'CB0E8642841A4473A3DFECAAC2706961', 'BA2EC570D53B430F9872FB838A9944F4', '849BAB33579B4B72B92036B37E001469', '440963A14A5D43C180EE4DF495159C2C');
Date: 2026-07-13 09:55:06 Duration: 2s951ms 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 ('799418B2AC7848BDAC62B82A054B3271', '78A2612B2CB34AE486756A5D6F4DF424', '76F349146F4749BD971C086A2C18FF34', '74C32E454B824918AE04833AFF4B0405', '73E89FD455074F149119EF131A41BC54', '6E11896C4D5741D9A39212F971D4E4E1', '6DC65DC610A640FD8D159B946069DAD1', '6BAF5606C77E4836BC6EC0F768EC6D07', '6AD7F10EB851485F954E8E14E503B4A2', '69BDDB7A289F4A1D965DCFE896A7562F', '69296FAEBA3147F48F017C6D87601F98', '6622683F051E48D88FE6F0C2E3AB7612', '64A491B4052041B5B01C16AF22603F5B', '5C226CCF871045D2AC4924B521796787', '57EADAA02B9449D9BD4F05EFE0280CF3', '5781EF9DF04741AD9DBCAC7B0973A41E', '520BD3E6CEA54E0DAE91D0759D5DAEBE', '4DF89DF9F79B40FDACB6BA3C3C8D3013', '4623A4AEF92C420B9127CE33C963EF3F', '456AA640CC8E428381A51F1F42FA5FAA', '44D4413FCFE348C9953B09637FD539AA', '44A18C85A2004A6BAF4FA963E2F276B9', '44817479462942FDB50698A462E7112C', '446D845BA8494189B4CCCC8C007174F6', '4368E034387344319D8D330CCBB43C68', '41153F308CE94861AB0A2423FB535EA0', '3D0B8FB6AEDE457FBD3BD8D6FDE03854', '3CDA31BEF5974736B0323EE0CF810249', '39C0B7EA879246EFA7E6BDF414DE062F', '3686C920C5374337A35F72D269543A23', '35333423F5CB46668C0E54AF69A6E143', '34F0B63CCB734D57BA066D3316A3FDC0', '32768993DFF341769454F9B92F319FE6', '30A77907B98D49C8BA048218CDD859B2', '309BD87178A342A4902438D21105B049', '2C8C857925124F019383315295961417', '29D04342CD2A4DFDBC4C93FC6F013F5E', '24B95B6110BD40E6821ACDE6DA76A917', '23F5C8AA5F814B4CA34599AEE25B13BA', '2342F852221A4CBBB98B03345CA33643', '1F92DDDA30844734A3F481A13C4CEAD9', '1E9825039477418094986B3DFB1FE6A0', '1C9D459D07634362B60623BCEEBD9121', '1A36E21A64824CF0AF3D9876D79D863E', '1687DA2AFD064A6394D7355905FF10A1', '15034DB41382408392F212FB2BC1D797', '1124D4716FE849DF90ACCE066359D92D', '109ACC0220B247BEB9CE664F14B650C2', '10529E04652D4EFCAE2AC4DBA3BB3214', '0E861E32CE6F49A495C51BFA8084E96D');
Date: 2026-07-13 09:55:05 Duration: 2s900ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 8m15s 204 1s902ms 3s567ms 2s427ms 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 #8
Day Hour Count Duration Avg duration Jul 13 06 3 7s704ms 2s568ms 07 6 16s258ms 2s709ms 08 17 44s426ms 2s613ms 09 30 1m19s 2s657ms 10 23 1m2s 2s722ms 11 20 50s237ms 2s511ms 12 19 47s95ms 2s478ms 13 17 40s826ms 2s401ms 14 1 2s626ms 2s626ms 15 27 56s170ms 2s80ms 16 16 34s579ms 2s161ms 17 14 28s635ms 2s45ms 18 11 24s343ms 2s213ms [ User: tad - Total duration: 8m15s - Times executed: 204 ]
[ Application: openbravo - Total duration: 8m15s - Times executed: 204 ]
-
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 = 'stock9ED842FE6EBD4AD691C4D113C5C1D064E6263A6FD49541ABB27D9DA6538BD12CB7B59E4CA8634DFBB3A6750AC34F2A52A92D14ED67D8409C84A8470B1D032757';
Date: 2026-07-13 09:49:13 Duration: 3s567ms 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 = 'stock17CB9CFBD4404E5993FA849E782520E5A5CE125D0DEE476AB7F651D4350AEB36B40D68C1F18347E4B18DB8ABA9C15846A92D14ED67D8409C84A8470B1D032757';
Date: 2026-07-13 11:32:28 Duration: 3s462ms 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 = 'stock7287A69675EA4F1ABB55DA639C66521FF92C9871602944BDAD8B8F54BC268FE8E503E64F64D445AFADF87A3F701BAE13FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-13 09:36:23 Duration: 3s442ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 7m47s 67 1s148ms 10s768ms 6s980ms 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 13 08 2 12s30ms 6s15ms 09 14 1m12s 5s196ms 10 11 1m4s 5s831ms 11 8 58s437ms 7s304ms 12 7 44s965ms 6s423ms 13 9 1m7s 7s536ms 14 2 19s239ms 9s619ms 15 8 1m14s 9s362ms 16 6 53s418ms 8s903ms [ User: tad - Total duration: 7m47s - Times executed: 67 ]
[ Application: openbravo - Total duration: 7m47s - Times executed: 67 ]
-
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 ('7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6', '1006AE4933D94B08946B1A1CFA2EFE53', '3160C49FCFA94F75A86AB60054A37D5B', '1D0BF438E8F54DB18B51EAA3708F4AD2', '1DA9B85B1E9D40F8A7EF735066F6B45D', '3620B0576C3F4328BAD446E3D1054488', 'A633FF18DB8F4BCAA34A1B75D854F9E2', '371685F8972245B09A0C51112B685830', '3847F6E5BA584D77A07ADF094BF1BB3A', 'B37EF2CDFC7B4ED7BCEF5E6D80451A7F', 'E9621172467D4DF1B74A4363E8D74C98', 'B01DEC021E9B4275B88D49E2CC31CF47', 'D6FAB8C578E0411AB670FC076FA469AD', '4F6AF9EE750C48F4B5A1B41E67F5781F', 'B14C8C32BC114CA6B33AD3A89B61A347', '90CED4D0572E481ABB6B5B4460E65815', '17F04E14F82A4329B26FF4E551842E88', 'E08000A1FB944F49AE2C72C2FCB708AE');
Date: 2026-07-13 13:07:17 Duration: 10s768ms 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 ('BD868E60AEB2473FAEFDDB2FDE68A605', 'D0579343A69441529F649AB597C35CEE', 'A929759F550E452BB459E78E0E7E1CB3', 'EED8A1D5D1504D47BB33DA0CEBD08162', '133039230492443B9941AF4536745129', 'E26C50183C494DEB9DE7466FF0810124', 'D261478991D8475BB1A0B1814DF136D4', '047FA5B355B84506BAA339FF108904BF', '87A0DB3C9B5947658AE5AD222C97BE1D', '6433E3867B454783830CF47374FA2DDE', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F017537BB68E4558A9F3AC5D3F4B4653', '86D23DDE59D94BEBA4062F04EA086D73', '4E7467A0B85D4298BFE1F9680530C9BE', 'FB5E224376B544719FF0DF107EE0818C', '7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6', '1006AE4933D94B08946B1A1CFA2EFE53', '3160C49FCFA94F75A86AB60054A37D5B');
Date: 2026-07-13 13:25:25 Duration: 10s721ms 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 ('52594CFBD1A543C09852D45FA0F0E459', '8AB7F01EDDEF49098928FA03ED482515', 'BD868E60AEB2473FAEFDDB2FDE68A605', 'D0579343A69441529F649AB597C35CEE', 'A929759F550E452BB459E78E0E7E1CB3', 'EED8A1D5D1504D47BB33DA0CEBD08162', '133039230492443B9941AF4536745129', 'E26C50183C494DEB9DE7466FF0810124', 'D261478991D8475BB1A0B1814DF136D4', '047FA5B355B84506BAA339FF108904BF', '87A0DB3C9B5947658AE5AD222C97BE1D', '6433E3867B454783830CF47374FA2DDE', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F017537BB68E4558A9F3AC5D3F4B4653', '86D23DDE59D94BEBA4062F04EA086D73', '4E7467A0B85D4298BFE1F9680530C9BE', 'FB5E224376B544719FF0DF107EE0818C', '7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6');
Date: 2026-07-13 15:32:13 Duration: 10s443ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 6m16s 10 17s253ms 1m14s 37s630ms select advmrp_run_explode2 (?, ?, ?, ?, null, ?, ?, ?, ?) as result from dual;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 06 10 6m16s 37s630ms [ User: tad - Total duration: 6m16s - Times executed: 10 ]
[ Application: openbravo - Total duration: 6m16s - Times executed: 10 ]
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'AB54F04007F64F058F879429B3C141BB', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:24 Duration: 1m14s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'F749B1EEE40C4FFA8CBB1D67D5F17517', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:04 Duration: 54s440ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '94226558C88F474F83439CC05882C96C', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:01 Duration: 50s976ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 5m38s 168 1s734ms 4s616ms 2s12ms 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 #11
Day Hour Count Duration Avg duration Jul 13 09 13 35s845ms 2s757ms 10 42 1m21s 1s935ms 11 23 44s461ms 1s933ms 12 22 42s558ms 1s934ms 13 28 55s591ms 1s985ms 14 10 20s499ms 2s49ms 15 27 52s85ms 1s929ms 16 3 5s771ms 1s923ms [ User: tad - Total duration: 5m38s - Times executed: 168 ]
[ Application: openbravo - Total duration: 5m38s - Times executed: 168 ]
-
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('%619675%') 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-13 09:55:04 Duration: 4s616ms 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('%6196%') 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-13 09:55:03 Duration: 4s120ms 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('%61967%') 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-13 09:55:03 Duration: 3s798ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 5m9s 7 29s321ms 1m28s 44s249ms 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 #12
Day Hour Count Duration Avg duration Jul 13 07 1 29s321ms 29s321ms 08 1 33s285ms 33s285ms 09 3 2m53s 57s841ms 13 1 35s651ms 35s651ms 16 1 37s967ms 37s967ms [ User: tad - Total duration: 5m9s - Times executed: 7 ]
[ Application: Mashup Engine - Total duration: 5m9s - Times executed: 7 ]
-
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-13 09:38:32 Duration: 1m28s 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-13 09:42:58 Duration: 53s798ms 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-13 16:11:33 Duration: 37s967ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
13 4m35s 6 20s377ms 1m57s 45s986ms 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, ?) AS "Cantidad Pedido", round(ol.qtydelivered, ?) 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 ? = ? 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", 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 ? = ? 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 #13
Day Hour Count Duration Avg duration Jul 13 06 1 20s377ms 20s377ms 08 3 1m42s 34s81ms 09 1 1m57s 1m57s 13 1 36s167ms 36s167ms [ User: tad - Total duration: 4m35s - Times executed: 6 ]
[ Application: Mashup Engine - Total duration: 4m35s - Times executed: 6 ]
-
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-13 09:38:03 Duration: 1m57s 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", "_"."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-13 08:12:57 Duration: 36s911ms Database: etendo User: tad Remote: 164.132.218.10 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", "_"."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-13 08:16:29 Duration: 36s817ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
14 3m50s 70 3s92ms 3s598ms 3s298ms 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 #14
Day Hour Count Duration Avg duration Jul 13 09 4 14s130ms 3s532ms 10 17 55s247ms 3s249ms 11 11 36s25ms 3s275ms 12 8 26s816ms 3s352ms 13 13 43s15ms 3s308ms 14 6 20s282ms 3s380ms 15 9 28s862ms 3s206ms 16 2 6s521ms 3s260ms [ User: tad - Total duration: 3m50s - Times executed: 70 ]
[ Application: openbravo - Total duration: 3m50s - Times executed: 70 ]
-
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('%609138005%') 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-13 09:36:52 Duration: 3s598ms 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('%619675203%') 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-13 09:55:12 Duration: 3s534ms 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('%648653377%') 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-13 14:49:30 Duration: 3s519ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 3m48s 5 36s424ms 49s918ms 45s619ms 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 = ?) 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 = ?) 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", round(ol.qtyordered, ?) AS "Cantidad Pedido", round(ol.qtydelivered, ?) AS "Cantidad Enviada", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", round(( 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 ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and o.docstatus in (...) and c_doctype.docsubtypeso not in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 09 5 3m48s 45s619ms [ User: tad - Total duration: 3m48s - Times executed: 5 ]
[ Application: Mashup Engine - Total duration: 3m48s - Times executed: 5 ]
-
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", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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-13 09:56:04 Duration: 49s918ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
-
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", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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-13 09:55:11 Duration: 49s213ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
-
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", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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-13 09:56:00 Duration: 46s381ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
16 3m43s 3 21s858ms 1m45s 1m14s 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 #16
Day Hour Count Duration Avg duration Jul 13 08 2 1m58s 59s302ms 09 1 1m45s 1m45s [ User: tad - Total duration: 3m43s - Times executed: 3 ]
[ Application: openbravo - Total duration: 3m43s - Times executed: 3 ]
-
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-13 09:06:30 Duration: 1m45s 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 = '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-13 08:59:33 Duration: 1m36s 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-13 08:56:56 Duration: 21s858ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 3m42s 13 8s773ms 28s210ms 17s150ms 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 #17
Day Hour Count Duration Avg duration Jul 13 06 1 8s773ms 8s773ms 07 1 11s129ms 11s129ms 08 4 1m 15s238ms 09 4 1m23s 20s764ms 13 2 37s592ms 18s796ms 16 1 21s446ms 21s446ms [ User: tad - Total duration: 3m42s - Times executed: 13 ]
[ Application: Mashup Engine - Total duration: 3m42s - Times executed: 13 ]
-
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-13 09:35:29 Duration: 28s210ms 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-13 16:11:16 Duration: 21s446ms 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-13 09:38:22 Duration: 20s174ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
18 3m18s 1 3m18s 3m18s 3m18s select advmrp_run_initialize2 (?, ?, ?, ?, null, null, null, null, null, null, ?, ?, ?, null, ?, ?) as result from dual;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 13 06 1 3m18s 3m18s [ User: tad - Total duration: 3m18s - Times executed: 1 ]
[ Application: openbravo - Total duration: 3m18s - Times executed: 1 ]
-
SELECT ADVMRP_RUN_INITIALIZE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '70C9BC0CC6154D968CB51608A6C1207D', NULL, NULL, NULL, NULL, NULL, NULL, '180', '2026-07-13 00:00:00', 'Y', NULL, 'GPP', 'N') AS RESULT FROM DUAL;
Date: 2026-07-13 06:03:18 Duration: 3m18s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 3m15s 23 1s701ms 19s103ms 8s496ms select * from ad_sequence_doc (?, ?, ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 13 06 5 53s864ms 10s772ms 07 5 39s817ms 7s963ms 10 1 9s379ms 9s379ms 12 4 40s584ms 10s146ms 13 8 51s770ms 6s471ms [ User: tad - Total duration: 3m15s - Times executed: 23 ]
[ Application: openbravo - Total duration: 3m15s - Times executed: 23 ]
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 12:31:10 Duration: 19s103ms 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-13 06:04:10 Duration: 17s65ms 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-13 07:05:04 Duration: 13s411ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 3m13s 10 5s859ms 42s204ms 19s366ms select advmrp_processplan2 (?, ?, ?, ?, null, ?, ?, ?) as result from dual;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 06 10 3m13s 19s366ms [ User: tad - Total duration: 3m13s - Times executed: 10 ]
[ Application: openbravo - Total duration: 3m13s - Times executed: 10 ]
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'E6ECAB1D29BA47D39B51718E4A6326FB', NULL, '180', '2026-07-13 06:00:00.079', '0') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:22 Duration: 42s204ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '5170376EC7AF4D7287CADDED3B121EAF', NULL, '180', '2026-07-13 06:00:00.079', '0') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:09 Duration: 36s170ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '97628CC64216458D9A2149424E2F00F8', NULL, '180', '2026-07-13 06:00:00.079', '0') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:05 Duration: 34s839ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,623 1h26m54s 1s90ms 6s211ms 3s213ms 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 13 06 20 1m 3s37ms 07 4 12s935ms 3s233ms 08 116 6m35s 3s406ms 09 238 13m21s 3s367ms 10 199 10m59s 3s315ms 11 176 9m58s 3s401ms 12 242 12m51s 3s189ms 13 202 10m36s 3s149ms 14 93 4m41s 3s31ms 15 158 7m51s 2s981ms 16 110 5m33s 3s32ms 17 38 1m55s 3s43ms 18 16 42s405ms 2s650ms 19 2 6s64ms 3s32ms 21 9 27s16ms 3s1ms [ User: tad - Total duration: 1h26m54s - Times executed: 1623 ]
[ Application: openbravo - Total duration: 1h26m54s - Times executed: 1623 ]
-
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 ('0BB42F51EB85441C8926F6CD9C748B08', 'A822D59818F24B54A13B4C0F94F5F58E', '54A5B3A8B7A64B00902D6E13EBA44267', '2184ACD55B954DA3806614B51CB32D80', '355D804181BD4DE39C331BAE86F3CABE', 'C41A286ED619484995AFDC109F531984', '5594687CF3284DE180877163E1D14C30', 'F06475B87A28429A908491A7CBBF7135', '71D9610D2DE04207B9A47088E16165F2', 'DE48946F4A524AFD8DBBC749A5192E22', '014922F1A05146A3836D8DB2A2490897', '563D647A5ABE45F0AB4997466F9793B7', 'B94FDA31ED4F4771B2F21C27382563E0', '6E333B095F1345CC95BA5F233B6E8947', 'B10288815B1642AEA7A7EF023FCCE5BE', '3A51791B0C584A8F924760A8C196EE14', '6ADF542B93E14E92940F535E92E366A4', '39666F411CFA452E8F07FABE9E8522BF', '4DB45D9089684CED930F672D390DC264', '27EFABF5B57A4F8793285847E4E35CD7', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31');
Date: 2026-07-13 09:55:02 Duration: 6s211ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:08 Duration: 5s642ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:01 Duration: 5s427ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 374 9m12s 1s276ms 3s273ms 1s476ms 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 #2
Day Hour Count Duration Avg duration Jul 13 07 52 1m14s 1s441ms 08 53 1m19s 1s503ms 09 30 49s918ms 1s663ms 10 50 1m15s 1s505ms 11 23 33s491ms 1s456ms 12 58 1m26s 1s485ms 13 54 1m16s 1s420ms 14 20 27s125ms 1s356ms 15 24 34s886ms 1s453ms 16 4 5s331ms 1s332ms 21 6 8s504ms 1s417ms [ User: tad - Total duration: 9m12s - Times executed: 374 ]
[ Application: openbravo - Total duration: 9m12s - Times executed: 374 ]
-
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 ('FD6707B456EC45FE838D3DD67BB6E801', 'FD3E4C4FA3FC4D66B0E46A57D3211FC6', 'FB27019D9EF144E592FAE5F4B7EE5C5C', 'F9703512F3F843779509C3323BB31C7C', 'F82FE57DD29942E88CF3027C3B791C29', 'E9E81468F44545D8BE2CC1E448E12C4E', 'E9A060EFD0E5446DABA33C2BACE035F9', 'E92F64BA99C3485DB910A42F24C6CAED', 'E728F3F57C754EDC9C542E202A4442EF', 'E5187FAFA3F34C9FA5B2EE719CA67BF3', 'E3EB4ED7163949599419D2839AEAB025', 'E3E303659CE84C7297052ACDAC59A150', 'E363FBB5B0564A1C8CC61EB2EC107B98', 'E1D6998CA8114194BC68CCD1CAA036CE', 'E1BA83C4CCC546CE92EC341045928D56', 'E0BC183E47114F9A86F017C2A645C404', 'E086F3E75EF84EDFA6B79ADE3ED3CCA9', 'DF345EB28161492D9B15C6E58687A89C', 'DC8D7A17637A4B49A9727A54D05E5645', 'DC65447FBEB94959931E1BBC4D6A7978', 'D4FCA20C43CC4F2CB193E7CAAFE5B073', 'D011C32D326044FC9B00BD960252C39F', 'C875EFB50869405EBD887D54B76D3DEF', 'C73A6481A7BD4B3B9718961737C6664C', 'C722AC2EDF8F4EC29A8999F8F298765E', 'C4E14ED64D204AD89D22E0CAA4138BEC', 'C407E71B77964867A3BF1F55FDC6D222', 'C0BE9733690B4D4BBC05D9D8B90B4DB4', 'BF9B56078E3F4BA48CBD8DADD4447F46', 'B481D319EE3A473E8BA6D9DDB9596977', 'B2CF8C8E9867470EAD25D41BC69D1FCE', 'AF7FA6F8069F4155B8701321657240CC', 'AB95029FA72D406D94A8E734AA9FB1E6', 'AA8017727B3043C1ABC470CFE0270E06', 'A4DCACA54B7549DD96A160CB58E294E5', 'A3F73157838047D6BAF15D571BC56503', 'A1C13B71F2FC481EA6D674EB23A51E99', 'A07855405BCD4324B9D2F4C108CB3CBC', '9BC328D8F59749D5933D1E9FC5664469', '9799F4DF0C7141598DBCB0BF106F3FB1', '96A094180FCF4056BDEE10CE7788B872', '92D2E743CCAD4D308261E6F25DF5D29D', '90F3119A88BA4F3F9662CA9056F27177', '8AFB8877279B43488302459597CB4FFA', '89C86F0E75F64E27B92CC897C0E5DEA3', '8954245765204F3886847ED32B94A437', '85E82CE6D06B4A2BB842E23B807BE8A9', '84132F0E273440EE9E901CAFEB75D875', '83A7DF29BDE74C73AD7570B5802035ED', '80E586EAB6694E6EB52D7C69B31927D9');
Date: 2026-07-13 09:55:02 Duration: 3s273ms 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 ('6AD7F10EB851485F954E8E14E503B4A2', '3939E053FEAD43DFA861161AD8E6F1C1', '6FF6A9868E59422E8AC02D97D02201C5', '53FDD835343A4CFFA6CFF8417CBCC105', 'EA712E42608F445189341D7AD4835FF2', 'E25C2682CD8F475BA611463822A3DA14', 'B3E8810870FE47FC864C66EBEAC3FD68', '7622BF61C25745A0BBCA4834EDE8E3A8', '3603696CA9E8492F8FB6DE5E0628C762', 'FB0F3DE7531F44BE95C2AF86D476CBB3', 'ED881C8E4C4E4F6FA8D8DB8BC47DEB6C', 'C4E8E16B0BC64FC39542AC848E6801A6', 'BF8996C29F884DB185F3AD33A90A8D74', 'BED47368CD214C428E1A759521A9F481', 'A953C8C49A284C89AABD622587A2EFAF', 'A2D8C27920594268A1E2AB2DEB7D4E1C', '865F9098DF2E4C98984FCD453C44BEDF', '7BB5B89683CA47738048468E67EAF04A', '5D9AE63D68D1496DB427C02E43EC71F0', '00B93BB291704E87B7932A7568BFF58C', 'F449D55E6D234225825ADF602AF7D215', '9E0059A3478346DFB9B882BF455FAE22', '9782A29EF4C44B1DA9E5ADC00D3D07A3', '6392E74F29444F0EA6DF3C3F1732A302', '0DC0FDABA6B74379A32E2ED1CB4E6E84', 'A0CA3418E3514833BBA8CAE67D0B9081', '8AFF349E811647D3859891A7EF57AE71', 'BE97F918BDCA40F08E43AA7BC1892FDE', 'DFAD5A04850043249AB6E4B6BE0A8788', 'A2234D9FBBD24090897E10785B7D8104', '4C5B0152B7E44069A6CBB3098551A68D', '319B4582F09447218BC73C0B04372713', 'AA3F291B708348C19AF04205DCF97D11', '4CFC3BFBB8D848CD8D8130CC876C99E0', 'F8628C9FA9AD43709796466CAA0C2513', '8124FF3F398240B0A78DC9A886F144EA', '63D63140B319402D8B26E6AFD560372D', '11E6839DC01F4934A8CDE4D2D778E8B8', '6941917D982E4B2B8262F07EBA3213CC', '4BACF4012EE341CEABC456F441C36813', 'C67F799AF63D4CFA85C2C20BE34F384A', '76C0EA935C85432DA5CB938E7DEAD27C', '575B41E35F3347DBADB95AAA4B11EAFF', '115628D8B27C42C29476DFD005CD5F6C', 'EEA56D1AF1954562BC433C8B59D6ABF0', 'DE82C2425F2D4CE68E45A9EA750BCFCD', 'CB0E8642841A4473A3DFECAAC2706961', 'BA2EC570D53B430F9872FB838A9944F4', '849BAB33579B4B72B92036B37E001469', '440963A14A5D43C180EE4DF495159C2C');
Date: 2026-07-13 09:55:06 Duration: 2s951ms 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 ('799418B2AC7848BDAC62B82A054B3271', '78A2612B2CB34AE486756A5D6F4DF424', '76F349146F4749BD971C086A2C18FF34', '74C32E454B824918AE04833AFF4B0405', '73E89FD455074F149119EF131A41BC54', '6E11896C4D5741D9A39212F971D4E4E1', '6DC65DC610A640FD8D159B946069DAD1', '6BAF5606C77E4836BC6EC0F768EC6D07', '6AD7F10EB851485F954E8E14E503B4A2', '69BDDB7A289F4A1D965DCFE896A7562F', '69296FAEBA3147F48F017C6D87601F98', '6622683F051E48D88FE6F0C2E3AB7612', '64A491B4052041B5B01C16AF22603F5B', '5C226CCF871045D2AC4924B521796787', '57EADAA02B9449D9BD4F05EFE0280CF3', '5781EF9DF04741AD9DBCAC7B0973A41E', '520BD3E6CEA54E0DAE91D0759D5DAEBE', '4DF89DF9F79B40FDACB6BA3C3C8D3013', '4623A4AEF92C420B9127CE33C963EF3F', '456AA640CC8E428381A51F1F42FA5FAA', '44D4413FCFE348C9953B09637FD539AA', '44A18C85A2004A6BAF4FA963E2F276B9', '44817479462942FDB50698A462E7112C', '446D845BA8494189B4CCCC8C007174F6', '4368E034387344319D8D330CCBB43C68', '41153F308CE94861AB0A2423FB535EA0', '3D0B8FB6AEDE457FBD3BD8D6FDE03854', '3CDA31BEF5974736B0323EE0CF810249', '39C0B7EA879246EFA7E6BDF414DE062F', '3686C920C5374337A35F72D269543A23', '35333423F5CB46668C0E54AF69A6E143', '34F0B63CCB734D57BA066D3316A3FDC0', '32768993DFF341769454F9B92F319FE6', '30A77907B98D49C8BA048218CDD859B2', '309BD87178A342A4902438D21105B049', '2C8C857925124F019383315295961417', '29D04342CD2A4DFDBC4C93FC6F013F5E', '24B95B6110BD40E6821ACDE6DA76A917', '23F5C8AA5F814B4CA34599AEE25B13BA', '2342F852221A4CBBB98B03345CA33643', '1F92DDDA30844734A3F481A13C4CEAD9', '1E9825039477418094986B3DFB1FE6A0', '1C9D459D07634362B60623BCEEBD9121', '1A36E21A64824CF0AF3D9876D79D863E', '1687DA2AFD064A6394D7355905FF10A1', '15034DB41382408392F212FB2BC1D797', '1124D4716FE849DF90ACCE066359D92D', '109ACC0220B247BEB9CE664F14B650C2', '10529E04652D4EFCAE2AC4DBA3BB3214', '0E861E32CE6F49A495C51BFA8084E96D');
Date: 2026-07-13 09:55:05 Duration: 2s900ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 247 23m35s 1s32ms 7s89ms 5s732ms 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 #3
Day Hour Count Duration Avg duration Jul 13 06 46 4m41s 6s113ms 08 25 1m30s 3s601ms 09 58 5m50s 6s47ms 10 21 1m58s 5s642ms 11 6 37s260ms 6s210ms 12 35 3m5s 5s293ms 13 12 1m16s 6s339ms 14 14 1m28s 6s336ms 15 6 38s470ms 6s411ms 16 12 1m14s 6s210ms 17 12 1m15s 6s257ms [ User: tad - Total duration: 23m35s - Times executed: 247 ]
[ Application: openbravo - Total duration: 23m35s - Times executed: 247 ]
-
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-13 12:36:05 Duration: 7s89ms 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 ('0A9F98AFA3334154BB0DB3E991E35DD6', '0F5629312C90496B93241AC849B84785', '2F50558E37CF42B088AC5EE60DB5F9C0', 'D40E1880A3FA426DBF59A3FBED0A1535', '1F0AE186A40D47E18CB40824997CA292', 'ADC64359DDE941389D7D6B88C82E0E89', '5A768F5528C24985B29F7D06D2538648', 'A71FFF90AEFF426787CC8F61A0FE5AC5', 'F78FB9A43A9A48099D0B614103510F82', '5999BFA7C38C43489F9B190C728DDA9D', 'AD95550E760241F7B2232A6B9F1FC184', '34D920AAC100447793147F6850A640F0', '975481B18A5E4717BB8103F75787A097', 'ED96D0404CAB47CB876F021573F99203', 'B54C11257DF94E89A79F3435428AC44D', '2706CF0CB4D8439584B0154E52921EF1', 'B3D92AA9B5164AB098876D89898DE846', 'ED251FA8AF4F429FB90C20A8A7F7F504', '6C7AD2F2F75A4FE3B7A924334DC3FDDE', 'B698F0D370B34E8E9278C304471F9CB8', 'EDB5DE4FBF1D4A7BBA7F15D2C6941DF9', '8BD3C30BFBCC429DA687ED4AE0212E8E', '9E9AA0DB3F454D12861448AFE1B59EE2', 'BC12ACAC64A345D1A78E4DE3483A6A63', 'C10E362E471C45B5AB978CAF36C33D53', 'CC6D1A94F6094D52822FBD0D3232BA17', 'C682448E759C4B32BF16CCA32E7DF4E6', 'F8DF085E9D044B24B88F8250F6EE2D0D', '230D4B8E3C1D4E778C1B10D5610F6A40', '91DBB7F806E74AD7812304D06BAE8505', '13A435AD964442B28B82BF3586180482', 'DCB10D872FBC47F5889E960BC9571DF1', '13D007F86B354E95B91CB543D31737A3', 'BF12D2FF64574A5A95719C015B7A245E', '0DC7034FD7BF4C4193BC35390992DF6F', '272B3F516B9041A796FCC4E9420ED34E', 'E28959A969574E228952E9E16DCA2AE1', '7AFF04C3E91A42138940F5C174A38BCB', 'FE3EABA656104CE3B14C430C80BE0949', '569D2EAA8EB047469CA255D4A6181990', '8830EFE467564CB28A66E5CC22A9B4A2', '3DD77D05CAD446609BA32B633D1A53DE', '4B8AA373CF16409FB4A5F61E0315C029', '20087B3508AA481983833C8E4A4F03DA', '6F9D0C8400B24319B405911AEB8B614B', '31B2608EABE447C0B5C2046D5CB8E2D7', 'AAFDBD44928C42BBA48E3E9D03E9117F', '4FF6EBDF4B214FC3AA4A3D55D8EFC73A', 'D86E29C5575A4246A2AB2B03BD4534D5', 'DEA6AD77FD90454B839C6BFC3AEA8417');
Date: 2026-07-13 09:37:14 Duration: 6s973ms 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 ('FED67AF4E7DC457A9A6CF75FD635D253', 'FEB6533061C245EBAAC17AAE3355974C', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FD66215718A94C39A7A4D4F9C583C7AF', 'FCDCF4706C804D378C77603A559EFAED', 'FC6768143C10409D998759BB38E13DC8', 'FBD6B095A0DA4F48A0CF4D2954AAE716', 'FB8559DFF7A94D35B709032977359E8E', 'FB5E224376B544719FF0DF107EE0818C', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA58E32AA74546A6912AE3AB72F1308C', 'FA013BF010E14DE5800767C55D3AB550', 'F98EE501058746858D3FC25699B2C210', 'F9108BAFE73E4F39BACF244425E0A0AB', 'F8A525CBFC024F8F8CFAEF08615DFA22', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7E3DB3B21CC41EA87B75EC457C1BF8B', 'F7C92F9A88C34710ADF4A7167E58844F', 'F7A846CBCDDF44378506E7AFB97F43C7', 'F73A40C9169D4B14BBEAC10AFA96B283', 'F63FE84041B2444697271F134999717F', 'F4ACC7FBFEBF4A898AE18E52B17A9ADC', 'F4721A4D725945578B75D69D25FA0DAD', 'F41191F8B3DF46088940D2AE0E40C17C', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'F2E7FF83E6824A6885F2AAB1E55C63DB', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F249976258EE46EBA5F18E771E3C59D4', 'F20EEC1D5E974EF1B901C2941C06D071', 'F18F99B63F3C4BD291E6597DDE94F20B', 'F13A2486EA5C455AADE03D63646A5AAC', 'F0A324D0C705414C9C4E4141E8EF6DB1', 'F03DD191696C491D8FB0CD853C346B75', 'F017537BB68E4558A9F3AC5D3F4B4653', 'EF9B728F2E44476CA050799F6CC6E138', 'EED8A1D5D1504D47BB33DA0CEBD08162', 'EE8B3869230943DABC826D0A253C9691', 'EE43BB73FDD0499285874DBD4ED0DBF9', 'EDEC058747D846018857DDEE8DEAA883', 'ECBA6B682C2C465C9D773CE9C48B001A', 'EBDC5BA41C374D6DA5E5042FAD894424', 'EA531FDFCE424DF3AA31410CDFE950A7', 'E9621172467D4DF1B74A4363E8D74C98', 'E8E019C6DA2F44879471E613CF92FC2F', 'E846BB8F0F314C87B4C6369E68543FCB', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E666236640A9400EAC5FB98C51E673BE', 'E5C8EDADC473460A8851A41FA8CA9A06', 'E59BB55269904FAEBF5369EFC9DFBACD');
Date: 2026-07-13 09:49:11 Duration: 6s915ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 243 43m23s 1s179ms 35s655ms 10s714ms select * from m_inout_post0 (?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 06 42 8m50s 12s627ms 07 38 7m 11s55ms 08 7 1m19s 11s290ms 09 9 1m21s 9s76ms 10 19 3m21s 10s612ms 11 27 4m48s 10s673ms 12 57 8m16s 8s713ms 13 44 8m25s 11s496ms [ User: tad - Total duration: 43m23s - Times executed: 243 ]
[ Application: openbravo - Total duration: 43m23s - Times executed: 243 ]
-
SELECT * FROM M_InOut_Post0 ('0D8F7D11DBEE45E5BA0FCB433DD6D24B');
Date: 2026-07-13 06:00:50 Duration: 35s655ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('CFECED7F16474B2E984558A09382D471');
Date: 2026-07-13 06:04:32 Duration: 21s667ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('AE40295C9F7A4048B064E9C8E2356254');
Date: 2026-07-13 06:04:10 Duration: 19s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 204 8m15s 1s902ms 3s567ms 2s427ms 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 #5
Day Hour Count Duration Avg duration Jul 13 06 3 7s704ms 2s568ms 07 6 16s258ms 2s709ms 08 17 44s426ms 2s613ms 09 30 1m19s 2s657ms 10 23 1m2s 2s722ms 11 20 50s237ms 2s511ms 12 19 47s95ms 2s478ms 13 17 40s826ms 2s401ms 14 1 2s626ms 2s626ms 15 27 56s170ms 2s80ms 16 16 34s579ms 2s161ms 17 14 28s635ms 2s45ms 18 11 24s343ms 2s213ms [ User: tad - Total duration: 8m15s - Times executed: 204 ]
[ Application: openbravo - Total duration: 8m15s - Times executed: 204 ]
-
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 = 'stock9ED842FE6EBD4AD691C4D113C5C1D064E6263A6FD49541ABB27D9DA6538BD12CB7B59E4CA8634DFBB3A6750AC34F2A52A92D14ED67D8409C84A8470B1D032757';
Date: 2026-07-13 09:49:13 Duration: 3s567ms 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 = 'stock17CB9CFBD4404E5993FA849E782520E5A5CE125D0DEE476AB7F651D4350AEB36B40D68C1F18347E4B18DB8ABA9C15846A92D14ED67D8409C84A8470B1D032757';
Date: 2026-07-13 11:32:28 Duration: 3s462ms 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 = 'stock7287A69675EA4F1ABB55DA639C66521FF92C9871602944BDAD8B8F54BC268FE8E503E64F64D445AFADF87A3F701BAE13FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-13 09:36:23 Duration: 3s442ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 168 5m38s 1s734ms 4s616ms 2s12ms 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 13 09 13 35s845ms 2s757ms 10 42 1m21s 1s935ms 11 23 44s461ms 1s933ms 12 22 42s558ms 1s934ms 13 28 55s591ms 1s985ms 14 10 20s499ms 2s49ms 15 27 52s85ms 1s929ms 16 3 5s771ms 1s923ms [ User: tad - Total duration: 5m38s - Times executed: 168 ]
[ Application: openbravo - Total duration: 5m38s - Times executed: 168 ]
-
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('%619675%') 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-13 09:55:04 Duration: 4s616ms 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('%6196%') 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-13 09:55:03 Duration: 4s120ms 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('%61967%') 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-13 09:55:03 Duration: 3s798ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 161 2m48s 1s 1s534ms 1s49ms 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 #7
Day Hour Count Duration Avg duration Jul 13 11 2 2s920ms 1s460ms 12 69 1m11s 1s41ms 13 57 59s97ms 1s36ms 14 13 13s922ms 1s70ms 15 20 21s136ms 1s56ms [ User: tad - Total duration: 2m48s - Times executed: 161 ]
[ Application: openbravo - Total duration: 2m48s - Times executed: 161 ]
-
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-08 22:14:16' and this_.Isactive = 'Y';
Date: 2026-07-13 11:57:02 Duration: 1s534ms 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-08 22:14:16' and this_.Isactive = 'Y';
Date: 2026-07-13 11:57:03 Duration: 1s386ms 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-13 14:57:00' and this_.Isactive = 'Y';
Date: 2026-07-13 15:27:01 Duration: 1s211ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 88 1m47s 1s164ms 1s369ms 1s227ms select count(*) as id from fact_acct where m_product_id = ? and ad_org_id in (...) and ad_client_id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 12 44 54s551ms 1s239ms 16 44 53s443ms 1s214ms [ User: tad - Total duration: 1m47s - Times executed: 88 ]
[ Application: openbravo - Total duration: 1m47s - Times executed: 88 ]
-
SELECT COUNT(*) AS ID FROM Fact_Acct WHERE M_Product_ID = '280BF73FD1C94C0A8C29763AB376D7D6' 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-13 12:20:22 Duration: 1s369ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT COUNT(*) AS ID FROM Fact_Acct WHERE M_Product_ID = '280BF73FD1C94C0A8C29763AB376D7D6' 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-13 12:19:56 Duration: 1s346ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT COUNT(*) AS ID FROM Fact_Acct WHERE M_Product_ID = '280BF73FD1C94C0A8C29763AB376D7D6' 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-13 12:20:58 Duration: 1s290ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 70 3m50s 3s92ms 3s598ms 3s298ms 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 #9
Day Hour Count Duration Avg duration Jul 13 09 4 14s130ms 3s532ms 10 17 55s247ms 3s249ms 11 11 36s25ms 3s275ms 12 8 26s816ms 3s352ms 13 13 43s15ms 3s308ms 14 6 20s282ms 3s380ms 15 9 28s862ms 3s206ms 16 2 6s521ms 3s260ms [ User: tad - Total duration: 3m50s - Times executed: 70 ]
[ Application: openbravo - Total duration: 3m50s - Times executed: 70 ]
-
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('%609138005%') 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-13 09:36:52 Duration: 3s598ms 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('%619675203%') 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-13 09:55:12 Duration: 3s534ms 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('%648653377%') 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-13 14:49:30 Duration: 3s519ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 67 7m47s 1s148ms 10s768ms 6s980ms 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 #10
Day Hour Count Duration Avg duration Jul 13 08 2 12s30ms 6s15ms 09 14 1m12s 5s196ms 10 11 1m4s 5s831ms 11 8 58s437ms 7s304ms 12 7 44s965ms 6s423ms 13 9 1m7s 7s536ms 14 2 19s239ms 9s619ms 15 8 1m14s 9s362ms 16 6 53s418ms 8s903ms [ User: tad - Total duration: 7m47s - Times executed: 67 ]
[ Application: openbravo - Total duration: 7m47s - Times executed: 67 ]
-
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 ('7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6', '1006AE4933D94B08946B1A1CFA2EFE53', '3160C49FCFA94F75A86AB60054A37D5B', '1D0BF438E8F54DB18B51EAA3708F4AD2', '1DA9B85B1E9D40F8A7EF735066F6B45D', '3620B0576C3F4328BAD446E3D1054488', 'A633FF18DB8F4BCAA34A1B75D854F9E2', '371685F8972245B09A0C51112B685830', '3847F6E5BA584D77A07ADF094BF1BB3A', 'B37EF2CDFC7B4ED7BCEF5E6D80451A7F', 'E9621172467D4DF1B74A4363E8D74C98', 'B01DEC021E9B4275B88D49E2CC31CF47', 'D6FAB8C578E0411AB670FC076FA469AD', '4F6AF9EE750C48F4B5A1B41E67F5781F', 'B14C8C32BC114CA6B33AD3A89B61A347', '90CED4D0572E481ABB6B5B4460E65815', '17F04E14F82A4329B26FF4E551842E88', 'E08000A1FB944F49AE2C72C2FCB708AE');
Date: 2026-07-13 13:07:17 Duration: 10s768ms 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 ('BD868E60AEB2473FAEFDDB2FDE68A605', 'D0579343A69441529F649AB597C35CEE', 'A929759F550E452BB459E78E0E7E1CB3', 'EED8A1D5D1504D47BB33DA0CEBD08162', '133039230492443B9941AF4536745129', 'E26C50183C494DEB9DE7466FF0810124', 'D261478991D8475BB1A0B1814DF136D4', '047FA5B355B84506BAA339FF108904BF', '87A0DB3C9B5947658AE5AD222C97BE1D', '6433E3867B454783830CF47374FA2DDE', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F017537BB68E4558A9F3AC5D3F4B4653', '86D23DDE59D94BEBA4062F04EA086D73', '4E7467A0B85D4298BFE1F9680530C9BE', 'FB5E224376B544719FF0DF107EE0818C', '7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6', '1006AE4933D94B08946B1A1CFA2EFE53', '3160C49FCFA94F75A86AB60054A37D5B');
Date: 2026-07-13 13:25:25 Duration: 10s721ms 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 ('52594CFBD1A543C09852D45FA0F0E459', '8AB7F01EDDEF49098928FA03ED482515', 'BD868E60AEB2473FAEFDDB2FDE68A605', 'D0579343A69441529F649AB597C35CEE', 'A929759F550E452BB459E78E0E7E1CB3', 'EED8A1D5D1504D47BB33DA0CEBD08162', '133039230492443B9941AF4536745129', 'E26C50183C494DEB9DE7466FF0810124', 'D261478991D8475BB1A0B1814DF136D4', '047FA5B355B84506BAA339FF108904BF', '87A0DB3C9B5947658AE5AD222C97BE1D', '6433E3867B454783830CF47374FA2DDE', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F017537BB68E4558A9F3AC5D3F4B4653', '86D23DDE59D94BEBA4062F04EA086D73', '4E7467A0B85D4298BFE1F9680530C9BE', 'FB5E224376B544719FF0DF107EE0818C', '7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6');
Date: 2026-07-13 15:32:13 Duration: 10s443ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 62 1m19s 1s180ms 4s8ms 1s287ms select count(*) as id from fact_acct where m_product_id = ? and ad_org_id not in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 12 44 57s37ms 1s296ms 16 18 22s813ms 1s267ms [ User: tad - Total duration: 1m19s - Times executed: 62 ]
[ Application: openbravo - Total duration: 1m19s - Times executed: 62 ]
-
SELECT COUNT(*) AS ID FROM Fact_Acct WHERE M_Product_ID = '280BF73FD1C94C0A8C29763AB376D7D6' AND AD_ORG_ID NOT 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');
Date: 2026-07-13 12:19:55 Duration: 4s8ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT COUNT(*) AS ID FROM Fact_Acct WHERE M_Product_ID = 'A4AD0F25D4C047DBBE86F75033EA746A' AND AD_ORG_ID NOT IN ('50956713045C4C069FCF0583488E392A', '1D2A574CCE14446D82FFFC40CCBE00BC', '2AA70B4B531C45CAA5F7CD5FBC696F40', '15ED5B57A3C14544995478A2FC8688B4', '0177D0E3EC0548338FDA71A619D3E547', 'FF6B3F6071DB4AB29B93C843E10985E4', '62BDFDB7612B40D3B9D865CDF7A36690', '5CE219D3542A4FF4949922C8765C375D', '0', '385847CC725646C9A2C26DF19AC8781D', 'ABB79999997E423B85B205975E7A9BD8', '194125F878A74723A9150F5F4029C0B1', 'DF8352E71AAF43C58F9E96D84486EC1F', 'D95D002A1CD343DD97A00A73514FD9A5', 'F52AE0F2187E446F9E06381199A14184', '7CC7291AE0AF44BAA76A230348DF6004', '209B69CEDF5841E0AA33D37D2E5A68E8', '5E01F0FAFDBD4F0ABC82A5B031723084', '7394B891BC824F24821ACCEBC3A06829', 'E495F7998AB748F59ED3B6ACF2F48CA6', '5CBFB589EF3741F191EC25FC675FF687');
Date: 2026-07-13 16:22:03 Duration: 1s696ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT COUNT(*) AS ID FROM Fact_Acct WHERE M_Product_ID = '280BF73FD1C94C0A8C29763AB376D7D6' AND AD_ORG_ID NOT 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');
Date: 2026-07-13 12:20:21 Duration: 1s301ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 55 17m46s 1s124ms 3m37s 19s399ms select bass_production_cost (?, ?) as result from dual;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 10 2 23s286ms 11s643ms 12 43 12m25s 17s326ms 13 2 7s53ms 3s526ms 14 8 4m51s 36s454ms [ User: tad - Total duration: 17m46s - Times executed: 55 ]
[ Application: openbravo - Total duration: 17m46s - Times executed: 55 ]
-
SELECT bass_production_cost ('891D7390E5BB4FAAB2D757181A46316A', '100') AS RESULT FROM DUAL;
Date: 2026-07-13 14:47:38 Duration: 3m37s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT bass_production_cost ('89EC284EA05A415F8F1AABAD09A33408', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:42:35 Duration: 51s912ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT bass_production_cost ('F4B33436BF6C4B23908DE9E2BA373091', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:35:21 Duration: 50s132ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 31 1m3s 1s834ms 3s896ms 2s53ms 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 #13
Day Hour Count Duration Avg duration Jul 13 09 3 8s796ms 2s932ms 10 6 11s612ms 1s935ms 11 8 15s976ms 1s997ms 12 3 5s757ms 1s919ms 13 3 5s713ms 1s904ms 14 2 4s123ms 2s61ms 15 5 9s682ms 1s936ms 16 1 1s987ms 1s987ms [ User: tad - Total duration: 1m3s - Times executed: 31 ]
[ Application: openbravo - Total duration: 1m3s - Times executed: 31 ]
-
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('%61967%') 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-13 09:55:03 Duration: 3s896ms 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('%619675203%') 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-13 09:55:06 Duration: 2s908ms 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('%67687%') 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-13 11:32:28 Duration: 2s112ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 30 2m15s 4s220ms 5s373ms 4s512ms 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 #14
Day Hour Count Duration Avg duration Jul 13 09 2 10s242ms 5s121ms 10 9 39s882ms 4s431ms 11 4 17s971ms 4s492ms 12 2 9s140ms 4s570ms 13 5 22s735ms 4s547ms 14 2 9s37ms 4s518ms 15 5 21s810ms 4s362ms 16 1 4s569ms 4s569ms [ User: tad - Total duration: 2m15s - Times executed: 30 ]
[ Application: openbravo - Total duration: 2m15s - Times executed: 30 ]
-
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('%619675203%') 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-13 09:55:08 Duration: 5s373ms 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('%609138005%') 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-13 09:36:48 Duration: 4s868ms 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('%690621984%') 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-13 10:36:09 Duration: 4s692ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 30 32s574ms 1s2ms 2s1ms 1s85ms 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 = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 08 2 2s94ms 1s47ms 09 11 12s787ms 1s162ms 10 4 4s158ms 1s39ms 11 1 1s126ms 1s126ms 12 2 2s13ms 1s6ms 13 4 4s113ms 1s28ms 15 3 3s120ms 1s40ms 16 1 1s15ms 1s15ms 17 2 2s143ms 1s71ms [ User: tad - Total duration: 32s574ms - Times executed: 30 ]
[ Application: openbravo - Total duration: 32s574ms - Times executed: 30 ]
-
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 = '8CA20C15949D400F9CC6BF3476ABA6B9EDA911D512A144D2961F4D1C6BAAEC46';
Date: 2026-07-13 09:55:05 Duration: 2s1ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
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 = 'D50650BB18034BC1B646AD27C70EEA4A9D335AEEC64F46118B25BC10698E54E1';
Date: 2026-07-13 09:55:19 Duration: 1s209ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
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 = '1A110140B6C6477CB33C4646277ACF88498FB3D44A06402FA2DCFFC006AE2EBD';
Date: 2026-07-13 09:25:58 Duration: 1s191ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 29 40s216ms 1s309ms 1s507ms 1s386ms delete from c_orderline where c_orderline_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 09 5 7s108ms 1s421ms 11 4 5s694ms 1s423ms 12 2 2s760ms 1s380ms 13 4 5s583ms 1s395ms 14 4 5s404ms 1s351ms 15 7 9s551ms 1s364ms 16 3 4s114ms 1s371ms [ User: tad - Total duration: 40s216ms - Times executed: 29 ]
[ Application: openbravo - Total duration: 40s216ms - Times executed: 29 ]
-
delete from C_OrderLine where C_OrderLine_ID = '74A711C2980E488095CF1A0FFD5B2D26';
Date: 2026-07-13 11:38:05 Duration: 1s507ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
delete from C_OrderLine where C_OrderLine_ID = 'CA264AD68D7441299E21EB7FD8FCDEC2';
Date: 2026-07-13 11:30:24 Duration: 1s490ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
delete from C_OrderLine where C_OrderLine_ID = 'CDCD1C86FD644CF9A63AC66BE80A5C32';
Date: 2026-07-13 09:18:41 Duration: 1s487ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 29 37s900ms 1s231ms 1s451ms 1s306ms 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 #17
Day Hour Count Duration Avg duration Jul 13 07 6 7s751ms 1s291ms 08 3 4s5ms 1s335ms 09 2 2s575ms 1s287ms 10 5 6s611ms 1s322ms 11 2 2s596ms 1s298ms 12 7 9s256ms 1s322ms 13 4 5s104ms 1s276ms [ User: tad - Total duration: 37s900ms - Times executed: 29 ]
[ Application: openbravo - Total duration: 37s900ms - Times executed: 29 ]
-
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-13 12:06:21 Duration: 1s451ms 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-13 10:40:16 Duration: 1s378ms 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-13 12:06:22 Duration: 1s374ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 27 52s697ms 1s245ms 2s927ms 1s951ms 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 #18
Day Hour Count Duration Avg duration Jul 13 08 5 9s759ms 1s951ms 09 7 15s151ms 2s164ms 10 1 2s313ms 2s313ms 11 6 10s136ms 1s689ms 12 1 2s117ms 2s117ms 14 2 3s469ms 1s734ms 15 1 2s137ms 2s137ms 16 2 3s301ms 1s650ms 17 1 2s54ms 2s54ms 18 1 2s255ms 2s255ms [ User: tad - Total duration: 52s697ms - Times executed: 27 ]
[ Application: openbravo - Total duration: 52s697ms - Times executed: 27 ]
-
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('%gee%') 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-13 09:34:13 Duration: 2s927ms 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('%son%net%') 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-13 08:27:29 Duration: 2s450ms 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('%oma%') 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-13 09:34:51 Duration: 2s369ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 27 28s462ms 1s3ms 1s222ms 1s54ms 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 #19
Day Hour Count Duration Avg duration Jul 13 08 10 10s254ms 1s25ms 09 6 6s378ms 1s63ms 11 2 2s228ms 1s114ms 12 3 3s290ms 1s96ms 13 3 3s107ms 1s35ms 14 3 3s203ms 1s67ms [ User: tad - Total duration: 28s462ms - Times executed: 27 ]
[ Application: openbravo - Total duration: 28s462ms - Times executed: 27 ]
-
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-13 11:00:03 Duration: 1s222ms 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-13 12:38:12 Duration: 1s184ms 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-13 14:00:50 Duration: 1s102ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 23 3m15s 1s701ms 19s103ms 8s496ms select * from ad_sequence_doc (?, ?, ?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 06 5 53s864ms 10s772ms 07 5 39s817ms 7s963ms 10 1 9s379ms 9s379ms 12 4 40s584ms 10s146ms 13 8 51s770ms 6s471ms [ User: tad - Total duration: 3m15s - Times executed: 23 ]
[ Application: openbravo - Total duration: 3m15s - Times executed: 23 ]
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 12:31:10 Duration: 19s103ms 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-13 06:04:10 Duration: 17s65ms 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-13 07:05:04 Duration: 13s411ms 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 32m30s 32m42s 32m36s 2 1h5m13s 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 #1
Day Hour Count Duration Avg duration Jul 13 07 2 1h5m13s 32m36s [ User: tad - Total duration: 1h5m13s - Times executed: 2 ]
[ Application: openbravo - Total duration: 1h5m13s - Times executed: 2 ]
-
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-13 07:35:20 Duration: 32m42s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
select ad_column_identifier_std ('ad_org', 'E495F7998AB748F59ED3B6ACF2F48CA6') 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 ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, 0) as mes0, to_char(add_months (TO_DATE(NOW()), 0), 'Month') as namemes0, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -1) as mes1, to_char(add_months (TO_DATE(NOW()), -1), 'Month') as namemes1, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -2) as mes2, to_char(add_months (TO_DATE(NOW()), -2), 'Month') as namemes2, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -3) as mes3, to_char(add_months (TO_DATE(NOW()), -3), 'Month') as namemes3, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -4) as mes4, to_char(add_months (TO_DATE(NOW()), -4), 'Month') as namemes4, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -5) as mes5, to_char(add_months (TO_DATE(NOW()), -5), 'Month') as namemes5, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -6) as mes6, to_char(add_months (TO_DATE(NOW()), -6), 'Month') as namemes6, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -7) as mes7, to_char(add_months (TO_DATE(NOW()), -7), 'Month') as namemes7, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -8) as mes8, to_char(add_months (TO_DATE(NOW()), -8), 'Month') as namemes8, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -9) as mes9, to_char(add_months (TO_DATE(NOW()), -9), 'Month') as namemes9, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -10) as mes10, to_char(add_months (TO_DATE(NOW()), -10), 'Month') as namemes10, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -11) as mes11, to_char(add_months (TO_DATE(NOW()), -11), 'Month') as namemes11, bass_tejidocalculo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, -12) as mes12, to_char(add_months (TO_DATE(NOW()), -12), 'Month') as namemes12, bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1) as anoanterior, bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', 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, 'E495F7998AB748F59ED3B6ACF2F48CA6'), 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 'E495F7998AB748F59ED3B6ACF2F48CA6' = '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 ('E495F7998AB748F59ED3B6ACF2F48CA6', m_product_id, '01-' || to_number(to_char(NOW(), 'YYYY')) - 1, '12-' || to_number(to_char(NOW(), 'YYYY')) - 1)), 0) + coalesce((bass_tejidocalculoperiodo ('E495F7998AB748F59ED3B6ACF2F48CA6', 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-13 07:02:30 Duration: 32m30s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 15m3s 15m3s 15m3s 1 15m3s 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) and m_product.em_fash_campaign_id = ?) 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 13 07 1 15m3s 15m3s [ User: tad - Total duration: 15m3s - Times executed: 1 ]
[ Application: openbravo - Total duration: 15m3s - 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) and m_product.em_fash_campaign_id = '850E48F86D1545B1A3BF0C2D7AF1B036') 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-13 07:13:01 Duration: 15m3s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 3m18s 3m18s 3m18s 1 3m18s 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 13 06 1 3m18s 3m18s [ User: tad - Total duration: 3m18s - Times executed: 1 ]
[ Application: openbravo - Total duration: 3m18s - Times executed: 1 ]
-
SELECT ADVMRP_RUN_INITIALIZE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '70C9BC0CC6154D968CB51608A6C1207D', NULL, NULL, NULL, NULL, NULL, NULL, '180', '2026-07-13 00:00:00', 'Y', NULL, 'GPP', 'N') AS RESULT FROM DUAL;
Date: 2026-07-13 06:03:18 Duration: 3m18s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 21s858ms 1m45s 1m14s 3 3m43s 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 #4
Day Hour Count Duration Avg duration Jul 13 08 2 1m58s 59s302ms 09 1 1m45s 1m45s [ User: tad - Total duration: 3m43s - Times executed: 3 ]
[ Application: openbravo - Total duration: 3m43s - Times executed: 3 ]
-
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-13 09:06:30 Duration: 1m45s 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 = '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-13 08:59:33 Duration: 1m36s 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-13 08:56:56 Duration: 21s858ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 20s377ms 1m57s 45s986ms 6 4m35s 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, ?) AS "Cantidad Pedido", round(ol.qtydelivered, ?) 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 ? = ? 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", 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 ? = ? 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 #5
Day Hour Count Duration Avg duration Jul 13 06 1 20s377ms 20s377ms 08 3 1m42s 34s81ms 09 1 1m57s 1m57s 13 1 36s167ms 36s167ms [ User: tad - Total duration: 4m35s - Times executed: 6 ]
[ Application: Mashup Engine - Total duration: 4m35s - Times executed: 6 ]
-
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-13 09:38:03 Duration: 1m57s 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", "_"."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-13 08:12:57 Duration: 36s911ms Database: etendo User: tad Remote: 164.132.218.10 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", "_"."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-13 08:16:29 Duration: 36s817ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
6 36s424ms 49s918ms 45s619ms 5 3m48s 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 = ?) 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 = ?) 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", round(ol.qtyordered, ?) AS "Cantidad Pedido", round(ol.qtydelivered, ?) AS "Cantidad Enviada", ol.pricelist "Precio Lista", ol.priceactual "Precio Actual", ol.pricelimit "Precio Limite", ol.linenetamt "Importe Linea", ol.discount AS "Descuento", round(( 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 ? = ? and o.dateordered between to_date(?, ?) and to_date(current_date) and o.issotrx = ? and o.docstatus in (...) and c_doctype.docsubtypeso not in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 09 5 3m48s 45s619ms [ User: tad - Total duration: 3m48s - Times executed: 5 ]
[ Application: Mashup Engine - Total duration: 3m48s - Times executed: 5 ]
-
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", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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-13 09:56:04 Duration: 49s918ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
-
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", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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-13 09:55:11 Duration: 49s213ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
-
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", 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.discount as "Descuento", round(( SELECT SUM(movementqty) FROM m_inoutline IOL WHERE IOL.c_orderline_id = OL.c_orderline_id), 2) 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-13 09:56:00 Duration: 46s381ms Database: etendo User: tad Remote: 88.12.21.106 Application: Mashup Engine Bind query: yes
7 29s321ms 1m28s 44s249ms 7 5m9s 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 #7
Day Hour Count Duration Avg duration Jul 13 07 1 29s321ms 29s321ms 08 1 33s285ms 33s285ms 09 3 2m53s 57s841ms 13 1 35s651ms 35s651ms 16 1 37s967ms 37s967ms [ User: tad - Total duration: 5m9s - Times executed: 7 ]
[ Application: Mashup Engine - Total duration: 5m9s - Times executed: 7 ]
-
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-13 09:38:32 Duration: 1m28s 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-13 09:42:58 Duration: 53s798ms 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-13 16:11:33 Duration: 37s967ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
8 17s253ms 1m14s 37s630ms 10 6m16s select advmrp_run_explode2 (?, ?, ?, ?, null, ?, ?, ?, ?) as result from dual;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 06 10 6m16s 37s630ms [ User: tad - Total duration: 6m16s - Times executed: 10 ]
[ Application: openbravo - Total duration: 6m16s - Times executed: 10 ]
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'AB54F04007F64F058F879429B3C141BB', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:24 Duration: 1m14s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'F749B1EEE40C4FFA8CBB1D67D5F17517', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:04 Duration: 54s440ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_RUN_EXPLODE2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '94226558C88F474F83439CC05882C96C', NULL, '180', '2026-07-13 06:00:00.079', '0', 'GPP') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:01 Duration: 50s976ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 1s124ms 3m37s 19s399ms 55 17m46s select bass_production_cost (?, ?) as result from dual;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 10 2 23s286ms 11s643ms 12 43 12m25s 17s326ms 13 2 7s53ms 3s526ms 14 8 4m51s 36s454ms [ User: tad - Total duration: 17m46s - Times executed: 55 ]
[ Application: openbravo - Total duration: 17m46s - Times executed: 55 ]
-
SELECT bass_production_cost ('891D7390E5BB4FAAB2D757181A46316A', '100') AS RESULT FROM DUAL;
Date: 2026-07-13 14:47:38 Duration: 3m37s Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT bass_production_cost ('89EC284EA05A415F8F1AABAD09A33408', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:42:35 Duration: 51s912ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT bass_production_cost ('F4B33436BF6C4B23908DE9E2BA373091', '7DD4A9542681481FBA6B1F37D04D4BBB') AS RESULT FROM DUAL;
Date: 2026-07-13 12:35:21 Duration: 50s132ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 5s859ms 42s204ms 19s366ms 10 3m13s select advmrp_processplan2 (?, ?, ?, ?, null, ?, ?, ?) as result from dual;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 06 10 3m13s 19s366ms [ User: tad - Total duration: 3m13s - Times executed: 10 ]
[ Application: openbravo - Total duration: 3m13s - Times executed: 10 ]
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', 'E6ECAB1D29BA47D39B51718E4A6326FB', NULL, '180', '2026-07-13 06:00:00.079', '0') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:22 Duration: 42s204ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '5170376EC7AF4D7287CADDED3B121EAF', NULL, '180', '2026-07-13 06:00:00.079', '0') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:09 Duration: 36s170ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT ADVMRP_PROCESSPLAN2 ('7DD4A9542681481FBA6B1F37D04D4BBB', 'ABB79999997E423B85B205975E7A9BD8', '7E3CD157DC6246718BFBF101DCDC4016', '97628CC64216458D9A2149424E2F00F8', NULL, '180', '2026-07-13 06:00:00.079', '0') AS RESULT FROM DUAL;
Date: 2026-07-13 06:05:05 Duration: 34s839ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 8s773ms 28s210ms 17s150ms 13 3m42s 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 #11
Day Hour Count Duration Avg duration Jul 13 06 1 8s773ms 8s773ms 07 1 11s129ms 11s129ms 08 4 1m 15s238ms 09 4 1m23s 20s764ms 13 2 37s592ms 18s796ms 16 1 21s446ms 21s446ms [ User: tad - Total duration: 3m42s - Times executed: 13 ]
[ Application: Mashup Engine - Total duration: 3m42s - Times executed: 13 ]
-
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-13 09:35:29 Duration: 28s210ms 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-13 16:11:16 Duration: 21s446ms 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-13 09:38:22 Duration: 20s174ms Database: etendo User: tad Remote: 51.38.221.201 Application: Mashup Engine Bind query: yes
12 1s179ms 35s655ms 10s714ms 243 43m23s select * from m_inout_post0 (?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 06 42 8m50s 12s627ms 07 38 7m 11s55ms 08 7 1m19s 11s290ms 09 9 1m21s 9s76ms 10 19 3m21s 10s612ms 11 27 4m48s 10s673ms 12 57 8m16s 8s713ms 13 44 8m25s 11s496ms [ User: tad - Total duration: 43m23s - Times executed: 243 ]
[ Application: openbravo - Total duration: 43m23s - Times executed: 243 ]
-
SELECT * FROM M_InOut_Post0 ('0D8F7D11DBEE45E5BA0FCB433DD6D24B');
Date: 2026-07-13 06:00:50 Duration: 35s655ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('CFECED7F16474B2E984558A09382D471');
Date: 2026-07-13 06:04:32 Duration: 21s667ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
SELECT * FROM M_InOut_Post0 ('AE40295C9F7A4048B064E9C8E2356254');
Date: 2026-07-13 06:04:10 Duration: 19s12ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 1s701ms 19s103ms 8s496ms 23 3m15s select * from ad_sequence_doc (?, ?, ?);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 13 06 5 53s864ms 10s772ms 07 5 39s817ms 7s963ms 10 1 9s379ms 9s379ms 12 4 40s584ms 10s146ms 13 8 51s770ms 6s471ms [ User: tad - Total duration: 3m15s - Times executed: 23 ]
[ Application: openbravo - Total duration: 3m15s - Times executed: 23 ]
-
SELECT * FROM AD_SEQUENCE_DOC ('DocumentNo_obwpack_packingh', '7E3CD157DC6246718BFBF101DCDC4016', 'Y');
Date: 2026-07-13 12:31:10 Duration: 19s103ms 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-13 06:04:10 Duration: 17s65ms 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-13 07:05:04 Duration: 13s411ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 1s148ms 10s768ms 6s980ms 67 7m47s 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 #14
Day Hour Count Duration Avg duration Jul 13 08 2 12s30ms 6s15ms 09 14 1m12s 5s196ms 10 11 1m4s 5s831ms 11 8 58s437ms 7s304ms 12 7 44s965ms 6s423ms 13 9 1m7s 7s536ms 14 2 19s239ms 9s619ms 15 8 1m14s 9s362ms 16 6 53s418ms 8s903ms [ User: tad - Total duration: 7m47s - Times executed: 67 ]
[ Application: openbravo - Total duration: 7m47s - Times executed: 67 ]
-
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 ('7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6', '1006AE4933D94B08946B1A1CFA2EFE53', '3160C49FCFA94F75A86AB60054A37D5B', '1D0BF438E8F54DB18B51EAA3708F4AD2', '1DA9B85B1E9D40F8A7EF735066F6B45D', '3620B0576C3F4328BAD446E3D1054488', 'A633FF18DB8F4BCAA34A1B75D854F9E2', '371685F8972245B09A0C51112B685830', '3847F6E5BA584D77A07ADF094BF1BB3A', 'B37EF2CDFC7B4ED7BCEF5E6D80451A7F', 'E9621172467D4DF1B74A4363E8D74C98', 'B01DEC021E9B4275B88D49E2CC31CF47', 'D6FAB8C578E0411AB670FC076FA469AD', '4F6AF9EE750C48F4B5A1B41E67F5781F', 'B14C8C32BC114CA6B33AD3A89B61A347', '90CED4D0572E481ABB6B5B4460E65815', '17F04E14F82A4329B26FF4E551842E88', 'E08000A1FB944F49AE2C72C2FCB708AE');
Date: 2026-07-13 13:07:17 Duration: 10s768ms 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 ('BD868E60AEB2473FAEFDDB2FDE68A605', 'D0579343A69441529F649AB597C35CEE', 'A929759F550E452BB459E78E0E7E1CB3', 'EED8A1D5D1504D47BB33DA0CEBD08162', '133039230492443B9941AF4536745129', 'E26C50183C494DEB9DE7466FF0810124', 'D261478991D8475BB1A0B1814DF136D4', '047FA5B355B84506BAA339FF108904BF', '87A0DB3C9B5947658AE5AD222C97BE1D', '6433E3867B454783830CF47374FA2DDE', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F017537BB68E4558A9F3AC5D3F4B4653', '86D23DDE59D94BEBA4062F04EA086D73', '4E7467A0B85D4298BFE1F9680530C9BE', 'FB5E224376B544719FF0DF107EE0818C', '7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6', '1006AE4933D94B08946B1A1CFA2EFE53', '3160C49FCFA94F75A86AB60054A37D5B');
Date: 2026-07-13 13:25:25 Duration: 10s721ms 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 ('52594CFBD1A543C09852D45FA0F0E459', '8AB7F01EDDEF49098928FA03ED482515', 'BD868E60AEB2473FAEFDDB2FDE68A605', 'D0579343A69441529F649AB597C35CEE', 'A929759F550E452BB459E78E0E7E1CB3', 'EED8A1D5D1504D47BB33DA0CEBD08162', '133039230492443B9941AF4536745129', 'E26C50183C494DEB9DE7466FF0810124', 'D261478991D8475BB1A0B1814DF136D4', '047FA5B355B84506BAA339FF108904BF', '87A0DB3C9B5947658AE5AD222C97BE1D', '6433E3867B454783830CF47374FA2DDE', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F017537BB68E4558A9F3AC5D3F4B4653', '86D23DDE59D94BEBA4062F04EA086D73', '4E7467A0B85D4298BFE1F9680530C9BE', 'FB5E224376B544719FF0DF107EE0818C', '7F6B242CCCBB46B8AB8E3C00F60FEF27', '5032149B145C4BAB938AE9FD3E46840F', 'B6AC1CAB36AB41BF92312CF19E396B6B', 'FE19FB2D093540CBBB0D2160C4D8041C', '32CB24B428FB438BA72A744FB67622E7', '5181148F18174336BB812FC6A370333D', '4CE2AA51345B419AB32DD6F5995FA81F', '1D6FBD98D9114DD981F7A612A22E1302', 'F84C29BFBDA04B5EB6E92C061C82174C', 'A621121E47E9468BBD0225298E7F5D28', '6D4A5A49F4524206BD793288DBC0AFAC', '0FA96B1D5746436296FE8DA4C8FC25B0', 'C16D7051DB5D4F25AEA57C426D9AA053', 'AD9C702019FB4129B69BA2B511EDB530', '63539C811E7C4ACB81DC5BC36A58C825', '391A8795BCC4435796D1A9E3CCCA272F', '841548B4F6344B5A81F1EC0FE11662CC', '73E39C17B3334C84B8C139EFC8ED0BA6', '357E64ADBAD94ECC8B105A22DFFB2371', '6D2454CF65F544BC9E2AEC78B6ADC3A3', 'A20C3313D0E440BFAD7BFE16E0E09DBE', '799BF0187A8949A9A49F039B5577F53D', '6315EE35E75A44EFAE642E635074B0C3', 'EF9B728F2E44476CA050799F6CC6E138', '055C83CF9CCD404AB5AB10E5270E7FDB', '1E98884BB8BB40A5931837711E395509', 'CAE38484797045498CF56D3153854798', 'D44CC800B49849068FA49DE23E3C5526', '72BE9C21364F4E129A2D3C02C9BFB099', 'FA013BF010E14DE5800767C55D3AB550', 'FA78BB6CF486452BB17DEA56EBD470A1', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'AADAA3F7736343E0A8CF8240E1DC44D6');
Date: 2026-07-13 15:32:13 Duration: 10s443ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 1s32ms 7s89ms 5s732ms 247 23m35s 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 #15
Day Hour Count Duration Avg duration Jul 13 06 46 4m41s 6s113ms 08 25 1m30s 3s601ms 09 58 5m50s 6s47ms 10 21 1m58s 5s642ms 11 6 37s260ms 6s210ms 12 35 3m5s 5s293ms 13 12 1m16s 6s339ms 14 14 1m28s 6s336ms 15 6 38s470ms 6s411ms 16 12 1m14s 6s210ms 17 12 1m15s 6s257ms [ User: tad - Total duration: 23m35s - Times executed: 247 ]
[ Application: openbravo - Total duration: 23m35s - Times executed: 247 ]
-
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-13 12:36:05 Duration: 7s89ms 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 ('0A9F98AFA3334154BB0DB3E991E35DD6', '0F5629312C90496B93241AC849B84785', '2F50558E37CF42B088AC5EE60DB5F9C0', 'D40E1880A3FA426DBF59A3FBED0A1535', '1F0AE186A40D47E18CB40824997CA292', 'ADC64359DDE941389D7D6B88C82E0E89', '5A768F5528C24985B29F7D06D2538648', 'A71FFF90AEFF426787CC8F61A0FE5AC5', 'F78FB9A43A9A48099D0B614103510F82', '5999BFA7C38C43489F9B190C728DDA9D', 'AD95550E760241F7B2232A6B9F1FC184', '34D920AAC100447793147F6850A640F0', '975481B18A5E4717BB8103F75787A097', 'ED96D0404CAB47CB876F021573F99203', 'B54C11257DF94E89A79F3435428AC44D', '2706CF0CB4D8439584B0154E52921EF1', 'B3D92AA9B5164AB098876D89898DE846', 'ED251FA8AF4F429FB90C20A8A7F7F504', '6C7AD2F2F75A4FE3B7A924334DC3FDDE', 'B698F0D370B34E8E9278C304471F9CB8', 'EDB5DE4FBF1D4A7BBA7F15D2C6941DF9', '8BD3C30BFBCC429DA687ED4AE0212E8E', '9E9AA0DB3F454D12861448AFE1B59EE2', 'BC12ACAC64A345D1A78E4DE3483A6A63', 'C10E362E471C45B5AB978CAF36C33D53', 'CC6D1A94F6094D52822FBD0D3232BA17', 'C682448E759C4B32BF16CCA32E7DF4E6', 'F8DF085E9D044B24B88F8250F6EE2D0D', '230D4B8E3C1D4E778C1B10D5610F6A40', '91DBB7F806E74AD7812304D06BAE8505', '13A435AD964442B28B82BF3586180482', 'DCB10D872FBC47F5889E960BC9571DF1', '13D007F86B354E95B91CB543D31737A3', 'BF12D2FF64574A5A95719C015B7A245E', '0DC7034FD7BF4C4193BC35390992DF6F', '272B3F516B9041A796FCC4E9420ED34E', 'E28959A969574E228952E9E16DCA2AE1', '7AFF04C3E91A42138940F5C174A38BCB', 'FE3EABA656104CE3B14C430C80BE0949', '569D2EAA8EB047469CA255D4A6181990', '8830EFE467564CB28A66E5CC22A9B4A2', '3DD77D05CAD446609BA32B633D1A53DE', '4B8AA373CF16409FB4A5F61E0315C029', '20087B3508AA481983833C8E4A4F03DA', '6F9D0C8400B24319B405911AEB8B614B', '31B2608EABE447C0B5C2046D5CB8E2D7', 'AAFDBD44928C42BBA48E3E9D03E9117F', '4FF6EBDF4B214FC3AA4A3D55D8EFC73A', 'D86E29C5575A4246A2AB2B03BD4534D5', 'DEA6AD77FD90454B839C6BFC3AEA8417');
Date: 2026-07-13 09:37:14 Duration: 6s973ms 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 ('FED67AF4E7DC457A9A6CF75FD635D253', 'FEB6533061C245EBAAC17AAE3355974C', 'FE19FB2D093540CBBB0D2160C4D8041C', 'FD66215718A94C39A7A4D4F9C583C7AF', 'FCDCF4706C804D378C77603A559EFAED', 'FC6768143C10409D998759BB38E13DC8', 'FBD6B095A0DA4F48A0CF4D2954AAE716', 'FB8559DFF7A94D35B709032977359E8E', 'FB5E224376B544719FF0DF107EE0818C', 'FA78BB6CF486452BB17DEA56EBD470A1', 'FA58E32AA74546A6912AE3AB72F1308C', 'FA013BF010E14DE5800767C55D3AB550', 'F98EE501058746858D3FC25699B2C210', 'F9108BAFE73E4F39BACF244425E0A0AB', 'F8A525CBFC024F8F8CFAEF08615DFA22', 'F86D5C305E2446EE914A3ACA2A1890F2', 'F84C29BFBDA04B5EB6E92C061C82174C', 'F7E3DB3B21CC41EA87B75EC457C1BF8B', 'F7C92F9A88C34710ADF4A7167E58844F', 'F7A846CBCDDF44378506E7AFB97F43C7', 'F73A40C9169D4B14BBEAC10AFA96B283', 'F63FE84041B2444697271F134999717F', 'F4ACC7FBFEBF4A898AE18E52B17A9ADC', 'F4721A4D725945578B75D69D25FA0DAD', 'F41191F8B3DF46088940D2AE0E40C17C', 'F30874CCB1EE4AC6AD41DD108DCFCB5C', 'F2E7FF83E6824A6885F2AAB1E55C63DB', 'F2D39DF762C94BDB9E8EF52A54D99CF6', 'F249976258EE46EBA5F18E771E3C59D4', 'F20EEC1D5E974EF1B901C2941C06D071', 'F18F99B63F3C4BD291E6597DDE94F20B', 'F13A2486EA5C455AADE03D63646A5AAC', 'F0A324D0C705414C9C4E4141E8EF6DB1', 'F03DD191696C491D8FB0CD853C346B75', 'F017537BB68E4558A9F3AC5D3F4B4653', 'EF9B728F2E44476CA050799F6CC6E138', 'EED8A1D5D1504D47BB33DA0CEBD08162', 'EE8B3869230943DABC826D0A253C9691', 'EE43BB73FDD0499285874DBD4ED0DBF9', 'EDEC058747D846018857DDEE8DEAA883', 'ECBA6B682C2C465C9D773CE9C48B001A', 'EBDC5BA41C374D6DA5E5042FAD894424', 'EA531FDFCE424DF3AA31410CDFE950A7', 'E9621172467D4DF1B74A4363E8D74C98', 'E8E019C6DA2F44879471E613CF92FC2F', 'E846BB8F0F314C87B4C6369E68543FCB', 'E7FEE41B945B4D0EAF85C7AC7EF551FE', 'E666236640A9400EAC5FB98C51E673BE', 'E5C8EDADC473460A8851A41FA8CA9A06', 'E59BB55269904FAEBF5369EFC9DFBACD');
Date: 2026-07-13 09:49:11 Duration: 6s915ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 4s220ms 5s373ms 4s512ms 30 2m15s 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 #16
Day Hour Count Duration Avg duration Jul 13 09 2 10s242ms 5s121ms 10 9 39s882ms 4s431ms 11 4 17s971ms 4s492ms 12 2 9s140ms 4s570ms 13 5 22s735ms 4s547ms 14 2 9s37ms 4s518ms 15 5 21s810ms 4s362ms 16 1 4s569ms 4s569ms [ User: tad - Total duration: 2m15s - Times executed: 30 ]
[ Application: openbravo - Total duration: 2m15s - Times executed: 30 ]
-
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('%619675203%') 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-13 09:55:08 Duration: 5s373ms 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('%609138005%') 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-13 09:36:48 Duration: 4s868ms 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('%690621984%') 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-13 10:36:09 Duration: 4s692ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 3s92ms 3s598ms 3s298ms 70 3m50s 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 #17
Day Hour Count Duration Avg duration Jul 13 09 4 14s130ms 3s532ms 10 17 55s247ms 3s249ms 11 11 36s25ms 3s275ms 12 8 26s816ms 3s352ms 13 13 43s15ms 3s308ms 14 6 20s282ms 3s380ms 15 9 28s862ms 3s206ms 16 2 6s521ms 3s260ms [ User: tad - Total duration: 3m50s - Times executed: 70 ]
[ Application: openbravo - Total duration: 3m50s - Times executed: 70 ]
-
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('%609138005%') 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-13 09:36:52 Duration: 3s598ms 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('%619675203%') 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-13 09:55:12 Duration: 3s534ms 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('%648653377%') 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-13 14:49:30 Duration: 3s519ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 1s90ms 6s211ms 3s213ms 1,623 1h26m54s 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 #18
Day Hour Count Duration Avg duration Jul 13 06 20 1m 3s37ms 07 4 12s935ms 3s233ms 08 116 6m35s 3s406ms 09 238 13m21s 3s367ms 10 199 10m59s 3s315ms 11 176 9m58s 3s401ms 12 242 12m51s 3s189ms 13 202 10m36s 3s149ms 14 93 4m41s 3s31ms 15 158 7m51s 2s981ms 16 110 5m33s 3s32ms 17 38 1m55s 3s43ms 18 16 42s405ms 2s650ms 19 2 6s64ms 3s32ms 21 9 27s16ms 3s1ms [ User: tad - Total duration: 1h26m54s - Times executed: 1623 ]
[ Application: openbravo - Total duration: 1h26m54s - Times executed: 1623 ]
-
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 ('0BB42F51EB85441C8926F6CD9C748B08', 'A822D59818F24B54A13B4C0F94F5F58E', '54A5B3A8B7A64B00902D6E13EBA44267', '2184ACD55B954DA3806614B51CB32D80', '355D804181BD4DE39C331BAE86F3CABE', 'C41A286ED619484995AFDC109F531984', '5594687CF3284DE180877163E1D14C30', 'F06475B87A28429A908491A7CBBF7135', '71D9610D2DE04207B9A47088E16165F2', 'DE48946F4A524AFD8DBBC749A5192E22', '014922F1A05146A3836D8DB2A2490897', '563D647A5ABE45F0AB4997466F9793B7', 'B94FDA31ED4F4771B2F21C27382563E0', '6E333B095F1345CC95BA5F233B6E8947', 'B10288815B1642AEA7A7EF023FCCE5BE', '3A51791B0C584A8F924760A8C196EE14', '6ADF542B93E14E92940F535E92E366A4', '39666F411CFA452E8F07FABE9E8522BF', '4DB45D9089684CED930F672D390DC264', '27EFABF5B57A4F8793285847E4E35CD7', 'FFD60807347449428F8A458A35C6A232', 'FDE1AC033B4542FBBBE4F6A77F08D282', 'FCB728889AE44536998E8E9CEE27BB45', 'EE030CBFC9DA48E884996BDA9C00CD2E', 'ECAADAA98BE44DF9BFAE7A3A5B8339B2', 'EBA482BB5671458CAC74543F68C5E087', 'EA3980EA6F1A418687D68F8C6516F411', 'E82DDA06D61E48D696CC05B397CEEB9C', 'E7918F11CED04F8D896B266CBE53C360', 'DD550403EA884C6DB10AC785DF76930D', 'CC35DF2D514942C9887DB40EF55C1F48', 'CA05DAAE20274E8CBA7331FCD619C437', 'B6F070D4FC7143ED94381D5E072E8650', 'B34F101EEBF840308E4012FBBA5CBD37', 'B289D57B88BA48329CC7F4AA4F970FA6', 'B23B1EA0257B40A48DBFE7055DC2A8AC', 'AA16757ED4F94C7F8F6EBB5E0CDD3BDE', 'A95EE96A48D64764AAE385B754EE841A', 'A30D388B88F74240B68E82E225C9FE9C', 'A139B63310DD4501B9A013CE71F90D37', '9B18B24004C24AD495B15CC46584AD38', '9A6CB7F7AC0C4ED0966EF1C7873969EE', '90F1ECB49C5D402A897FAEE95959937C', '8F0FC914E2A446FCA6CF6DCDE7B02E74', '8EE681A5BF4E41A9BD9E8E678959F4BE', '89806B6D2C8A4850AD30D85695065896', '83D9C5B920FB496AB22A6B0F47E0D030', '79D8F23116234719BECEF98F20E2AA0D', '776C57BEA2D84384B506ADA3F26DF882', '758C0547AAE843E7873B16D188D2FA31');
Date: 2026-07-13 09:55:02 Duration: 6s211ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:08 Duration: 5s642ms 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 ('73A8AB104A1F46858D8D78E0E1E69A6E', '6BB4A9CEE8674D7FBD7A6361724C9F09', '694DC00BF1454413AF6A4509634AC088', '68A529AC4DB1467DAC9DB8E965DE5D42', '65AB7C3947B1461B8D4B00A6F0B8F5EC', '6361859C64484CB3A9E6CC711DE2AE66', '5CF6D7D76AF5424CA4122160821C3403', '5C62E8D474B14DD08E4E80BF70824499', '556E5683A4CB41EEB15BA5815D1C9AE8', '52FEFB818A79463B81A9DF8365418C7E', '49D94011F40D42E7A08C9D2B6F1ABFD2', '468E14C34E3449BD85393ADE80644C55', '44B8D90510E94AF09F6CA49F4CFF2E2B', '4184E1E6F20145DEBC1FBABE8B901B5D', '40D66C94930E407C8B7441490E310BD6', '407F470DC1FC41D1AADC6551E4FDA23F', '33151C6D57D5406A9A2C6AFC4EB345D3', '2E964367CCD64CFFAE6F44CBC5DF8C33', '2A0EE25E2B364E46988D14AB26F624AE', '28325D13F5D44F489D9ABA603CC1E8E4', '21F5BC47F418429E819EE3299E497AD9', '189DE8E8F5814B3A9392E51B1366D678', '13B3067CE34F4298AD98CDC2504FED02', '11154B127E8F432DB4383B1E70D3CCEF', '0A6FE2E6C5BA47C6A7C7EAC9CB86CA6F', '072BA05B4CF4434E8EF746B1240F54EC', '0257181F06F7400C9A0F366DEF9D5CEC', '01AD5F62EE4945839BD266ED6E58F2EE', '016BF2F7184A495782F61188517BE411', '010D9D9B357845909FA35526F9096E67', '261C295259134A7A9152E25C2F37F8F3', 'F029E4647B8A4C56A6D7602CA917A4F2', '96F898B4DD4045C19C0488C4CC54FE7A', '7D116F74B65341B992ADEA96E45DAD01', 'BD41E0DDE7DE42EFA24FCF7B04833075', 'D12572B5E21543A08EA2C5CAFEA4188C', 'C79154DF5D164C43AAC8FD91EF5B38F0', '0A5FD40368C1433D8785388FEF7EA537', 'A724B14BC1BD4B23A965C9DEB1A6F06D', 'E6F0E0EBE73A44FAA1291B2CF3C80943', '64F1182EA0D34D1AAF6D9447A6C4599B', '5BB171FF80F54EFF96C0D55CD2D48195', 'B7BC5B9103AD44CFB09EAC07A8DD681C', 'F0DE583B9600479392F64B27A83E8F81', '6ABB78D0BA9542CA9698350869193E73', '265C4B445CCA43639827595D865B9267', 'E21C9180D92D46D8B41DFEAD8A7D1103', '0CBC6A7E4C9E4778B6D8F6D89197FA2C', 'D326B4A61DA946BD8E9B005FE7DD4D4E', '7DE59E9797B74A39BEE253728C60CE65');
Date: 2026-07-13 09:55:01 Duration: 5s427ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 1s902ms 3s567ms 2s427ms 204 8m15s 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 #19
Day Hour Count Duration Avg duration Jul 13 06 3 7s704ms 2s568ms 07 6 16s258ms 2s709ms 08 17 44s426ms 2s613ms 09 30 1m19s 2s657ms 10 23 1m2s 2s722ms 11 20 50s237ms 2s511ms 12 19 47s95ms 2s478ms 13 17 40s826ms 2s401ms 14 1 2s626ms 2s626ms 15 27 56s170ms 2s80ms 16 16 34s579ms 2s161ms 17 14 28s635ms 2s45ms 18 11 24s343ms 2s213ms [ User: tad - Total duration: 8m15s - Times executed: 204 ]
[ Application: openbravo - Total duration: 8m15s - Times executed: 204 ]
-
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 = 'stock9ED842FE6EBD4AD691C4D113C5C1D064E6263A6FD49541ABB27D9DA6538BD12CB7B59E4CA8634DFBB3A6750AC34F2A52A92D14ED67D8409C84A8470B1D032757';
Date: 2026-07-13 09:49:13 Duration: 3s567ms 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 = 'stock17CB9CFBD4404E5993FA849E782520E5A5CE125D0DEE476AB7F651D4350AEB36B40D68C1F18347E4B18DB8ABA9C15846A92D14ED67D8409C84A8470B1D032757';
Date: 2026-07-13 11:32:28 Duration: 3s462ms 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 = 'stock7287A69675EA4F1ABB55DA639C66521FF92C9871602944BDAD8B8F54BC268FE8E503E64F64D445AFADF87A3F701BAE13FC487A9079C543B1857ABADE7DCF215E';
Date: 2026-07-13 09:36:23 Duration: 3s442ms Database: etendo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 1s834ms 3s896ms 2s53ms 31 1m3s 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 13 09 3 8s796ms 2s932ms 10 6 11s612ms 1s935ms 11 8 15s976ms 1s997ms 12 3 5s757ms 1s919ms 13 3 5s713ms 1s904ms 14 2 4s123ms 2s61ms 15 5 9s682ms 1s936ms 16 1 1s987ms 1s987ms [ User: tad - Total duration: 1m3s - Times executed: 31 ]
[ Application: openbravo - Total duration: 1m3s - Times executed: 31 ]
-
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('%61967%') 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-13 09:55:03 Duration: 3s896ms 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('%619675203%') 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-13 09:55:06 Duration: 2s908ms 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('%67687%') 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-13 11:32:28 Duration: 2s112ms 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
- 30,188 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 354 FATAL entries
- 178 ERROR entries
- 0 WARNING entries
- 83 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 331 Max number of times the same event was reported
- 615 Total events found
Rank Times reported Error 1 331 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", no encryption
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 13 06 20 07 23 08 20 09 20 10 21 11 20 12 19 13 19 14 20 15 21 16 29 17 21 18 24 19 22 20 22 21 10 - FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
- FATAL: no pg_hba.conf entry for host "159.65.148.75", user "appuser", database "postgres", no encryption
Date: 2026-07-13 06:03:05 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
Date: 2026-07-13 06:06:11 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
Date: 2026-07-13 06:09:11 Database: postgres Application: [unknown] User: appuser Remote: 159.65.148.75
2 48 ERROR: @NoAvgCostDefined@ @Product@: Cairo 2bordon - 2000232374, @Date@:2026-07-13 10:56:31.48046
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 13 10 1 11 30 12 17 - ERROR: @NoAvgCostDefined@ @Product@: Cairo 2bordon - 2000232374, @Date@:2026-07-13 10:56:31.48046
- ERROR: @NoAvgCostDefined@ @Product@: Cairo 2bordon - 2000232374, @Date@:2026-07-13 10:56:31.48046
- ERROR: @NoAvgCostDefined@ @Product@: Cairo 2bordon - 2000232374, @Date@:2026-07-13 10:56:31.48046
Context: PL/pgSQL function bass_production_cost(character varying,character varying) line 674 at RAISE
Statement: SELECT bass_production_cost($1,$2) AS RESULT FROM DUALDate: 2026-07-13 10:58:23 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function bass_production_cost(character varying,character varying) line 674 at RAISE
Statement: SELECT bass_production_cost($1,$2) AS RESULT FROM DUALDate: 2026-07-13 11:00:00 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function bass_production_cost(character varying,character varying) line 674 at RAISE
Statement: SELECT bass_production_cost($1,$2) AS RESULT FROM DUALDate: 2026-07-13 11:02:00 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
3 46 ERROR: @ActivePoSo@
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 13 20 46 - 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-13 20:00:23 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-13 20:00:23 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-13 20:00:23 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
4 39 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 13 07 3 08 8 09 11 11 7 13 9 17 1 - 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-13 07:36:35 Database: etendo Application: Mashup Engine User: tad Remote: 164.132.218.10
Date: 2026-07-13 07:36:35 Database: etendo Application: Mashup Engine User: tad Remote: 164.132.218.10
Date: 2026-07-13 07:36:35 Database: etendo Application: Mashup Engine User: tad Remote: 164.132.218.10
5 38 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 13 06 12 07 10 10 1 12 6 13 9 - LOG: process 845623 still waiting for ShareLock on transaction 34290919 after 1000.048 ms
- LOG: process 845623 still waiting for ShareLock on transaction 34290919 after 5554.487 ms
- LOG: process 845635 still waiting for ShareLock on transaction 34390318 after 1000.054 ms
Detail: Process holding the lock: 845631. Wait queue: 845623.
Context: while updating tuple (8,8) in relation "ad_sequence" 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-13 06:03:54 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Process holding the lock: 845631. Wait queue: 845623.
Context: while updating tuple (8,8) in relation "ad_sequence" 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-13 06:03:58 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Process holding the lock: 845633. Wait queue: 845635.
Context: while updating tuple (8,26) in relation "ad_sequence" 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-13 06:10:57 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
6 15 ERROR: @20501@
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 13 09 8 10 7 - ERROR: @20501@
- ERROR: @20501@
- ERROR: @20501@
Context: PL/pgSQL function c_ordline_chk_restrictions_trg() line 75 at RAISE
Statement: update C_OrderLine set Updated=$1, UpdatedBy=$2, QtyDelivered=$3, QtyInvoiced=$4, PriceList=$5, Discount=$6, M_AttributeSetInstance_ID=$7, Taxbaseamt=$8, Gross_Unit_Price=$9, Aumqty=$10, EM_Bass_Enablepricezero=$11 where C_OrderLine_ID=$12Date: 2026-07-13 09:29:04 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_movementline_trg() line 76 at RAISE
Statement: delete from M_Reservation where M_Reservation_ID=$1Date: 2026-07-13 09:53:26 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_movementline_trg() line 76 at RAISE
Statement: delete from M_Reservation where M_Reservation_ID=$1Date: 2026-07-13 09:56:35 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
7 14 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 13 11 1 12 2 13 1 15 9 16 1 - ERROR: update or delete on table "bass_model" violates foreign key constraint "em_bass_model_id" on table "m_product"
- ERROR: update or delete on table "c_order" violates foreign key constraint "em_bass_order_incidence" on table "c_order"
- ERROR: update or delete on table "ma_workrequirement" violates foreign key constraint "advpro2_forecast_wr_wr" on table "advpro2_forecast_wr"
Detail: Key (bass_model_id)=(F7756B4F896F4C9BAFA135C7043FAA02) is still referenced from table "m_product".
Statement: delete from bass_model where Bass_Model_ID=$1Date: 2026-07-13 11:55:56 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Key (c_order_id)=(3A1B16191BAA48FC82EF03E080141D77) is still referenced from table "c_order".
Statement: delete from C_Order where C_Order_ID=$1Date: 2026-07-13 12:16:49 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Key (ma_workrequirement_id)=(F884C314D2F54115977C50F45F9F5A8A) is still referenced from table "advpro2_forecast_wr".
Statement: delete from MA_WorkRequirement where MA_Workrequirement_ID=$1Date: 2026-07-13 12:55:23 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
8 10 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 13 09 2 10 8 - ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT coalesce(t.MSGTEXT, m.MSGTEXT) AS MSGTEXT FROM AD_MESSAGE m left join AD_MESSAGE_TRL t on m.AD_MESSAGE_ID = t.AD_MESSAGE_ID and t.AD_LANGUAGE = $1 WHERE m.VALUE=$2
Date: 2026-07-13 09:54:38 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Statement: SELECT coalesce(E_TRL.NAME, E.NAME) AS NAME FROM AD_ELEMENT E left join AD_ELEMENT_TRL E_TRL on E.AD_ELEMENT_ID = E_TRL.AD_ELEMENT_ID and E_TRL.AD_LANGUAGE = $1 where E.COLUMNNAME=$2
Date: 2026-07-13 09:54:38 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Statement: SELECT coalesce(t.MSGTEXT, m.MSGTEXT) AS MSGTEXT FROM AD_MESSAGE m left join AD_MESSAGE_TRL t on m.AD_MESSAGE_ID = t.AD_MESSAGE_ID and t.AD_LANGUAGE = $1 WHERE m.VALUE=$2
Date: 2026-07-13 10:03:08 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
9 8 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 13 08 1 11 1 13 4 19 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-13 08:51:48 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.195.107
Date: 2026-07-13 11:12:42 Database: [unknown] Application: [unknown] User: [unknown] Remote: 3.144.127.252
Date: 2026-07-13 13:36:35 Database: [unknown] Application: [unknown] User: [unknown] Remote: 137.184.31.121
10 6 ERROR: Incidencia EDI -DC-5807,@ActivePoSo@
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 13 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-13 20:03:35 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-13 20:04:51 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-13 20:04:51 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
11 6 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 13 08 1 11 1 13 2 19 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-13 08:51:50 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.195.107
Date: 2026-07-13 11:12:42 Database: [unknown] Application: [unknown] User: [unknown] Remote: 3.144.127.252
Date: 2026-07-13 13:36:35 Database: [unknown] Application: [unknown] User: [unknown] Remote: 137.184.31.121
12 5 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 13 08 1 11 1 13 1 19 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-13 08:51:51 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.195.107
Date: 2026-07-13 11:12:43 Database: [unknown] Application: [unknown] User: [unknown] Remote: 3.144.127.252
Date: 2026-07-13 13:42:01 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.132.172.101
13 5 ERROR: @DeleteRelatedReservation@
Times Reported Most Frequent Error / Event #13
Day Hour Count Jul 13 09 5 - ERROR: @DeleteRelatedReservation@
- ERROR: @DeleteRelatedReservation@
- ERROR: @DeleteRelatedReservation@
Context: PL/pgSQL function c_orderline_trg() line 93 at RAISE
Statement: delete from C_OrderLine where C_OrderLine_ID=$1Date: 2026-07-13 09:21:09 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function c_orderline_trg() line 93 at RAISE
Statement: delete from C_OrderLine where C_OrderLine_ID=$1Date: 2026-07-13 09:21:14 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function c_orderline_trg() line 93 at RAISE
Statement: delete from C_OrderLine where C_OrderLine_ID=$1Date: 2026-07-13 09:21:35 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
14 5 ERROR: @CannotReleasedMoreReserved@
Times Reported Most Frequent Error / Event #14
Day Hour Count Jul 13 09 1 10 4 - ERROR: @CannotReleasedMoreReserved@
- ERROR: @CannotReleasedMoreReserved@
- ERROR: @CannotReleasedMoreReserved@
Context: PL/pgSQL function m_reservation_stock_trg() line 45 at RAISE SQL statement "UPDATE m_reservation_stock SET quantity = CASE WHEN (quantity + p_qty) <= 0 THEN 0 ELSE quantity + p_qty END WHERE m_reservation_stock_id = v_aux_rs_id" PL/pgSQL function m_reserve_stock_manual(character varying,character varying,character varying,numeric,character varying,character varying) line 104 at SQL statement
Statement: SELECT * FROM M_RESERVE_STOCK_MANUAL($1,$2,$3,TO_NUMBER($4),$5,$6)Date: 2026-07-13 09:54:38 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_reservation_stock_trg() line 45 at RAISE SQL statement "INSERT INTO m_reservation_stock( m_reservation_stock_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_reservation_id, m_attributesetinstance_id, m_locator_id, c_orderline_id, quantity, releasedqty, isallocated ) VALUES ( v_reservation_stock_id, v_client_id, v_org_id, 'Y', TO_DATE(NOW()), p_user_id, TO_DATE(NOW()), p_user_id, p_reservation_id, v_asi_id, v_locator_id, v_poline_id, p_qty, 0, p_allocated )" PL/pgSQL function m_reserve_stock_manual(character varying,character varying,character varying,numeric,character varying,character varying) line 110 at SQL statement
Statement: SELECT * FROM M_RESERVE_STOCK_MANUAL($1,$2,$3,TO_NUMBER($4),$5,$6)Date: 2026-07-13 10:03:08 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function m_reservation_stock_trg() line 45 at RAISE SQL statement "INSERT INTO m_reservation_stock( m_reservation_stock_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_reservation_id, m_attributesetinstance_id, m_locator_id, c_orderline_id, quantity, releasedqty, isallocated ) VALUES ( v_reservation_stock_id, v_client_id, v_org_id, 'Y', TO_DATE(NOW()), p_user_id, TO_DATE(NOW()), p_user_id, p_reservation_id, v_asi_id, v_locator_id, v_poline_id, p_qty, 0, p_allocated )" PL/pgSQL function m_reserve_stock_manual(character varying,character varying,character varying,numeric,character varying,character varying) line 110 at SQL statement
Statement: SELECT * FROM M_RESERVE_STOCK_MANUAL($1,$2,$3,TO_NUMBER($4),$5,$6)Date: 2026-07-13 10:03:24 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
15 4 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #15
Day Hour Count Jul 13 09 1 11 1 12 2 - ERROR: duplicate key value violates unique constraint "obmobc_logclient_pk"
- ERROR: duplicate key value violates unique constraint "obmobc_logclient_pk"
- ERROR: duplicate key value violates unique constraint "m_product_value"
Detail: Key (obmobc_logclient_id)=(E29256A7633FFFC1B20AF8867A82D56B) 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-13 09:25:31 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Key (obmobc_logclient_id)=(D45FD9460767E353AF799492F9F64C6B) 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-13 11:41:47 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Key (value, ad_org_id, ad_client_id)=(3001126210, 5CE219D3542A4FF4949922C8765C375D, 7E3CD157DC6246718BFBF101DCDC4016) already exists.
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, Volume, Weight, C_TaxCategory_ID, Discontinued, Processing, ProductType, M_AttributeSet_ID, Ispriceprinted, Enforce_Attribute, Calculated, MA_Processplan_ID, Production, Qtytype, EM_Aeat347_Isleasebusiness, Isquantityvariable, Isdeferredrevenue, Isdeferredexpense, Bookusingpoprice, EM_Advcrm_Newactivity, M_Brand_ID, IsGeneric, Generic_Product_ID, CreateVariants, Characteristic_Desc, Updateinvariants, ManageVariants, Print_Description, Returnable, Ispricerulebased, Unique_Per_Document, Relateprodcattoservice, Relateprodtoservice, Islinkedtoproduct, Allow_Deferred_Sell, EM_Advcrm2_Sync_Pcrm, EM_Fash_Product_Group_ID, EM_Fash_Prod_Composition_ID, EM_Fash_Campaign_ID, EM_Fash_Import_Char, EM_Fash_Createcombinations, EM_Fash_Create_Processplan, EM_Fash_Import_Mate, EM_Fash_Collection_ID, EM_Fash_Lob_ID, EM_Fash_Managecampaignvariant, Ismodifytax, Relateprodcattaxtoservice, Copyservicemodifytaxconfig, EM_Advpro2_Createwr, EM_Thcost_Cost_Template, EM_Bass_Concatdesc, EM_Bass_Can_Rotate, EM_Prb2b_Updated, 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, EM_Bass_Model_ID, 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, $78, $79, $80, $81, $82, $83, $84, $85, $86)Date: 2026-07-13 12:09:05 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
16 3 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL encryption
Times Reported Most Frequent Error / Event #16
Day Hour Count Jul 13 14 1 18 2 - FATAL: no pg_hba.conf entry for host "64.89.163.82", user "postgres", database "postgres", SSL encryption
- FATAL: no pg_hba.conf entry for host "64.89.163.81", user "postgres", database "postgres", SSL encryption
- FATAL: no pg_hba.conf entry for host "64.89.163.133", user "postgres", database "postgres", SSL encryption
Date: 2026-07-13 14:54:39 Database: postgres Application: [unknown] User: postgres Remote: 64.89.163.82
Date: 2026-07-13 18:08:14 Database: postgres Application: [unknown] User: postgres Remote: 64.89.163.81
Date: 2026-07-13 18:12:13 Database: postgres Application: [unknown] User: postgres Remote: 64.89.163.133
17 3 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #17
Day Hour Count Jul 13 10 1 12 2 - LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
- LOG: could not receive data from client: Connection timed out
Date: 2026-07-13 10:43:52 Database: etendo Application: DBeaver 26.0.3 - Main
User: tad Remote: 88.12.21.106 Date: 2026-07-13 12:00:19 Database: etendo Application: DBeaver 26.0.3 - SQLEditor
User: tad Remote: 88.12.21.106 Date: 2026-07-13 12:00:19 Database: etendo Application: DBeaver 26.0.3 - Metadata
User: tad Remote: 88.12.21.106 18 3 ERROR: new row for relation "..." violates check constraint "..."
Times Reported Most Frequent Error / Event #18
Day Hour Count Jul 13 08 1 09 1 13 1 - ERROR: new row for relation "fin_finacc_transaction" violates check constraint "fin_trans_amounts_chk"
- ERROR: new row for relation "m_product" violates check constraint "m_product_atsetvaltype_chk"
- ERROR: new row for relation "m_product" violates check constraint "m_product_atsetvaltype_chk"
Detail: Failing row contains (633B4A10A663485A8946C6920470145B, 7E3CD157DC6246718BFBF101DCDC4016, ABB79999997E423B85B205975E7A9BD8, 2026-07-13 08:47:38.053, 459B2C7B418848EF828C0E8F66D4ECAE, 2026-07-13 08:47:38.053, 459B2C7B418848EF828C0E8F66D4ECAE, Y, 102, 3043D5AEA4FB4136BE35315102FFAE34, 295990, null, 2026-07-13 00:00:00, 962A94815B144FE894B40447B03B305C, RPAP, 0, 0, N, N, N, null, null, null, null, null, BPW, 2026-07-13 00:00:00, Conceptos Contables: 6263000000 - Comisiones TPV Online, null, N, null, null, null, null, null, null, null, P, null, null, N, N, N, N).
Statement: insert into FIN_Finacc_Transaction (AD_Client_ID, AD_Org_ID, Created, Createdby, Updated, Updatedby, Isactive, C_Currency_ID, Fin_Financial_Account_ID, Line, DateAcct, C_Glitem_ID, Status, Paymentamt, Depositamt, Processed, Processing, Posted, Trxtype, Statementdate, Description, CreatedByAlgorithm, EM_Etpr_Remove_Transaction, EM_Aprm_Processed, EM_Etblkp_Accountingstatus, EM_Etblkp_Bulkposting, EM_Etpr_Reactivate_Transaction, Fin_Finacc_Transaction_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)Date: 2026-07-13 08:47:38 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Failing row contains (E819023611A24328B6FDB6E32A7D51F0, 7E3CD157DC6246718BFBF101DCDC4016, 5CE219D3542A4FF4949922C8765C375D, Y, 2025-03-25 12:49:24.885, 788516C0AF024ED2B5026B9079196E22, 2026-07-13 09:25:35.097, 26F79F34EA924A4D9522B32ED50270AA, 300153893, Balance, Colchón Balance con núcleo de muelles ensacados con refuerzo p..., null, null, 8422636976412, null, 100, 788516C0AF024ED2B5026B9079196E22, N, Y, Y, Y, N, N, N, N, F2FB9B18A7AF4BE18AD70B8285FF50AF, null, 0, 1, null, null, null, null, FF80818123B7FC160123B804AB88000B, null, N, null, N, null, I, null, null, null, null, EC804AF94BDD404FB624407751DF34FF, BDD720EFD518484396A2A0966AE2BEFB, null, null, null, null, null, Y, null, null, N, N, null, N, null, null, null, null, null, null, null, N, null, null, Y, N, null, null, N, null, null, null, null, N, 72BA247D31F745F3AF11F74A5E2CCBEF, 3B6515AB442346D79DA31B9D580C57EF, N, 03370667047C4814B9A1A840A9646B7A, N, null, N, N, null, N, C233BC6F8964481985AE9C7826249134, C7B86788A13D49B19DB6CB04C40DCC68, null, 6B7F180EF51841F39E1A56137E2B6221, null, N, N, N, N, E1DCB86AD5D347FAAC2C4DC415F7025C, 613D3CEE0D4046039B6CF2CED51E5566, null, null, null, null, null, null, null, N, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, Colchon / Balance / Lana/Cashmere + Algodon/Lino / Color: Blanco..., null, 160, 200, N, N, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, N, Y, null, N, N, null, null, N, null, N, null, N, N, null, null, null, N, null, 1CC6433AD9F7486BA0573DA384AC14DE, null, null, N, N, null, N, N, 2025-03-25 12:57:32, null, N, N, N, null, null, null, null, null, null, null, 39D1B63112364B8A8757C870F1A127BA, 1, N, N, null).
Statement: update M_Product set Updated=$1, M_AttributeSetInstance_ID=$2, Characteristic_Desc=$3 where M_Product_ID=$4Date: 2026-07-13 09:25:35 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Detail: Failing row contains (4E609FAB51DE4E0E8BC29666DDF1CC7B, 7E3CD157DC6246718BFBF101DCDC4016, 5CE219D3542A4FF4949922C8765C375D, Y, 2026-06-22 13:21:43.061, 617D1D127C4B40C4A0CAE91F4F0B610B, 2026-07-13 13:11:57.212, 19242A7D7F504B6EA3EDC5D053B10BE9, 300172221, Velour, VELOUR: Tejido 100% algodon confección pespunte, parte superio..., null, null, 8422636292208, null, 100, 617D1D127C4B40C4A0CAE91F4F0B610B, N, Y, Y, Y, N, N, N, N, BAFD6CAE8D324A25AF8BC48191C37804, null, 0, 0.05, null, null, null, null, FF80818123B7FC160123B804AB88000B, null, N, null, N, null, I, null, null, null, null, EC804AF94BDD404FB624407751DF34FF, 2E2DDF74453E4DC8B090CFBD6BC9F54D, null, null, null, null, null, Y, null, null, N, N, null, N, null, null, null, null, null, null, null, N, null, null, Y, N, null, null, N, null, null, null, null, N, null, 3B6515AB442346D79DA31B9D580C57EF, N, 88F0E0DF0A194AC683405991B5931C72, N, null, N, N, N, N, 89839C58ECE842F881FF759A3D831849, 8FA3CC0E5E9F4797A2C1CF89F6FE1D2D, null, D4E5268AF6A348D7B62AF3556EDFA78D, null, N, N, N, N, E1DCB86AD5D347FAAC2C4DC415F7025C, 80B6E6756C814167AA4C49541A49F96C, null, null, null, null, null, null, null, N, null, null, null, null, null, null, null, null, null, null, null, null, null, null, E7B00AE5BA3846E9B2D3364C6CC92963, null, null, null, null, null, null, null, Zapat / Velour / B: 4539/BAHIA-DUQUE-Blanco / 100%CO / Color: B..., null, null, null, N, N, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, N, Y, null, N, N, N, N, N, null, N, null, N, N, null, null, null, N, Y, 1CC6433AD9F7486BA0573DA384AC14DE, null, null, N, N, null, N, N, 2023-01-09 12:35:59, null, N, N, N, null, null, null, null, null, null, null, 077EAB10AE154EC2B18A0F048D0830FA, 1, N, N, null).
Statement: update M_Product set Updated=$1, UpdatedBy=$2, M_AttributeSetInstance_ID=$3, Characteristic_Desc=$4 where M_Product_ID=$5Date: 2026-07-13 13:11:57 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
19 2 ERROR: @bass_salesregion_mandatory@
Times Reported Most Frequent Error / Event #19
Day Hour Count Jul 13 13 1 18 1 - ERROR: @bass_salesregion_mandatory@
- ERROR: @bass_salesregion_mandatory@
Context: PL/pgSQL function bass_salesregion_mandatory() line 9 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_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)Date: 2026-07-13 13:58:47 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function bass_salesregion_mandatory() line 9 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_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)Date: 2026-07-13 18:22:55 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
20 2 ERROR: Pedido de Compra Hosteleria-1013991,@ActivePoSo@
Times Reported Most Frequent Error / Event #20
Day Hour Count Jul 13 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-13 20:07:28 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-13 20:07:28 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
21 2 ERROR: @ProductChangeLineInReservation@
Times Reported Most Frequent Error / Event #21
Day Hour Count Jul 13 17 2 - ERROR: @ProductChangeLineInReservation@
- ERROR: @ProductChangeLineInReservation@
Context: PL/pgSQL function c_orderline_trg() line 150 at RAISE
Statement: update C_OrderLine set Updated=$1, M_Product_ID=$2 where C_OrderLine_ID=$3Date: 2026-07-13 17:22:01 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
Context: PL/pgSQL function c_orderline_trg() line 150 at RAISE
Statement: update C_OrderLine set Updated=$1, M_Product_ID=$2 where C_OrderLine_ID=$3Date: 2026-07-13 17:22:31 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
22 1 ERROR: Pedido Venta Hosteleria-H/53450,@ActivePoSo@
Times Reported Most Frequent Error / Event #22
Day Hour Count Jul 13 20 1 - ERROR: Pedido Venta Hosteleria-H/53450,@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-13 20:05:44 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
23 1 ERROR: @bass_datepromised@
Times Reported Most Frequent Error / Event #23
Day Hour Count Jul 13 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-13 14:05:52 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
24 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #24
Day Hour Count Jul 13 09 1 - ERROR: relation "fin_payment_scheduledetail" does not exist at character 78
Statement: select i.documentno , ps.fin_payment_schedule_id, ps.amount, i.issotrx from fin_payment_scheduledetail psd join fin_payment_schedule ps on ps.fin_payment_schedule_id = psd.fin_payment_schedule_invoice join c_invoice i on i.c_invoice_id = ps.c_invoice_id where psd.amount = 0
Date: 2026-07-13 09:58:24 Database: postgres Application: DBeaver 26.0.1 - SQLEditor
User: tad Remote: 127.0.0.1 25 1 ERROR: @PRUTI_UNIQUE_BILLING_CONTACT@ <br>
Times Reported Most Frequent Error / Event #25
Day Hour Count Jul 13 08 1 - ERROR: @PRUTI_UNIQUE_BILLING_CONTACT@ <br>
Context: PL/pgSQL function pruti_check_contact_columns() line 73 at RAISE
Statement: update AD_User set Updated=$1, UpdatedBy=$2, Phone2=$3, EM_Pruti_Isbillingcontact=$4 where AD_User_ID=$5Date: 2026-07-13 08:37:49 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
26 1 ERROR: Pedido de Compra Hosteleria-1014085,@ActivePoSo@
Times Reported Most Frequent Error / Event #26
Day Hour Count Jul 13 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-13 20:07:28 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
27 1 ERROR: canceling autovacuum task
Times Reported Most Frequent Error / Event #27
Day Hour Count Jul 13 18 1 - ERROR: canceling autovacuum task
Context: automatic analyze of table "etendo.public.obmobc_logclient"
Date: 2026-07-13 18:00:11
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 13 12 1 - LOG: process 1849032 still waiting for ExclusiveLock on tuple (14,3) of relation 1883788 of database 1880529 after 1000.066 ms
Detail: Process holding the lock: 1849034. Wait queue: 1849032.
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-13 12:30:52 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
29 1 ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 300165731, @AttributeSetInstance@: 26MO, @UOM@: Ud @And@ @StorageBin@: PLAYA
Times Reported Most Frequent Error / Event #29
Day Hour Count Jul 13 08 1 - ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 300165731, @AttributeSetInstance@: 26MO, @UOM@: Ud @And@ @StorageBin@: PLAYA
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-13 08:55:34 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
30 1 ERROR: @20633@
Times Reported Most Frequent Error / Event #30
Day Hour Count Jul 13 12 1 - ERROR: @20633@
Context: PL/pgSQL function m_product_trg() line 97 at RAISE
Statement: update M_Product set Updated=$1, UpdatedBy=$2, M_AttributeSet_ID=$3 where M_Product_ID=$4Date: 2026-07-13 12:14:16 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
31 1 ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 300115371, @AttributeSetInstance@: 26DMV54464, @UOM@: Ud @And@ @StorageBin@: Playa-40
Times Reported Most Frequent Error / Event #31
Day Hour Count Jul 13 13 1 - ERROR: @CannotTakeOutReservedStock@ @of@ @Product@: 300115371, @AttributeSetInstance@: 26DMV54464, @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-13 13:40:16 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
32 1 LOG: process ... still waiting for ShareUpdateExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #32
Day Hour Count Jul 13 18 1 - LOG: process 1936153 still waiting for ShareUpdateExclusiveLock on relation 1892537 of database 1880529 after 1000.079 ms
Detail: Process holding the lock: 1936273. Wait queue: 1936153.
Statement: vacuum analyze obmobc_logclientDate: 2026-07-13 18:00:11 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
33 1 ERROR: Incidencia Tienda Online-DO-16681,@ActivePoSo@
Times Reported Most Frequent Error / Event #33
Day Hour Count Jul 13 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-13 20:06:52 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
34 1 ERROR: non-integer constant in ORDER BY
Times Reported Most Frequent Error / Event #34
Day Hour Count Jul 13 09 1 - ERROR: non-integer constant in ORDER BY at character 29141
Statement: select advpro2_pr0_.Advpro2_Prodline_Return_V_ID as col_0_0_, advpro2_pr0_.AD_Org_ID as col_1_0_, advpro2_pr0_.AD_Client_ID as col_2_0_, advpro2_pr0_.Outsourcing as col_3_0_, product3_.Value as col_4_0_, product3_.UPC as col_5_0_, advpro2_pr0_.M_Product_ID as col_6_0_, product3_.EM_Bass_Concatdesc as col_7_0_, product3_.C_UOM_ID as col_8_0_, advpro2_pr0_.M_Attributesetinstance_ID as col_9_0_, advpro2_pr0_.C_Bpartner_ID as col_10_0_, materialmg13_.MovementDate as col_11_0_, advpro2_pr0_.Price as col_12_0_, advpro2_pr0_.Donequantity-advpro2_pr0_.Qtyreturnedinall+coalesce((select sum(abs(orderline14_.QtyOrdered)) from C_OrderLine orderline14_ where orderline14_.C_Order_ID=$1 and orderline14_.EM_Advpro2_Productionlnret_ID=advpro2_pr0_.Advpro2_Prodline_Return_V_ID), 0) as col_13_0_, coalesce((select sum(abs(orderline15_.QtyOrdered)) from C_OrderLine orderline15_ where orderline15_.C_Order_ID=$2 and orderline15_.EM_Advpro2_Productionlnret_ID=advpro2_pr0_.Advpro2_Prodline_Return_V_ID), 0) as col_14_0_, advpro2_pr0_.Qtyreturnedinall-coalesce((select sum(abs(orderline16_.QtyOrdered)) from C_OrderLine orderline16_ where orderline16_.C_Order_ID=$3 and orderline16_.EM_Advpro2_Productionlnret_ID=advpro2_pr0_.Advpro2_Prodline_Return_V_ID), 0) as col_15_0_, case when (select 'Y' from C_OrderLine orderline17_ where orderline17_.C_Order_ID=$4 and orderline17_.EM_Advpro2_Productionlnret_ID=advpro2_pr0_.Advpro2_Prodline_Return_V_ID) is null then false else true end as col_16_0_, organizati1_.AD_Org_ID as ad_org_i1_71_0_, adclient2_.AD_Client_ID as ad_clien1_18_1_, product3_.M_Product_ID as m_produc1_845_2_, uom8_.C_UOM_ID as c_uom_id1_526_3_, attributes9_.M_AttributeSetInstance_ID as m_attrib1_779_4_, businesspa10_.C_BPartner_ID as c_bpartn1_392_5_, organizati1_.AD_Client_ID as ad_clien2_71_0_, organizati1_.IsActive as isactive3_71_0_, organizati1_.Created as created4_71_0_, organizati1_.CreatedBy as createdb5_71_0_, organizati1_.Updated as updated6_71_0_, organizati1_.UpdatedBy as updatedb7_71_0_, organizati1_.Value as value8_71_0_, organizati1_.Name as name9_71_0_, organizati1_.Description as descrip10_71_0_, organizati1_.IsSummary as issumma11_71_0_, organizati1_.AD_Orgtype_ID as ad_orgt12_71_0_, organizati1_.IsPeriodControlAllowed as isperio13_71_0_, organizati1_.C_Calendar_ID as c_calen14_71_0_, organizati1_.IsReady as isready15_71_0_, organizati1_.EM_Intr_C_Calendar_ID as em_intr16_71_0_, organizati1_.Social_Name as social_17_71_0_, organizati1_.C_Currency_ID as c_curre18_71_0_, organizati1_.C_Acctschema_ID as c_accts19_71_0_, organizati1_.EM_Fshedi_Ean_Origin as em_fshe20_71_0_, organizati1_.EM_APRM_Glitem_ID as em_aprm21_71_0_, organizati1_.EM_Fshedi_Ean_Supplier as em_fshe22_71_0_, organizati1_.EM_OBMFM_Product_ID as em_obmf23_71_0_, organizati1_.AD_Periodcontrolallowed_Org_ID as ad_peri24_71_0_, organizati1_.AD_Calendarowner_Org_ID as ad_cale25_71_0_, organizati1_.EM_Fshedi_Recmercantil as em_fshe26_71_0_, organizati1_.EM_Obwpack_Uom_ID as em_obwp27_71_0_, organizati1_.EM_Bass_Default_Freight_ID as em_bass28_71_0_, organizati1_.AD_Legalentity_Org_ID as ad_lega29_71_0_, organizati1_.EM_Bass_Def_Int_Freight_ID as em_bass30_71_0_, organizati1_.AD_Inheritedcalendar_ID as ad_inhe31_71_0_, organizati1_.AD_Businessunit_Org_ID as ad_busi32_71_0_, organizati1_.EM_Bass_Default_Weight as em_bass33_71_0_, organizati1_.EM_Obeuses_Ccc_Code as em_obeu34_71_0_, organizati1_.EM_Etsg_Add_Certificate as em_etsg35_71_0_, organizati1_.EM_Pruti_Planningmethod_ID as em_prut36_71_0_, organizati1_.EM_Prapi_Glitem_ID as em_prap37_71_0_, organizati1_.EM_Advpro2_Launch_Seq_ID as em_advp38_71_0_, organizati1_.EM_Prapi_Paymentmethod_ID as em_prap39_71_0_, organizati1_.EM_Bass_Paymentmethod_ID as em_bass40_71_0_, organizati1_.EM_Prapi_Paymentterm_ID as em_prap41_71_0_, organizati1_.EM_Bass_Financial_Acct_ID as em_bass42_71_0_, organizati1_.EM_Bass_Qc_Locator_Dest_ID as em_bass43_71_0_, organizati1_.EM_Pruti_M_Locator as em_prut44_71_0_, organizati1_.EM_Bass_Qc_Locator_Orig_ID as em_bass45_71_0_, organizati1_.EM_Advmrp_Sforg_ID as em_advm46_71_0_, organizati1_.EM_Bass_Recptdate_Mail_Outs as em_bass47_71_0_, organizati1_.EM_Bass_Recptdate_Mail_Po as em_bass48_71_0_, organizati1_.EM_Bass_Plusdays_Delivdate as em_bass49_71_0_, organizati1_.EM_Bass_Closedocs_Tolerance as em_bass50_71_0_, organizati1_.C_Extbp_Enabled as c_extbp51_71_0_, organizati1_.C_Extbp_Config_ID as c_extbp52_71_0_, organizati1_.EM_Obdo_Ad_Org_ID as em_obdo53_71_0_, organizati1_.EM_Rrhh_Arrival_Time as em_rrhh54_71_0_, organizati1_.EM_Prst_Org_Filters as em_prst55_71_0_, organizati1_.EM_Obmobc_Credential_Timeout as em_obmo56_71_0_, organizati1_.EM_Prst_Pricelist_ID as em_prst57_71_0_, adclient2_.AD_Org_ID as ad_org_i2_18_1_, adclient2_.IsActive as isactive3_18_1_, adclient2_.Created as created4_18_1_, adclient2_.CreatedBy as createdb5_18_1_, adclient2_.Updated as updated6_18_1_, adclient2_.UpdatedBy as updatedb7_18_1_, adclient2_.Value as value8_18_1_, adclient2_.Name as name9_18_1_, adclient2_.Description as descrip10_18_1_, adclient2_.SMTPHost as smtphos11_18_1_, adclient2_.RequestEMail as request12_18_1_, adclient2_.RequestUser as request13_18_1_, adclient2_.RequestUserPW as request14_18_1_, adclient2_.RequestFolder as request15_18_1_, adclient2_.AD_Language as ad_lang16_18_1_, adclient2_.IsMultiLingualDocument as ismulti17_18_1_, adclient2_.IsSmtpAuthorization as issmtpa18_18_1_, adclient2_.C_Currency_ID as c_curre19_18_1_, adclient2_.Acctdim_Centrally_Maintained as acctdim20_18_1_, adclient2_.Project_Acctdim_Isenable as project21_18_1_, adclient2_.Project_Acctdim_Header as project22_18_1_, adclient2_.Project_Acctdim_Lines as project23_18_1_, adclient2_.Project_Acctdim_Breakdown as project24_18_1_, adclient2_.Bpartner_Acctdim_Isenable as bpartne25_18_1_, adclient2_.Bpartner_Acctdim_Header as bpartne26_18_1_, adclient2_.Bpartner_Acctdim_Lines as bpartne27_18_1_, adclient2_.Bpartner_Acctdim_Breakdown as bpartne28_18_1_, adclient2_.Product_Acctdim_Isenable as product29_18_1_, adclient2_.Product_Acctdim_Header as product30_18_1_, adclient2_.Product_Acctdim_Lines as product31_18_1_, adclient2_.Product_Acctdim_Breakdown as product32_18_1_, adclient2_.Costcenter_Acctdim_Header as costcen33_18_1_, adclient2_.Costcenter_Acctdim_Lines as costcen34_18_1_, adclient2_.Costcenter_Acctdim_Breakdown as costcen35_18_1_, adclient2_.User1_Acctdim_Isenable as user36_18_1_, adclient2_.User1_Acctdim_Header as user37_18_1_, adclient2_.User1_Acctdim_Lines as user38_18_1_, adclient2_.User1_Acctdim_Breakdown as user39_18_1_, adclient2_.User2_Acctdim_Isenable as user40_18_1_, adclient2_.User2_Acctdim_Header as user41_18_1_, adclient2_.User2_Acctdim_Lines as user42_18_1_, adclient2_.User2_Acctdim_Breakdown as user43_18_1_, adclient2_.Costcenter_Acctdim_Isenable as costcen44_18_1_, adclient2_.Org_Acctdim_Isenable as org_acc45_18_1_, adclient2_.Org_Acctdim_Header as org_acc46_18_1_, adclient2_.Org_Acctdim_Lines as org_acc47_18_1_, adclient2_.Org_Acctdim_Breakdown as org_acc48_18_1_, adclient2_.DaysToPasswordExpiration as daystop49_18_1_, adclient2_.EM_Pruti_Periodnotifications as em_prut50_18_1_, adclient2_.EM_Advpro2_Mailnotifywarnweff as em_advp51_18_1_, adclient2_.EM_Fash_Stockdetailcolumnwidth as em_fash52_18_1_, adclient2_.EM_Prsc_Tree_Prodcat_ID as em_prsc53_18_1_, adclient2_.EM_Pruti_Cleancache as em_prut54_18_1_, adclient2_.EM_Priuti_Openbravo_Url as em_priu55_18_1_, adclient2_.EM_Prpp_Prepacking_Org_ID as em_prpp56_18_1_, adclient2_.EM_Advshi_Proposal_Date as em_advs57_18_1_, adclient2_.EM_Pruti_Last_Chardesc_Date as em_prut58_18_1_, adclient2_.EM_Prpp_Ui_Packing_Picking as em_prpp59_18_1_, adclient2_.EM_Pruti_Stockphoto_Procedure as em_prut60_18_1_, adclient2_.em_prsii_olderthan as em_prsi61_18_1_, product3_.AD_Client_ID as ad_clien2_845_2_, product3_.AD_Org_ID as ad_org_i3_845_2_, product3_.IsActive as isactive4_845_2_, product3_.Created as created5_845_2_, product3_.CreatedBy as createdb6_845_2_, product3_.Updated as updated7_845_2_, product3_.UpdatedBy as updatedb8_845_2_, product3_.Value as value9_845_2_, product3_.Name as name10_845_2_, product3_.Description as descrip11_845_2_, product3_.DocumentNote as documen12_845_2_, product3_.Help as help13_845_2_, product3_.UPC as upc14_845_2_, product3_.SKU as sku15_845_2_, product3_.C_UOM_ID as c_uom_i16_845_2_, product3_.SalesRep_ID as salesre17_845_2_, product3_.IsSummary as issumma18_845_2_, product3_.IsStocked as isstock19_845_2_, product3_.IsPurchased as ispurch20_845_2_, product3_.IsSold as issold21_845_2_, product3_.IsBOM as isbom22_845_2_, product3_.IsInvoicePrintDetails as isinvoi23_845_2_, product3_.IsPickListPrintDetails as ispickl24_845_2_, product3_.IsVerified as isverif25_845_2_, product3_.M_Product_Category_ID as m_produ26_845_2_, product3_.Classification as classif27_845_2_, product3_.Volume as volume28_845_2_, product3_.Weight as weight29_845_2_, product3_.ShelfWidth as shelfwi30_845_2_, product3_.ShelfHeight as shelfhe31_845_2_, product3_.ShelfDepth as shelfde32_845_2_, product3_.UnitsPerPallet as unitspe33_845_2_, product3_.C_TaxCategory_ID as c_taxca34_845_2_, product3_.S_Resource_ID as s_resou35_845_2_, product3_.Discontinued as discont36_845_2_, product3_.DiscontinuedBy as discont37_845_2_, product3_.Processing as process38_845_2_, product3_.S_ExpenseType_ID as s_expen39_845_2_, product3_.ProductType as product40_845_2_, product3_.ImageURL as imageur41_845_2_, product3_.DescriptionURL as descrip42_845_2_, product3_.GuaranteeDays as guarant43_845_2_, product3_.VersionNo as version44_845_2_, product3_.M_AttributeSet_ID as m_attri45_845_2_, product3_.M_AttributeSetInstance_ID as m_attri46_845_2_, product3_.DownloadURL as downloa47_845_2_, product3_.M_FreightCategory_ID as m_freig48_845_2_, product3_.M_Locator_ID as m_locat49_845_2_, product3_.AD_Image_ID as ad_imag50_845_2_, product3_.C_BPartner_ID as c_bpart51_845_2_, product3_.Ispriceprinted as isprice52_845_2_, product3_.Name2 as name53_845_2_, product3_.Stock_Min as stock_m54_845_2_, product3_.Enforce_Attribute as enforce55_845_2_, product3_.Calculated as calcula56_845_2_, product3_.MA_Processplan_ID as ma_proc57_845_2_, product3_.Production as product58_845_2_, product3_.Capacity as capacit59_845_2_, product3_.Delaymin as delaymi60_845_2_, product3_.MRP_Planner_ID as mrp_pla61_845_2_, product3_.MRP_Planningmethod_ID as mrp_pla62_845_2_, product3_.Qtymax as qtymax63_845_2_, product3_.Qtymin as qtymin64_845_2_, product3_.Qtystd as qtystd65_845_2_, product3_.Qtytype as qtytype66_845_2_, product3_.Stockmin as stockmi67_845_2_, product3_.EM_Aeat347_Isleasebusiness as em_aeat68_845_2_, product3_.Attrsetvaluetype as attrset69_845_2_, product3_.EM_Aeat347_Situation as em_aeat70_845_2_, product3_.Isquantityvariable as isquant71_845_2_, product3_.Isdeferredrevenue as isdefer72_845_2_, product3_.EM_Aeat347_Referenceid as em_aeat73_845_2_, product3_.EM_Aeat347_Locationtype as em_aeat74_845_2_, product3_.Revplantype as revplan75_845_2_, product3_.EM_Aeat347_Streetname as em_aeat76_845_2_, product3_.Periodnumber as periodn77_845_2_, product3_.EM_Aeat347_Streetnumbertype as em_aeat78_845_2_, product3_.Isdeferredexpense as isdefer79_845_2_, product3_.EM_Aeat347_Streetnumber as em_aeat80_845_2_, product3_.Expplantype as expplan81_845_2_, product3_.EM_Aeat347_Streetnumberqua as em_aeat82_845_2_, product3_.Periodnumber_Exp as periodn83_845_2_, product3_.DefaultPeriod as default84_845_2_, product3_.EM_Aeat347_Building as em_aeat85_845_2_, product3_.DefaultPeriod_Exp as default86_845_2_, product3_.EM_Aeat347_Hall as em_aeat87_845_2_, product3_.Bookusingpoprice as bookusi88_845_2_, product3_.EM_Aeat347_Hallway as em_aeat89_845_2_, product3_.EM_Advcrm_Newactivity as em_advc90_845_2_, product3_.EM_Aeat347_Floor as em_aeat91_845_2_, product3_.C_Uom_Weight_ID as c_uom_w92_845_2_, product3_.M_Brand_ID as m_brand93_845_2_, product3_.EM_Aeat347_Apartment as em_aeat94_845_2_, product3_.EM_Aeat347_Complement as em_aeat95_845_2_, product3_.IsGeneric as isgener96_845_2_, product3_.EM_Aeat347_Location as em_aeat97_845_2_, product3_.Generic_Product_ID as generic98_845_2_, product3_.CreateVariants as createv99_845_2_, product3_.EM_Aeat347_County as em_aea100_845_2_, product3_.Characteristic_Desc as charac101_845_2_, product3_.EM_Aeat347_Countycode as em_aea102_845_2_, product3_.EM_Aeat347_Regioncode as em_aea103_845_2_, product3_.Updateinvariants as update104_845_2_, product3_.EM_Aeat347_Zipcode as em_aea105_845_2_, product3_.ManageVariants as manage106_845_2_, product3_.Prod_Cat_Selection as prod_c107_845_2_, product3_.Product_Selection as produc108_845_2_, product3_.Print_Description as print_109_845_2_, product3_.Returnable as return110_845_2_, product3_.Overdue_Return_Days as overdu111_845_2_, product3_.Ispricerulebased as ispric112_845_2_, product3_.Unique_Per_Document as unique113_845_2_, product3_.Relateprodcattoservice as relate114_845_2_, product3_.Relateprodtoservice as relate115_845_2_, product3_.Islinkedtoproduct as islink116_845_2_, product3_.Quantity_Rule as quanti117_845_2_, product3_.Allow_Deferred_Sell as allow_118_845_2_, product3_.Deferred_Sell_Max_Days as deferr119_845_2_, product3_.EM_Prmag2_Short_Description as em_prm120_845_2_, product3_.EM_Prmag2_Description as em_prm121_845_2_, product3_.EM_Advcrm2_Sync_Pcrm as em_adv122_845_2_, product3_.EM_Prmag2_Url_Key as em_prm123_845_2_, product3_.EM_Advcrm2_Sync_Order as em_adv124_845_2_, product3_.EM_Prmag2_Meta_Title as em_prm125_845_2_, product3_.EM_Prmag2_Meta_Keyword as em_prm126_845_2_, product3_.EM_Prmag2_Meta_Description as em_prm127_845_2_, product3_.EM_Etpp_Print_Label as em_etp128_845_2_, product3_.EM_Fash_Product_Group_ID as em_fas129_845_2_, product3_.EM_Fash_Prod_Composition_ID as em_fas130_845_2_, product3_.EM_Fash_Product_Wash_Opt_ID as em_fas131_845_2_, product3_.EM_Fash_Campaign_ID as em_fas132_845_2_, product3_.EM_Fash_Prod_Measure_ID as em_fas133_845_2_, product3_.M_Product_Status_ID as m_prod134_845_2_, product3_.EM_Fash_Import_Char as em_fas135_845_2_, product3_.EM_Fash_Createcombinations as em_fas136_845_2_, product3_.EM_Fash_Create_Processplan as em_fas137_845_2_, product3_.EM_Fash_Import_Mate as em_fas138_845_2_, product3_.EM_Fash_Collection_ID as em_fas139_845_2_, product3_.EM_Fash_Lob_ID as em_fas140_845_2_, product3_.EM_Fash_Managecampaignvariant as em_fas141_845_2_, product3_.EM_Bass_Canonpv as em_bas142_845_2_, product3_.EM_Bass_Embroidery_ID as em_bas143_845_2_, product3_.Ismodifytax as ismodi144_845_2_, product3_.EM_Bass_Motto_ID as em_bas145_845_2_, product3_.Relateprodcattaxtoservice as relate146_845_2_, product3_.Copyservicemodifytaxconfig as copyse147_845_2_, product3_.EM_Bass_System as em_bas148_845_2_, product3_.EM_Bass_Numbers as em_bas149_845_2_, product3_.EM_Bass_Rope as em_bas150_845_2_, product3_.EM_Bass_Usable_Width as em_bas151_845_2_, product3_.EM_Advpro2_Createwr as em_adv152_845_2_, product3_.EM_Bass_Pricecompra as em_bas153_845_2_, product3_.EM_Thcost_Cost_Template as em_thc154_845_2_, product3_.EM_Bass_Priceventa as em_bas155_845_2_, product3_.EM_Prrak_Description as em_prr156_845_2_, product3_.EM_Bass_Concatdesc as em_bas157_845_2_, product3_.EM_Prrak_Tagline as em_prr158_845_2_, product3_.EM_Bass_Productiondesc as em_bas159_845_2_, product3_.EM_Prrak_Video_Url as em_prr160_845_2_, product3_.EM_Bass_Weft as em_bas161_845_2_, product3_.EM_Prrak_Length as em_prr162_845_2_, product3_.EM_Bass_Warp as em_bas163_845_2_, product3_.EM_Prrak_Width as em_prr164_845_2_, product3_.EM_Bass_Can_Rotate as em_bas165_845_2_, product3_.EM_Prrak_Height as em_prr166_845_2_, product3_.EM_Prrak_Weight as em_prr167_845_2_, product3_.EM_Prb2b_Updated as em_prb168_845_2_, product3_.EM_Prmag_Shortdesc as em_prm169_845_2_, product3_.EM_Prmag_Metatitle as em_prm170_845_2_, product3_.EM_Prmag_Metakeys as em_prm171_845_2_, product3_.EM_Prmag_Metadesc as em_prm172_845_2_, product3_.EM_Prmag_Indepth as em_prm173_845_2_, product3_.EM_Prmag_Mattset_ID as em_prm174_845_2_, product3_.EM_Prmag_Longdesc as em_prm175_845_2_, product3_.EM_Prmag_Ismagento as em_prm176_845_2_, product3_.EM_Prmag_Length as em_prm177_845_2_, product3_.EM_Prmag_Width as em_prm178_845_2_, product3_.EM_Prmag_Height as em_prm179_845_2_, product3_.EM_Prmag_Weight as em_prm180_845_2_, product3_.EM_Prmag_Infoset as em_prm181_845_2_, product3_.EM_Prmag_Packset as em_prm182_845_2_, product3_.EM_Advcrm2_Service_Unit as em_adv183_845_2_, product3_.EM_Primg_Update_Image as em_pri184_845_2_, product3_.EM_Bass_Crmapp_Desc as em_bas185_845_2_, product3_.EM_Prsc_Isdeliverycosts as em_prs186_845_2_, product3_.EM_Pruti_Addmodifycharact as em_pru187_845_2_, product3_.EM_Bass_Productionimage_ID as em_bas188_845_2_, product3_.EM_Bass_IsExtinct as em_bas189_845_2_, product3_.EM_Thcost_Template_ID as em_thc190_845_2_, product3_.EM_Bass_Cost_Uom as em_bas191_845_2_, product3_.EM_Bass_Cost_Pricelist_ID as em_bas192_845_2_, product3_.EM_Bass_Tarifa_Base as em_bas193_845_2_, product3_.EM_Bass_Show_Tasit_Consum as em_bas194_845_2_, product3_.EM_Bass_Create_Purchase_Order as em_bas195_845_2_, product3_.EM_Bass_Warehouse_Master as em_bas196_845_2_, product3_.EM_Bass_Office_Master as em_bas197_845_2_, product3_.EM_Bass_Model_ID as em_bas198_845_2_, uom8_.AD_Client_ID as ad_clien2_526_3_, uom8_.AD_Org_ID as ad_org_i3_526_3_, uom8_.IsActive as isactive4_526_3_, uom8_.Created as created5_526_3_, uom8_.Updated as updated6_526_3_, uom8_.CreatedBy as createdb7_526_3_, uom8_.UpdatedBy as updatedb8_526_3_, uom8_.X12DE355 as x9_526_3_, uom8_.UOMSymbol as uomsymb10_526_3_, uom8_.Name as name11_526_3_, uom8_.Description as descrip12_526_3_, uom8_.StdPrecision as stdprec13_526_3_, uom8_.CostingPrecision as costing14_526_3_, uom8_.IsDefault as isdefau15_526_3_, uom8_.Breakdown as breakdo16_526_3_, uom8_.UOM_Type as uom_typ17_526_3_, uom8_.EM_Obwpack_Isweight as em_obwp18_526_3_, uom8_.Useinproduction as useinpr19_526_3_, attributes9_.AD_Client_ID as ad_clien2_779_4_, attributes9_.AD_Org_ID as ad_org_i3_779_4_, attributes9_.IsActive as isactive4_779_4_, attributes9_.Created as created5_779_4_, attributes9_.CreatedBy as createdb6_779_4_, attributes9_.Updated as updated7_779_4_, attributes9_.UpdatedBy as updatedb8_779_4_, attributes9_.M_AttributeSet_ID as m_attrib9_779_4_, attributes9_.SerNo as serno10_779_4_, attributes9_.Lot as lot11_779_4_, attributes9_.GuaranteeDate as guarant12_779_4_, attributes9_.Description as descrip13_779_4_, attributes9_.M_Lot_ID as m_lot_i14_779_4_, attributes9_.Islocked as islocke15_779_4_, attributes9_.Lock_Description as lock_de16_779_4_, attributes9_.M_RefInventory_ID as m_refin17_779_4_, attributes9_.Parent_AttributeSetInstance_ID as parent_18_779_4_, businesspa10_.AD_Client_ID as ad_clien2_392_5_, businesspa10_.AD_Org_ID as ad_org_i3_392_5_, businesspa10_.IsActive as isactive4_392_5_, businesspa10_.Created as created5_392_5_, businesspa10_.CreatedBy as createdb6_392_5_, businesspa10_.Updated as updated7_392_5_, businesspa10_.UpdatedBy as updatedb8_392_5_, businesspa10_.Value as value9_392_5_, businesspa10_.Name as name10_392_5_, businesspa10_.Name2 as name11_392_5_, businesspa10_.Description as descrip12_392_5_, businesspa10_.IsSummary as issumma13_392_5_, businesspa10_.C_BP_Group_ID as c_bp_gr14_392_5_, businesspa10_.IsOneTime as isoneti15_392_5_, businesspa10_.IsProspect as isprosp16_392_5_, businesspa10_.IsVendor as isvendo17_392_5_, businesspa10_.IsCustomer as iscusto18_392_5_, businesspa10_.IsEmployee as isemplo19_392_5_, businesspa10_.IsSalesRep as issales20_392_5_, businesspa10_.ReferenceNo as referen21_392_5_, businesspa10_.DUNS as duns22_392_5_, businesspa10_.URL as url23_392_5_, businesspa10_.AD_Language as ad_lang24_392_5_, businesspa10_.TaxID as taxid25_392_5_, businesspa10_.IsTaxExempt as istaxex26_392_5_, businesspa10_.C_InvoiceSchedule_ID as c_invoi27_392_5_, businesspa10_.Rating as rating28_392_5_, businesspa10_.SalesVolume as salesvo29_392_5_, businesspa10_.NumberEmployees as numbere30_392_5_, businesspa10_.NAICS as naics31_392_5_, businesspa10_.FirstSale as firstsa32_392_5_, businesspa10_.AcqusitionCost as acqusit33_392_5_, businesspa10_.PotentialLifeTimeValue as potenti34_392_5_, businesspa10_.ActualLifeTimeValue as actuall35_392_5_, businesspa10_.ShareOfCustomer as shareof36_392_5_, businesspa10_.PaymentRule as payment37_392_5_, businesspa10_.SO_CreditLimit as so_cred38_392_5_, businesspa10_.SO_CreditUsed as so_cred39_392_5_, businesspa10_.C_PaymentTerm_ID as c_payme40_392_5_, businesspa10_.M_PriceList_ID as m_price41_392_5_, businesspa10_.IsDiscountPrinted as isdisco42_392_5_, businesspa10_.SO_Description as so_desc43_392_5_, businesspa10_.POReference as porefer44_392_5_, businesspa10_.PaymentRulePO as payment45_392_5_, businesspa10_.PO_PriceList_ID as po_pric46_392_5_, businesspa10_.PO_PaymentTerm_ID as po_paym47_392_5_, businesspa10_.DocumentCopies as documen48_392_5_, businesspa10_.C_Greeting_ID as c_greet49_392_5_, businesspa10_.InvoiceRule as invoice50_392_5_, businesspa10_.DeliveryRule as deliver51_392_5_, businesspa10_.DeliveryViaRule as deliver52_392_5_, businesspa10_.SalesRep_ID as salesre53_392_5_, businesspa10_.BPartner_Parent_ID as bpartne54_392_5_, businesspa10_.SOCreditStatus as socredi55_392_5_, businesspa10_.AD_Forced_Org_ID as ad_forc56_392_5_, businesspa10_.ShowPriceInOrder as showpri57_392_5_, businesspa10_.Invoicegrouping as invoice58_392_5_, businesspa10_.FixMonthDay as fixmont59_392_5_, businesspa10_.FixMonthDay2 as fixmont60_392_5_, businesspa10_.Fixmonthday3 as fixmont61_392_5_, businesspa10_.Isworker as isworke62_392_5_, businesspa10_.UPC as upc63_392_5_, businesspa10_.C_Salary_Category_ID as c_salar64_392_5_, businesspa10_.Invoice_Printformat as invoice65_392_5_, businesspa10_.Last_Days as last_da66_392_5_, businesspa10_.PO_Bankaccount_ID as po_bank67_392_5_, businesspa10_.PO_BP_TaxCategory_ID as po_bp_t68_392_5_, businesspa10_.PO_Fixmonthday as po_fixm69_392_5_, businesspa10_.PO_Fixmonthday2 as po_fixm70_392_5_, businesspa10_.PO_Fixmonthday3 as po_fixm71_392_5_, businesspa10_.SO_Bankaccount_ID as so_bank72_392_5_, businesspa10_.SO_Bp_Taxcategory_ID as so_bp_t73_392_5_, businesspa10_.Fiscalcode as fiscalc74_392_5_, businesspa10_.Isofiscalcode as isofisc75_392_5_, businesspa10_.EM_Einv_Einvoice as em_einv76_392_5_, businesspa10_.PO_C_Incoterms_ID as po_c_in77_392_5_, businesspa10_.EM_Einv_Format_Id as em_einv78_392_5_, businesspa10_.SO_C_Incoterms_ID as so_c_in79_392_5_, businesspa10_.EM_Einv_Platform_Id as em_einv80_392_5_, businesspa10_.FIN_Paymentmethod_ID as fin_pay81_392_5_, businesspa10_.EM_Einv_Email as em_einv82_392_5_, businesspa10_.PO_Paymentmethod_ID as po_paym83_392_5_, businesspa10_.FIN_Financial_Account_ID as fin_fin84_392_5_, businesspa10_.EM_Einv_Deliverymode as em_einv85_392_5_, businesspa10_.PO_Financial_Account_ID as po_fina86_392_5_, businesspa10_.Customer_Blocking as custome87_392_5_, businesspa10_.Vendor_Blocking as vendor_88_392_5_, businesspa10_.SO_Payment_Blocking as so_paym89_392_5_, businesspa10_.PO_Payment_Blocking as po_paym90_392_5_, businesspa10_.SO_Invoice_Blocking as so_invo91_392_5_, businesspa10_.PO_Invoice_Blocking as po_invo92_392_5_, businesspa10_.SO_Order_Blocking as so_orde93_392_5_, businesspa10_.PO_Order_Blocking as po_orde94_392_5_, businesspa10_.SO_Goods_Blocking as so_good95_392_5_, businesspa10_.PO_Goods_Blocking as po_good96_392_5_, businesspa10_.Iscashvat as iscashv97_392_5_, businesspa10_.EM_Advcrm_Newactivity as em_advc98_392_5_, businesspa10_.Update_Currency as update_99_392_5_, businesspa10_.BP_Currency_ID as bp_cur100_392_5_, businesspa10_.EM_Fshedi_Ean_Destination as em_fsh101_392_5_, businesspa10_.Birthplace as birthp102_392_5_, businesspa10_.EM_Fshedi_Enable_Orders as em_fsh103_392_5_, businesspa10_.Birthday as birthd104_392_5_, businesspa10_.EM_Advpro2_Workshop as em_adv105_392_5_, businesspa10_.EM_Fshedi_Enable_Statistics as em_fsh106_392_5_, businesspa10_.EM_Fshins_Show_Risks as em_fsh107_392_5_, businesspa10_.EM_Sgpcrm_Securitygroups_ID as em_sgp108_392_5_, businesspa10_.em_advpro2_outsrcplist_id as em_adv109_392_5_, businesspa10_.EM_Fshedi_Enable_Shipments as em_fsh110_392_5_, businesspa10_.Is_Customer_Consent as is_cus111_392_5_, businesspa10_.EM_Advpro2_Createrescap as em_adv112_392_5_, businesspa10_.EM_Advptc_Bp_Bank_Account_ID as em_adv113_392_5_, businesspa10_.EM_Fshedi_Enable_Invoices as em_fsh114_392_5_, businesspa10_.EM_Fshedi_Customer_Price as em_fsh115_392_5_, businesspa10_.EM_Obsepad_Mandate_Identifier as em_obs116_392_5_, businesspa10_.EM_Fshedi_Order_Lenght as em_fsh117_392_5_, businesspa10_.EM_Obsepad_Mandate_Date as em_obs118_392_5_, businesspa10_.EM_Fshedi_Use_Ean as em_fsh119_392_5_, businesspa10_.EM_Fshedi_Reference_Field as em_fsh120_392_5_, businesspa10_.EM_Aeatsii_Rep_Taxid as em_aea121_392_5_, businesspa10_.EM_Fshedi_Posinit_Ref_Field as em_fsh122_392_5_, businesspa10_.EM_Aeatsii_Menor as em_aea123_392_5_, businesspa10_.EM_Fshedi_Chars_Ref_Field as em_fsh124_392_5_, businesspa10_.EM_Pruti_Addbp as em_pru125_392_5_, businesspa10_.EM_Pruti_Unlock_Date as em_pru126_392_5_, businesspa10_.EM_Pruti_Unlock_Order_Date as em_pru127_392_5_, businesspa10_.EM_Pruti_Annexes_Bp_So_ID as em_pru128_392_5_, businesspa10_.EM_Pruti_Annexes_Bp_Po_ID as em_pru129_392_5_, businesspa10_.EM_Aeatsii_Defaultsiikey as em_aea130_392_5_, businesspa10_.EM_Advshi_Priority as em_adv131_392_5_, businesspa10_.EM_Aeatsii_Siikeylist as em_aea132_392_5_, businesspa10_.EM_Rrhh_Exemployee as em_rrh133_392_5_, businesspa10_.EM_Rrhh_Candidate as em_rrh134_392_5_, businesspa10_.EM_Advcrm2_Confirming_Mail as em_adv135_392_5_, businesspa10_.EM_Rrhh_Holidays_Supervisor as em_rrh136_392_5_, businesspa10_.EM_Prsii_Clave_Tipo_Proveedor as em_prs137_392_5_, businesspa10_.EM_Tbai_Issimplifiedinv as em_tba138_392_5_, businesspa10_.EM_Prsii_Clave_Tipo_Cliente as em_prs139_392_5_, businesspa10_.EM_Bass_Holding_ID as em_bas140_392_5_, businesspa10_.EM_Obwpl_Bp_Block_Pickinglist as em_obw141_392_5_, businesspa10_.EM_Bass_Workshoptype as em_bas142_392_5_, businesspa10_.EM_Rrhh_Mainworkstation_ID as em_rrh143_392_5_, businesspa10_.EM_Bass_Bpclasification_ID as em_bas144_392_5_, businesspa10_.EM_Rrhh_Bp_Transfer_Code as em_rrh145_392_5_, businesspa10_.EM_Bass_Seqno as em_bas146_392_5_, businesspa10_.EM_Bass_C_Location_ID as em_bas147_392_5_, businesspa10_.EM_Bass_Region as em_bas148_392_5_, businesspa10_.EM_Bass_City as em_bas149_392_5_, businesspa10_.EM_Bass_Printinoutsummary as em_bas150_392_5_, businesspa10_.EM_Bass_Printinoutsummaryval as em_bas151_392_5_, businesspa10_.EM_Bass_Requerecontrolquality as em_bas152_392_5_, businesspa10_.EM_Bass_Lastmailsatisfact as em_bas153_392_5_, businesspa10_.EM_Bass_Generaterfid as em_bas154_392_5_, businesspa10_.EM_Bass_Pricebyadvpro2plist as em_bas155_392_5_, businesspa10_.EM_Bass_Country_ID as em_bas156_392_5_, businesspa10_.EM_Prqc_Valuation_Conf_ID as em_prq157_392_5_, businesspa10_.EM_Advpro2_Generate_Capacity as em_adv158_392_5_, businesspa10_.em_pruti_cus_block_reason_id as em_pru159_392_5_, businesspa10_.EM_Pruti_Notsendinvoice as em_pru160_392_5_, businesspa10_.EM_Pramz_Code as em_pra161_392_5_, businesspa10_.EM_Pruti_Showpriceingoods as em_pru162_392_5_, businesspa10_.EM_Bass_Bporigin as em_bas163_392_5_, businesspa10_.EM_Bass_Transit_Days as em_bas164_392_5_, businesspa10_.EM_Prscrm_Uploadloc_Asaccount as em_prs165_392_5_, businesspa10_.EM_Bass_Closedocs_Tolerance as em_bas166_392_5_, businesspa10_.EM_Bass_Hybrid as em_bas167_392_5_, businesspa10_.EM_Bass_Cs_Agent_ID as em_bas168_392_5_, businesspa10_.EM_Bass_Shipping_Tolerance as em_bas169_392_5_, businesspa10_.EM_OBTIK_Tax_ID_Key as em_obt170_392_5_, businesspa10_.Em_Prcex_Glitem_Id as em_prc171_392_5_, businesspa10_.em_prma_update_BpRecords as em_prm172_392_5_ from advpro2_prodline_return_v advpro2_pr0_ inner join AD_Org organizati1_ on advpro2_pr0_.AD_Org_ID=organizati1_.AD_Org_ID inner join AD_Client adclient2_ on advpro2_pr0_.AD_Client_ID=adclient2_.AD_Client_ID cross join M_Product product3_ inner join C_UOM uom8_ on product3_.C_UOM_ID=uom8_.C_UOM_ID inner join M_AttributeSetInstance attributes9_ on advpro2_pr0_.M_Attributesetinstance_ID=attributes9_.M_AttributeSetInstance_ID inner join C_BPartner businesspa10_ on advpro2_pr0_.C_Bpartner_ID=businesspa10_.C_BPartner_ID cross join M_ProductionLine manufactur11_ cross join M_ProductionPlan materialmg12_ cross join M_Production materialmg13_ where advpro2_pr0_.M_Product_ID=product3_.M_Product_ID and advpro2_pr0_.M_Productionline_ID=manufactur11_.M_ProductionLine_ID and manufactur11_.M_ProductionPlan_ID=materialmg12_.M_ProductionPlan_ID and materialmg12_.M_Production_ID=materialmg13_.M_Production_ID and advpro2_pr0_.Donequantity-advpro2_pr0_.Qtyreturnedinall+coalesce((select sum(abs(orderline18_.QtyOrdered)) from C_OrderLine orderline18_ where orderline18_.C_Order_ID=$5 and orderline18_.EM_Advpro2_Productionlnret_ID=advpro2_pr0_.Advpro2_Prodline_Return_V_ID), 0)>0 and advpro2_pr0_.C_Bpartner_ID=$6 and 1=1 and (advpro2_pr0_.AD_Client_ID in ('0' , $7)) and (advpro2_pr0_.AD_Org_ID in ($8 , $9 , $10 , $11 , $12 , $13 , $14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28)) order by null, advpro2_pr0_.Advpro2_Prodline_Return_V_ID limit $29
Date: 2026-07-13 09:38:43 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
35 1 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #35
Day Hour Count Jul 13 17 1 - ERROR: unexpected EOF on client connection with an open transaction
Date: 2026-07-13 17:00:23 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
36 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #36
Day Hour Count Jul 13 13 1 - FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Date: 2026-07-13 13:36:34 Database: [unknown] Application: [unknown] User: [unknown] Remote: 159.89.229.173
37 1 ERROR: Pedido Venta Hosteleria-H/53448,@ActivePoSo@
Times Reported Most Frequent Error / Event #37
Day Hour Count Jul 13 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-13 20:07:24 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
38 1 ERROR: Un producto del tipo articulo debe tener conjunto de atributos
Times Reported Most Frequent Error / Event #38
Day Hour Count Jul 13 10 1 - 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, 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_Campaign_ID, EM_Fash_Import_Char, EM_Fash_Createcombinations, EM_Fash_Create_Processplan, EM_Fash_Import_Mate, EM_Fash_Collection_ID, EM_Fash_Lob_ID, 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, $78, $79, $80)Date: 2026-07-13 10:20:25 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
39 1 ERROR: Pedido Venta Hogar-O/54192,@ActivePoSo@
Times Reported Most Frequent Error / Event #39
Day Hour Count Jul 13 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-13 20:07:14 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
40 1 ERROR: Incidencia Hosteleria-Dc-7293,@ActivePoSo@
Times Reported Most Frequent Error / Event #40
Day Hour Count Jul 13 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-13 20:02:03 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1
41 1 ERROR: The purchase check can not be selected if has enabled the extinct check
Times Reported Most Frequent Error / Event #41
Day Hour Count Jul 13 16 1 - 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 where M_Product_ID=$4Date: 2026-07-13 16:21:41 Database: etendo Application: openbravo User: tad Remote: 127.0.0.1